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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e8d48f6ab5044ecf1b1e04a3642edfa5538e4e4f | 2,176 | py | Python | Lab_4/Alg's/CYK_tests.py | Xorsiphus/T-PofPLD | 7d71a9507aeb9ff211cebf9a5e4ec52cfcdf98a6 | [
"MIT"
] | null | null | null | Lab_4/Alg's/CYK_tests.py | Xorsiphus/T-PofPLD | 7d71a9507aeb9ff211cebf9a5e4ec52cfcdf98a6 | [
"MIT"
] | null | null | null | Lab_4/Alg's/CYK_tests.py | Xorsiphus/T-PofPLD | 7d71a9507aeb9ff211cebf9a5e4ec52cfcdf98a6 | [
"MIT"
] | null | null | null | from CYK import CYK
cur_start = "S"
cur_grammar = {
cur_start: ["AB"],
"A": ["a", "b", "c", "d", "e", "f"],
"B": ["CD", "a"],
"C": ["="],
"D": ["EF", "a", "b", "c", "d", "e", "f", "0", "1", "HI", "JD", "AK", "HK"],
"E": ["("],
"F": ["DG", "DM"],
"G": [")"],
"H": ["0", "1"],
"I": ["HI", "HK", "HD"],
"J": ["-"],
"O": ["*", "/", "%", "+", "-"],
"K": ["OD"],
"M": ["GN"],
"N": ["OD"],
}
cyk = CYK(cur_grammar, cur_start)
def test_my_grammar_1():
cur_word = "a=a*b"
assert cyk.checkWord(cur_word)
def test_my_grammar_2():
cur_word = "b=(a*1010)"
assert cyk.checkWord(cur_word)
def test_my_grammar_3():
cur_word = "c=a*111111111111111*a"
assert cyk.checkWord(cur_word)
def test_my_grammar_4():
cur_word = "d=(b*1)*c"
assert cyk.checkWord(cur_word)
def test_my_grammar_5():
cur_word = "e=a*(d*e)*f"
assert cyk.checkWord(cur_word)
def test_my_grammar_6():
cur_word = "f=a*(a)*a"
assert cyk.checkWord(cur_word)
def test_my_grammar_7():
cur_word = "a=(a*-1010)"
assert cyk.checkWord(cur_word)
def test_my_grammar_8():
cur_word = "b=a*-111111111111111*a"
assert cyk.checkWord(cur_word)
def test_my_grammar_9():
cur_word = "c=(b*1)*c"
assert cyk.checkWord(cur_word)
def test_my_grammar_10():
cur_word = "d=1+(a-(b*c)/f)"
assert cyk.checkWord(cur_word)
def test_my_grammar_11():
cur_word = "e=a*-(d*e)*f"
assert cyk.checkWord(cur_word)
def test_my_grammar_12():
cur_word = "f=a*((-a))*a"
assert cyk.checkWord(cur_word)
def test_my_grammar_13():
cur_word = "a=a--b"
assert cyk.checkWord(cur_word)
def test_my_grammar_14():
cur_word = "b=a**b"
assert not cyk.checkWord(cur_word)
def test_my_grammar_15():
cur_word = "c=abc"
assert not cyk.checkWord(cur_word)
def test_my_grammar_16():
cur_word = "d=a*-((de)*f"
assert not cyk.checkWord(cur_word)
def test_my_grammar_17():
cur_word = "e=a*(-a))*a"
assert not cyk.checkWord(cur_word)
def test_my_grammar_18():
cur_word = "a+b"
assert not cyk.checkWord(cur_word)
| 14.506667 | 80 | 0.566636 | 351 | 2,176 | 3.242165 | 0.179487 | 0.221441 | 0.142355 | 0.253076 | 0.764499 | 0.764499 | 0.753954 | 0.753954 | 0.725835 | 0.725835 | 0 | 0.042478 | 0.221048 | 2,176 | 149 | 81 | 14.604027 | 0.628909 | 0 | 0 | 0.243243 | 0 | 0 | 0.119485 | 0.019761 | 0 | 0 | 0 | 0 | 0.243243 | 1 | 0.243243 | false | 0 | 0.013514 | 0 | 0.256757 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 8 |
2cef64fee73f12278f4130e57a3193cb11e4baec | 167 | py | Python | blur_detection/__init__.py | hafizurcse/blur-detection | 0ae9b96efd93ed7567e514fa0c0364db85d38154 | [
"MIT"
] | null | null | null | blur_detection/__init__.py | hafizurcse/blur-detection | 0ae9b96efd93ed7567e514fa0c0364db85d38154 | [
"MIT"
] | null | null | null | blur_detection/__init__.py | hafizurcse/blur-detection | 0ae9b96efd93ed7567e514fa0c0364db85d38154 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .detection import fix_image_size
from .detection import estimate_blur
from .detection import pretty_blur_map
| 23.857143 | 39 | 0.742515 | 24 | 167 | 4.958333 | 0.708333 | 0.327731 | 0.478992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.155689 | 167 | 6 | 40 | 27.833333 | 0.836879 | 0.251497 | 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 |
2cffe15de6e42ae8d2d6eb5c3a30312882a40541 | 371,067 | py | Python | rl_threat_hunting/filter/pdb_paths.py | ivukovicRL/threat_hunting_library | 16fcd3b6f10dff6d0dc2952f7ac2b9b99af13375 | [
"MIT"
] | 2 | 2021-11-18T19:22:42.000Z | 2022-03-31T14:56:56.000Z | rl_threat_hunting/filter/pdb_paths.py | ivukovicRL/threat_hunting_library | 16fcd3b6f10dff6d0dc2952f7ac2b9b99af13375 | [
"MIT"
] | null | null | null | rl_threat_hunting/filter/pdb_paths.py | ivukovicRL/threat_hunting_library | 16fcd3b6f10dff6d0dc2952f7ac2b9b99af13375 | [
"MIT"
] | 3 | 2021-11-18T19:22:46.000Z | 2022-02-25T08:54:48.000Z |
COMMON_PDB_PATHS = frozenset([
'../etc',
'/home/travis/build/applifier/unity-ads-asset-store/unityengine.advertisements.android/obj/release/unityengine.advertisements.android.pdb',
'/users/desaro/documents/dev/unity3d/unityplugins/_dllbuilders/restkit/p31restkit/obj/release/p31restkit.pdb',
'/users/jskinner/.release_build/build/gn/lto_win_x64/update_installer.pdb',
'/users/kevinthai/unity-facebook/facebook.unity.android/obj/release/facebook.unity.android.pdb',
'/users/kevinthai/unity-facebook/facebook.unity.settings/obj/release/facebook.unity.settings.pdb',
'/users/kevinthai/unity-facebook/facebook.unity/obj/release/facebook.unity.pdb',
'/users/zongjingyao/works/repos/unity/channel/managed/unitystore/obj/debug/unitystore.pdb',
'/users/zongjingyao/works/repos/unity/unitychannel/managed/channelpurchase/obj/debug/channelpurchase.pdb',
'/volumes/macosextendedfs/proj/iapstores/managed/applestub/obj/debug/apple.pdb',
'/volumes/macosextendedfs/proj/iapstores/managed/common/obj/debug/purchasing.common.pdb',
'/volumes/macosextendedfs/proj/iapstores/managed/facebookstub/obj/debug/facebookstore.pdb',
'/volumes/macosextendedfs/proj/iapstores/managed/security/obj/debug/security.pdb',
'/volumes/macosextendedfs/proj/iapstores/managed/stores/obj/debug/stores.pdb',
'/volumes/macosextendedfs/proj/iapstores/managed/tizenstub/obj/debug/tizen.pdb',
'10d_mainq\\localkit\\tools\\win\\installer\\adobeselfextractor\\release\\adobeselfextractor.pdb',
'10x_main\\acrobat\\installers\\install_maintenancewizard\\customactions\\iwacts\\release\\iwacts.pdb',
'10x_main\\acrobat\\installers\\perfinst\\release\\perfinst.pdb',
'64bitmapibroker.pdb',
'207\\11404\\out\\win32\\release\\starter.pdb',
'452rtmgdr\\binaries\\x86ret\\bin\\i386\\vssetup\\utils\\boxstub.pdb',
'452rtmldr\\binaries\\x86ret\\bin\\i386\\vssetup\\utils\\boxstub.pdb',
'2005\\installweather_nosvr_1\\release\\installweather.pdb',
'_project\\boomerang\\win32\\release\\boomerangrc.pdb',
'_projects\\jp2\\tools\\liteloader\\release\\liteloader.pdb',
'_workspace\\rtkapo\\sysfx\\apo\\rtkobj\\amd64\\rltkapo64.pdb',
'a3dutils.pdb',
'a4.foundation.ni.pdb',
'a\\_work\\500\\s\\corefx\\bin\\obj\\anyos.anycpu.release\\system.collections.immutable\\netstandard1.0\\system.collections.immutable.pdb',
'aaa_motospec\\vb-net\\projects\\motospec v5\\motospec v5\\obj\\release\\motospec v5.pdb',
'aabuild\\other\\sqlite3\\release\\sqlite3-32.pdb',
'aabuild\\other\\sqlite3\\release\\sqlite3-64.pdb',
'aabuild\\projects\\common 10.3\\remoteagent\\bin\\release\\remoteagent.pdb',
'aabuild\\projects\\common 16.15\\remoterunner\\bin\\release\\remoterunner.pdb',
'aabuild\\projects\\common 16.18\\remoterunner\\bin\\release\\remoterunner.pdb',
'aabuild\\projects\\common 17.5\\remoterunner\\bin\\release\\remoterunner.pdb',
'aabuild\\projects\\inventory 12 release 1\\pdqinventoryscanner\\obj\\release\\pdqinventoryscanner.pdb',
'aabuild\\projects\\inventory 13 release 1\\pdqinventoryscanner\\obj\\release\\pdqinventoryscanner.pdb',
'aabuild\\projects\\inventory 13 release 2\\pdqinventoryscanner\\obj\\release\\pdqinventoryscanner.pdb',
'aabuild\\projects\\inventory 14 release 1\\pdqinventoryscanner\\obj\\release\\pdqinventoryscanner.pdb',
'aabuild\\projects\\inventory 16 release 5\\pdqinventoryscanner\\obj\\release\\pdqinventoryscanner.pdb',
'access\\x86\\ship\\0\\msaccess.pdb',
'accessagent\\observer\\observerresource\\release\\observerresource.pdb',
'accessagent\\pim\\pimresource\\release\\pimresource.pdb',
'accessagent\\wnd\\aaresource\\release\\aaresource.pdb',
'accessibility.pdb',
'ace\\x86\\ship\\1033\\aceodbci.pdb',
'acro_root_apanz\\main\\code\\build\\win\\results\\release\\info\\extendedappentry.pdb',
'acro_root_apanz\\main\\code\\build\\win\\results\\release\\info\\sea.pdb',
'acro_root_apms\\build\\release-results\\info\\adobe air application installer.pdb',
'acro_root_apms\\build\\release-results\\info\\adobe air installer.pdb',
'acro_root_apms\\build\\release-results\\info\\airappinstaller.pdb',
'acro_root_apwsbbp\\main\\code\\build\\win\\results\\release\\info\\arh.pdb',
'acro_root_at\\pdfl\\common\\a3d\\dev\\righthemisphere\\de40\\deplugins\\plugins\\2d\\a3d\\releasea3d\\2d.pdb',
'acro_root_atg\\acrobat\\systemsynchronizer\\synchronizerapp\\build\\win\\release\\adobecollabsync.pdb',
'acro_root_atg\\acrobat\\viewer\\win\\output\\acrobat\\acrord32exe.pdb',
'acro_root_atp\\acrobat\\installers\\bootstrapexe_small\\release\\setup.pdb',
'acro_root_ns\\acrobat\\installers\\bootstrapexe_small\\release\\setup.pdb',
'acro_root_ns\\buildresults\\bin\\release\\acrobroker.pdb',
'acro_root_ns\\buildresults\\bin\\release\\acrord32exe.pdb',
'acro_root_ns\\buildresults\\bin\\release\\acrotextextractor.pdb',
'acro_root_ns\\buildresults\\bin\\release\\adobecollabsync.pdb',
'acro_root_nsd\\buildresults\\bin\\release\\eula.pdb',
'acro_root_nsp\\acrobat\\installers\\install_maintenancewizard\\customactions\\iwacts\\release\\iwacts.pdb',
'acro_root_nsp\\buildresults\\bin\\release\\acrotextextractor.pdb',
'acrobroker.pdb',
'acrord32exe.pdb',
'acrord32info.pdb',
'acrotextextractor.pdb',
'addinprocess.pdb',
'adelrcp_exec.pdb',
'adhocreportingexcelclient.pdb',
'admtagntw2k.pdb',
'adobecollabsync.pdb',
'advapi32.pdb',
'advpack.pdb',
'aem.plugin.source.kit.server.ni.pdb',
'aem.server.ni.pdb',
'agent.pdb',
'agent\\_work\\1\\s\\processes\\applicationserver\\obj\\release\\if6040.applicationserver.pdb',
'agent\\_work\\1\\s\\tools\\dbextender\\obj\\release\\interflex.if6040.tools.dbextender.pdb',
'agent\\_work\\1\\s\\tools\\dbupdater\\obj\\release\\interflex.if6040.tools.dbupdater.pdb',
'agent\\_work\\1\\s\\tools\\reportmerger\\obj\\release\\reportmerger.pdb',
'agent\\_work\\8\\s\\build\\ship\\x86\\burn.pdb',
'agent\\_work\\8\\s\\build\\ship\\x86\\sfxca.pdb',
'agent\\_work\\eca3d12b\\wix3\\build\\ship\\x86\\burn.pdb',
'algo.pdb',
'algo64.pdb',
'amigo_browser_38\\amigo_3.36\\src\\out\\release\\mini_installer.exe.pdb',
'amigo_helpers\\amigo_loader_lite\\release\\amigoloaderlite.pdb',
'amigo_helpers\\amigo_loader_lite\\release\\mini_loader.pdb',
'api-ms-win-core-console-l1-1-0.pdb',
'api-ms-win-core-datetime-l1-1-0.pdb',
'api-ms-win-core-debug-l1-1-0.pdb',
'api-ms-win-core-errorhandling-l1-1-0.pdb',
'api-ms-win-core-file-l1-1-0.pdb',
'api-ms-win-core-file-l1-2-0.pdb',
'api-ms-win-core-file-l2-1-0.pdb',
'api-ms-win-core-handle-l1-1-0.pdb',
'api-ms-win-core-heap-l1-1-0.pdb',
'api-ms-win-core-interlocked-l1-1-0.pdb',
'api-ms-win-core-libraryloader-l1-1-0.pdb',
'api-ms-win-core-localization-l1-2-0.pdb',
'api-ms-win-core-memory-l1-1-0.pdb',
'api-ms-win-core-namedpipe-l1-1-0.pdb',
'api-ms-win-core-processenvironment-l1-1-0.pdb',
'api-ms-win-core-processthreads-l1-1-0.pdb',
'api-ms-win-core-processthreads-l1-1-1.pdb',
'api-ms-win-core-profile-l1-1-0.pdb',
'api-ms-win-core-rtlsupport-l1-1-0.pdb',
'api-ms-win-core-string-l1-1-0.pdb',
'api-ms-win-core-synch-l1-1-0.pdb',
'api-ms-win-core-synch-l1-2-0.pdb',
'api-ms-win-core-sysinfo-l1-1-0.pdb',
'api-ms-win-core-timezone-l1-1-0.pdb',
'api-ms-win-core-util-l1-1-0.pdb',
'api-ms-win-crt-conio-l1-1-0.pdb',
'api-ms-win-crt-convert-l1-1-0.pdb',
'api-ms-win-crt-environment-l1-1-0.pdb',
'api-ms-win-crt-filesystem-l1-1-0.pdb',
'api-ms-win-crt-heap-l1-1-0.pdb',
'api-ms-win-crt-locale-l1-1-0.pdb',
'api-ms-win-crt-math-l1-1-0.pdb',
'api-ms-win-crt-multibyte-l1-1-0.pdb',
'api-ms-win-crt-private-l1-1-0.pdb',
'api-ms-win-crt-process-l1-1-0.pdb',
'api-ms-win-crt-runtime-l1-1-0.pdb',
'api-ms-win-crt-stdio-l1-1-0.pdb',
'api-ms-win-crt-string-l1-1-0.pdb',
'api-ms-win-crt-time-l1-1-0.pdb',
'api-ms-win-crt-utility-l1-1-0.pdb',
'apm.foundation.ni.pdb',
'apm.server.ni.pdb',
'app\\gensoft\\pcsuite\\native\\app\\mini\\project\\release\\minidownloader.pdb',
'arc\\preinstaller\\release\\preinstallerex.pdb',
'arm\\buildresults\\bin\\win32\\release\\adobearm.pdb',
'arm\\buildresults\\bin\\win32\\release\\adobearmhelper.pdb',
'ashley\\exe\\release\\plusstub.pdb',
'aspnetmmcext.pdb',
'astrocalcolo.pdb',
'atapi.pdb',
'aticccom.ni.pdb',
'atl110.i386.pdb',
'atom\\squirrel.windows\\src\\setup\\bin\\release\\setup.pdb',
'atom\\squirrel.windows\\src\\stubexecutable\\bin\\release\\stubexecutable.pdb',
'auto\\bamboo-agent-home1\\xml-data\\build-dir\\ml-prdbld78-wb\\ml\\src\\windows\\da\\x64\\release\\mlda64.pdb',
'auto\\bamboo-agent-home1\\xml-data\\build-dir\\ml-prdbld83-wb\\ml\\src\\windows\\da\\x64\\release\\mlda64.pdb',
'autoconv.pdb',
'autolfn.pdb',
'autorun.pdb',
'avast900\\src\\builds\\release\\x86\\sfxinstfree.pdb',
'awdvstub.pdb',
'aximp.pdb',
'b\\16\\labtech\\build - 3rd party - installer - wix 3.10.4 full\\sources\\build\\ship\\x86\\burn.pdb',
'b\\build\\slave\\chrome-official\\build\\src\\build\\release\\chrome_exe.pdb',
'b\\build\\slave\\chrome-official\\build\\src\\build\\release\\chrome_frame_helper.pdb',
'b\\build\\slave\\chrome-official\\build\\src\\build\\release\\nacl64_exe.pdb',
'b\\build\\slave\\chrome-official\\build\\src\\build\\release\\servers\\chrome_launcher.pdb',
'b\\build\\slave\\chrome-official\\build\\src\\build\\release\\setup.pdb',
'b\\build\\slave\\foil_win_release_builder\\build\\src\\out\\release\\chrome_cleanup_tool.exe.pdb',
'b\\build\\slave\\win\\build\\src\\out\\release\\initialexe\\chrome.exe.pdb',
'b\\build\\slave\\win\\build\\src\\out\\release\\setup.exe.pdb',
'b\\c\\b\\win64_clang\\src\\out\\release_x64\\./mini_installer.exe.pdb',
'b\\c\\b\\win64_clang\\src\\out\\release_x64\\mini_installer.exe.pdb',
'b\\c\\b\\win64_clang\\src\\out\\release_x64\\notification_helper.exe.pdb',
'b\\c\\b\\win_clang\\src\\out\\release\\./mini_installer.exe.pdb',
'b\\c\\b\\win_clang\\src\\out\\release\\mini_installer.exe.pdb',
'b\\c\\b\\win_clang\\src\\out\\release\\setup.exe.pdb',
'b_35_82115\\bin\\release\\ringcentral_launcher.pdb',
'bamboo-agent-home\\xml-data\\build-dir\\esmp-kgpmr-job1\\gpoprovision\\dkgpcse\\x64\\release\\k1agentdeploycse_amd64.pdb',
'bamboo-agent-home\\xml-data\\build-dir\\kserag-wind15-job1\\build\\win32\\release\\bin\\krlyccon.pdb',
'bamboo-agent-home\\xml-data\\build-dir\\kserag-wind15-job1\\build\\win32\\release\\bin\\krlyclis.pdb',
'bamboo-home\\xml-data\\build-dir\\spoonvm-vm-job1\\vm\\build\\output\\x64\\stubexe.pdb',
'bamboo-home\\xml-data\\build-dir\\spoonvm-vm-job1\\vm\\build\\output\\x86\\stubexe.pdb',
'bamboo-home\\xml-data\\build-dir\\spoonvm-vmbb1311-job1\\vm\\build\\output\\x86\\stubexe.pdb',
'bamboo\\home\\xml-data\\build-dir\\wa-sim-job1\\bin\\obfuscated\\winautomation.shared.runtime.pdb',
'bamboo\\xml-data\\build-dir\\ees-kswin3-job1\\build\\win32\\release\\bin\\krlyccon.pdb',
'base\\source\\clients\\admin\\packagecreator\\controller\\release\\controller.pdb',
'base\\source\\clients\\admin\\packagecreator\\extractor\\releasestatic\\manualpackageextractor.pdb',
'bcdboot.pdb',
'binaries.x86ret\\bin\\i386\\microsoft.visualbasic.pdb',
'binaries.x86ret\\bin\\i386\\optimization\\opt\\bin\\i386\\csc.pdb',
'binaries.x86ret\\bin\\i386\\optimization\\opt\\bin\\i386\\vbc.pdb',
'binaries.x86ret\\bin\\i386\\vbc.pdb',
'binaries\\intermediate\\debugger\\razor.csproj__725887797\\objr\\x86\\vsdebugpresentationpackage.pdb',
'binaries\\intermediate\\edevstaticanalysis\\package.csproj__911207787\\objr\\x86\\metricspackage.pdb',
'binaries\\intermediate\\edevstaticanalysis\\stancore.csproj__2012452732\\objr\\x86\\stancore.pdb',
'binaries\\intermediate\\env\\microsoft.visualstudio.commonide.csproj_305797512\\objr\\x86\\microsoft.visualstudio.commonide.pdb',
'binaries\\intermediate\\env\\uiinternal.csproj__1669647223\\objr\\x86\\microsoft.visualstudio.shell.ui.internal.pdb',
'binaries\\intermediate\\env\\windowmanager.csproj_1614483757\\objr\\x86\\microsoft.visualstudio.platform.windowmanagement.pdb',
'binaries\\intermediate\\progression\\graphdocumentpackage.csproj__1718152421\\objr\\x86\\microsoft.visualstudio.graphdocumentpackage.pdb',
'binaries\\intermediate\\tfs_core\\common.csproj_179793254\\objr\\x86\\microsoft.teamfoundation.officeintegration.common.pdb',
'binaries\\intermediate\\venus\\microsoft.visualstudio.web.application.csproj__143545639\\objr\\x86\\microsoft.visualstudio.web.application.pdb',
'binaries\\intermediate\\venus\\microsoft.visualstudio.web.csproj__1952051872\\objr\\x86\\microsoft.visualstudio.web.pdb',
'binaries\\intermediate\\vsproject\\xmakecommandline.csproj_484636283\\objr\\amd64\\msbuild.pdb',
'binaries\\intermediate\\vsto\\microsoft.visualstudio.tools.office.designer.csproj_1145761259\\objr\\x86\\microsoft.visualstudio.tools.office.designer.pdb',
'binaries\\intermediate\\wizard\\microsoft.visualstudio.editors.vbproj_1797049054\\objr\\x86\\microsoft.visualstudio.editors.pdb',
'binaries\\intermediate\\wizard\\microsoft.vsdesigner.csproj_872314960\\objr\\x86\\microsoft.vsdesigner.pdb',
'bld_area\\installtoolbox_r7.5\\bin\\bin.iru\\ministub.pdb',
'bld_area\\installtoolbox_r9.1_26\\vs10\\bin\\win32\\release\\ministub.pdb',
'bld_area\\installtoolbox_r9.2_23\\vs10\\bin\\win32\\release\\ministub.pdb',
'bld_area\\sep_12.1\\output\\install\\bin.iru\\sylinkdrop.pdb',
'blue_ss.pdb',
'bluestub.pdb',
'bomgar-scc-x64.pdb',
'bootcontainer.pdb',
'bootsect.pdb',
'bootstrappackagedgame-win32-shipping.pdb',
'bootstrappackagedgame-win64-shipping.pdb',
'boxstub.pdb',
'boxstub_sql.pdb',
'branch\\win\\release\\custact\\x86\\aipackagechainer.pdb',
'branch\\win\\release\\stubs\\x86\\externalui.pdb',
'branch\\win\\release\\stubs\\x86\\setup.pdb',
'branch\\win\\release\\stubs\\x86\\updater.pdb',
'branchai\\win\\release\\custact\\x86\\resourcecleaner.pdb',
'branchai\\win\\release\\stubs\\x86\\externalui.pdb',
'branchai\\win\\release\\stubs\\x86u\\externalui.pdb',
'browseui.pdb',
'bs\\main\\out\\win32\\release\\setupkavkis.pdb',
'bs\\main\\out\\win32\\release\\starter.pdb',
'bt\\892918\\repo\\out\\retail-i386\\cmtrace\\cmtrace.pdb',
'bt\\892918\\repo\\out\\retail-i386\\cmtrace_x86\\cmtrace_x86.pdb',
'build-dir\\il-desk352-bilfa\\b.programisllight3_win32.0\\release\\launch_normal.pdb',
'build-dir\\il-desk3275-bilfa\\b.programisllight3_win32.0\\release\\launch_normal.pdb',
'build-dir\\il-desk3319-bilfa\\b.programisllight3_win32.0\\release\\launch_normal.pdb',
'build-dir\\il-desk3349-bilfa\\b.programisllight3_win32.0\\release\\launch_normal.pdb',
'build-dir\\it-ins13-bw32\\b.programislnetworkstart_win32.0\\release\\launch_normal.pdb',
'build.tc\\agent\\work\\3d341115e13060d2\\-\\rescue\\applet\\native\\bin\\x86\\lmirescue.pdb',
'build.tc\\agent\\work\\14d10ba45c29ec39\\-\\rescue\\applet\\native\\bin\\x86\\lmirescue.pdb',
'build.tc\\agent\\work\\c3f8670048b55c45\\-\\rescue\\applet\\native\\bin\\x86\\lmirescue.pdb',
'build.tc\\agent\\work\\cb719ddf14ec123e\\lmiignition\\release\\lmiignitionpacker.pdb',
'build.tc\\bishorn\\work\\da61b1900aa695f2\\-\\-\\-\\rescue\\applet\\native\\bin\\x86\\lmirescue.pdb',
'build.tc\\lucania\\work\\ca02951b723d0f2f\\3am\\products\\rescue\\rescue770_win10\\rescue\\applet\\native\\bin\\x86\\lmirescue.pdb',
'build.tc\\redrocks\\work\\fb60121f10014524\\3am\\products\\rescue\\rescue780_applet\\rescue\\applet\\native\\bin\\x86\\lmirescue.pdb',
'build.tc\\vestfold\\work\\af3e06ecd31a674e\\3am\\products\\rescue\\rescue750_bestbuy\\rescue\\applet\\native\\bin\\x86\\lmirescue.pdb',
'build27\\cpython\\pcbuild\\python.pdb',
'build27\\cpython\\pcbuild\\python27.pdb',
'build2652\\dev\\common\\installers\\setup\\src\\setup\\win32\\release\\setup.pdb',
'build2652\\dev\\common\\installers\\setup\\src\\setup\\x64\\release\\setup.pdb',
'build\\_bin\\win32\\release\\adapter.pdb',
'build\\_bin\\x64\\release\\launcher\\sophosesh.pdb',
'build\\_bin\\x64\\release\\sntpservice.pdb',
'build\\_install\\bin\\managementagentnt.pdb',
'build\\ace_wrappers\\lib\\tao.pdb',
'build\\ace_wrappers\\lib\\tao_dynamicany.pdb',
'build\\ace_wrappers\\lib\\tao_portableserver.pdb',
'build\\auconfigfiles\\sauconfigdll\\release\\sauconfigdll.pdb',
'build\\bin\\release\\alsvc.pdb',
'build\\bin\\release\\ispsheet.pdb',
'build\\bin\\release\\safelauncher.pdb',
'build\\bin\\release\\sophosalert.pdb',
'build\\build\\environment\\modules\\resdll\\release\\resdll.pdb',
'build\\build\\gui\\resourcesrebuild\\eng\\release\\falconreseng.pdb',
'build\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'build\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'build\\build\\src\\obj-firefox\\accessible\\ipc\\win\\handler\\accessiblehandler.pdb',
'build\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'build\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'build\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'build\\build\\src\\obj-firefox\\gfx\\angle\\targets\\libegl\\libegl.pdb',
'build\\build\\src\\obj-firefox\\gfx\\angle\\targets\\libglesv2\\libglesv2.pdb',
'build\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'build\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'build\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'build\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'build\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'build\\build\\src\\obj-firefox\\security\\nss3.pdb',
'build\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\builtins_nssckbi\\nssckbi.pdb',
'build\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl_freebl3\\freebl3.pdb',
'build\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\legacydb_nssdbm3\\nssdbm3.pdb',
'build\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softoken_softokn3\\softokn3.pdb',
'build\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'build\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\pingsender\\pingsender.pdb',
'build\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'build\\build\\src\\obj-firefox\\toolkit\\crashreporter\\minidump-analyzer\\minidump-analyzer.pdb',
'build\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'build\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'build\\build\\symbols\\release\\bhomanagement.pdb',
'build\\build\\symbols\\release\\configuration.pdb',
'build\\build\\symbols\\release\\datacontrolmanagement.pdb',
'build\\build\\symbols\\release\\icmanagement.pdb',
'build\\build\\symbols\\release\\logging.pdb',
'build\\build\\symbols\\release\\savneutralres.pdb',
'build\\build\\symbols\\release\\savprogress.pdb',
'build\\build\\symbols\\release\\sdcservice.pdb',
'build\\build\\symbols\\release\\sipsmanagement.pdb',
'build\\build\\symbols\\release\\threatdetection.pdb',
'build\\build\\symbols\\release\\threatmanagement.pdb',
'build\\build\\symbols\\release\\virusdetection.pdb',
'build\\build\\win32\\release\\coreendpointadapter\\coreendpointadapter.pdb',
'build\\build\\win32\\release\\setup.pdb',
'build\\build\\win64\\release\\driver_boot\\sed\\sophosed.pdb',
'build\\build\\win64\\release\\uninstall\\sed\\uninstall.pdb',
'build\\clientbootstrap\\release\\setup.pdb',
'build\\en\\release\\setupenu.pdb',
'build\\ob\\bora-621624\\bora-vmsoft\\build\\release-x64\\apps\\xferlogs\\vmwarexferlogs.pdb',
'build\\ob\\bora-1391583\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-1801916\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-2079447\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-2722044\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-3231342\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-3655846\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-4435715\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-4828553\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-6945559\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\ob\\bora-9964600\\vos3\\thinstall\\modules\\boot_loader.pdb',
'build\\onaccessdrivers\\source\\idcontrol\\objfre_wxp_x86\\i386\\savonaccesscontrol.pdb',
'build\\pdb\\x86\\release\\shsadapter.pdb',
'build\\products\\windows\\savicli\\vc9build\\win32\\release\\sav32cli.pdb',
'build\\release\\sophosalert.pdb',
'build\\saumonitor\\sheet\\release\\ispsheet.pdb',
'build\\sauservice\\service\\release\\alsvc.pdb',
'build\\setupnew\\release\\setup.pdb',
'build\\source\\rnmininst\\rel32s\\extractor.pdb',
'build\\source\\rnmininst\\rel32s\\rnmininst.pdb',
'build\\src\\symbols\\sdugui.pdb',
'build\\src\\x64\\release\\uninstallcli.pdb',
'build\\src\\x64\\release\\uninstallcore.pdb',
'build\\src\\x64\\release\\uninstallgui.pdb',
'build\\work\\01\\fd301531736b4da4\\projects\\avast\\microstub\\x86\\release\\microstub.pdb',
'build\\work\\eca3d12b\\wix3\\build\\ship\\x64\\sfxca.pdb',
'build\\work\\eca3d12b\\wix3\\build\\ship\\x86\\burn.pdb',
'build\\work\\eca3d12b\\wix3\\build\\ship\\x86\\sfxca.pdb',
'build_area\\jdk6\\control\\build\\windows-i586\\tmp\\deploy\\javaws\\bin\\javaws.pdb',
'build_area\\jdk6\\control\\build\\windows-i586\\tmp\\deploy\\plugin\\jucheck\\obj\\jucheck.pdb',
'build_area\\jdk6\\control\\build\\windows-i586\\tmp\\java\\java\\obj\\java.pdb',
'build_area\\jdk6\\control\\build\\windows-i586\\tmp\\java\\javaw\\obj\\javaw.pdb',
'build_area\\jdk6\\control\\build\\windows-i586\\tmp\\sun\\sun.rmi.activation\\rmid\\obj\\rmid.pdb',
'build_~1\\jdk6_26\\control\\build\\window~1\\tmp\\deploy\\plugin\\filesinuse\\obj64\\filesinuse.pdb',
'buildagent\\temp\\buildtmp\\unityplayer_symbols.pdb',
'buildagent\\work\\5ab2da0ee833edfe\\src\\out\\release\\lite_installer.exe.pdb',
'buildagent\\work\\6d6a584026202b3d\\src\\out\\release\\lite_installer.exe.pdb',
'buildagent\\work\\9c641e03f62b1f21\\bin\\release\\silentinstaller.pdb',
'buildagent\\work\\9d1bc32700498ce4\\src\\out\\release\\lite_installer.exe.pdb',
'buildagent\\work\\220dc32f273423f2\\tooling\\obj\\release\\system.web.helpers\\system.web.helpers.pdb',
'buildagent\\work\\7838251580758eac\\src\\out\\release\\lite_installer.exe.pdb',
'buildagent\\work\\acb6b7cd1c6acb0f\\solutions\\.build\\release\\acwin.pdb',
'buildagent\\work\\b2bc2e500dc0bb85\\release\\client\\x64\\sym\\cyinjct.pdb',
'buildagent\\work\\che-trunk-git-yandex-ru\\win\\yandexdiskuploadersetup\\release\\yandexdisksetup.pdb',
'buildagent\\work\\dffca96b04de5ecb\\src\\launcher\\release\\launcher.pdb',
'buildagent\\work\\edf281db05823b75\\runtimerelease\\src\\microsoft.owin.host.systemweb\\obj\\release\\microsoft.owin.host.systemweb.pdb',
'buildagent\\work\\fd8f6ccfe3a18504\\release\\client\\x64\\sym\\cyinjct.pdb',
'buildagent\\work\\fe2b0740eca6e700\\src\\out\\release\\lite_installer.exe.pdb',
'buildagent\\work\\ff5fabc9ec27ac7d\\setupexe\\stardust\\setupexe.pdb',
'buildagent_prod\\workspace\\4800\\installer\\amt\\release\\setup.pdb',
'buildagent_prod\\workspace\\8959\\installer\\amt\\release\\setup.pdb',
'buildbot\\ad-windows-32\\build\\release\\app-32\\win_loader\\anydesk.pdb',
'buildbot\\release-win-x64\\build\\build\\x64\\release\\dolphin\\bin\\dolphin.pdb',
'buildbot\\release-win-x64\\build\\build\\x64\\release\\dsptool\\bin\\dsptool.pdb',
'buildbot\\slave\\w\\lar6\\desktop-2013-1\\chromium\\src\\out\\release\\net_installer.exe.pdb',
'buildbot\\slave\\w\\lar6\\desktop-2013-3\\chromium\\src\\out\\release\\net_installer.exe.pdb',
'buildbot\\slave\\workdir\\repos\\lar6\\fallback\\chromium\\src\\out\\release\\installer.exe.pdb',
'buildbot\\slave\\workdir\\repos\\opera1\\chromium\\src\\out\\release\\installer.exe.pdb',
'buildbot\\slave\\workdir\\repos\\opera\\chromium\\src\\out\\release\\installer.exe.pdb',
'buildbot\\windows-32\\build\\release\\app-32\\win_loader\\anydesk.pdb',
'builder\\quickstablevs\\build\\realbasic\\realbasic visual studio\\release\\guistubwin32.pdb',
'builds\\18\\commonlib\\event_collector-devel\\binaries\\release\\eventcollector.pdb',
'builds\\40\\entlib\\elv6-blocks-nuget\\src\\source\\blocks\\data\\src\\data\\obj\\release\\microsoft.practices.enterpriselibrary.data.pdb',
'builds\\76\\netwrix auditor\\na_cv-pleione\\bin\\win32\\release\\zlibarchiver.pdb',
'builds\\13810\\tools\\procmon_master\\bin\\win32\\release\\procmon.pdb',
'builds\\esuitebuild-av-desk-rel-1000-av-201711250-win32-cl\\build\\objects\\drwcs\\client\\avdinst\\avdinst.exe.pdb',
'builds\\moz2_slave\\b2g-in-w32-pgo-000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\b2g-in-w32-pgo-000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\b2g-in-w32-pgo-000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testgeturl.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testnativexmlhttprequest.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testplaintextserializer.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\canvas\\compiledtest\\testwebglelementarraycache.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiobuffers.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiomixer.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiopacketizer.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiosegment.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\webaudio\\compiledtest\\testaudioeventtimeline.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\dom\\security\\test\\testcspparser.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin55.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin56.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc55.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc56.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\intl\\lwbrk\\tests\\testlinebreak.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_duplex.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_record.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_resampler.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_utils.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\dmd.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\test\\smokedmd.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testinitializerlist.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testnotnull.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testcertdb.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testiscertbuiltinroot.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testmd4.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\teststsparser.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\src\\sandboxbroker\\sandboxbroker.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\wow_helper\\wow_helper.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\injector\\breakpadinjector.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul-gtest.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\webapps\\tests\\testwebapprt.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\webapprt\\win\\webapprt-stub.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\nsifileenumerator.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testbase64.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcalltemplates.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testiniparser.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testpipe.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testracingservicemanager.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testregistrationorder.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststlwrappers.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadpoollistener.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtimers.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testcom.pdb',
'builds\\moz2_slave\\fx-team-w32-d-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testntpathtodospath.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\m-aurora-w64-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\dmd.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\test\\smokedmd.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testnotnull.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\minidumpwriter\\minidumpwriter.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul-gtest.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-beta-w64-d-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\dmd.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\test\\smokedmd.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\wow_helper\\wow_helper.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\injector\\breakpadinjector.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul-gtest.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-cen-w32-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testgeturl.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testnativexmlhttprequest.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testplaintextserializer.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\canvas\\compiledtest\\testwebglelementarraycache.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiobuffers.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiomixer.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiopacketizer.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiosegment.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\media\\webaudio\\compiledtest\\testaudioeventtimeline.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\dom\\security\\test\\testcspparser.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\intl\\lwbrk\\tests\\testlinebreak.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\dmd.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\test\\smokedmd.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumtypetraits.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testnotnull.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testcertdb.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\teststsparser.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\minidumpwriter\\minidumpwriter.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul-gtest.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\nsifileenumerator.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testbase64.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcalltemplates.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testiniparser.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testpipe.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testracingservicemanager.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testregistrationorder.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststlwrappers.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadpoollistener.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtimers.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testcom.pdb',
'builds\\moz2_slave\\m-cen-w64-d-000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testntpathtodospath.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testnotnull.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\testing\\tools\\minidumpwriter\\minidumpwriter.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-cen-w64-pgo-0000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-esr52-w32-d-0000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-esr52-w32-d-0000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-esr52-w32-d-0000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-esr52-w32-d-0000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\accessible\\ipc\\win\\handler\\accessiblehandler.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testgeturl.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testnativexmlhttprequest.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testplaintextserializer.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\canvas\\compiledtest\\testwebglelementarraycache.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiobuffers.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiomixer.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiopacketizer.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiosegment.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\webaudio\\compiledtest\\testaudioeventtimeline.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\dom\\security\\test\\testcspparser.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin55.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin56.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc55.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc56.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\intl\\lwbrk\\tests\\testlinebreak.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_duplex.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_record.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_resampler.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_utils.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testinitializerlist.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\testprintf.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testcertdb.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testiscertbuiltinroot.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testmd4.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\teststsparser.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil_certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util_pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\builtins_nssckbi\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl_freebl3\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\legacydb_nssdbm3\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softoken_softokn3\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\src\\sandboxbroker\\sandboxbroker.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\wow_helper\\wow_helper.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\pingsender\\pingsender.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\tests\\modules-test.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\injector\\breakpadinjector.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\minidump-analyzer\\minidump-analyzer.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\dummydll\\qipcap.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul-gtest.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\webapps\\tests\\testwebapprt.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\webapprt\\win\\webapprt-stub.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\nsifileenumerator.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testbase64.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcalltemplates.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testdeque.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testiniparser.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testpipe.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testracingservicemanager.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testregistrationorder.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststlwrappers.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadpoollistener.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtimers.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testcom.pdb',
'builds\\moz2_slave\\m-in-w32-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testntpathtodospath.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\accessible\\ipc\\win\\handler\\accessiblehandler.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testgeturl.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testnativexmlhttprequest.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testplaintextserializer.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\canvas\\compiledtest\\testwebglelementarraycache.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiobuffers.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiomixer.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiopacketizer.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiosegment.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\webaudio\\compiledtest\\testaudioeventtimeline.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\security\\test\\testcspparser.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin55.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin56.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc55.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc56.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\lwbrk\\tests\\testlinebreak.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_duplex.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_record.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_resampler.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_utils.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\dmd.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\test\\smokedmd.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\testprintf.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testcertdb.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testiscertbuiltinroot.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testmd4.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\teststsparser.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil_certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util_pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\builtins_nssckbi\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl_freebl3\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\legacydb_nssdbm3\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softoken_softokn3\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\src\\sandboxbroker\\sandboxbroker.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\wow_helper\\wow_helper.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\pingsender\\pingsender.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\tests\\modules-test.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\injector\\breakpadinjector.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\minidump-analyzer\\minidump-analyzer.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\dummydll\\qipcap.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul-gtest.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\webapps\\tests\\testwebapprt.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\webapprt\\win\\webapprt-stub.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\nsifileenumerator.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testbase64.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcalltemplates.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testdeque.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testiniparser.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testpipe.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testracingservicemanager.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testregistrationorder.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststlwrappers.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadpoollistener.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtimers.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testcom.pdb',
'builds\\moz2_slave\\m-in-w32-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testntpathtodospath.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testgeturl.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testnativexmlhttprequest.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testplaintextserializer.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\canvas\\compiledtest\\testwebglelementarraycache.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiobuffers.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiomixer.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiopacketizer.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiosegment.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\webaudio\\compiledtest\\testaudioeventtimeline.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\security\\test\\testcspparser.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin56.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc56.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\intl\\lwbrk\\tests\\testlinebreak.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_duplex.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_record.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_resampler.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_utils.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarray.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumeratedarray.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumtypetraits.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testinitializerlist.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testnotnull.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrange.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testresult.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testcertdb.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testiscertbuiltinroot.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testmd4.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\teststsparser.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil_certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util_pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\builtins_nssckbi\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl_freebl3\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\legacydb_nssdbm3\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softoken_softokn3\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\src\\sandboxbroker\\sandboxbroker.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\wow_helper\\wow_helper.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\pingsender\\pingsender.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\tests\\modules-test.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\injector\\breakpadinjector.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\minidump-analyzer\\minidump-analyzer.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\dummydll\\qipcap.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\webapprt\\win\\webapprt-stub.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\nsifileenumerator.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testbase64.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcalltemplates.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testiniparser.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testpipe.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testracingservicemanager.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testregistrationorder.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststlwrappers.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadpoollistener.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtimers.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testcom.pdb',
'builds\\moz2_slave\\m-in-w32-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testntpathtodospath.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\accessible\\ipc\\win\\handler\\accessiblehandler.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testgeturl.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testnativexmlhttprequest.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testplaintextserializer.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\canvas\\compiledtest\\testwebglelementarraycache.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiobuffers.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiomixer.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiopacketizer.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiosegment.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\media\\webaudio\\compiledtest\\testaudioeventtimeline.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\dom\\security\\test\\testcspparser.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin55.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin56.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc55.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc56.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\intl\\lwbrk\\tests\\testlinebreak.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_duplex.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_record.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_resampler.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_utils.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarray.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testdoublylinkedlist.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumeratedarray.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumtypetraits.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testinitializerlist.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testnotnull.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrange.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testresult.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsmallpointerarray.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\testprintf.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testcertdb.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testiscertbuiltinroot.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testmd4.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\teststsparser.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil_certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util_pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\builtins_nssckbi\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl_freebl3\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\legacydb_nssdbm3\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softoken_softokn3\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\src\\sandboxbroker\\sandboxbroker.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\minidumpwriter\\minidumpwriter.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\pingsender\\pingsender.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\tests\\modules-test.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\minidump-analyzer\\minidump-analyzer.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\dummydll\\qipcap64.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul-gtest.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\webapps\\tests\\testwebapprt.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\webapprt\\win\\webapprt-stub.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\nsifileenumerator.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testbase64.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcalltemplates.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testdeque.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testiniparser.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testpipe.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testracingservicemanager.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testregistrationorder.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststlwrappers.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadpoollistener.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtimers.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testcom.pdb',
'builds\\moz2_slave\\m-in-w64-000000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testntpathtodospath.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\accessible\\ipc\\win\\handler\\accessiblehandler.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testgeturl.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testnativexmlhttprequest.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testplaintextserializer.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\canvas\\compiledtest\\testwebglelementarraycache.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiobuffers.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiomixer.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiopacketizer.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiosegment.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\media\\webaudio\\compiledtest\\testaudioeventtimeline.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\dom\\security\\test\\testcspparser.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin55.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin56.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc55.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc56.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\intl\\lwbrk\\tests\\testlinebreak.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_duplex.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_record.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_resampler.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_utils.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\dmd.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\memory\\replace\\dmd\\test\\smokedmd.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarray.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testdoublylinkedlist.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumeratedarray.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumtypetraits.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testinitializerlist.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testnotnull.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrange.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testresult.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsmallpointerarray.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\testprintf.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testcertdb.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testiscertbuiltinroot.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testmd4.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\teststsparser.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil_certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util_pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\builtins_nssckbi\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl_freebl3\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\legacydb_nssdbm3\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softoken_softokn3\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\src\\sandboxbroker\\sandboxbroker.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\minidumpwriter\\minidumpwriter.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\pingsender\\pingsender.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\telemetry\\tests\\modules-test.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\minidump-analyzer\\minidump-analyzer.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\dummydll\\qipcap64.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul-gtest.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\gtest\\xul.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\webapps\\tests\\testwebapprt.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\webapprt\\win\\webapprt-stub.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\nsifileenumerator.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testbase64.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcalltemplates.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testdeque.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testiniparser.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testpipe.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testracingservicemanager.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testregistrationorder.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststlwrappers.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadpoollistener.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtimers.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testcom.pdb',
'builds\\moz2_slave\\m-in-w64-d-0000000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testntpathtodospath.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\ia2\\ia2marshal.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\accessible\\interfaces\\msaa\\accessiblemarshal.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\browser\\components\\build\\browsercomps.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinject.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\build\\win32\\crashinjectdll\\crashinjectdll.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\config\\external\\lgpllibs\\lgpllibs.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testgeturl.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testnativexmlhttprequest.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\base\\test\\testplaintextserializer.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\canvas\\compiledtest\\testwebglelementarraycache.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiobuffers.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiomixer.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiopacketizer.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\compiledtest\\testaudiosegment.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin-openh264\\fakeopenh264.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\gmp-plugin\\fake.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\media\\webaudio\\compiledtest\\testaudioeventtimeline.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\flashplugin\\npswftest.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\javaplugin\\nptestjava.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\nptest.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\secondplugin\\npsecondtest.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\silverlightplugin\\npctrltest.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\plugins\\test\\testplugin\\thirdplugin\\npthirdtest.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\dom\\security\\test\\testcspparser.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\editor\\txmgr\\tests\\testtxmgr.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libegl\\libegl.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\gfx\\angle\\src\\libglesv2\\libglesv2.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuin56.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\intl\\icu\\target\\lib\\icuuc56.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\intl\\lwbrk\\tests\\testlinebreak.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\js\\src\\jsapi-tests\\jsapi-tests.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\js\\src\\shell\\js.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\shell\\xpcshell.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\js\\xpconnect\\tests\\components\\native\\xpctest.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavcodec\\mozavcodec.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\ffvpx\\libavutil\\mozavutil.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\gmp-clearkey\\0.1\\clearkey.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_audio.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_duplex.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_latency.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_record.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_resampler.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_sanity.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_tone.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\media\\libcubeb\\tests\\test_utils.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarray.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testarrayutils.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testatomics.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbinarysearch.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbloomfilter.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testbufferlist.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcasting.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testceilingfloor.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcheckedint.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountpopulation.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testcountzeroes.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testendian.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumeratedarray.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumset.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testenumtypetraits.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfastbernoullitrial.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfloatingpoint.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testfunction.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testinitializerlist.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerprintfmacros.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testintegerrange.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testjsonwriter.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testlinkedlist.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroargs.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmacroforeach.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmathalgorithms.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testmaybe.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testnotnull.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpair.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testpoisonarea.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrange.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrefptr.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testresult.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testrollingmean.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsaturate.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testscopeexit.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsegmentedvector.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsha1.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testsplaytree.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtemplatelib.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtuple.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypedenum.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testtypetraits.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testuniqueptr.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvariant.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testvector.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testweakptr.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mfbt\\tests\\testxorshift128plusrng.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\modules\\libmar\\tool\\signmar.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\mozglue\\tests\\showsseconfig.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testbind.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testcookie.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\netwerk\\test\\testudpsocket.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testcertdb.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testiscertbuiltinroot.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\testmd4.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\compiled\\teststsparser.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\pkcs11testmodule\\pkcs11testmodule.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\badcertserver.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\generateocspresponse.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\manager\\ssl\\tests\\unit\\tlsserver\\cmd\\ocspstaplingserver.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss3.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\certutil\\certutil_certutil\\certutil.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\cmd\\pk12util\\pk12util_pk12util\\pk12util.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\builtins_nssckbi\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\ckfw\\builtins\\nssckbi.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\freebl\\freebl_freebl3\\freebl3.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\legacydb_nssdbm3\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\legacydb\\nssdbm3.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softoken_softokn3\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\nss\\lib\\softoken\\softokn3.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\security\\sandbox\\win\\src\\sandboxbroker\\sandboxbroker.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\startupcache\\test\\teststartupcache.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asxxx_helpers.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_async_callbacks_with_spun_event_loops.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_asyncstatementexecution_transaction.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_binding_params.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_file_perms.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_mutex.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_service_init_background_thread.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statement_scoper.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_statementcache.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_transaction_helper.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_true_async.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\storage\\test\\test_unlock_notify.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\testing\\mochitest\\ssltunnel\\ssltunnel.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\fileid\\fileid.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\minidumpwriter\\minidumpwriter.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\testing\\tools\\screenshot\\screenshot.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\ctypes\\tests\\jsctypes-test.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\components\\places\\tests\\cpp\\test_ihistory.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\minidump-analyzer\\minidump-analyzer.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\crashreporter\\test\\testcrasher.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\dummydll\\qipcap64.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\library\\xul.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testaushelper.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\tests\\testausreadstrings.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater-xpcshell\\updater-xpcshell.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\toolkit\\xre\\test\\win\\testdllinterceptor.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\uriloader\\exthandler\\tests\\writeargument.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\webapprt\\win\\webapprt-stub.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\bug656331_component\\test656331.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component\\testcomponent.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\component_no_aslr\\testcompnoaslr.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\nsifileenumerator.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\showalignments.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testarguments.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoptr.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testautoref.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testbase64.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testblockingprocess.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcalltemplates.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomarray.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptr.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testcomptreq.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testfile.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testhashtables.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testid.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testiniparser.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testjemalloc.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testnsrefptr.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverarray.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testobserverservice.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testpipe.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testprintn.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testquickreturn.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testracingservicemanager.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testregistrationorder.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststlwrappers.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\teststringapi.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtarray.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtextformatter.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadpoollistener.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testthreadutils.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testtimers.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\testunicodearguments.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testcom.pdb',
'builds\\moz2_slave\\m-in-w64-pgo-00000000000000000\\build\\src\\obj-firefox\\xpcom\\tests\\windows\\testntpathtodospath.pdb',
'builds\\moz2_slave\\rel-m-192-w32-bld\\build\\obj-firefox\\toolkit\\mozapps\\update\\src\\updater\\updater.pdb',
'builds\\moz2_slave\\rel-m-rel-w32_bld-000000000000\\build\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\rel-m-rel-w32_bld-000000000000\\build\\obj-firefox\\dom\\plugins\\ipc\\hangui\\plugin-hang-ui.pdb',
'builds\\moz2_slave\\rel-m-rel-w32_bld-000000000000\\build\\obj-firefox\\ipc\\app\\plugin-container.pdb',
'builds\\moz2_slave\\rel-m-rel-w32_bld-000000000000\\build\\obj-firefox\\security\\sandbox\\win\\wow_helper\\wow_helper.pdb',
'builds\\moz2_slave\\rel-m-rel-w32_bld-000000000000\\build\\obj-firefox\\toolkit\\components\\maintenanceservice\\maintenanceservice.pdb',
'builds\\moz2_slave\\rel-m-rel-w32_bld-000000000000\\build\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\rel-m-rel-w32_bld-000000000000\\build\\obj-firefox\\toolkit\\mozapps\\update\\updater\\updater.pdb',
'builds\\moz2_slave\\rel-m-rel-w32_bld-000000000000\\build\\obj-firefox\\webapprt\\win\\webapprt-stub.pdb',
'builds\\moz2_slave\\tb-c-aurora-w32-ntly-000000000\\build\\objdir-tb\\calendar\\base\\backend\\libical\\build\\calbasecomps.pdb',
'builds\\moz2_slave\\tb-c-aurora-w32-ntly-000000000\\build\\objdir-tb\\config\\external\\nss\\nss3.pdb',
'builds\\moz2_slave\\tb-c-aurora-w32-ntly-000000000\\build\\objdir-tb\\mail\\app\\thunderbird.pdb',
'builds\\moz2_slave\\tb-c-aurora-w32-ntly-000000000\\build\\objdir-tb\\mail\\components\\search\\wsenable\\wsenable.pdb',
'builds\\moz2_slave\\tb-c-aurora-w32-ntly-000000000\\build\\objdir-tb\\mailnews\\mapi\\mapidll\\mozmapi32.pdb',
'builds\\moz2_slave\\tb-c-aurora-w32-ntly-000000000\\build\\objdir-tb\\mailnews\\mapi\\mapihook\\build\\mapiproxy.pdb',
'builds\\moz2_slave\\tb-c-aurora-w32-ntly-000000000\\build\\objdir-tb\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\tb-c-cen-w32-ntly-000000000000\\build\\objdir-tb\\calendar\\base\\backend\\libical\\build\\calbasecomps.pdb',
'builds\\moz2_slave\\tb-c-cen-w32-ntly-000000000000\\build\\objdir-tb\\mail\\app\\thunderbird.pdb',
'builds\\moz2_slave\\tb-c-cen-w32-ntly-000000000000\\build\\objdir-tb\\mail\\components\\search\\wsenable\\wsenable.pdb',
'builds\\moz2_slave\\tb-c-cen-w32-ntly-000000000000\\build\\objdir-tb\\mailnews\\mapi\\mapidll\\mozmapi32.pdb',
'builds\\moz2_slave\\tb-c-cen-w32-ntly-000000000000\\build\\objdir-tb\\mailnews\\mapi\\mapihook\\build\\mapiproxy.pdb',
'builds\\moz2_slave\\tb-c-cen-w32-ntly-000000000000\\build\\objdir-tb\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\tb-c-cen-w64-ntly-000000000000\\build\\objdir-tb\\mail\\app\\thunderbird.pdb',
'builds\\moz2_slave\\tb-c-cen-w64-ntly-000000000000\\build\\objdir-tb\\mail\\components\\search\\wsenable\\wsenable.pdb',
'builds\\moz2_slave\\tb-c-cen-w64-ntly-000000000000\\build\\objdir-tb\\mailnews\\mapi\\mapidll\\mozmapi32.pdb',
'builds\\moz2_slave\\tb-c-cen-w64-ntly-000000000000\\build\\objdir-tb\\mailnews\\mapi\\mapihook\\build\\mapiproxy.pdb',
'builds\\moz2_slave\\tb-c-cen-w64-ntly-000000000000\\build\\objdir-tb\\mozglue\\build\\mozglue.pdb',
'builds\\moz2_slave\\win32_build\\build\\obj-firefox\\browser\\app\\firefox.pdb',
'builds\\moz2_slave\\win32_build\\build\\obj-firefox\\toolkit\\crashreporter\\client\\crashreporter.pdb',
'builds\\moz2_slave\\win32_build\\build\\obj-firefox\\toolkit\\mozapps\\update\\src\\updater\\updater.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\accessible\\public\\msaa\\accessiblemarshal.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\directory\\c-sdk\\ldap\\libraries\\libldap\\nsldap32v50.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\directory\\c-sdk\\ldap\\libraries\\libprldap\\nsldappr32v50.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\extensions\\spellcheck\\myspell\\src\\myspell.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\extensions\\spellcheck\\src\\spellchk.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\js\\jsd\\jsd3250.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\js\\src\\js3250.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\mail\\app\\thunderbird.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\mailnews\\mapi\\mapidll\\mozmapi32.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\mailnews\\mapi\\mapihook\\build\\mapiproxy.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\modules\\libjar\\jar50.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nsprpub\\lib\\ds\\plds4.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nsprpub\\lib\\libc\\src\\plc4.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nsprpub\\pr\\src\\nspr4.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nss\\freebl\\win95_single_shlib\\freebl3.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nss\\nss\\nss3.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nss\\nssckbi\\nssckbi.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nss\\smime\\smime3.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nss\\softokn\\softokn3.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\nss\\ssl\\ssl3.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\toolkit\\mozapps\\update\\src\\updater\\updater.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\xpcom\\build\\xpcom_core.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\xpcom\\obsolete\\xpcom_compat.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\xpcom\\stub\\xpcom.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\xpinstall\\cleanup\\xpicleanup.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\xpinstall\\src\\xpinstal.pdb',
'builds\\tinderbox\\tb-mozilla1.8\\winnt_5.0_depend\\mozilla\\xpinstall\\stub\\xpistub.pdb',
'buildserver\\1\\work-trunk\\core-repository\\trunk\\tools\\systemcheck\\release\\systemchecksc2.pdb',
'buildserver\\bna-1\\work-git\\bootstrapper-repository\\src\\release\\bootstrapper.pdb',
'buildserver\\bna-2\\work-git\\bootstrapper-repository\\src\\release\\bootstrapper.pdb',
'buildserver\\bna-3\\work-git\\bootstrapper-repository\\src\\release\\bootstrapper.pdb',
'buildserver\\bna-4\\work-git\\bootstrapper-repository\\src\\release\\bootstrapper.pdb',
'buildslave\\unity\\build\\artifacts\\win32_release_standaloneplayer_mono_0\\player_win_x86.pdb',
'buildslave\\unity\\build\\artifacts\\win64_release_standaloneplayer_mono_0\\player_win_x64.pdb',
'buildslave\\unity\\build\\artifacts\\windowsplayer\\win32_nondev_m_r\\windowsplayer_master_mono_x86.pdb',
'buildslave\\unity\\build\\artifacts\\windowsplayer\\win64_nondev_m_r\\windowsplayer_master_mono_x64.pdb',
'buildslave\\unity\\build\\build\\windowsstandalonesupport\\variations\\win32_nondevelopment_mono\\player_win_x86.pdb',
'buildslave\\unity\\build\\build\\windowsstandalonesupport\\variations\\win32_nondevelopment_mono\\windowsplayer_x86_master.pdb',
'buildslave\\unity\\build\\build\\windowsstandalonesupport\\variations\\win32_nondevelopment_mono\\windowsplayer_x86_master_mono.pdb',
'buildslave\\unity\\build\\build\\windowsstandalonesupport\\variations\\win64_nondevelopment_mono\\player_win_x64.pdb',
'buildslave\\unity\\build\\build\\windowsstandalonesupport\\variations\\win64_nondevelopment_mono\\windowsplayer_x64_master.pdb',
'buildslave\\unity\\build\\build\\windowsstandalonesupport\\variations\\win64_nondevelopment_mono\\windowsplayer_x64_master_mono.pdb',
'buildsvn\\arcadia_dt\\workdir\\clients2\\sc\\sda\\release\\pgpsda.pdb',
'buildsvn\\athens_dt\\workdir\\clients2\\sc\\sda\\release\\pgpsda.pdb',
'buildsvn\\see_fd\\workdir\\see\\pcg projects\\ea removable storage\\distribution files\\client\\seeremovablestorageaccessutility.pdb',
'bwa\\foundation-830.11\\objroot\\defaults.build\\release\\defaults.pdb',
'bwa\\ituneswinpackagedata-360.16\\srcroot\\customactions\\release\\win32\\itunes_customactions.pdb',
'bwa\\ituneswinpackagedata-360.16\\srcroot\\customactions\\release\\x64\\itunes_customactions.pdb',
'bwa\\ysutilities-17\\srcroot\\release\\ysloaderw\\ysloaderw.pdb',
'cag\\x86\\ship\\0\\mstordb.pdb',
'cag\\x86\\ship\\0\\mstore.pdb',
'camanaged.pdb',
'cb\\11x_main\\buildresults\\bin\\release\\chrome_wow_helper.pdb',
'cb\\11x_mainq\\acrobat\\installers\\adelrcp\\release\\adelrcp.pdb',
'cb\\11x_mainq\\acrobat\\installers\\bootstrapexe_small\\release\\setup.pdb',
'cb\\11x_mainq\\buildresults\\bin\\release\\acroext\\acroext.exe.pdb',
'cb\\11x_mainq\\buildresults\\bin\\release\\chrome_wow_helper.pdb',
'cb\\acrobat\\buildresults\\bin\\release\\plug_ins\\pi_brokers\\32bitmapibroker.pdb',
'cb\\arm_main\\buildresults\\bin\\win32\\release\\adobearm.pdb',
'cb\\arm_main\\buildresults\\bin\\win32\\release\\adobearmhelper.pdb',
'cb\\arm_main\\buildresults\\bin\\win32\\release\\armsvc.pdb',
'cb\\arm_trunk\\buildresults\\bin\\win32\\release\\adobearmhelper.pdb',
'cb\\arm_trunk\\buildresults\\bin\\win32\\release\\armsvc.pdb',
'ccc.implementation.ni.pdb',
'ccmsetup.pdb',
'ccview$\\ase_installers_main\\ase_installers\\utilities\\pacman\\release\\packagemanager.pdb',
'ccview\\kcho2_aseinstaller_view\\ase_installers\\utilities\\pacman\\release\\packagemanager.pdb',
'ccviews\\autobuild1_br-0911-02m6_1.2_snapshot\\workingdirectory1\\iccinstaller\\1.1.13\\installer\\icc\\release\\setupicc.pdb',
'cdb.pdb',
'certmgr.pdb',
'certutil.pdb',
'cfgwiz.pdb',
'ch1\\src\\sandbox\\wow_helper\\wow_helper.pdb',
'checkout\\signeretest\\unipluss.sign.client.common\\obj\\release\\unipluss.sign.client.common.pdb',
'checkout\\signeretest\\unipluss.sign.common.rest\\obj\\release\\unipluss.sign.common.rest.pdb',
'checkout\\signeretest\\unipluss.sign.common.validation\\obj\\release\\unipluss.sign.common.validation.pdb',
'checkout\\signeretest\\unipluss.sign.externalcontract\\obj\\release\\unipluss.sign.externalcontract.pdb',
'chess.pdb',
'chkntfs.pdb',
'chrome.exe.pdb',
'chrome_elf.dll.pdb',
'chrome_proxy.exe.pdb',
'chrome_watcher.dll.pdb',
'chrome_wow_helper.pdb',
'ci\\hudson\\jobs\\wae_2.0.4\\workspace\\wae\\bin\\wae_eng.pdb',
'clbcatq.pdb',
'clearcase_view\\edm_phase2\\admindeployment_win\\source\\admindeploymenttool\\release\\inst.pdb',
'cli.aspect.amdhome.graphics.dashboard.ni.pdb',
'cli.aspect.amdhome.graphics.shared.ni.pdb',
'cli.aspect.amdoverdrive.platform.shared.ni.pdb',
'cli.aspect.crossdisplay.graphics.dashboard.ni.pdb',
'cli.aspect.customformats.graphics.shared.ni.pdb',
'cli.aspect.devicedfp.graphics.dashboard.ni.pdb',
'cli.aspect.devicedfp.graphics.shared.ni.pdb',
'cli.aspect.deviceproperty.graphics.dashboard.shared.ni.pdb',
'cli.aspect.deviceproperty.graphics.runtime.ni.pdb',
'cli.aspect.deviceproperty.graphics.shared.ni.pdb',
'cli.aspect.displaysoptions.graphics.dashboard.ni.pdb',
'cli.aspect.infocentre.graphics.dashboard.ni.pdb',
'cli.aspect.mmvideo.graphics.dashboard.ni.pdb',
'cli.aspect.overdrive5.graphics.shared.ni.pdb',
'cli.aspect.powerplaydppe.graphics.dashboard.ni.pdb',
'cli.aspect.powerplaydppe.graphics.runtime.ni.pdb',
'cli.aspect.radeon3d.graphics.dashboard.ni.pdb',
'cli.aspect.radeon3d.graphics.shared.ni.pdb',
'cli.aspect.transcode.graphics.dashboard.ni.pdb',
'cli.aspect.transcode.graphics.runtime.ni.pdb',
'cli.aspect.transcode.graphics.shared.ni.pdb',
'cli.aspect.updatenotification.graphics.dashboard.ni.pdb',
'cli.caste.a4.dashboard.ni.pdb',
'cli.caste.a4.runtime.ni.pdb',
'cli.caste.a4.shared.ni.pdb',
'cli.caste.fuel.dashboard.ni.pdb',
'cli.caste.fuel.runtime.ni.pdb',
'cli.caste.fuel.shared.ni.pdb',
'cli.caste.graphics.dashboard.ni.pdb',
'cli.caste.graphics.dashboard.shared.ni.pdb',
'cli.caste.graphics.runtime.ni.pdb',
'cli.caste.graphics.runtime.shared.private.ni.pdb',
'cli.caste.graphics.shared.ni.pdb',
'cli.caste.hydravision.dashboard.ni.pdb',
'cli.caste.hydravision.runtime.ni.pdb',
'cli.caste.hydravision.shared.ni.pdb',
'cli.caste.platform.dashboard.ni.pdb',
'cli.caste.platform.runtime.ni.pdb',
'cli.caste.platform.shared.ni.pdb',
'cli.combined.graphics.aspects1.dashboard.ni.pdb',
'cli.combined.graphics.aspects2.runtime.ni.pdb',
'cli.component.client.shared.ni.pdb',
'cli.component.client.shared.private.ni.pdb',
'cli.component.dashboard.ni.pdb',
'cli.component.dashboard.profilemanager2.ni.pdb',
'cli.component.dashboard.shared.ni.pdb',
'cli.component.dashboard.shared.private.ni.pdb',
'cli.component.runtime.ni.pdb',
'cli.component.runtime.shared.private.ni.pdb',
'cli.component.systemtray.ni.pdb',
'cli.foundation.client.ni.pdb',
'cli.foundation.ni.pdb',
'cli.foundation.private.ni.pdb',
'cli.foundation.xmanifest.ni.pdb',
'clientsetup.pdb',
'clientsetupcapack.pdb',
'clientsetupresources.pdb',
'clr\\binaries\\x86ret\\bin\\i386\\vssetup\\utils\\boxstub.pdb',
'clview\\x86\\ship\\0\\clview.pdb',
'cm\\build\\public\\ee_m13r6_20051102\\csi\\projects\\ee\\dist_staging\\release\\cod\\aolsoftware\\aolsoftware.pdb',
'cmd.pdb',
'cmd\\27\\out\\binaries\\x86ret\\bin\\i386\\bootstrapper\\engine\\setup.pdb',
'cmdkey.pdb',
'cmgcoreplugin.pdb',
'cmrcviewer.pdb',
'cmtrace.pdb',
'cmtrace_x86.pdb',
'code\\paket\\bin\\merged\\paket.pdb',
'code\\paket\\bin\\paket.powershell\\paket.powershell.pdb',
'code\\paket\\src\\paket.bootstrapper\\obj\\release\\paket.bootstrapper.pdb',
'code\\paket\\src\\paket.core\\obj\\release\\paket.core.pdb',
'codebases\\isdev\\redist\\language independent\\i386\\isp\\setup.pdb',
'codebases\\isdev\\redist\\language independent\\i386\\issetup.pdb',
'codebases\\isdev\\redist\\language independent\\i386\\setup.pdb',
'codebases\\isdev\\redist\\language independent\\i386\\setupprereq.pdb',
'codebases\\isdev\\redist\\language independent\\i386\\setupsuite.pdb',
'codebases\\isdev\\src\\runtime\\msi\\shared\\setup\\setup___win32_release\\setup.pdb',
'codebases\\isdev\\src\\runtime\\msi\\shared\\setup\\setup___win32_release_prerequisites\\setupprereq.pdb',
'codebases\\isdev\\src\\runtime\\msi\\shared\\setup\\setup___win32_release_prerequisites_unicode\\setupprereq.pdb',
'codebases\\isdev\\src\\runtime\\msi\\shared\\setup\\setup___win32_release_prerequisites_unicode\\setupprereqw.pdb',
'codebases\\isdev\\src\\runtime\\msi\\shared\\setup\\setup___win32_release_unicode\\setup.pdb',
'codebases\\isdev\\src\\runtime\\msi\\shared\\setup\\setup___win32_release_unicode\\setupw.pdb',
'codebases_majesty_hotfixes\\isdev\\src\\runtime\\msi\\shared\\setup\\setup___win32_release_prerequisites_unicode\\setupprereq.pdb',
'codebases_majesty_hotfixes\\isdev\\src\\runtime\\msi\\shared\\setup\\setup___win32_release_unicode\\setup.pdb',
'combase.pdb',
'comctl32.pdb',
'commoncapack.pdb',
'compatprovider.pdb',
'comsvcconfig.ni.pdb',
'concrt140.i386.pdb',
'connectiondlg.pdb',
'copydatabasewizard.pdb',
'coretech\\source\\roxy\\aum\\public\\aum\\binaries\\windows\\release\\adobe_updater.pdb',
'coretech\\source\\roxy\\aum\\public\\aum\\binaries\\windows\\release\\adobeupdaterinstallmgr.pdb',
'corpol.pdb',
'cpvsbuild\\drops\\ofc10.0\\raw\\9122\\vsbuilt\\retail\\bin\\i386\\vspkgs\\cmddef.pdb',
'crmverclient.pdb',
'crmverexchange.pdb',
'crypt32.pdb',
'cryptbase.pdb',
'csrss.pdb',
'custommarshalers.pdb',
'cvtres.pdb',
'd3dcompiler_43.pdb',
'd3dcompiler_47.pdb',
'd3dx9_43.pdb',
'dailybuild\\saasbee_svn\\bin\\release\\zoom_launcher.pdb',
'daringdev\\infinity\\squirrel.windows\\src\\setup\\bin\\release\\setup.pdb',
'databasemailwizard.pdb',
'daten\\helge\\programmierung\\delprof2\\release\\delprof2.pdb',
'dbengprx.pdb',
'dbgcore.pdb',
'dbghelp.pdb',
'dcb\\cbt_main\\buildresults\\bin\\release\\plug_ins\\pi_brokers\\32bitmapibroker.pdb',
'dd\\netfxdev1\\binaries\\x86ret\\bin\\i386\\vssetup\\utils\\boxstub.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\frameworks\\v4.0\\objr\\i386\\microsoft.office.tools.v4.0.framework.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\implementations\\common\\proj\\objr\\i386\\microsoft.office.tools.common.implementation.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\implementations\\excel\\proj\\objr\\i386\\microsoft.office.tools.excel.implementation.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\implementations\\outlook\\proj\\objr\\i386\\microsoft.office.tools.outlook.implementation.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\implementations\\word\\proj\\objr\\i386\\microsoft.office.tools.word.implementation.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\interfaces\\common\\objr\\i386\\microsoft.office.tools.common.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\interfaces\\excel\\objr\\i386\\microsoft.office.tools.excel.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\interfaces\\outlook\\objr\\i386\\microsoft.office.tools.outlook.pdb',
'dd\\trinity\\appnet\\fx\\office\\nopia\\interfaces\\word\\objr\\i386\\microsoft.office.tools.word.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\adapters\\excel\\objr\\i386\\microsoft.visualstudio.tools.office.excel.hostadapter.v10.0.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\adapters\\outlook\\objr\\i386\\microsoft.visualstudio.tools.office.outlook.hostadapter.v10.0.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\adapters\\word\\objr\\i386\\microsoft.visualstudio.tools.office.word.hostadapter.v10.0.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\addinadapters\\excel\\objr\\i386\\microsoft.visualstudio.tools.office.excel.addinadapter.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\addinadapters\\word\\objr\\i386\\microsoft.visualstudio.tools.office.word.addinadapter.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\addinproxies\\excel\\objr\\i386\\microsoft.visualstudio.tools.office.excel.addinproxy.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\addinproxies\\word\\objr\\i386\\microsoft.visualstudio.tools.office.word.addinproxy.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\outlook\\objr\\i386\\microsoft.office.tools.outlook.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\office\\viewcontrols\\word\\word\\objr\\i386\\microsoft.office.tools.word.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\pipeline\\vstoaddinmodel\\caa\\objr\\i386\\microsoft.visualstudio.tools.office.addinadapter.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\pipeline\\vstoaddinmodel\\hca\\objr\\i386\\microsoft.visualstudio.tools.office.hostadapter.v10.0.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\v3core\\v3common\\objr\\i386\\microsoft.office.tools.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\v3core\\v3rt\\objr\\i386\\microsoft.visualstudio.tools.office.runtime.v10.0.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\v3core\\v3serverdoc\\objr\\i386\\microsoft.visualstudio.tools.applications.serverdocument.v9.0.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\v3core\\v3serverdoc\\objr\\i386\\microsoft.visualstudio.tools.applications.serverdocument.v10.0.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\v3core\\v4fast\\objr\\i386\\microsoft.visualstudio.tools.office.runtime.internal.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\v3core\\v4rt\\objr\\i386\\microsoft.visualstudio.tools.office.runtime.pdb',
'dd\\trinity\\appnet\\fx\\runtime\\v3core\\v4serverdoc\\objr\\i386\\microsoft.visualstudio.tools.applications.serverdocument.pdb',
'dd\\trinity\\appnet\\tools\\controls\\containercontrol\\containercontrol\\obj1r\\i386\\microsoft.visualstudio.tools.office.containercontrol.v10.0.pdb',
'dd\\trinity\\appnet\\tools\\controls\\containercontrol\\v4\\obj1r\\i386\\microsoft.visualstudio.tools.office.containercontrol.pdb',
'dd\\trinity\\vsta\\maf\\remotingadapters\\netmodule\\objr\\i386\\microsoft.visualstudio.tools.applications.adapter.v9.0.pdb',
'dd\\trinity\\vsta\\rt\\addinmgr\\core\\objr\\i386\\microsoft.visualstudio.tools.applications.hosting.v9.0.pdb',
'dd\\trinity\\vsta\\rt\\addinmgr\\core\\v3\\objr\\i386\\microsoft.visualstudio.tools.applications.hosting.v10.0.pdb',
'dd\\trinity\\vsta\\rt\\addinmgr\\core\\v4\\objr\\i386\\microsoft.visualstudio.tools.applications.hosting.pdb',
'dd\\trinity\\vsta\\rt\\vstaaddinmodel\\addinbase\\objr\\i386\\microsoft.visualstudio.tools.applications.runtime.v9.0.pdb',
'dd\\trinity\\vsta\\rt\\vstaaddinmodel\\addinbase\\v3\\objr\\i386\\microsoft.visualstudio.tools.applications.runtime.v10.0.pdb',
'dd\\trinity\\vsta\\rt\\vstaaddinmodel\\addinbase\\v4\\objr\\i386\\microsoft.visualstudio.tools.applications.runtime.pdb',
'dd\\trinity\\vsta\\rt\\vstaaddinmodel\\caa\\objr\\i386\\microsoft.visualstudio.tools.applications.addinadapter.v9.0.pdb',
'dd\\trinity\\vsta\\rt\\vstaaddinmodel\\caa\\objr\\i386\\microsoft.visualstudio.tools.applications.addinadapter.v10.0.pdb',
'dd\\trinity\\vsta\\rt\\vstaaddinmodel\\hca\\objr\\i386\\microsoft.visualstudio.tools.applications.hostadapter.v10.0.pdb',
'dd\\vsproject\\xmake\\xmakecommandline\\objr\\amd64\\msbuild.pdb',
'dd\\vsu\\target\\briqsshared\\briqs03\\retail\\i386\\msipatchregfix.pdb',
'dd\\wizard\\vsdesigner\\designer\\objr\\i386\\microsoft.vsdesigner.pdb',
'ddsetca.pdb',
'delivery\\dev\\wix35_public\\build\\ship\\x86\\sfxca.pdb',
'delivery\\dev\\wix36_dev11\\build\\ship\\x86\\x86\\burn.pdb',
'delivery\\dev\\wix36_public\\build\\ship\\x86\\x86\\burn.pdb',
'delivery\\dev\\wix37\\build\\ship\\x86\\burn.pdb',
'delivery\\dev\\wix37_public\\build\\ship\\x86\\burn.pdb',
'delivery\\dev\\wix37_public\\build\\ship\\x86\\sfxca.pdb',
'delivery\\x86\\ship\\0\\ose.pdb',
'depot\\clt14_0\\vs10\\bin\\win32\\releasedynamic\\pifalert.pdb',
'designer\\x86\\ship\\0\\mse7.pdb',
'designer\\x86\\ship\\1033.pre\\mseintl.pdb',
'dev\\ags\\main\\solutions\\.build\\release\\acwin.pdb',
'dev\\appget\\output\\pdbs\\release\\fetchapps.pdb',
'dev\\dev\\toolbarinstaller_v2.0\\release\\installerrunner.pdb',
'dev\\elevate\\bin\\x86\\release\\elevate.pdb',
'dev\\github\\sharwell\\dotnet-collections\\system.collections.immutable\\src\\obj\\net35-client\\release\\rackspace.collections.immutable.pdb',
'dev\\orc\\field collection working\\orc-fieldcollection\\rangeclearancewpf\\obj\\debug\\rangeclearancewpf.pdb',
'dev\\pcwincam\\bcb6-new\\vcplayer\\release\\vcplayer.pdb',
'dev\\photon-sdk-dotnet\\photonunity3d\\obj\\debug\\photon3unity3d.pdb',
'dev\\sqlite\\dotnet\\bin\\2008\\win32\\releasenativeonlystatic\\sqlite.interop.pdb',
'dev\\sqlite\\dotnet\\bin\\2008\\x64\\releasenativeonlystatic\\sqlite.interop.pdb',
'dev\\tin9\\installdir\\vc80-win32u\\loader.pdb',
'dev\\tin9\\installdir\\vc80x86u\\loader.pdb',
'dev\\win-main\\windows-main\\apps\\connection-manager\\release\\securelinkcm.pdb',
'devcon.pdb',
'develop\\global\\src\\heidi\\bin\\i386\\release\\hpsetup.pdb',
'develope\\msi2exe\\release\\msi2exestub.pdb',
'development\\cobra\\absoluteremote\\sourcetree\\solutions\\bin\\arv\\win32\\release\\heatremotevcore.pdb',
'development\\mycode\\vstudio\\2005\\weknows\\release\\uninstaller.pdb',
'development\\releases\\json\\working\\newtonsoft.json\\src\\newtonsoft.json\\obj\\release\\newtonsoft.json.pdb',
'development\\releases\\json\\working\\newtonsoft.json\\working-signed\\src\\newtonsoft.json\\obj\\release\\net40\\newtonsoft.json.pdb',
'development\\releases\\json\\working\\newtonsoft.json\\working-signed\\src\\newtonsoft.json\\obj\\release\\net45\\newtonsoft.json.pdb',
'dfsvc.pdb',
'dg\\_develop\\__unity3_classes\\_holoville\\__dotween\\_dotween.assembly\\dotween43\\obj\\release\\dotween43.pdb',
'dg\\_develop\\__unity3_classes\\_holoville\\__dotween\\_dotween.assembly\\dotween46\\obj\\release\\dotween46.pdb',
'dg\\_develop\\__unity3_classes\\_holoville\\__dotween\\_dotween.assembly\\dotween\\obj\\release\\dotween.pdb',
'dg\\_develop\\__unity3_classes\\_holoville\\__dotween\\_dotween.assembly\\dotweenpro\\obj\\release\\dotweenpro.pdb',
'dg\\_develop\\__unity3_classes\\_holoville\\__hotween.assembly\\hotweenv1\\obj\\debug\\hotween.pdb',
'dg\\_develop\\__unity3_classes\\_holoville\\__hotween.assembly\\hotweenv1\\obj\\release\\hotween.pdb',
'difxapi.pdb',
'dismhost.pdb',
'dll\\msdmeng.pdb',
'dlpe-sdk_6.2\\int\\dlpe-sdk-6.2-int\\output\\win32\\release\\apihookstub.x86.pdb',
'dobindfile.pdb',
'documents and settings\\administrator\\my documents\\visual studio 2010\\projects\\poscardreader\\release\\poscardreader.pdb',
'documents and settings\\ben\\my documents\\visual studio projects\\est\\wrapperstub\\release\\wrapperstub.pdb',
'documents and settings\\sanjeev\\.hudson\\jobs\\saffron2010_lgtmodels_phase2_build\\workspace\\bulk\\lgtmodels\\saffron2010\\_modlesmsmscript\\versiondll\\src\\createdll\\firstdllproject\\release\\firstdllproject.pdb',
'documents and settings\\vladimir\\my documents\\visual studio 2008\\projects\\t2e\\src\\out\\release static win32\\strapper.pdb',
'dotnetzip.semverd\\src\\zip\\obj\\release\\ionic.zip.pdb',
'dotnetzip\\zip reduced\\obj\\release\\ionic.zip.reduced.pdb',
'dotnetzip\\zip\\obj\\debug\\ionic.zip.pdb',
'dotnetzip\\zip\\obj\\release\\ionic.zip.pdb',
'dpinst.pdb',
'dtsinstall.pdb',
'dtswizard.ni.pdb',
'dtswizard.pdb',
'dup_client\\framework\\dup30\\dupframework\\bin\\release\\dupframework.pdb',
'dvs\\p4\\build\\sw\\rel\\gpu_drv\\installer_core\\build\\core\\out\\win32\\release\\nvi2.pdb',
'dvs\\p4\\build\\sw\\rel\\gpu_drv\\installer_core\\build\\core\\out\\win32\\release\\nvi2ui.pdb',
'dvs\\p4\\build\\sw\\rel\\gpu_drv\\installer_core\\build\\core\\out\\win32\\release\\nvprxy32.pdb',
'dvs\\p4\\build\\sw\\rel\\gpu_drv\\installer_core\\build\\core\\out\\win32\\release\\setup.pdb',
'dvs\\p4\\build\\sw\\rel\\gpu_drv\\installer_core\\build\\core\\out\\x64\\release\\nvprxy64.pdb',
'dw\\x86\\ship\\0\\dw20.pdb',
'dw\\x86\\ship\\0\\dwtrig20.pdb',
'dw\\x86\\ship\\1033\\dwintl20.pdb',
'dwintl20.pdb',
'dwm.pdb',
'dwtrig20.pdb',
'dxsetup.pdb',
'dxtmsft.pdb',
'dxtrans.pdb',
'eitreleases\\eit-2.2\\distrib\\free\\build\\ex_inst_toolkit\\xinst_lzma\\release\\xinst_lzma.pdb',
'electron.exe.pdb',
'elevated_mpminisigstub.pdb',
'elevation_service.exe.pdb',
'embedhook-x64.pdb',
'embedhook-x86.pdb',
'empty.pdb',
'enlist\\octopus\\target\\debug\\amd64\\octopusagent4.pdb',
'eula.pdb',
'eventlog_provider.dll.pdb',
'eventviewer.pdb',
'excel\\x86\\ship\\0\\excel.pdb',
'exe\\dwwin.pdb',
'explorerframe.pdb',
'expressionrtm\\sparkle\\sdk\\blendwpfsdk\\build\\intermediate\\release\\libraries\\microsoft.expression.interactions\\win32\\release\\microsoft.expression.interactions.pdb',
'expressionrtm\\sparkle\\sdk\\blendwpfsdk\\build\\intermediate\\release\\libraries\\system.windows.interactivity\\win32\\release\\system.windows.interactivity.pdb',
'extmgr.pdb',
'factoid\\x86\\ship\\0\\fdate.pdb',
'factoid\\x86\\ship\\0\\fplace.pdb',
'falcor\\software\\websites\\web\\enumtojavascript\\obj\\debug\\enumtojavascript.pdb',
'faultinjectionlistener.pdb',
'faxpatch.pdb',
'ffmpeg.dll.pdb',
'filter_2016r1\\src\\dev\\xid\\logonapp\\x64_win64_opt\\logonapp.pdb',
'filters\\x86\\ship\\0\\fltldr.pdb',
'filters\\x86\\ship\\1033\\epsimp32.pdb',
'flashfarm\\depot\\main\\player\\branches\\flashplayer\\flashplayer9_cs3\\platform\\win32\\standalone\\release\\flashplayer.pdb',
'flashfarm\\depot\\main\\player\\branches\\flashplayer\\flashplayer9_dotreleases\\platform\\win32\\standalone\\release\\flashplayer.pdb',
'flashfarm\\depot\\main\\player\\branches\\flashplayer\\flashplayer10_cs4\\platform\\win32\\obj\\player\\release\\flashplayer.pdb',
'flashplayer.pdb',
'flicklearningwizard.pdb',
'fralpha01\\20100315.m.14\\flashruntime\\code\\build\\win\\results\\standalone\\release\\win32\\flashplayer.pdb',
'fuel.foundation.ni.pdb',
'fx19rel\\winnt_5.2_depend\\mozilla\\obj-fx-trunk\\nsprpub\\pr\\src\\nspr4.pdb',
'fx19rel\\winnt_5.2_depend\\mozilla\\obj-fx-trunk\\nss\\nssdbm\\nssdbm3.pdb',
'gdi32.pdb',
'gdiplus.pdb',
'git-sdk-64-ci\\usr\\src\\mingw-packages\\mingw-w64-git\\src\\git\\git.pdb',
'git\\core\\sm.rpc.functionaltests\\obj\\debug\\sm.rpc.functionaltests.pdb',
'github-nlog-production\\nlog\\build\\obj\\release\\.net framework 4.5\\nlog.pdb',
'go\\pipelines\\release-frameworks-new\\build\\realbasic\\realbasic visual studio\\release\\guistubwin32.pdb',
'googlecrashhandler64_unsigned.pdb',
'googlecrashhandler_unsigned.pdb',
'googleupdatebroker_unsigned.pdb',
'googleupdatecomregistershell64_unsigned.pdb',
'googleupdatecore_unsigned.pdb',
'googleupdateondemand_unsigned.pdb',
'googleupdatewebplugin_unsigned.pdb',
'gzip.pdb',
'home\\hudson\\slave-root\\workspace\\e4_5_x\\label\\win\\src\\win\\release\\win32\\vncviewer.pdb',
'hotfixinstallerui.pdb',
'hrtzzm.pdb',
'html.pdb',
'hudson\\gmbase\\gmgreen\\gamemaker\\runner\\vc_runner\\release\\runner.pdb',
'hudson\\gmbuild\\gamemaker\\runner\\vc_runner\\release\\runner.pdb',
'hudson\\workspace\\autoupdate2.1-update\\obj\\jucheck\\release\\jucheck.pdb',
'hudson\\workspace\\lgtmodels-chopin-buildnightly\\bulk\\lgtmodels\\saffron\\_modlesmsmscript\\versiondll\\src\\createdll\\firstdllproject\\release\\firstdllproject.pdb',
'hudson\\zeusbase\\zeusgreen\\gamemaker\\runner\\vc_runner\\win32\\release-zeus\\runner.pdb',
'hudsonwork\\workspace\\olb_package\\build_cfg\\release\\release_identity\\prerelease\\label\\win32\\installer\\installer-wix\\release\\mysainstca.pdb',
'idm_projects\\idm\\release\\idman.pdb',
'ieakeng.pdb',
'ieaksie.pdb',
'ieapfltr.pdb',
'iedkcs32.pdb',
'iedvtool.pdb',
'ieencode.pdb',
'ieframe.pdb',
'ielangpack.pdb',
'iepeers.pdb',
'iernonce.pdb',
'iertutil.pdb',
'iesetup.pdb',
'ieui.pdb',
'if6040\\trunk\\processes\\applicationserver\\obj\\debug\\if6040.applicationserver.pdb',
'ilasm.pdb',
'imagingdevices.pdb',
'imjpdsvr.pdb',
'inetcomm.pdb',
'inetcpl.pdb',
'inseng.pdb',
'install.pdb',
'install.res.1033.pdb',
'installer.exe.pdb',
'installer\\incremental installer7\\dev\\eauninstall7\\release\\eauninstall7.pdb',
'installerforvaioupdate.pdb',
'installerhelper.pdb',
'iphlpapi.pdb',
'irftp.pdb',
'j\\jobs\\sqltoolsservice_dev\\workspace\\src\\microsoft.sqltools.servicelayer\\bin\\release\\netcoreapp1.0\\microsoft.sqltools.servicelayer.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\deploy\\jre-image\\bin\\javaws.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\java\\java\\obj\\java.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\java\\javaw\\obj\\javaw.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\javacplexec\\obj\\javacpl.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\jp2launcher\\obj\\jp2launcher.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\ssvagent\\obj\\ssvagent.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\com.sun.java.util.jar.pack\\unpack\\unpack200.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\launcher\\jconsole\\obj\\jconsole.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\launcher\\jdb\\obj\\jdb.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\launcher\\jinfo\\obj\\jinfo.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\launcher\\jmap\\obj\\jmap.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\launcher\\jstack\\obj\\jstack.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\launcher\\klist\\obj\\klist.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\launcher\\orbd\\obj\\orbd.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\launcher\\tnameserv\\obj\\tnameserv.pdb',
'jdk7_32p\\jdk7\\build\\windows-i586\\tmp\\sun\\sun.tracing.dtrace\\jsdt\\obj\\jsdt.pdb',
'jdk7u2_32p\\jdk7u21\\build\\windows-i586\\installerdll\\release\\installer.pdb',
'jenkins\\ae\\build-work\\hibun-ae\\_current\\client\\release\\sxdmkslj.pdb',
'jenkins\\jobs\\dup30\\workspace\\crossword\\framework\\dup30\\dupframework\\bin\\release\\dupframework.pdb',
'jenkins\\workspace\\carmel-installer-windows\\bluejeansinstaller\\release\\blue jeans launcher.pdb',
'jenkins\\workspace\\electron-win-ia32\\out\\r\\electron.exe.pdb',
'jenkins\\workspace\\electron-win-x64\\out\\r\\electron.exe.pdb',
'jenkins\\workspace\\forgame-launcher-web-installer-build\\src\\innova.launcher.installer.runner\\build\\release\\innova.launcher.installer.runner.pdb',
'jenkins\\workspace\\master\\epsdev\\windowseps\\releaseversion\\outputfiles\\win32\\sym\\cynetlauncher.pdb',
'jenkins\\workspace\\windows-main\\apps\\connection-manager\\release\\securelinkcm.pdb',
'jenkins_dup\\workspace\\dup30\\crossword\\framework\\dup30\\dupframework\\bin\\release\\dupframework.pdb',
'jenkins_trunk\\workspace\\cen_hive_qqpcdownload_fordcom\\qqpcmgr_proj\\bin\\release\\agndaemon.pdb',
'jenkins_trunk\\workspace\\cen_hive_qqpcdownload_fordcom\\qqpcmgr_proj\\bin\\release\\apchook.pdb',
'jenkins_trunk\\workspace\\cen_hive_qqpcdownload_fordcom\\qqpcmgr_proj\\bin\\release\\gjbapi.pdb',
'jnk\\workspace\\patchdata_build\\outputs\\pdb\\aexdeploymenteventshandler.pdb',
'jobrelease\\win\\release\\custact\\x86\\aipackagechainer.pdb',
'jobrelease\\win\\release\\stubs\\res\\emptyresdll.pdb',
'jobrelease\\win\\release\\stubs\\x86\\decoder.pdb',
'jobrelease\\win\\release\\stubs\\x86\\externalui.pdb',
'jobrelease\\win\\release\\stubs\\x86\\updater.pdb',
'jsc.pdb',
'jscript.pdb',
'jsdbgui.pdb',
'jsproxy.pdb',
'kerberos.pdb',
'kernel32.pdb',
'kernelbase.pdb',
'kerneltracecontrol.pdb',
'kittools\\hdmitemp\\installer\\hdmi\\release\\setup.pdb',
'kms-8\\kmsemulator.net\\release\\kmswrapper32.pdb',
'lc.pdb',
'libegl.dll.pdb',
'libglesv2.dll.pdb',
'licensing\\x86\\ship\\0\\ospprearm.pdb',
'licmgr10.pdb',
'liebao_src_pool\\tool.tools_trunk\\src_import\\build\\release\\ksbinstaller.pdb',
'lite_installer.exe.pdb',
'lmj_bookswf\\tools\\scebookset\\releaser\\scebookset.pdb',
'log.foundation.implementation.ni.pdb',
'log.foundation.implementation.private.ni.pdb',
'log.foundation.ni.pdb',
'log.foundation.private.ni.pdb',
'log4net\\tags\\2.0.8rc1\\bin\\net\\4.5\\release\\log4net.pdb',
'lsasrv.pdb',
'main\\driver\\bin\\driverwizard.pdb',
'main\\driver\\bin\\ssnetmon.d64.pdb',
'main\\driver\\bin\\ssnetmon.dll.pdb',
'matlab\\bin\\win64\\ctfxwlauncher.pdb',
'mcsdctworkerobjectsw2k.pdb',
'mcupdate.pdb',
'memtest.pdb',
'metal_ss.pdb',
'metatrader4\\client\\metatrader4terminal\\release\\terminal.pdb',
'metatrader4\\mt5\\client\\metaeditor\\release32\\metaeditor.pdb',
'metricspackage.ni.pdb',
'mfc71u.pdb',
'mfc80.i386.pdb',
'mfc80u.i386.pdb',
'mfc90.i386.pdb',
'mfc90u.i386.pdb',
'mfc100u.i386.pdb',
'mfc120.i386.pdb',
'mi_exe_stub.pdb',
'mia\\renderers\\console\\console_shell.pdb',
'microsoft.analysisservices.controls.pdb',
'microsoft.analysisservices.design.pdb',
'microsoft.analysisservices.managementdialogs.pdb',
'microsoft.analysisservices.pdb',
'microsoft.analysisservices.project.ni.pdb',
'microsoft.analysisservices.project.pdb',
'microsoft.analysisservices.xmla.pdb',
'microsoft.applicationid.rulewizard.pdb',
'microsoft.bdd.utility.pdb',
'microsoft.build.framework.ni.pdb',
'microsoft.build.ni.pdb',
'microsoft.build.resources.ni.pdb',
'microsoft.build.tasks.core.resources.ni.pdb',
'microsoft.build.tasks.v4.0.ni.pdb',
'microsoft.build.utilities.core.resources.ni.pdb',
'microsoft.build.utilities.v4.0.ni.pdb',
'microsoft.crm.pdb',
'microsoft.csharp.ni.pdb',
'microsoft.csharp.pdb',
'microsoft.datatransformationservices.controls.ni.pdb',
'microsoft.datatransformationservices.controls.pdb',
'microsoft.datatransformationservices.dataflowui.pdb',
'microsoft.datatransformationservices.design.ni.pdb',
'microsoft.datatransformationservices.design.pdb',
'microsoft.datatransformationservices.dtsexecui.controls.pdb',
'microsoft.datatransformationservices.vsintegration.ni.pdb',
'microsoft.datatransformationservices.vsintegration.pdb',
'microsoft.datatransformationservices.wizards.pdb',
'microsoft.datawarehouse.pdb',
'microsoft.datawarehouse.vsintegration.pdb',
'microsoft.enterprisemanagement.dataaccessservice.operationsmanager.pdb',
'microsoft.enterprisemanagement.datawarehouse.dataaccess.pdb',
'microsoft.enterprisemanagement.healthservice.modules.instrumentation.pdb',
'microsoft.enterprisemanagement.management.dataproviders.pdb',
'microsoft.enterprisemanagement.monitoring.components.pdb',
'microsoft.enterprisemanagement.operationsmanager.pdb',
'microsoft.enterprisemanagement.presentation.controls.pdb',
'microsoft.enterprisemanagement.presentation.core.pdb',
'microsoft.enterprisemanagement.runtime.pdb',
'microsoft.enterprisemanagement.ui.administration.pdb',
'microsoft.enterprisemanagement.ui.authoring.pdb',
'microsoft.enterprisemanagement.ui.consoleframework.pdb',
'microsoft.grouppolicy.reporting.pdb',
'microsoft.jscript.pdb',
'microsoft.management.infrastructure.ni.pdb',
'microsoft.management.infrastructure.pdb',
'microsoft.managementconsole.pdb',
'microsoft.mom.alertsubscriptiondatasourcemodule.pdb',
'microsoft.mom.common.pdb',
'microsoft.mom.ui.components.pdb',
'microsoft.netenterpriseservers.exceptionmessagebox.ni.pdb',
'microsoft.netenterpriseservers.exceptionmessagebox.pdb',
'microsoft.office.tools.common.implementation.ni.pdb',
'microsoft.office.tools.common.ni.pdb',
'microsoft.office.tools.common.v9.0.pdb',
'microsoft.office.tools.excel.implementation.ni.pdb',
'microsoft.office.tools.excel.ni.pdb',
'microsoft.office.tools.excel.v9.0.pdb',
'microsoft.office.tools.outlook.implementation.ni.pdb',
'microsoft.office.tools.outlook.ni.pdb',
'microsoft.office.tools.v4.0.framework.ni.pdb',
'microsoft.office.tools.word.implementation.ni.pdb',
'microsoft.office.tools.word.ni.pdb',
'microsoft.powershell.activities.ni.pdb',
'microsoft.powershell.activities.pdb',
'microsoft.powershell.commands.diagnostics.ni.pdb',
'microsoft.powershell.commands.diagnostics.pdb',
'microsoft.powershell.commands.management.ni.pdb',
'microsoft.powershell.commands.management.pdb',
'microsoft.powershell.commands.utility.ni.pdb',
'microsoft.powershell.commands.utility.pdb',
'microsoft.powershell.consolehost.ni.pdb',
'microsoft.powershell.consolehost.pdb',
'microsoft.powershell.editor.pdb',
'microsoft.powershell.gpowershell.pdb',
'microsoft.powershell.graphicalhost.pdb',
'microsoft.powershell.scheduledjob.ni.pdb',
'microsoft.powershell.scheduledjob.pdb',
'microsoft.powershell.security.ni.pdb',
'microsoft.powershell.security.pdb',
'microsoft.powershell.workflow.servicecore.pdb',
'microsoft.reportingservices.dataextensions.pdb',
'microsoft.reportingservices.diagnostics.pdb',
'microsoft.reportingservices.querydesigners.pdb',
'microsoft.security.applicationid.policymanagement.cmdlets.pdb',
'microsoft.sqlserver.adonetsrc.pdb',
'microsoft.sqlserver.batchparserclient.pdb',
'microsoft.sqlserver.connectioninfo.ni.pdb',
'microsoft.sqlserver.connectioninfo.pdb',
'microsoft.sqlserver.connectioninfoextended.pdb',
'microsoft.sqlserver.customcontrols.pdb',
'microsoft.sqlserver.datastorage.ni.pdb',
'microsoft.sqlserver.datastorage.pdb',
'microsoft.sqlserver.diagnostics.strace.pdb',
'microsoft.sqlserver.dlggrid.ni.pdb',
'microsoft.sqlserver.dlggrid.pdb',
'microsoft.sqlserver.dmf.ni.pdb',
'microsoft.sqlserver.dmf.pdb',
'microsoft.sqlserver.dtenum.pdb',
'microsoft.sqlserver.dts.design.ni.pdb',
'microsoft.sqlserver.dts.design.pdb',
'microsoft.sqlserver.dtsmsg.pdb',
'microsoft.sqlserver.foreachadoenumerator.pdb',
'microsoft.sqlserver.foreachsmoenumerator.pdb',
'microsoft.sqlserver.gridcontrol.pdb',
'microsoft.sqlserver.maintenanceplantasks.ni.pdb',
'microsoft.sqlserver.maintenanceplantasks.pdb',
'microsoft.sqlserver.maintenanceplantasksui.ni.pdb',
'microsoft.sqlserver.maintenanceplantasksui.pdb',
'microsoft.sqlserver.managedconnections.pdb',
'microsoft.sqlserver.manageddts.ni.pdb',
'microsoft.sqlserver.manageddts.pdb',
'microsoft.sqlserver.management.collectortasks.pdb',
'microsoft.sqlserver.management.datacollectionuitasks.pdb',
'microsoft.sqlserver.management.dmf.ui.pdb',
'microsoft.sqlserver.management.multiserverconnection.ni.pdb',
'microsoft.sqlserver.management.multiserverconnection.pdb',
'microsoft.sqlserver.management.registeredservers.pdb',
'microsoft.sqlserver.management.registeredserversui.pdb',
'microsoft.sqlserver.management.resourcemonitorwidgets.pdb',
'microsoft.sqlserver.management.scripting.pdb',
'microsoft.sqlserver.management.sdk.scripting.pdb',
'microsoft.sqlserver.management.sdk.sfc.ni.pdb',
'microsoft.sqlserver.management.sdk.sfc.pdb',
'microsoft.sqlserver.management.sdk.sqlstudio.pdb',
'microsoft.sqlserver.management.sdk.taskforms.pdb',
'microsoft.sqlserver.management.smometadataprovider.ni.pdb',
'microsoft.sqlserver.management.smometadataprovider.pdb',
'microsoft.sqlserver.management.sqlparser.pdb',
'microsoft.sqlserver.management.sqlstudio.controls.pdb',
'microsoft.sqlserver.management.sqlstudio.explorer.pdb',
'microsoft.sqlserver.management.sqlstudio.pdb',
'microsoft.sqlserver.management.sqlstudio.resourcemonitor.pdb',
'microsoft.sqlserver.management.usersettings.pdb',
'microsoft.sqlserver.olapenum.pdb',
'microsoft.sqlserver.pipelinehost.pdb',
'microsoft.sqlserver.pipelinexml.pdb',
'microsoft.sqlserver.policyenum.pdb',
'microsoft.sqlserver.regsvrenum.ni.pdb',
'microsoft.sqlserver.regsvrenum.pdb',
'microsoft.sqlserver.replication.pdb',
'microsoft.sqlserver.scripttask.pdb',
'microsoft.sqlserver.servicebrokerenum.pdb',
'microsoft.sqlserver.smo.ni.pdb',
'microsoft.sqlserver.smo.pdb',
'microsoft.sqlserver.smoextended.pdb',
'microsoft.sqlserver.sqlcedest.pdb',
'microsoft.sqlserver.sqlclrprovider.ni.pdb',
'microsoft.sqlserver.sqlclrprovider.pdb',
'microsoft.sqlserver.sqlenum.ni.pdb',
'microsoft.sqlserver.sqlenum.pdb',
'microsoft.sqlserver.sqltask.ni.pdb',
'microsoft.sqlserver.sqltask.pdb',
'microsoft.sqlserver.sqltdiagm.pdb',
'microsoft.sqlserver.sqltools.vsintegration.pdb',
'microsoft.sqlserver.sqlwmimanagement.pdb',
'microsoft.sqlserver.sstring.pdb',
'microsoft.sqlserver.transferdatabasestask.pdb',
'microsoft.sqlserver.transfererrormessagestask.pdb',
'microsoft.sqlserver.transferjobstask.pdb',
'microsoft.sqlserver.transferloginstask.pdb',
'microsoft.sqlserver.transferobjectstask.pdb',
'microsoft.sqlserver.transferstoredprocedurestask.pdb',
'microsoft.sqlserver.txscript.pdb',
'microsoft.sqlserver.vstascriptinglib.pdb',
'microsoft.sqlserver.wizardframework.ni.pdb',
'microsoft.sqlserver.wizardframework.pdb',
'microsoft.sqlserver.wmienum.pdb',
'microsoft.sqlserver.xmltask.pdb',
'microsoft.teamfoundation.officeintegration.common.ni.pdb',
'microsoft.transactions.bridge.dtc.pdb',
'microsoft.transactions.bridge.pdb',
'microsoft.visualbasic.compatibility.data.ni.pdb',
'microsoft.visualbasic.compatibility.ni.pdb',
'microsoft.visualbasic.ni.pdb',
'microsoft.visualc.editor.implementation.ni.pdb',
'microsoft.visualc.editor.implementation.pdb',
'microsoft.visualstudio.appdesigner.ni.pdb',
'microsoft.visualstudio.appdesigner.resources.ni.pdb',
'microsoft.visualstudio.commonide.ni.pdb',
'microsoft.visualstudio.componentmodelhost.implementation.ni.pdb',
'microsoft.visualstudio.configuration.ni.pdb',
'microsoft.visualstudio.configuration.pdb',
'microsoft.visualstudio.debugger.parallel.ni.pdb',
'microsoft.visualstudio.design.ni.pdb',
'microsoft.visualstudio.design.pdb',
'microsoft.visualstudio.diagnostics.common.ni.pdb',
'microsoft.visualstudio.dialogs.ni.pdb',
'microsoft.visualstudio.editor.implementation.ni.pdb',
'microsoft.visualstudio.editors.ni.pdb',
'microsoft.visualstudio.editors.resources.ni.pdb',
'microsoft.visualstudio.extensionmanager.implementation.ni.pdb',
'microsoft.visualstudio.graphdocumentpackage.ni.pdb',
'microsoft.visualstudio.graphproviderpackage.ni.pdb',
'microsoft.visualstudio.jsls.ni.pdb',
'microsoft.visualstudio.ni.pdb',
'microsoft.visualstudio.pdb',
'microsoft.visualstudio.platform.windowmanagement.ni.pdb',
'microsoft.visualstudio.qualitytools.testcasemanagement.ni.pdb',
'microsoft.visualstudio.qualitytools.tips.tuippackage.ni.pdb',
'microsoft.visualstudio.qualitytools.vsip.ni.pdb',
'microsoft.visualstudio.servicemodel.ni.pdb',
'microsoft.visualstudio.servicemodel.pdb',
'microsoft.visualstudio.shell.design.ni.pdb',
'microsoft.visualstudio.shell.design.pdb',
'microsoft.visualstudio.shell.treenavigation.graphprovider.ni.pdb',
'microsoft.visualstudio.shell.treenavigation.hierarchyprovider.ni.pdb',
'microsoft.visualstudio.shell.ui.internal.ni.pdb',
'microsoft.visualstudio.shell.viewmanager.ni.pdb',
'microsoft.visualstudio.teamfoundation.ni.pdb',
'microsoft.visualstudio.teamfoundation.versioncontrol.ni.pdb',
'microsoft.visualstudio.templatewizard.ni.pdb',
'microsoft.visualstudio.testtools.testgeneration.ni.pdb',
'microsoft.visualstudio.toolbox.ni.pdb',
'microsoft.visualstudio.tools.applications.hosting.ni.pdb',
'microsoft.visualstudio.tools.applications.project.ni.pdb',
'microsoft.visualstudio.tools.applications.runtime.ni.pdb',
'microsoft.visualstudio.tools.applications.serverdocument.ni.pdb',
'microsoft.visualstudio.tools.office.appinfodocument.v9.0.pdb',
'microsoft.visualstudio.tools.office.containercontrol.ni.pdb',
'microsoft.visualstudio.tools.office.designer.ni.pdb',
'microsoft.visualstudio.tools.office.runtime.internal.ni.pdb',
'microsoft.visualstudio.tools.office.runtime.ni.pdb',
'microsoft.visualstudio.web.application.ni.pdb',
'microsoft.visualstudio.web.html.implementation.ni.pdb',
'microsoft.visualstudio.web.ni.pdb',
'microsoft.visualstudio.windows.forms.ni.pdb',
'microsoft.visualstudio.windows.forms.pdb',
'microsoft.vsdesigner.ni.pdb',
'microsoft.web.administration.pdb',
'microsoft.windows.diagnosis.commands.getdiaginput.pdb',
'microsoft.windows.diagnosis.commands.updatediagreport.pdb',
'microsoft.windows.diagnosis.commands.updatediagrootcause.pdb',
'microsoft.windows.diagnosis.commands.writediagprogress.pdb',
'microsoft.windows.diagnosis.troubleshootingpack.pdb',
'microsoft.windowsapicodepack.ni.pdb',
'microsoft.windowsapicodepack.shell.ni.pdb',
'microsoft.wsman.management.ni.pdb',
'microsoft.wsman.management.pdb',
'microsoft.wsman.runtime.pdb',
'microsoft.xmleditor.ni.pdb',
'mighost.pdb',
'migload.pdb',
'migregdb.pdb',
'miguicontrols.pdb',
'migwiz_a.pdb',
'mini_installer.exe.pdb',
'mini_installer_full.pdb',
'mini_installer_patch_3stage.pdb',
'misc\\x86\\ship\\0\\dssm.pdb',
'misc\\x86\\ship\\0\\msohtmed.pdb',
'misc\\x86\\ship\\0\\oinfop12.pdb',
'misc\\x86\\ship\\0\\saext.pdb',
'misc\\x86\\ship\\0\\selfcert.pdb',
'misc\\x86\\ship\\1033\\globmedi\\autoshap.pdb',
'mmcex.pdb',
'mmcfxcommon.pdb',
'mom.implementation.ni.pdb',
'momagentinstaller.pdb',
'mombidldr.pdb',
'monagenthost.pdb',
'monconfig.pdb',
'monevents.pdb',
'monnettransport.pdb',
'mono.security.pdb',
'monquery.pdb',
'montables.pdb',
'morpheme.pdb',
'mpadlcabstub.pdb',
'mpadlstub.pdb',
'mplayer2.pdb',
'mppackagestub.pdb',
'mpsigstub.pdb',
'mpwustub.pdb',
'mrt.pdb',
'mrtstub.pdb',
'msasn1.pdb',
'msbuild.ni.pdb',
'msbuild.resources.ni.pdb',
'msbuildtaskhost.resources.ni.pdb',
'mscorlib.pdb',
'mscorrc.pdb',
'mscrmres.pdb',
'msctf.pdb',
'msdtssrvr.pdb',
'msfeeds.pdb',
'msfeedsbs.pdb',
'mshtml.pdb',
'mshtmled.pdb',
'msi.pdb',
'msiloadr.pdb',
'msiregmv.pdb',
'msmdsrv.pdb',
'msmdsrvi.pdb',
'mso\\x86\\ship\\0\\offlb.pdb',
'mso\\x86\\ship\\0\\smarttaginstall.pdb',
'msrating.pdb',
'mstime.pdb',
'mstscax.pdb',
'msv1_0.pdb',
'msvcp71.pdb',
'msvcp80.i386.pdb',
'msvcp90.i386.pdb',
'msvcp100.i386.pdb',
'msvcp110.amd64.pdb',
'msvcp110.i386.pdb',
'msvcp120.i386.pdb',
'msvcp140.amd64.pdb',
'msvcp140.i386.pdb',
'msvcr90.i386.pdb',
'msvcr100.amd64.pdb',
'msvcr100.i386.pdb',
'msvcr120.amd64.pdb',
'msvcr120.i386.pdb',
'msvcrt.pdb',
'mswsock.pdb',
'msxml3.pdb',
'msxml6.pdb',
'muisetupcapack.pdb',
'mxdwdrv.pdb',
'n\\bin\\w32\\bin\\nresdll.pdb',
'napinit.pdb',
'netapi32.pdb',
'netfxca.pdb',
'netfxdev1\\binaries\\x86ret\\bin\\i386\\vssetup\\utils\\boxstub.pdb',
'netfxsbs10.pdb',
'netplwiz.pdb',
'newtonsoft.json.ni.pdb',
'ngen.pdb',
'ninite\\output\\pdbs\\release\\fetchapps.pdb',
'ninite\\output\\pdbs\\release\\multiget.pdb',
'notification_helper.exe.pdb',
'nt.obj.x86fre\\base\\wcp\\tools\\msmcustomaction\\objfre\\i386\\msmcustomaction.pdb',
'nt\\dnsrv\\sdktools\\reskit\\content\\subinacl\\source\\obj\\i386\\subinacl.pdb',
'ntdll.pdb',
'ntkrnlmp.pdb',
'ntkrnlpa.pdb',
'ntkrpamp.pdb',
'ntsd.pdb',
'o12mig\\target\\ime\\x86\\ship\\0\\capsule.pdb',
'objectexplorer.pdb',
'occache.pdb',
'oem-drv64.pdb',
'offbld490\\officerw\\target\\ace\\x86\\ship\\0\\acecnf.pdb',
'offbld490\\officerw\\target\\ace\\x86\\ship\\0\\acecnflt.pdb',
'offbld490\\officerw\\target\\ace\\x86\\ship\\1033.pre\\acecnfrc.pdb',
'offdiag\\x86\\ship\\0\\odserv.pdb',
'offdiag\\x86\\ship\\0\\offdiag.pdb',
'office\\target\\lobiclient\\x86\\ship\\0\\microsoft.office.businessapplications.runtimeui.pdb',
'office\\target\\msishared\\x64\\ship\\0\\customactions\\mainca.pdb',
'office\\target\\msishared\\x64\\ship\\0\\customactions\\visioca.pdb',
'office\\target\\msishared\\x86\\ship\\0\\customactions\\mainca.pdb',
'office\\target\\msishared\\x86\\ship\\0\\customactions\\patchca.pdb',
'office\\target\\msishared\\x86\\ship\\0\\customactions\\visioca.pdb',
'office\\target\\ses\\x86\\ship\\0\\opatchinst.pdb',
'ois\\x86\\ship\\0\\ois.pdb',
'ole32.pdb',
'oleaut32.pdb',
'oledlg.pdb',
'opentk-1.0.pdb',
'outlookpstinstaller.pdb',
'patchesmaker\\code\\source\\nsis_64_unicode\\release\\stubs\\stub.pdb',
'pdfprevhndlrshim.pdb',
'perforce\\frmain\\code\\build\\win\\results\\release\\info\\arh.pdb',
'perforce\\projects\\headlights\\branches\\logtransport-0328\\products\\headlights\\main\\bin\\win-vc8\\release\\logtransport2exe.pdb',
'perforcedepot\\garuda1930\\work\\groups\\insteng9xsustain_main\\localkit\\tools\\win\\installer\\adobeselfextractor\\release\\adobeselfextractor.pdb',
'perfpkg.ni.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php-cgi.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php-win.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php7.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php7phpdbg.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_bz2.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_com_dotnet.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_curl.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_dba.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_enchant.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_exif.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_fileinfo.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_ftp.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_gd2.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_gettext.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_gmp.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_imap.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_interbase.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_intl.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_ldap.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_mbstring.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_mysqli.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_oci8_12c.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_odbc.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_opcache.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_openssl.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_pdo_firebird.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_pdo_mysql.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_pdo_oci.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_pdo_odbc.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_pdo_pgsql.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_pdo_sqlite.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_pgsql.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_phpdbg_webhelper.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_shmop.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_snmp.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_soap.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_sockets.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_sodium.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_sqlite3.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_sysvshm.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_tidy.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_xmlrpc.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_xsl.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\php_zend_test.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64-avx\\release\\phpdbg.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php-cgi.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php-win.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php7.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php7phpdbg.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_bz2.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_com_dotnet.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_curl.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_dba.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_enchant.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_exif.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_fileinfo.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_ftp.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_gd2.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_gettext.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_gmp.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_imap.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_interbase.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_intl.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_ldap.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_mbstring.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_mysqli.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_oci8_12c.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_odbc.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_opcache.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_openssl.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_pdo_firebird.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_pdo_mysql.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_pdo_oci.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_pdo_odbc.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_pdo_pgsql.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_pdo_sqlite.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_pgsql.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_phpdbg_webhelper.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_shmop.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_snmp.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_soap.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_sockets.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_sodium.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_sqlite3.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_sysvshm.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_tidy.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_xmlrpc.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_xsl.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\php_zend_test.pdb',
'php-snap-build\\obj-x64\\nts-windows-vc15-x64\\release\\phpdbg.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php-cgi.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php-win.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php7apache2_4.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php7phpdbg.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php7ts.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_bz2.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_com_dotnet.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_curl.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_dba.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_enchant.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_exif.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_fileinfo.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_ftp.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_gd2.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_gettext.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_gmp.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_imap.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_interbase.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_intl.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_ldap.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_mbstring.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_mysqli.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_oci8_12c.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_odbc.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_opcache.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_openssl.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_pdo_firebird.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_pdo_mysql.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_pdo_oci.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_pdo_odbc.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_pdo_pgsql.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_pdo_sqlite.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_pgsql.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_phpdbg_webhelper.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_shmop.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_snmp.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_soap.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_sockets.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_sodium.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_sqlite3.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_sysvshm.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_tidy.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_xmlrpc.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_xsl.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\php_zend_test.pdb',
'php-snap-build\\obj-x64\\ts-windows-vc15-x64\\release_ts\\phpdbg.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php-cgi.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php-win.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php7.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php7phpdbg.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_bz2.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_com_dotnet.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_curl.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_dba.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_enchant.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_exif.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_fileinfo.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_ftp.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_gd2.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_gettext.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_gmp.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_imap.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_interbase.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_intl.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_ldap.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_mbstring.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_mysqli.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_oci8_12c.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_odbc.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_opcache.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_openssl.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_pdo_firebird.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_pdo_mysql.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_pdo_oci.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_pdo_odbc.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_pdo_pgsql.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_pdo_sqlite.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_pgsql.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_phpdbg_webhelper.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_shmop.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_snmp.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_soap.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_sockets.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_sodium.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_sqlite3.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_sysvshm.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_tidy.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_xmlrpc.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_xsl.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\php_zend_test.pdb',
'php-snap-build\\obj\\nts-windows-vc15-x86\\release\\phpdbg.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php-cgi.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php-win.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php7apache2_4.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php7phpdbg.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php7ts.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_bz2.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_com_dotnet.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_curl.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_dba.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_enchant.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_exif.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_fileinfo.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_ftp.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_gd2.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_gettext.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_gmp.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_imap.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_interbase.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_intl.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_ldap.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_mbstring.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_mysqli.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_oci8_12c.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_odbc.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_opcache.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_openssl.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_pdo_firebird.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_pdo_mysql.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_pdo_oci.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_pdo_odbc.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_pdo_pgsql.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_pdo_sqlite.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_pgsql.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_phpdbg_webhelper.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_shmop.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_snmp.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_soap.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_sockets.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_sodium.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_sqlite3.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_sysvshm.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_tidy.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_xmlrpc.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_xsl.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\php_zend_test.pdb',
'php-snap-build\\obj\\ts-windows-vc15-x86\\release_ts\\phpdbg.pdb',
'pkg-fetch\\precompile\\node\\release\\node.pdb',
'pkginstaller\\base\\ntsetup\\srvpack.main\\tools\\sfxcab\\sfxcab\\objfre\\i386\\sfxcab.pdb',
'pkgmgr.pdb',
'pl\\output\\cpueater.pdb',
'pl\\output\\installhelper.pdb',
'pl\\output\\pl_rsrc_finnish.pdb',
'pl\\output\\pl_rsrc_french.pdb',
'pl\\output\\pl_rsrc_german.pdb',
'pl\\output\\pl_rsrc_italian.pdb',
'pl\\output\\pl_rsrc_polish.pdb',
'pl\\output\\pl_rsrc_ptbr.pdb',
'pl\\output\\pl_rsrc_russian.pdb',
'pl\\output\\plactivate.pdb',
'pl\\output\\processgovernor.pdb',
'pl\\output\\srvstub.pdb',
'pl\\output\\testlasso.pdb',
'plugin.connectivity.abstractions.pdb',
'pngfilt.pdb',
'point\\win\\release\\stubs\\x86\\externalui.pdb',
'powergui\\!powergui!3.5\\source code\\platform\\quest.powergui.scriptrunner\\obj\\release\\scriptrunner.pdb',
'powerpivotexcelclientaddin.pdb',
'powershell.pdb',
'powershell_ise.pdb',
'ppt\\x86\\ship\\0\\powerpnt.pdb',
'presentationbuildtasks.pdb',
'presentationcore.ni.pdb',
'presentationcore.pdb',
'presentationframework-systemxml.ni.pdb',
'presentationframework-systemxml.pdb',
'presentationframework.aero.ni.pdb',
'presentationframework.aero.pdb',
'presentationframework.classic.pdb',
'presentationframework.luna.pdb',
'presentationframework.ni.pdb',
'presentationframework.pdb',
'presentationframework.royale.pdb',
'presentationui.ni.pdb',
'presentationui.pdb',
'printconfig.pdb',
'printui.pdb',
'program files (x86)\\jenkins\\jobs\\branches 12.11\\jobs\\messagehub\\workspace\\messagehubclient\\obj\\release\\messagehubclient.pdb',
'programming\\typesafe\\code\\typesafe.core\\obj\\release\\typesafe.pdb',
'proj\\msi factory\\bootstrap\\irbootstrapruntime\\release\\rte.pdb',
'project\\lotus\\trunk\\bin\\release\\semini.pdb',
'project\\metin2\\mainline\\srcs\\tools\\torrentpatch\\bin\\torrentpatch_x86_mt_vc90.pdb',
'project\\skytel_vc_norecog\\release\\skytel.pdb',
'project\\smt\\szmitooltrunk\\phoneassistant_2008\\bin\\release\\szmitool.pdb',
'project\\utility\\boomerang\\trunk\\win32\\release\\boomerangrc.pdb',
'projects\\08-autologoff\\scrsaver\\obj\\debug\\scrsaver.pdb',
'projects\\apoph1~1\\v21\\ps_ref\\src\\pcaudi~1\\src\\gfx\\objfre_wlh_amd64\\amd64\\dtsgfxapo.pdb',
'projects\\batdll\\release\\wbcmp44i.pdb',
'projects\\cefsharp\\cefsharp.browsersubprocess\\obj\\x86\\release\\cefsharp.browsersubprocess.pdb',
'projects\\dotnetzip-semverd\\src\\zip\\obj\\release\\dotnetzip.pdb',
'projects\\electron-39ng6\\out\\r\\electron.exe.pdb',
'projects\\electron\\out\\r\\electron.exe.pdb',
'projects\\exceptionless-net\\source\\extras\\obj\\release\\exceptionless.extras.pdb',
'projects\\gateway-t5a4w\\src\\igor.gateway.dtos\\obj\\release\\netstandard1.4\\igor.gateway.dtos.pdb',
'projects\\gateway-t5a4w\\src\\igor.gateway.dtos\\obj\\release\\netstandard2.0\\igor.gateway.dtos.pdb',
'projects\\openrct2-ject9\\bin\\openrct2-win.pdb',
'projects\\qiyiinstaller\\release\\qiyiinstaller.pdb',
'projects\\rpcs3\\bin\\rpcs3.pdb',
'projects\\som\\install\\windows\\startscreenrecorder\\release\\startscreenrecorder.pdb',
'projects\\squirrel-windows\\src\\setup\\bin\\release\\setup.pdb',
'projects\\src\\out\\default\\electron.exe.pdb',
'projects\\tcpclientimplementation\\tcpclientimplementation_others\\obj\\release\\tcpclientimplementation.pdb',
'projects\\vim-win32-installer\\vim\\src\\gvim.pdb',
'projects\\vim-win32-installer\\vim\\src\\vim.pdb',
'projects\\vs2005\\altstreamdump\\release\\altstreamdump.pdb',
'projects\\vs2005\\usbdeview\\x64\\release\\usbdeview.pdb',
'projects\\winrar\\build\\winrar32\\release\\winrar.pdb',
'projects\\winrar\\build\\winrar64\\release\\winrar.pdb',
'projects\\winrar\\formatsrc\\ace\\build\\ace32loader\\release\\ace32loader.pdb',
'projects\\winrar\\rar\\build\\rar32\\release\\rar.pdb',
'projects\\winrar\\rar\\build\\rar64\\release\\rar.pdb',
'projects\\winrar\\rar\\build\\sfxcon32\\release\\sfxcon.pdb',
'projects\\winrar\\rar\\build\\sfxcon64\\release\\sfxcon.pdb',
'projects\\winrar\\rar\\build\\unrar32\\release\\unrar.pdb',
'projects\\winrar\\rar\\build\\unrar64\\release\\unrar.pdb',
'projects\\winrar\\rarext\\build\\32\\release\\rarext.pdb',
'projects\\winrar\\rarext\\build\\64\\release\\rarext.pdb',
'projects\\winrar\\sfx\\build\\sfxrar32\\release\\sfxrar.pdb',
'projects\\winrar\\sfx\\build\\sfxrar64\\release\\sfxrar.pdb',
'projects\\winrar\\sfx\\build\\sfxzip32\\release\\sfxzip.pdb',
'projects\\winrar\\sfx\\build\\sfxzip64\\release\\sfxzip.pdb',
'projects\\winrar\\sfx\\setup\\build\\sfxrar32\\release\\sfxrar.pdb',
'projects\\winrar\\sfx\\setup\\build\\sfxrar64\\release\\sfxrar.pdb',
'projects\\winrar\\uninstall\\build\\uninstall32\\release\\uninstall.pdb',
'projects\\winrar\\uninstall\\build\\uninstall64\\release\\uninstall.pdb',
'ps5ui.pdb',
'psapi.pdb',
'pscript5.pdb',
'python-dev\\porting\\cpython\\lib\\distutils\\command\\wininst-10.0.pdb',
'qasf.pdb',
'qb_csgfw\\workspace\\1881\\solinstaller\\installer\\amt\\release\\setup.pdb',
'qb_installer\\workspace\\ubit\\installers\\gfx_installer\\prinstaller\\ase_installers\\hdmi\\release\\gfx.pdb',
'qb_installer\\workspace\\ubit\\installers\\gfx_installer\\prinstaller\\ase_installers\\support\\drv64\\x64\\release\\drv64.pdb',
'quartz.pdb',
'query.pdb',
'query\\x86\\ship\\0\\msqry32.pdb',
'r\\ws\\st_make\\code\\build\\win\\int\\morphology.build\\release\\win32\\morpheme.pdb',
'r\\ws\\st_make\\code\\build\\win\\results\\flashplayerapp\\release\\win32\\flashplayerapp.pdb',
'r\\ws\\st_make\\code\\build\\win\\results\\release\\info\\appentry.pdb',
'r\\ws\\st_make\\code\\build\\win\\results\\release\\info\\captiveappentry.pdb',
'r\\ws\\st_make\\code\\build\\win\\results\\release\\info\\extendedappentry.pdb',
'r\\ws\\st_make\\code\\build\\win\\results\\release\\info\\sea.pdb',
'radlangsvc.pdb',
'rapportsetup.pdb',
'rasadhlp.pdb',
'rdrcef.pdb',
'rdrservicesupdater.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\deploy\\jre-image\\bin\\javaws.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\jabswitch\\jabswitch.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\java\\java\\obj64\\java.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\java\\javaw\\obj64\\javaw.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\javacplexec\\obj64\\javacpl.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\jp2launcher\\obj64\\jp2launcher.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\ssvagent\\obj64\\ssvagent.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\sun\\com.sun.java.util.jar.pack\\unpack\\unpack200.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\sun\\launcher\\keytool\\obj64\\keytool.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\sun\\launcher\\kinit\\obj64\\kinit.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\sun\\launcher\\klist\\obj64\\klist.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\sun\\launcher\\policytool\\obj64\\policytool.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\sun\\launcher\\rmiregistry\\obj64\\rmiregistry.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\sun\\launcher\\servertool\\obj64\\servertool.pdb',
're\\jdk7u45\\229\\build\\windows-amd64\\tmp\\sun\\launcher\\tnameserv\\obj64\\tnameserv.pdb',
'reachframework.pdb',
'reader_sl.pdb',
'regedit.pdb',
'regtlib.pdb',
'repos\\teamlead\\net-crothall-teamlead\\teamcoach.model\\obj\\release\\teamcoach.model.pdb',
'repos\\teamlead\\net-crothall-teamlead\\teamlead.model\\obj\\release\\teamlead.model.pdb',
'resourcemanagement.foundation.implementation.ni.pdb',
'resourcemanagement.foundation.private.ni.pdb',
'rhub2\\packaging\\unpacking\\release\\unpacking.pdb',
'rhub2\\pcsetup\\release.v2013\\pcsetup.pdb',
'ribbons.pdb',
'rollback.pdb',
'rpcrt4.pdb',
'rpcss.pdb',
'rpctest.pdb',
'rpmoana\\build\\agent-winnt-11.1.1.1025\\development\\n-central\\thirdparty\\gridstone\\release\\remoteservice.pdb',
'rundll32.pdb',
'rvsezm.pdb',
'sandbox\\136879\\corecommandlineapp\\commandlineapp\\release32\\prosetcl.pdb',
'sbsrc\\trunk2005\\helpers\\packsetup2\\bi-release\\baseinstaller.pdb',
'schannel.pdb',
'scljenkins-slv\\workspace\\esd-current-ci\\esd\\src\\bin\\release\\addlmgrsfx.pdb',
'scm_farm\\datastores\\sword3\\source\\tools\\updater\\release\\updatepaksfx.pdb',
'se6\\src\\build\\release\\360se6_setup.pdb',
'sechost.pdb',
'secur32.pdb',
'services.pdb',
'ses\\x86\\ship\\0\\oarpmany.pdb',
'ses\\x86\\ship\\0\\opatchinst.pdb',
'setlang\\x86\\ship\\0\\setlang.pdb',
'setup.exe.pdb',
'setup.pdb',
'setup16.pdb',
'setupapi.pdb',
'setupclient.pdb',
'setupengine.pdb',
'setupexe\\x86\\ship\\0\\deployca\\odeploy.pdb',
'setupexe\\x86\\ship\\0\\liclua.pdb',
'setupexe\\x86\\ship\\0\\mmodesetup.pdb',
'setupexe\\x86\\ship\\0\\setup.pdb',
'setupexe\\x86\\ship\\1033.pre\\osetupui.pdb',
'setupplatform.pdb',
'setupprep.pdb',
'setupresources.pdb',
'setuputility.pdb',
'sfxcab.pdb',
'sfxstub.pdb',
'sgen.pdb',
'sgwallpaper\\bin\\sgwpdesktoptip.pdb',
'sgwallpaper\\bin\\sgwprepair.pdb',
'shdocvw.pdb',
'shell32.pdb',
'shlwapi.pdb',
'shvlzm.pdb',
'sl\\bin\\resourcedll\\cpp\\release\\win32\\resourcedll.pdb',
'slave\\win32_nw12\\node-webkit\\src\\out\\release\\nw.exe.pdb',
'smdiagnostics.ni.pdb',
'smdiagnostics.pdb',
'smss.pdb',
'smsvchost.ni.pdb',
'sogoupinyin\\svn\\sogouime\\branch\\private\\huaweidong\\zuoye\\modifyusbdt\\release\\modifyusbdt.pdb',
'source\\projects\\hrorbit\\hrorbit\\obj\\debug\\hrorbit.pdb',
'source\\source.acl\\86254\\release_wdexe_12\\wx\\win32\\release\\wdexe.pdb',
'source\\source.acl\\96748\\release_wdexe_159\\wx\\desktop_x86_32\\release\\wdexe.pdb',
'source\\source.acl\\102539\\release_wdexe_168\\wx\\desktop_x86_32\\release\\wdexe.pdb',
'source\\source.av\\59648\\release_wdautoex_163\\release\\wdautoex.pdb',
'source\\source.av\\91330\\release_wdautoex_28\\release\\wdautoex.pdb',
'source\\source.ic\\76659\\release_wdexe_215\\wx\\win32\\release\\wdexe.pdb',
'source\\wdautoex\\release\\wdautoex.pdb',
'source\\wdprj\\wdexe\\release\\wdexe.pdb',
'spdwnwxp.pdb',
'spinner-x64.pdb',
'sqlcastub.pdb',
'sqldumper.pdb',
'sqleditors.pdb',
'sqlmgmt.pdb',
'sqlsxsca.pdb',
'sqlworkbench.interfaces.pdb',
'sqmapi.pdb',
'src\\cpp\\resourcedll\\release\\resourcedll.pdb',
'src\\procexp\\exe\\release\\procexp.pdb',
'src\\pstools\\psexec\\svc\\release\\psexesvc.pdb',
'src\\pstools\\pskill\\svc\\release\\pskllsvc.pdb',
'src\\python-svn\\lib\\distutils\\command\\wininst-9.0-amd64.pdb',
'src\\safeint_v6.2\\internationsafe\\release\\installer.pdb',
'src\\tfs\\bingdict_new\\products\\stca-release\\ehcv2-branch-v3.5.0\\bingdict\\bingdict\\release\\bingdict_setup.pdb',
'src\\videohelper\\trunk\\qyinstaller\\build\\release2015\\qyinstaller.pdb',
'src\\wix38\\build\\ship\\x86\\burn.pdb',
'src\\wix38\\build\\ship\\x86\\sfxca.pdb',
'src\\wix39\\build\\ship\\x86\\burn.pdb',
'src\\wix39r2\\build\\ship\\x86\\burn.pdb',
'sroot_build\\main\\s12.7\\vm\\release\\x86\\stubexe.pdb',
'ssisupgrade.ni.pdb',
'ssisupgrade.pdb',
'sstext3d.pdb',
'stancore.ni.pdb',
'storageclientlib.pdb',
'superadblocker projects\\sas build tools\\release\\supersetup.pdb',
'surfright\\producten\\hitmanpro35\\bin\\x86\\release mt\\hitmanpro.pdb',
'symsrv.pdb',
'synchronizerapp.pdb',
'sysparse.pdb',
'system.activities.pdb',
'system.activities.presentation.ni.pdb',
'system.activities.presentation.pdb',
'system.addin.pdb',
'system.componentmodel.composition.ni.pdb',
'system.componentmodel.composition.pdb',
'system.componentmodel.dataannotations.ni.pdb',
'system.componentmodel.dataannotations.pdb',
'system.configuration.install.ni.pdb',
'system.configuration.install.pdb',
'system.configuration.ni.pdb',
'system.configuration.pdb',
'system.core.ni.pdb',
'system.core.pdb',
'system.data.datasetextensions.pdb',
'system.data.entity.design.ni.pdb',
'system.data.entity.design.pdb',
'system.data.entity.pdb',
'system.data.linq.ni.pdb',
'system.data.linq.pdb',
'system.data.ni.pdb',
'system.data.oracleclient.pdb',
'system.data.pdb',
'system.data.services.client.pdb',
'system.data.services.design.ni.pdb',
'system.data.services.design.pdb',
'system.data.services.ni.pdb',
'system.data.services.pdb',
'system.data.sqlxml.pdb',
'system.deployment.ni.pdb',
'system.deployment.pdb',
'system.design.ni.pdb',
'system.design.pdb',
'system.directoryservices.accountmanagement.pdb',
'system.directoryservices.ni.pdb',
'system.directoryservices.pdb',
'system.directoryservices.protocols.pdb',
'system.drawing.design.ni.pdb',
'system.drawing.design.pdb',
'system.drawing.ni.pdb',
'system.drawing.pdb',
'system.dynamic.ni.pdb',
'system.dynamic.pdb',
'system.enterpriseservices.ni.pdb',
'system.enterpriseservices.pdb',
'system.enterpriseservices.wrapper.pdb',
'system.identitymodel.ni.pdb',
'system.identitymodel.pdb',
'system.identitymodel.selectors.pdb',
'system.io.compression.filesystem.pdb',
'system.io.compression.pdb',
'system.io.log.pdb',
'system.json.pdb',
'system.management.automation.ni.pdb',
'system.management.automation.pdb',
'system.management.instrumentation.pdb',
'system.management.ni.pdb',
'system.management.pdb',
'system.messaging.pdb',
'system.net.http.ni.pdb',
'system.net.http.pdb',
'system.net.pdb',
'system.ni.pdb',
'system.numerics.ni.pdb',
'system.numerics.pdb',
'system.pdb',
'system.printing.pdb',
'system.runtime.durableinstancing.pdb',
'system.runtime.remoting.ni.pdb',
'system.runtime.remoting.pdb',
'system.runtime.serialization.formatters.soap.pdb',
'system.runtime.serialization.ni.pdb',
'system.runtime.serialization.pdb',
'system.security.ni.pdb',
'system.security.pdb',
'system.servicemodel.activation.ni.pdb',
'system.servicemodel.activation.pdb',
'system.servicemodel.channels.pdb',
'system.servicemodel.internals.ni.pdb',
'system.servicemodel.internals.pdb',
'system.servicemodel.ni.pdb',
'system.servicemodel.pdb',
'system.servicemodel.web.ni.pdb',
'system.servicemodel.web.pdb',
'system.serviceprocess.ni.pdb',
'system.serviceprocess.pdb',
'system.speech.pdb',
'system.transactions.ni.pdb',
'system.transactions.pdb',
'system.web.abstractions.pdb',
'system.web.datavisualization.design.ni.pdb',
'system.web.datavisualization.design.pdb',
'system.web.dynamicdata.design.ni.pdb',
'system.web.dynamicdata.design.pdb',
'system.web.dynamicdata.ni.pdb',
'system.web.dynamicdata.pdb',
'system.web.entity.design.ni.pdb',
'system.web.entity.design.pdb',
'system.web.entity.ni.pdb',
'system.web.entity.pdb',
'system.web.extensions.design.ni.pdb',
'system.web.extensions.design.pdb',
'system.web.extensions.ni.pdb',
'system.web.extensions.pdb',
'system.web.mobile.ni.pdb',
'system.web.mobile.pdb',
'system.web.ni.pdb',
'system.web.pdb',
'system.web.regularexpressions.pdb',
'system.web.routing.pdb',
'system.web.services.ni.pdb',
'system.web.services.pdb',
'system.windows.forms.datavisualization.pdb',
'system.windows.forms.ni.pdb',
'system.windows.forms.pdb',
'system.windows.presentation.pdb',
'system.workflow.activities.ni.pdb',
'system.workflow.activities.pdb',
'system.workflow.componentmodel.ni.pdb',
'system.workflow.componentmodel.pdb',
'system.workflow.runtime.ni.pdb',
'system.workflow.runtime.pdb',
'system.workflowservices.ni.pdb',
'system.workflowservices.pdb',
'system.xaml.hosting.ni.pdb',
'system.xaml.hosting.pdb',
'system.xaml.ni.pdb',
'system.xaml.pdb',
'system.xml.linq.ni.pdb',
'system.xml.linq.pdb',
'system.xml.ni.pdb',
'system.xml.pdb',
'systems\\habanero-git\\source\\habanero.base\\obj\\debug\\habanero.base.pdb',
'systems\\habanero-git\\source\\habanero.bo\\obj\\debug\\habanero.bo.pdb',
'systems\\habanero-git\\source\\habanero.console\\obj\\debug\\habanero.console.pdb',
'systems\\habanero-git\\source\\habanero.db\\obj\\debug\\habanero.db.pdb',
'systems\\habanero.faces-git\\source\\habanero.faces.base\\obj\\release\\habanero.faces.base.pdb',
'systems\\habanero.faces-git\\source\\habanero.faces.test.base\\obj\\release\\habanero.faces.test.base.pdb',
'systems\\habanero.faces-git\\source\\habanero.faces.test.win\\obj\\release\\habanero.faces.test.win.pdb',
'systems\\habanero.faces-git\\source\\habanero.faces.vwg\\obj\\release\\habanero.faces.vwg.pdb',
'systems\\habanero.faces-git\\source\\habanero.faces.win\\obj\\release\\habanero.faces.win.pdb',
'systems\\habanero.smooth-git\\source\\habanero.smooth\\obj\\release\\habanero.smooth.pdb',
'systems\\habanero.testability-git\\source\\habanero.testability.helpers\\obj\\release\\habanero.testability.helpers.pdb',
'systems\\habanero.testability-git\\source\\habanero.testability.testers\\obj\\release\\habanero.testability.testers.pdb',
'systems\\habanero.testability-git\\source\\habanero.testability\\obj\\release\\habanero.testability.pdb',
'target\\x64\\ship\\clview\\x-none\\mshelp\\defhh20.pdb',
'target\\x64\\ship\\lync\\en-us.pre\\lyncdesktopresources.pdb',
'target\\x64\\ship\\lync\\x-none\\appsharinghookcontroller.pdb',
'target\\x64\\ship\\misc_hev\\x-none\\msohtmed.pdb',
'target\\x64\\ship\\msicustomactions\\x-none\\patchca.pdb',
'target\\x64\\ship\\mso\\en-us.pre\\msoserverintl.pdb',
'target\\x64\\ship\\osfclient\\en-us.pre\\osfintl.pdb',
'target\\x64\\ship\\osm\\x-none\\msoia.pdb',
'target\\x64\\ship\\outlook\\en-us.pre\\outllibr.pdb',
'target\\x64\\ship\\project\\en-us.pre\\pjintl.pdb',
'target\\x64\\ship\\word\\en-us.pre\\wwintl.pdb',
'target\\x64\\ship\\xdext\\x-none\\msoxmled.pdb',
'target\\x86\\ship\\click2run\\en-us.pre\\bootstrapper.pdb',
'target\\x86\\ship\\click2run\\en-us\\bootstrapper.pdb',
'target\\x86\\ship\\clview\\x-none\\clview.pdb',
'target\\x86\\ship\\clview\\x-none\\mshelp\\defhh20.pdb',
'target\\x86\\ship\\dcf\\x-none\\common.dbconnection.pdb',
'target\\x86\\ship\\dcf\\x-none\\common.dbconnection64.pdb',
'target\\x86\\ship\\dcf\\x-none\\common.showhelp.pdb',
'target\\x86\\ship\\dcf\\x-none\\databasecompare.pdb',
'target\\x86\\ship\\dcf\\x-none\\filecompare.pdb',
'target\\x86\\ship\\dcf\\x-none\\spreadsheetcompare.pdb',
'target\\x86\\ship\\delivery\\x-none\\ose.pdb',
'target\\x86\\ship\\dw\\x-none\\dw20.pdb',
'target\\x86\\ship\\dw\\x-none\\dwtrig20.pdb',
'target\\x86\\ship\\filters\\x-none\\fltldr.pdb',
'target\\x86\\ship\\licensing\\x-none\\ospprearm.pdb',
'target\\x86\\ship\\lync\\en-us.pre\\lyncdesktopresources.pdb',
'target\\x86\\ship\\lync\\x-none\\appsharinghookcontroller.pdb',
'target\\x86\\ship\\misc_hev\\x-none\\msohtmed.pdb',
'target\\x86\\ship\\misc_name\\x-none\\namecontrolserver.pdb',
'target\\x86\\ship\\msicustomactions\\x-none\\mainca.pdb',
'target\\x86\\ship\\msicustomactions\\x-none\\patchca.pdb',
'target\\x86\\ship\\msicustomactions\\x-none\\visioca.pdb',
'target\\x86\\ship\\mso\\x-none\\smarttaginstall.pdb',
'target\\x86\\ship\\osfclient\\en-us.pre\\osfintl.pdb',
'target\\x86\\ship\\osm\\x-none\\msoev.pdb',
'target\\x86\\ship\\osm\\x-none\\msotd.pdb',
'target\\x86\\ship\\outlook\\en-us.pre\\outllibr.pdb',
'target\\x86\\ship\\outlook\\x-none\\cnfnot32.pdb',
'target\\x86\\ship\\outlook\\x-none\\scanpst.pdb',
'target\\x86\\ship\\project\\en-us.pre\\pjintl.pdb',
'target\\x86\\ship\\ses\\x-none\\oarpmany.pdb',
'target\\x86\\ship\\ses\\x-none\\opatchinst.pdb',
'target\\x86\\ship\\setlang\\x-none\\setlang.pdb',
'target\\x86\\ship\\setupexe\\en-us\\osetupui.pdb',
'target\\x86\\ship\\setupexe\\x-none\\deployca\\odeploy.pdb',
'target\\x86\\ship\\setupexe\\x-none\\liclua.pdb',
'target\\x86\\ship\\setupexe\\x-none\\mmodesetup.pdb',
'target\\x86\\ship\\setupexe\\x-none\\setup.pdb',
'target\\x86\\ship\\sqm\\x-none\\msosqm.pdb',
'target\\x86\\ship\\wxp\\x-none\\csisyncclient.pdb',
'target\\x86\\ship\\wxp\\x-none\\msosync.pdb',
'target\\x86\\ship\\xdext\\x-none\\msoxmled.pdb',
'taskscheduler.pdb',
'tcpip.pdb',
'tdc.pdb',
'teamcity-agent\\work\\trunk2017\\build.msvc\\win32\\installer-release\\bootstrapperclient\\robloxplayerlauncher.pdb',
'teamcity\\agent\\work\\7308361563370772\\paylocity.qa.webpay.selenium\\paylocity.webpay.pagemodels.company\\obj\\debug\\paylocity.webpay.pagemodels.company.pdb',
'teamcity\\agent\\work\\7308361563370772\\paylocity.qa.webpay.selenium\\paylocity.webpay.pagemodels.companyset\\obj\\debug\\paylocity.webpay.pagemodels.companyset.pdb',
'teamcity\\agent\\work\\7308361563370772\\paylocity.qa.webpay.selenium\\paylocity.webpay.pagemodels.employee\\obj\\debug\\paylocity.webpay.pagemodels.employee.pdb',
'teamcity\\agent\\work\\7308361563370772\\paylocity.qa.webpay.selenium\\paylocity.webpay.pagemodels.servicebureau\\obj\\debug\\paylocity.webpay.pagemodels.servicebureau.pdb',
'teamcity\\buildagent\\work\\30c7da47d3e5bb93\\axcrypt\\release\\axdecrypt.pdb',
'teamcityagent\\work\\6a6d135591f2f49f\\src\\out\\release\\./lite_installer.exe.pdb',
'teamcityagent\\work\\6a6d135591f2f49f\\src\\out\\release\\lite_installer.exe.pdb',
'teamcityagent\\work\\fe2b0740eca6e700\\src\\out\\release\\lite_installer.exe.pdb',
'teamcitybuild\\checkout\\signere\\test\\unipluss.sign.common.validation\\obj\\release\\unipluss.sign.common.validation.pdb',
'teamcitybuild\\checkout\\signere\\test\\unipluss.sign.externalcontract\\obj\\release\\unipluss.sign.externalcontract.pdb',
'temp\\creatertktoastlnk - copy - copy\\release\\creatertktoastlnk.pdb',
'temp\\ll\\release\\ll.pdb',
'test_mi_exe_stub.pdb',
'tfs\\aps\\aps\\aps12\\userinterface\\ui\\obj\\debug\\apsclient.pdb',
'the constructor rt program\\constructor rt trainer\\obj\\x86\\debug\\constructor rt trainer.pdb',
'tools\\bin\\releasetools\\7zs.pdb',
'trunk\\cameyo\\release\\appvirtdll.pdb',
'trunk\\cameyo\\release\\appvirtdll64.pdb',
'trunk\\cameyo\\release\\loader.pdb',
'trunk\\cameyo\\release\\stubexe.pdb',
'trunk\\cameyo\\release\\stubexe64.pdb',
'trunk\\dllplugin\\installertool\\bin\\win32\\release\\pdb\\fileinfo.pdb',
'ucrtbase.pdb',
'uiautomationclient.pdb',
'uiautomationclientsideproviders.pdb',
'uiautomationprovider.pdb',
'uiautomationtypes.pdb',
'unicows.pdb',
'unidrv.pdb',
'unidrvui.pdb',
'updspapi.pdb',
'url.pdb',
'urlmon.pdb',
'user32.pdb',
'users\\11\\documents\\visual studio 2015\\projects\\falco\\gameloader\\gameloader\\obj\\debug\\gameloader.pdb',
'users\\alex\\documents\\working\\unibill\\winrt\\stubwinrt\\obj\\release\\winrt.pdb',
'users\\alex\\documents\\working\\unibill\\wp8\\unibill\\fakeunibill\\obj\\debug\\unibill.pdb',
'users\\ana\\code\\squirrel\\squirrel.windows\\src\\setup\\bin\\release\\setup.pdb',
'users\\ana\\code\\squirrel\\squirrel.windows\\src\\stubexecutable\\bin\\release\\stubexecutable.pdb',
'users\\andresk\\documents\\skype\\trunk\\ms_installer\\components\\custom\\release\\custom.pdb',
'users\\bob\\source\\repos\\angulargenerator\\angulargenerator\\obj\\debug\\angulargenerator.pdb',
'users\\builder\\tmpdir_gasper_4268_0\\b.0\\release\\launch_normal.pdb',
'users\\builder\\tmpdir_gorazd_356_0\\b.programisllight3_win32.0\\release\\launch_normal.pdb',
'users\\builder\\tmpdir_gorazd_1648_0\\b.programisllight3_win32.0\\release\\launch_normal.pdb',
'users\\builder\\tmpdir_gorazd_1776_0\\b.programislnetworkstart_win32.0\\release\\launch_normal.pdb',
'users\\builder\\tmpdir_gorazd_3172_0\\b.programisllight3_win32.0\\release\\launch_normal.pdb',
'users\\builder\\tmpdir_gorazd_4756_0\\b.programisllight3_win32.0\\release\\launch_normal.pdb',
'users\\buildmaster\\p4\\mapbuild\\source\\master\\features\\windowsfirewall\\source\\intuit.spc.map.features.windowsfirewall.installlibrary\\release\\intuit.spc.map.features.windowsfirewall.installlibrary.pdb',
'users\\buildu~1\\appdata\\local\\temp\\unityplayer_symbols.pdb',
'users\\bwade\\desktop\\chamber process control software\\vacuum chamber process control software\\obj\\debug\\vacuum chamber process control software.pdb',
'users\\chunyung\\documents\\visual studio 2005\\projects\\tool\\sonytestapo\\release\\vncutil.pdb',
'users\\dahall\\documents\\visual studio 2010\\projects\\taskservice\\obj\\release\\microsoft.win32.taskscheduler.pdb',
'users\\davidguan.tencent\\downloads\\nsis64-master\\nsis64-master\\release\\stubs\\stub.pdb',
'users\\dustinh\\desktop\\testvaluegetter\\sampleclasslibrary\\obj\\release\\sampleclasslibrary.pdb',
'users\\egon\\desktop\\confproxy_3_3_1\\utils\\networkstart\\release\\launch.pdb',
'users\\frida\\buildbot\\frida-windows\\build\\build\\tmp-windows\\win32-release\\frida-agent-32\\frida-agent-32.pdb',
'users\\frida\\buildbot\\frida-windows\\build\\build\\tmp-windows\\win32-release\\winjector-helper-32\\winjector-helper-32.pdb',
'users\\frida\\buildbot\\frida-windows\\build\\build\\tmp-windows\\x64-release\\frida-agent-64\\frida-agent-64.pdb',
'users\\frida\\buildbot\\frida-windows\\build\\build\\tmp-windows\\x64-release\\winjector-helper-64\\winjector-helper-64.pdb',
'users\\frida\\buildbot\\frida-windows\\build\\frida-node\\build\\release\\frida_binding.pdb',
'users\\jim\\desktop\\metro research\\applicationid\\release\\applicationid.pdb',
'users\\jmorgan\\source\\screenconnectwork\\misc\\bootstrapper\\release\\clickoncerunner.pdb',
'users\\martin\\27\\python\\pcbuild\\python.pdb',
'users\\martin\\27\\python\\pcbuild\\win32-pgo\\sqlite3.pdb',
'users\\nick\\desktop\\testing unitypackages\\iapstores-1.9\\iapstores-1.9\\winrt\\stubwinrt\\obj\\release\\winrt.pdb',
'users\\paulb\\code\\squirrel\\squirrel.windows\\src\\setup\\bin\\release\\setup.pdb',
'users\\paulb\\code\\squirrel\\squirrel.windows\\src\\stubexecutable\\bin\\release\\stubexecutable.pdb',
'users\\qt\\work\\qt\\qtbase\\lib\\qt5core.pdb',
'users\\qt\\work\\qt\\qtbase\\lib\\qt5gui.pdb',
'users\\qt\\work\\qt\\qtbase\\lib\\qt5network.pdb',
'users\\qt\\work\\qt\\qtbase\\lib\\qt5widgets.pdb',
'users\\qt\\work\\qt\\qtsvg\\lib\\qt5svg.pdb',
'users\\rob\\documents\\visual studio 2017\\projects\\clevelandnewhiredatabase\\obj\\debug\\clevelandnewhiredatabase.pdb',
'users\\soblomov\\documents\\devel\\micl\\micl\\trunk\\products\\perc\\release\\temcat.pdb',
'users\\vinay\\projects\\simple_launcher\\dist\\t32.pdb',
'users\\vinay\\projects\\simple_launcher\\dist\\t64.pdb',
'users\\vinay\\projects\\simple_launcher\\x64\\release\\clisimplelauncher.pdb',
'users\\vinay\\projects\\simple_launcher\\x64\\release\\guisimplelauncher.pdb',
'users\\vinay\\projects\\simplelauncher\\dist\\t32.pdb',
'users\\xeo\\dropbox\\projects\\unity arabic support\\unityarabicsupportdll\\unityarabicsupport\\bin\\debug\\arabicsupport.pdb',
'usetup.pdb',
'usp10.pdb',
'uwpshim.pdb',
'vb\\smartcardapp\\1.0.0.8\\smartcardapp\\obj\\x86\\release\\smartcardapp.pdb',
'vbc.pdb',
'vbscript.pdb',
'vc11_deps\\repo\\winlibs_glib\\build\\win32\\vc11\\release\\x64\\bin\\gmodule.pdb',
'vccorlib120.amd64.pdb',
'vccorlib140.i386.pdb',
'vcruntime140.amd64.pdb',
'vcruntime140.i386.pdb',
'version.pdb',
'vgx.pdb',
'vmagent_new\\bin\\joblist\\382575\\out\\release\\install_exe.pdb',
'vs70builds\\5077\\vsbuilt\\retail\\bin\\i386\\msosec.pdb',
'vsdebugpresentationpackage.ni.pdb',
'vss-od\\silkroad\\client\\out\\sro_client.pdb',
'vss\\hibun-ae-v8\\_current\\client\\release\\sxdmkslj.pdb',
'vss\\hibun-fe\\_current\\client\\release\\sxdmkslj.pdb',
'vstoinstaller.pdb',
'wcchromenativemessaginghost.pdb',
'wdfcoinstaller01005.pdb',
'wdfcoinstaller01009.pdb',
'wdfcoinstaller01011.pdb',
'webapps\\b\\build\\slave\\repo\\build\\src\\out\\release\\luxury_installer.exe.pdb',
'webcheck.pdb',
'webex-windows-plugin\\output\\maps\\release\\ciscowebexstart.pdb',
'werfault.pdb',
'wextract.pdb',
'wimserv.pdb',
'win32k.pdb',
'windows-main\\apps\\connection-manager\\release\\securelinkcm.pdb',
'windowsbase.ni.pdb',
'windowsbase.pdb',
'windowsformsintegration.design.pdb',
'windowsformsintegration.ni.pdb',
'windowsformsintegration.package.ni.pdb',
'windowsformsintegration.package.pdb',
'windowsformsintegration.pdb',
'winhttp.pdb',
'wininet.pdb',
'winload_prod.pdb',
'winmm.pdb',
'winnt32.pdb',
'winsrv.pdb',
'wintrust.pdb',
'winusbcoinstaller2.pdb',
'wkernel32.pdb',
'wlsetup.pdb',
'word\\x86\\ship\\0\\winword.pdb',
'wordmetrocnv\\x86\\ship\\0\\wordconv.pdb',
'work1\\source.git\\installer\\installer\\pokerstarsinstall\\release\\installbase.pdb',
'work\\2dc5da91488b997\\shell\\build\\desktop\\installer\\_win32\\installer2\\release\\installer_stub.pdb',
'work\\2dc5da91488b997\\shell\\build\\desktop\\installer\\_win32\\installer_stub\\release\\installer_stub.pdb',
'work\\80d8bf0ac6046a03\\shell\\build\\desktop\\installer\\_win32\\installer2\\release\\installer_stub.pdb',
'work\\a612b2ff131323b9\\desktop\\shell\\build\\desktop\\installer\\_win32\\installer_stub\\release\\installer_stub.pdb',
'work\\client6\\client6.15.1\\src\\probe\\bin\\wgprotect.pdb',
'work\\fmaudit\\projects\\dotnetzip\\src\\zip\\obj\\release\\ionic.zip.pdb',
'work\\metin2\\main\\development\\tools\\m2config\\metin2config\\release\\config.pdb',
'work\\msi\\trunk\\_msibuildsystem\\bin\\sfxmaker\\stub.pdb',
'work\\nsis-unicode\\build\\udebug\\stub_lzma_solid\\stub_lzma.pdb',
'work\\qisuclient\\tag\\branch3.8.2\\qiyiinstaller3.0\\release\\qiyiinstaller.pdb',
'work\\tensetup\\nsis_64_unicode\\release\\stubs\\stub.pdb',
'work\\work_all\\shzip\\release\\shzip.pdb',
'worksconv\\x86\\ship\\0\\wkconv.pdb',
'workspace.2\\_work\\1\\s\\artifacts\\obj\\win-x64.release\\corehost\\cli\\apphost\\release\\apphost.pdb',
'workspace4class\\berthiaume2018fall_gam372\\student\\bburkman\\centipede\\debug\\centipede.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\deploy\\jre-image\\bin\\javaws.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\deploy\\tmp\\javacplexec\\obj\\javacpl.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\deploy\\tmp\\jp2launcher\\obj\\jp2launcher.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\deploy\\tmp\\ssvagent\\obj\\ssvagent.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\jabswitch\\jabswitch.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\java-rmi_objs\\java-rmi.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\java_objs\\java.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\javaw_objs\\javaw.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\jjs_objs\\jjs.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\ktab_objs\\ktab.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\pack200_objs\\pack200.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\policytool_objs\\policytool.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\rmid_objs\\rmid.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\rmiregistry_objs\\rmiregistry.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\servertool_objs\\servertool.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\tnameserv_objs\\tnameserv.pdb',
'workspace\\8-2-build-windows-i586-cygwin\\jdk8u181\\11358\\build\\windows-i586\\jdk\\objs\\unpackexe\\unpack200.pdb',
'workspace\\azure-activedirectory-library-for-dotnet-v2\\src\\adal.net\\obj\\release\\microsoft.identitymodel.clients.activedirectory.pdb',
'workspace\\powershell-sign\\src\\common\\commands.common\\obj\\release\\microsoft.windowsazure.commands.common.pdb',
'workspace\\sgorenbo\\9.5_common\\sw\\src\\apps\\pavp2\\pavp30\\intelcphecisvc\\x64\\one_core_release\\intelcphecisvc.pdb',
'workspace\\workspace\\productionclients-forrelease\\avbranding\\avast\\config\\release\\label_exp\\winclient\\builds\\release\\x86\\sfxinst.pdb',
'wpfastinst\\sgwpminiint.pdb',
'write32.pdb',
'ws-chakracore\\release\\node.pdb',
'ws2_32.pdb',
'ws\\release\\node.pdb',
'ws\\tools\\msvs\\msi\\release\\custom_actions.pdb',
'ws\\tools\\msvs\\msi\\x64\\release\\custom_actions.pdb',
'wsdl.pdb',
'wsock32.pdb',
'wudfupdate_01009.pdb',
'wudfupdate_01011.pdb',
'xamlbuildtask.ni.pdb',
'xamlbuildtask.pdb',
'xdext\\x86\\ship\\0\\msoxmled.pdb',
'xdocs\\x64\\ship\\0\\msoxmled.pdb',
'xdocs\\x86\\ship\\0\\msoxmled.pdb',
'xdocs\\x86\\ship\\0\\regform.pdb',
'xlconv\\x86\\ship\\0\\excelcnv.pdb',
'xmllite.pdb',
'xpshims.pdb',
'xpssvcs.pdb',
'xsd.pdb',
'zeit\\pkg-fetch\\precompile\\node\\release\\node.pdb',
])
| 92.076179 | 223 | 0.734258 | 49,592 | 371,067 | 5.424484 | 0.056158 | 0.066678 | 0.094766 | 0.131214 | 0.858084 | 0.832278 | 0.813588 | 0.797328 | 0.774492 | 0.759289 | 0 | 0.134169 | 0.054586 | 371,067 | 4,029 | 224 | 92.099032 | 0.632655 | 0 | 0 | 0 | 0 | 0.630338 | 0.91311 | 0.897158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000248 | 0 | 0.000248 | 0.0072 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fa5c5bdf7d67ddcd44fb14e91ea06b5065ddd3c0 | 23,416 | py | Python | homemonitoring/tests/fixtures.py | BigCrunsh/home-monitoring | c82e02462cbd040e5814464b926321bdb84ed446 | [
"MIT"
] | 2 | 2020-06-25T20:13:33.000Z | 2020-08-06T09:08:26.000Z | homemonitoring/tests/fixtures.py | BigCrunsh/home-monitoring | c82e02462cbd040e5814464b926321bdb84ed446 | [
"MIT"
] | 1 | 2021-06-17T09:50:33.000Z | 2021-06-17T09:50:33.000Z | homemonitoring/tests/fixtures.py | BigCrunsh/home-monitoring | c82e02462cbd040e5814464b926321bdb84ed446 | [
"MIT"
] | null | null | null | """Test Fixtures.
This is a copy of https://github.com/grm/py-smart-gardena/blob/8bb4adde07844510872f1ec054ab73a5f9878987/tests/fixtures.py # noqa
Change Log:
- changed smart_irrigation_fixture valvet 1
"""
location_fixture = {
"attributes": {"name": "My Garden"},
"id": "753aecac-4c46-470e-aa96-d92436f11e77",
"relationships": {
"devices": {
"data": [
{"id": "28c26146-d4c1-42d7-964a-89f5237550ce", "type": "DEVICE"},
{"id": "7859acad-b23e-4abf-bec6-62c1453fc34c", "type": "DEVICE"},
{"id": "7859acbd-b23e-dabf-bec6-62c1453fc44c", "type": "DEVICE"},
{"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03", "type": "DEVICE"},
{"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf", "type": "DEVICE"},
]
}
},
"type": "LOCATION",
}
mower_fixture = {
"COMMON": [
{
"attributes": {
"batteryLevel": {
"timestamp": "2019-09-29T08:19:47.715+0000",
"value": 100,
},
"batteryState": {
"timestamp": "2019-09-29T07:43:44.115+0000",
"value": "OK",
},
"modelType": {"value": "GARDENA " "smart " "Mower"},
"name": {"value": "SILENO"},
"rfLinkLevel": {
"timestamp": "2019-09-29T07:47:47.776+0000",
"value": 50,
},
"rfLinkState": {"value": "ONLINE"},
"serial": {"value": "00003676"},
},
"id": "7859acbd-b23e-dabf-bec6-62c1453fc44c",
"relationships": {
"device": {
"data": {
"id": "7859acbd-b23e-dabf-bec6-62c1453fc44c",
"type": "DEVICE",
}
}
},
"type": "COMMON",
}
],
"DEVICE": [
{
"id": "7859acbd-b23e-dabf-bec6-62c1453fc44c",
"relationships": {
"location": {
"data": {
"id": "753aecac-4c46-470e-aa96-d92436f11e77",
"type": "LOCATION",
}
},
"services": {
"data": [
{"id": "7859acbd-b23e-dabf-bec6-62c1453fc44c", "type": "MOWER"},
{
"id": "7859acbd-b23e-dabf-bec6-62c1453fc44c",
"type": "COMMON",
},
]
},
},
"type": "DEVICE",
}
],
"MOWER": [
{
"attributes": {
"activity": {
"timestamp": "2019-09-29T07:43:44.115+0000",
"value": "PARKED_PARK_SELECTED",
},
"operatingHours": {"value": 40},
"state": {"timestamp": "2019-09-29T07:43:44.115+0000", "value": "OK"},
},
"id": "7859acbd-b23e-dabf-bec6-62c1453fc44c",
"relationships": {
"device": {
"data": {
"id": "7859acbd-b23e-dabf-bec6-62c1453fc44c",
"type": "DEVICE",
}
}
},
"type": "MOWER",
}
],
}
sensor_fixture = {
"COMMON": [
{
"attributes": {
"batteryLevel": {
"timestamp": "2019-09-28T22:54:29.179+0000",
"value": 93,
},
"batteryState": {
"timestamp": "2019-09-21T08:49:53.225+0000",
"value": "OK",
},
"modelType": {"value": "GARDENA " "smart " "Sensor"},
"name": {"value": "Sensor"},
"rfLinkLevel": {
"timestamp": "2019-09-29T10:56:10.257+0000",
"value": 70,
},
"rfLinkState": {"value": "ONLINE"},
"serial": {"value": "00028462"},
},
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"relationships": {
"device": {
"data": {
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"type": "DEVICE",
}
}
},
"type": "COMMON",
}
],
"DEVICE": [
{
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"relationships": {
"location": {
"data": {
"id": "753aecac-4c46-470e-aa96-d92436f11e77",
"type": "LOCATION",
}
},
"services": {
"data": [
{
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"type": "SENSOR",
},
{
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"type": "COMMON",
},
]
},
},
"type": "DEVICE",
}
],
"SENSOR": [
{
"attributes": {
"ambientTemperature": {
"timestamp": "2019-09-29T10:56:10.122+0000",
"value": 21,
},
"lightIntensity": {
"timestamp": "2019-09-29T10:56:10.215+0000",
"value": 15,
},
"soilHumidity": {
"timestamp": "2019-09-29T10:03:27.485+0000",
"value": 0,
},
"soilTemperature": {
"timestamp": "2019-09-29T10:02:18.119+0000",
"value": 22,
},
},
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"relationships": {
"device": {
"data": {
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"type": "DEVICE",
}
}
},
"type": "SENSOR",
}
],
}
soil_sensor_fixture = {
"COMMON": [
{
"attributes": {
"batteryLevel": {
"timestamp": "2019-09-28T22:54:29.179+0000",
"value": 93,
},
"batteryState": {
"timestamp": "2019-09-21T08:49:53.225+0000",
"value": "OK",
},
"modelType": {"value": "GARDENA " "smart " "Sensor"},
"name": {"value": "Sensor"},
"rfLinkLevel": {
"timestamp": "2019-09-29T10:56:10.257+0000",
"value": 70,
},
"rfLinkState": {"value": "ONLINE"},
"serial": {"value": "00028462"},
},
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"relationships": {
"device": {
"data": {
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"type": "DEVICE",
}
}
},
"type": "COMMON",
}
],
"DEVICE": [
{
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"relationships": {
"location": {
"data": {
"id": "753aecac-4c46-470e-aa96-d92436f11e77",
"type": "LOCATION",
}
},
"services": {
"data": [
{
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"type": "SENSOR",
},
{
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"type": "COMMON",
},
]
},
},
"type": "DEVICE",
}
],
"SENSOR": [
{
"attributes": {
"soilHumidity": {
"timestamp": "2019-09-29T10:03:27.485+0000",
"value": 0,
},
"soilTemperature": {
"timestamp": "2019-09-29T10:02:18.119+0000",
"value": 22,
},
},
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"relationships": {
"device": {
"data": {
"id": "a134596e-6127-4020-aaa5-b6d2f24d0d03",
"type": "DEVICE",
}
}
},
"type": "SENSOR",
}
],
}
smart_irrigation_fixture = {
"COMMON": [
{
"attributes": {
"batteryState": {"value": "NO_BATTERY"},
"modelType": {"value": "GARDENA " "smart " "Irrigation " "Control"},
"name": {"value": "Irrigation " "Control"},
"rfLinkLevel": {
"timestamp": "2019-02-04T08:42:55.589+0000",
"value": 100,
},
"rfLinkState": {"value": "OFFLINE"},
"serial": {"value": "00001834"},
},
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"relationships": {
"device": {
"data": {
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "DEVICE",
}
}
},
"type": "COMMON",
}
],
"DEVICE": [
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"relationships": {
"location": {
"data": {
"id": "753aecac-4c46-470e-aa96-d92436f11e77",
"type": "LOCATION",
}
},
"services": {
"data": [
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "VALVE_SET",
},
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:1",
"type": "VALVE",
},
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:2",
"type": "VALVE",
},
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:3",
"type": "VALVE",
},
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:4",
"type": "VALVE",
},
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:5",
"type": "VALVE",
},
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:6",
"type": "VALVE",
},
{
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "COMMON",
},
]
},
},
"type": "DEVICE",
}
],
"VALVE": [
{
"attributes": {
"activity": {
"timestamp": "2019-02-01T18:54:06.527+0000",
"value": "CLOSED",
},
"lastErrorCode": {
"timestamp": "2019-02-01T18:54:06.700+0000",
"value": "NO_MESSAGE",
},
"name": {"value": "Valve " "1"},
"state": {
"timestamp": "2019-02-01T18:54:12.719+0000",
"value": "UNAVAILABLE",
},
},
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:1",
"relationships": {
"device": {
"data": {
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "DEVICE",
}
}
},
"type": "VALVE",
},
{
"attributes": {
"activity": {
"timestamp": "2019-02-01T18:54:06.543+0000",
"value": "CLOSED",
},
"lastErrorCode": {
"timestamp": "2019-02-01T18:54:06.712+0000",
"value": "NO_MESSAGE",
},
"name": {"value": "Valve " "2"},
"state": {
"timestamp": "2019-02-01T18:54:12.719+0000",
"value": "UNAVAILABLE",
},
},
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:2",
"relationships": {
"device": {
"data": {
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "DEVICE",
}
}
},
"type": "VALVE",
},
{
"attributes": {
"activity": {
"timestamp": "2019-02-01T18:54:06.559+0000",
"value": "CLOSED",
},
"lastErrorCode": {
"timestamp": "2019-02-01T18:54:06.722+0000",
"value": "NO_MESSAGE",
},
"name": {"value": "Valve " "3"},
"state": {
"timestamp": "2019-02-01T18:54:12.719+0000",
"value": "UNAVAILABLE",
},
},
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:3",
"relationships": {
"device": {
"data": {
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "DEVICE",
}
}
},
"type": "VALVE",
},
{
"attributes": {
"activity": {
"timestamp": "2019-02-01T18:54:06.577+0000",
"value": "CLOSED",
},
"lastErrorCode": {
"timestamp": "2019-02-01T18:54:06.732+0000",
"value": "NO_MESSAGE",
},
"name": {"value": "Valve " "4"},
"state": {
"timestamp": "2019-02-01T18:54:12.719+0000",
"value": "UNAVAILABLE",
},
},
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:4",
"relationships": {
"device": {
"data": {
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "DEVICE",
}
}
},
"type": "VALVE",
},
{
"attributes": {
"activity": {
"timestamp": "2019-02-01T18:54:06.593+0000",
"value": "CLOSED",
},
"lastErrorCode": {
"timestamp": "2019-02-01T18:54:06.741+0000",
"value": "NO_MESSAGE",
},
"name": {"value": "Valve " "5"},
"state": {
"timestamp": "2019-02-01T18:54:12.719+0000",
"value": "UNAVAILABLE",
},
},
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:5",
"relationships": {
"device": {
"data": {
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "DEVICE",
}
}
},
"type": "VALVE",
},
{
"attributes": {
"activity": {
"timestamp": "2019-02-01T18:54:06.610+0000",
"value": "CLOSED",
},
"lastErrorCode": {
"timestamp": "2019-02-01T18:54:06.806+0000",
"value": "NO_MESSAGE",
},
"name": {"value": "Valve " "6"},
"state": {
"timestamp": "2019-02-01T18:54:12.719+0000",
"value": "UNAVAILABLE",
},
},
"id": "28c26146-d4c1-42d7-964a-89f5237550ce:6",
"relationships": {
"device": {
"data": {
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "DEVICE",
}
}
},
"type": "VALVE",
},
],
"VALVE_SET": [
{
"attributes": {
"lastErrorCode": {
"timestamp": "2019-02-01T18:54:06.674+0000",
"value": "NO_MESSAGE",
},
"state": {"timestamp": "2019-02-01T18:54:06.674+0000", "value": "OK"},
},
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"relationships": {
"device": {
"data": {
"id": "28c26146-d4c1-42d7-964a-89f5237550ce",
"type": "DEVICE",
}
}
},
"type": "VALVE_SET",
}
],
}
water_control_fixture = {
"COMMON": [
{
"attributes": {
"batteryLevel": {
"timestamp": "2019-09-29T10:52:27.307+0000",
"value": 99,
},
"batteryState": {
"timestamp": "2019-09-29T10:52:27.258+0000",
"value": "OK",
},
"modelType": {"value": "GARDENA " "smart " "Water " "Control"},
"name": {"value": "Water " "Control"},
"rfLinkLevel": {
"timestamp": "2019-09-29T10:52:27.345+0000",
"value": 70,
},
"rfLinkState": {"value": "ONLINE"},
"serial": {"value": "00019796"},
},
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf",
"relationships": {
"device": {
"data": {
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf",
"type": "DEVICE",
}
}
},
"type": "COMMON",
}
],
"DEVICE": [
{
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf",
"relationships": {
"location": {
"data": {
"id": "753aecac-4c46-470e-aa96-d92436f11e77",
"type": "LOCATION",
}
},
"services": {
"data": [
{
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf:wc",
"type": "VALVE_SET",
},
{"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf", "type": "VALVE"},
{
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf",
"type": "COMMON",
},
]
},
},
"type": "DEVICE",
}
],
"VALVE": [
{
"attributes": {
"activity": {
"timestamp": "2019-09-21T08:38:08.890+0000",
"value": "CLOSED",
},
"name": {"value": "Water " "Control"},
"state": {"value": "OK"},
},
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf",
"relationships": {
"device": {
"data": {
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf",
"type": "DEVICE",
}
}
},
"type": "VALVE",
}
],
"VALVE_SET": [
{
"attributes": {},
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf:wc",
"relationships": {
"device": {
"data": {
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf",
"type": "DEVICE",
}
}
},
"type": "VALVE_SET",
}
],
}
power_socket_fixture = {
"COMMON": [
{
"id": "58807078-f5d5-4a1a-814d-d632fbe9ae6b",
"type": "COMMON",
"attributes": {
"name": {"value": "Prise jardin 3"},
"batteryState": {"value": "NO_BATTERY"},
"rfLinkLevel": {
"value": 60,
"timestamp": "2019-10-10T23:52:02.797+0000",
},
"serial": {"value": "00017114"},
"modelType": {"value": "GARDENA smart Power"},
"rfLinkState": {"value": "ONLINE"},
},
}
],
"DEVICE": [
{
"id": "d6459769-8171-488c-ab8e-bbf3a06a58bf",
"relationships": {
"location": {
"data": {
"id": "753aecac-4c46-470e-aa96-d92436f11e77",
"type": "LOCATION",
}
},
"services": {
"data": [
{
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf:wc",
"type": "VALVE_SET",
},
{"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf", "type": "VALVE"},
{
"id": "d6459669-8171-488c-ab8e-bcf3a06a58bf",
"type": "COMMON",
},
]
},
},
"type": "DEVICE",
}
],
"POWER_SOCKET": [
{
"id": "58807078-f5d5-4a1a-814d-d632fbe9ae6b",
"type": "POWER_SOCKET",
"attributes": {
"activity": {
"value": "OFF",
"timestamp": "2019-10-10T23:51:54.667+0000",
},
"state": {"value": "OK", "timestamp": "2019-10-10T23:51:54.643+0000"},
},
}
],
}
| 33.214184 | 129 | 0.326742 | 1,425 | 23,416 | 5.345965 | 0.140351 | 0.076792 | 0.047782 | 0.061433 | 0.832371 | 0.823182 | 0.794828 | 0.700315 | 0.639669 | 0.59937 | 0 | 0.236325 | 0.522207 | 23,416 | 704 | 130 | 33.261364 | 0.444583 | 0.008627 | 0 | 0.547826 | 0 | 0 | 0.34175 | 0.170509 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 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 |
d7022bd06a1caccbf3a662644714fad38b4ef514 | 54,791 | py | Python | simulation/TempoW2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | simulation/TempoW2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | simulation/TempoW2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | import json
import scipy.stats
import matplotlib.pyplot as plt
import numpy as np
def open_file(nameFile):
try:
f = open(nameFile + ".json", "r")
dados = json.loads(f.read())
f.close()
except:
dados = 0
pass
return dados
def mean_confidence_interval(data, confidence=0.90):
a = 1.0 * np.array(data)
n = len(a)
m, se = np.mean(a), scipy.stats.sem(a)
h = se * scipy.stats.t.ppf((1 + confidence) / 2., n - 1)
#return m, m - h, m + h
return m, h
files = [
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_dijkstra_nearest_neighbor_coords_weight_heuristic_dijkstra'
]
files_s = [
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_SPFA_nearest_neighbor_coords_weight_heuristic_SPFA'
]
files_a = [
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_astar_nearest_neighbor_coords_weight_heuristic_astar'
]
files_ci = [
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_dijkstra_closest_insertion_coords_weight_heuristic_dijkstra'
]
files_s_ci = [
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_SPFA_closest_insertion_coords_weight_heuristic_SPFA'
]
files_a_ci = [
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_astar_closest_insertion_coords_weight_heuristic_astar'
]
files_fi = [
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_dijkstra_further_insertion_coords_weight_heuristic_dijkstra'
]
files_s_fi = [#'../../data/results/m43.957018117658315_m19.931545102455843_m43.931890481507786_m19.907162672548026_0_distance_heuristic_SPFA_nn'
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_SPFA_further_insertion_coords_weight_heuristic_SPFA'
]
files_a_fi = [
'../data/results/m38.49999603681327_m12.962358080558504_m38.47398437502447_m12.932893255527242_0_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500671812913836_m12.96339552158351_m38.47352508877093_m12.932765988234031_1_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50194412971296_m12.961982380453897_m38.472997875909336_m12.933973466644028_2_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.5014109499298_m12.960872502034725_m38.47423998586774_m12.935033565792027_3_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50102106363388_m12.962638092503209_m38.474525144844954_m12.932374557163948_4_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.49922134252434_m12.962995897766534_m38.47172032605714_m12.933032796134958_5_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.49989452416794_m12.961981434109553_m38.47288011285585_m12.932171368514155_6_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50237887905613_m12.960648819826947_m38.472913582758295_m12.934273386456828_7_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.5015370998344_m12.962186005531471_m38.47261478466609_m12.934002015361491_8_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50073006631474_m12.961333960783888_m38.4725327574897_m12.932373724953635_9_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50096584572687_m12.96121100042776_m38.47440076442133_m12.934017719276726_10_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50082829471482_m12.960720017172312_m38.47384043859295_m12.933596799909374_11_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.501118552381065_m12.962947784137462_m38.47426226643149_m12.932564078786635_12_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.502373456830234_m12.962333491657414_m38.47477812160141_m12.93271906374045_13_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50148403583942_m12.965290796965846_m38.471909395581456_m12.932729360653218_14_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.501890924160584_m12.961062102765782_m38.4732392389171_m12.933884816602236_15_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.5007597052321_m12.961099590741043_m38.473517022103756_m12.933269493665131_16_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50151426278066_m12.96224952417061_m38.473343947418165_m12.932595128870267_17_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50340379765633_m12.963068504924866_m38.473898022861405_m12.932939179700924_18_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.501402782516365_m12.962743981859667_m38.47361068224981_m12.929892203606808_19_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500951062259055_m12.964628446152132_m38.47375669394401_m12.93455351878407_20_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500486678608006_m12.963212145332431_m38.474758327361364_m12.933328833777356_21_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50234447884447_m12.961648999633914_m38.474661277554_m12.93489642987398_22_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50229159113205_m12.961490473565357_m38.474209563384555_m12.933428060221484_23_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500568338650666_m12.963562146885746_m38.47357849097421_m12.93225101151055_24_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50115701483925_m12.9612635544437_m38.47509217365817_m12.933188948092502_25_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50186554346796_m12.961718758432754_m38.47355380440904_m12.934289622568668_26_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50165434807298_m12.96187628063375_m38.47332172286755_m12.933277161490693_27_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50177737556065_m12.962596650290932_m38.472904517360526_m12.933331456516722_28_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.50009702898103_m12.96036292373261_m38.47412281703678_m12.934711892250165_29_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar',
'../data/results/m38.500734794836475_m12.961295117029927_m38.473498428492356_m12.932937589096973_30_30_weight_heuristic_astar_further_insertion_coords_weight_heuristic_astar'
]
todas_medias = []
todas_medias_s = []
todas_medias_a = []
todas_medias_ci = []
todas_medias_s_ci = []
todas_medias_a_ci = []
todas_medias_fi = []
todas_medias_s_fi = []
todas_medias_a_fi = []
for a in range(len(files)):
dados_nn = dict(open_file(files[a]))
dados_ci = dict(open_file(files_s[a]))
dados_fi = dict(open_file(files_a[a]))
todas_medias.append(float(dados_nn.get('total_time'))*1000)
todas_medias_s.append(float(dados_ci.get('total_time'))*1000)
todas_medias_a.append(float(dados_fi.get('total_time'))*1000)
dados_ci_1 = dict(open_file(files_ci[a]))
dados_ci_2 = dict(open_file(files_s_ci[a]))
dados_ci_3 = dict(open_file(files_a_ci[a]))
todas_medias_ci.append(float(dados_ci_1.get('total_time'))*1000)
todas_medias_s_ci.append(float(dados_ci_2.get('total_time'))*1000)
todas_medias_a_ci.append(float(dados_ci_3.get('total_time'))*1000)
dados_fi_1 = dict(open_file(files_fi[a]))
dados_fi_2 = dict(open_file(files_s_fi[a]))
dados_fi_3 = dict(open_file(files_a_fi[a]))
todas_medias_fi.append(float(dados_fi_1.get('total_time'))*1000)
todas_medias_s_fi.append(float(dados_fi_2.get('total_time'))*1000)
todas_medias_a_fi.append(float(dados_fi_3.get('total_time'))*1000)
m, h = mean_confidence_interval(todas_medias, 0.95)
m1, h1 = mean_confidence_interval(todas_medias_s, 0.95)
m2, h2 = mean_confidence_interval(todas_medias_a, 0.95)
m_ci, h_ci = mean_confidence_interval(todas_medias_ci, 0.95)
m1_ci, h1_ci = mean_confidence_interval(todas_medias_s_ci, 0.95)
m2_ci, h2_ci = mean_confidence_interval(todas_medias_a_ci, 0.95)
m_fi, h_fi = mean_confidence_interval(todas_medias_fi, 0.95)
m1_fi, h1_fi = mean_confidence_interval(todas_medias_s_fi, 0.95)
m2_fi, h2_fi = mean_confidence_interval(todas_medias_a_fi, 0.95)
medias = [m, m1, m2]
erros = [h, h1, h2]
medias_ci = [m_ci, m1_ci, m2_ci]
erros_ci = [h_ci, h1_ci, h2_ci]
medias_fi = [m_fi, m1_fi, m2_fi]
erros_fi = [h_fi, h1_fi, h2_fi]
labels = ['Bidirectional Dijkstra', 'SPFA', 'A-star']
x = np.arange(len(labels)) # the label locations
width = 0.45 # 0.35 # the width of the bars
print(medias, medias_ci, medias_fi)
fig, ax = plt.subplots()
r1 = ax.bar(x - width/3, medias, width/3, yerr=erros, label='Nearest Neighbor', zorder=10)
r2 = ax.bar(x, medias_ci, width/3, yerr=erros_ci, label='Closest Insertion', zorder=10)
r3 = ax.bar(x + width/3, medias_fi, width/3, yerr=erros_fi, label='Further Insertion', zorder=10)
plt.yscale('log')
# Add some text for labels, title and custom x-axis tick labels, etc.
#ax.set_ylabel('Potência média (W)', fontdict='bold')
plt.ylabel('Time [ms]', fontweight="bold", fontsize=11)
plt.ylim(10**(3), 10**(6)) #max(medias_ci) + 5)
plt.grid(True, which="both", ls="-", linewidth=0.1, color='0.10', zorder=0.5)
ax.set_xticks(x)
ax.set_xticklabels(labels)
#plt.xlabel([], )
ax.legend(numpoints=1, loc="upper right", ncol=3, prop={'size': 9})
fig.tight_layout()
plt.show() | 130.144893 | 189 | 0.871621 | 6,516 | 54,791 | 6.698588 | 0.046808 | 0.191761 | 0.089489 | 0.127841 | 0.965565 | 0.958394 | 0.949093 | 0.94726 | 0.944602 | 0.944602 | 0 | 0.380674 | 0.056743 | 54,791 | 421 | 190 | 130.144893 | 0.463875 | 0.006479 | 0 | 0 | 0 | 0 | 0.879235 | 0.87523 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005319 | false | 0.00266 | 0.010638 | 0 | 0.021277 | 0.00266 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
d720d8de09e1465f8b5343e85e7f1d78b61be06a | 29,650 | py | Python | pyro/dynamic/vehicle.py | SherbyRobotics/pyro | 43dcb112427978ff237ea14018bcf7f8a8d89997 | [
"MIT"
] | 14 | 2019-05-03T15:22:38.000Z | 2022-03-14T15:31:54.000Z | pyro/dynamic/vehicle.py | Scientist265/pyro | 43dcb112427978ff237ea14018bcf7f8a8d89997 | [
"MIT"
] | 9 | 2019-08-01T14:22:13.000Z | 2021-06-12T01:44:50.000Z | pyro/dynamic/vehicle.py | Scientist265/pyro | 43dcb112427978ff237ea14018bcf7f8a8d89997 | [
"MIT"
] | 9 | 2019-05-21T12:38:36.000Z | 2022-03-29T16:28:45.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Oct 23 20:45:37 2018
@author: Alexandre
"""
###############################################################################
import numpy as np
##############################################################################
from pyro.dynamic import system
###############################################################################
##############################################################################
#
##############################################################################
class KinematicBicyleModel( system.ContinuousDynamicSystem ):
"""
Equations of Motion
-------------------------
dx = V cos ( phi )
dy = V sin ( phi )
dphi = V/l tan ( beta )
"""
############################
def __init__(self):
""" """
# Dimensions
self.n = 3
self.m = 2
self.p = 3
# initialize standard params
super().__init__(self.n, self.m, self.p)
# Labels
self.name = 'Kinematic Bicyle Model'
self.state_label = ['x','y','theta']
self.input_label = ['v', 'beta']
self.output_label = ['x','y','theta']
# Units
self.state_units = ['[m]','[m]','[rad]']
self.input_units = ['[m/sec]', '[rad]']
self.output_units = ['[m]','[m]','[rad]']
# State working range
self.x_ub = np.array([+5,+2,+3.14])
self.x_lb = np.array([-5,-2,-3.14])
# Model param
self.lenght = 1
# Graphic output parameters
self.dynamic_domain = True
self.dynamic_range = 10
#############################
def f(self, x = np.zeros(3) , u = np.zeros(2) , t = 0 ):
"""
Continuous time foward dynamics evaluation
dx = f(x,u,t)
INPUTS
x : state vector n x 1
u : control inputs vector m x 1
t : time 1 x 1
OUPUTS
dx : state derivative vectror n x 1
"""
dx = np.zeros(self.n) # State derivative vector
dx[0] = u[0] * np.cos( x[2] )
dx[1] = u[0] * np.sin( x[2] )
dx[2] = u[0] * np.tan( u[1] ) * ( 1. / self.lenght)
return dx
###########################################################################
# For graphical output
###########################################################################
#############################
def xut2q( self, x , u , t ):
""" compute config q """
q = np.append( x , u[1] ) # steering angle is part of the config
return q
###########################################################################
def forward_kinematic_domain(self, q ):
"""
"""
l = self.dynamic_range
x = q[0]
y = q[1]
z = 0
if self.dynamic_domain:
domain = [ ( -l + x , l + x ) ,
( -l + y , l + y ) ,
( -l + z , l + z ) ]#
else:
domain = [ ( -l , l ) ,
( -l , l ) ,
( -l , l ) ]#
return domain
###########################################################################
def forward_kinematic_lines(self, q ):
"""
Compute points p = [x;y;z] positions given config q
----------------------------------------------------
- points of interest for ploting
Outpus:
lines_pts = [] : a list of array (n_pts x 3) for each lines
"""
lines_pts = [] # list of array (n_pts x 3) for each lines
###########################
# Top line
###########################
pts = np.zeros((2,3))
pts[0,0] = -10000
pts[0,1] = 1
pts[1,0] = 10000
pts[1,1] = 1
lines_pts.append( pts )
###########################
# bottom line
###########################
pts = np.zeros((2,3))
pts[0,0] = -10000
pts[0,1] = -1
pts[1,0] = 10000
pts[1,1] = -1
lines_pts.append( pts )
###########################
# Vehicule
###########################
pts = np.zeros((3,3))
pts[0,0] = q[0]
pts[0,1] = q[1]
pts[1,0] = q[0] + self.lenght * np.cos( q[2] )
pts[1,1] = q[1] + self.lenght * np.sin( q[2] )
pts[2,0] = ( q[0] + self.lenght * np.cos( q[2] ) +
0.2 * self.lenght * np.cos( q[2] + q[3] ) )
pts[2,1] = ( q[1] + self.lenght * np.sin( q[2] ) +
0.2 * self.lenght * np.sin( q[2] + q[3] ) )
lines_pts.append( pts )
return lines_pts
##############################################################################
#
##############################################################################
class HolonomicMobileRobot( system.ContinuousDynamicSystem ):
"""
Holonomic 2D point-robot
-----------------------------------
dx = u[0]
dy = u[1]
"""
############################
def __init__(self):
""" """
# Dimensions
self.n = 2
self.m = 2
self.p = 2
# initialize standard params
super().__init__(self.n, self.m, self.p)
# Labels
self.name = 'Holonomic Mobile Robot'
self.state_label = ['x','y']
self.input_label = ['vx', 'vy']
self.output_label = ['x','y']
# Units
self.state_units = ['[m]','[m]']
self.input_units = ['[m/sec]','[m/sec]']
self.output_units = ['[m]','[m]']
# State working range
self.x_ub = np.array([ 10, 10])
self.x_lb = np.array([-10,-10])
#############################
def f(self, x = np.zeros(3) , u = np.zeros(2) , t = 0 ):
"""
Continuous time foward dynamics evaluation
dx = f(x,u,t)
INPUTS
x : state vector n x 1
u : control inputs vector m x 1
t : time 1 x 1
OUPUTS
dx : state derivative vectror n x 1
"""
dx = np.zeros(self.n) # State derivative vector
dx[0] = u[0]
dx[1] = u[1]
return dx
###########################################################################
# For graphical output
###########################################################################
#############################
def xut2q( self, x , u , t ):
""" compute config q """
q = x # kinematic model : state = config space
return q
###########################################################################
def forward_kinematic_domain(self, q ):
"""
"""
l = 10
domain = [ ( -l , l ) ,
( -l , l ) ,
( -l , l ) ]#
return domain
###########################################################################
def forward_kinematic_lines(self, q ):
"""
Compute points p = [x;y;z] positions given config q
----------------------------------------------------
- points of interest for ploting
Outpus:
lines_pts = [] : a list of array (n_pts x 3) for each lines
"""
lines_pts = [] # list of array (n_pts x 3) for each lines
###########################
# Top line
###########################
pts = np.zeros((4,3))
d = 0.2
pts[0,0] = q[0]+d
pts[0,1] = q[1]+d
pts[1,0] = q[0]+d
pts[1,1] = q[1]-d
pts[2,0] = q[0]-d
pts[2,1] = q[1]-d
pts[3,0] = q[0]-d
pts[3,1] = q[1]+d
lines_pts.append( pts )
return lines_pts
##############################################################################
#
##############################################################################
class HolonomicMobileRobotwithObstacles( HolonomicMobileRobot ):
"""
Holonomic 2D point robot with obstacles with allowable domain
-------------------------------------------------------------
dx = u[0]
dy = u[1]
"""
############################
def __init__(self):
""" """
# initialize standard params
super().__init__()
# Labels
self.name = 'Holonomic Mobile Robot with Obstacles'
# State working range
self.x_ub = np.array([ 10, 10])
self.x_lb = np.array([-10,-10])
self.obstacles = [
[ (2,2),(4,10)],
[ (6,-8),(8,8)],
[ (-8,-8),(-1,8)]
]
#############################
def isavalidstate(self , x ):
""" check if x is in the state domain """
ans = False
for i in range(self.n):
ans = ans or ( x[i] < self.x_lb[i] )
ans = ans or ( x[i] > self.x_ub[i] )
for obs in self.obstacles:
on_obs = (( x[0] > obs[0][0]) and
( x[1] > obs[0][1]) and
( x[0] < obs[1][0]) and
( x[1] < obs[1][1]) )
ans = ans or on_obs
return not(ans)
###########################################################################
def forward_kinematic_lines(self, q ):
"""
Compute points p = [x;y;z] positions given config q
----------------------------------------------------
- points of interest for ploting
Outpus:
lines_pts = [] : a list of array (n_pts x 3) for each lines
"""
lines_pts = [] # list of array (n_pts x 3) for each lines
###########################
# Vehicule
###########################
pts = np.zeros((4,3))
d = 0.2
pts[0,0] = q[0]+d
pts[0,1] = q[1]+d
pts[1,0] = q[0]+d
pts[1,1] = q[1]-d
pts[2,0] = q[0]-d
pts[2,1] = q[1]-d
pts[3,0] = q[0]-d
pts[3,1] = q[1]+d
lines_pts.append( pts )
###########################
# obstacles
###########################
for obs in self.obstacles:
pts = np.zeros((5,3))
pts[0,0] = obs[0][0]
pts[0,1] = obs[0][1]
pts[1,0] = obs[0][0]
pts[1,1] = obs[1][1]
pts[2,0] = obs[1][0]
pts[2,1] = obs[1][1]
pts[3,0] = obs[1][0]
pts[3,1] = obs[0][1]
pts[4,0] = obs[0][0]
pts[4,1] = obs[0][1]
lines_pts.append( pts )
return lines_pts
##############################################################################
#
##############################################################################
class Holonomic3DMobileRobot(system.ContinuousDynamicSystem):
"""
Holonomic 3D point-robot
-----------------------------------
dx = u[0]
dy = u[1]
"""
############################
def __init__(self):
""" """
# Dimensions
self.n = 3
self.m = 3
self.p = 3
# initialize standard params
super().__init__(self.n, self.m, self.p)
# Labels
self.name = 'Holonomic 3D Mobile Robot'
self.state_label = ['x', 'y', 'z']
self.input_label = ['vx', 'vy', 'vz']
self.output_label = ['x', 'y', 'z']
# Units
self.state_units = ['[m]', '[m]', '[m]']
self.input_units = ['[m/sec]', '[m/sec]', '[m/sec]']
self.output_units = ['[m]', '[m]', '[m]']
# State working range
self.x_ub = np.array([10, 10, 10])
self.x_lb = np.array([-10, -10, -10])
#############################
def f(self, x=np.zeros(3), u=np.zeros(2), t=0):
"""
Continuous time foward dynamics evaluation
dx = f(x,u,t)
INPUTS
x : state vector n x 1
u : control inputs vector m x 1
t : time 1 x 1
OUPUTS
dx : state derivative vectror n x 1
"""
dx = np.zeros(self.n) # State derivative vector
dx[0] = u[0]
dx[1] = u[1]
dx[2] = u[2]
return dx
###########################################################################
# For graphical output
###########################################################################
#############################
def xut2q(self, x, u, t):
""" compute config q """
q = x # kinematic model : state = config space
return q
###########################################################################
def forward_kinematic_domain(self, q):
"""
"""
l = 10
domain = [(-l, l),
(-l, l),
(-l, l)] #
return domain
###########################################################################
def forward_kinematic_lines(self, q):
"""
Compute points p = [x;y;z] positions given config q
----------------------------------------------------
- points of interest for ploting
Outpus:
lines_pts = [] : a list of array (n_pts x 3) for each lines
"""
lines_pts = [] # list of array (n_pts x 3) for each lines
###########################
# Top line
###########################
pts = np.zeros((4, 3))
d = 0.2
pts[0, 0] = q[0] + d
pts[0, 1] = q[1] + d
pts[0, 2] = q[2]
pts[1, 0] = q[0] + d
pts[1, 1] = q[1] - d
pts[1, 2] = q[2]
pts[2, 0] = q[0] - d
pts[2, 1] = q[1] - d
pts[2, 2] = q[2]
pts[3, 0] = q[0] - d
pts[3, 1] = q[1] + d
pts[3, 2] = q[2]
lines_pts.append(pts)
return lines_pts
##############################################################################
#
##############################################################################
class Holonomic3DMobileRobotwithObstacles(Holonomic3DMobileRobot):
"""
Holonomic 3D point-robot with non-allowable states
-----------------------------------
dx = u[0]
dy = u[1]
"""
############################
def __init__(self):
""" """
# initialize standard params
super().__init__()
# Labels
self.name = 'Holonomic 3D Mobile Robot with Obstacles'
# State working range
self.x_ub = np.array([ 10, 10, 10])
self.x_lb = np.array([-10,-10, -10])
self.obstacles = [
[ ( 2, 2,-1),( 4,10,1)],
[ ( 6,-8,-1),( 8,8,1)],
[ (-8,-8,-1),(-1,8,1)]
]
#############################
def isavalidstate(self , x ):
""" check if x is in the state domain """
ans = False
for i in range(self.n):
ans = ans or ( x[i] < self.x_lb[i] )
ans = ans or ( x[i] > self.x_ub[i] )
for obs in self.obstacles:
on_obs = (( x[0] > obs[0][0]) and
( x[1] > obs[0][1]) and
( x[2] > obs[0][2]) and
( x[0] < obs[1][0]) and
( x[1] < obs[1][1]) and
( x[2] < obs[1][2]) )
ans = ans or on_obs
return not(ans)
###########################################################################
def forward_kinematic_lines(self, q ):
"""
Compute points p = [x;y;z] positions given config q
----------------------------------------------------
- points of interest for ploting
Outpus:
lines_pts = [] : a list of array (n_pts x 3) for each lines
"""
lines_pts = [] # list of array (n_pts x 3) for each lines
###########################
# Vehicule
###########################
pts = np.zeros((4,3))
d = 0.2
pts[0, 0] = q[0] + d
pts[0, 1] = q[1] + d
pts[0, 2] = q[2]
pts[1, 0] = q[0] + d
pts[1, 1] = q[1] - d
pts[1, 2] = q[2]
pts[2, 0] = q[0] - d
pts[2, 1] = q[1] - d
pts[2, 2] = q[2]
pts[3, 0] = q[0] - d
pts[3, 1] = q[1] + d
pts[3, 2] = q[2]
lines_pts.append( pts )
###########################
# obstacles
###########################
for obs in self.obstacles:
pts = np.zeros((5,3))
#TODO: need to update plot to draw cubes
pts[0,0] = obs[0][0]
pts[0,1] = obs[0][1]
pts[0,2] = obs[0][2]
pts[1,0] = obs[0][0]
pts[1,1] = obs[1][1]
pts[1,2] = obs[0][2]
pts[2,0] = obs[1][0]
pts[2,1] = obs[1][1]
pts[2,2] = obs[0][2]
pts[3,0] = obs[1][0]
pts[3,1] = obs[0][1]
pts[3,2] = obs[0][2]
pts[4,0] = obs[0][0]
pts[4,1] = obs[0][1]
pts[4,2] = obs[0][2]
lines_pts.append( pts )
return lines_pts
##############################################################################
#
##############################################################################
class KinematicCarModel( KinematicBicyleModel ):
"""
Bicycle model of real sized car
------------------------------------------------------------------------
length = 5 meters
Equations of Motion
-------------------------
dx = V cos ( phi )
dy = V sin ( phi )
dphi = V/l tan ( beta )
"""
############################
def __init__(self):
""" """
# initialize standard params
super().__init__()
# Model param
self.width = 2.00
self.a = 2.00
self.b = 3.00
self.lenght = self.a+self.b
self.lenght_tire = 0.40
self.width_tire = 0.15
# Graphic output parameters
self.dynamic_domain = True
self.dynamic_range = self.lenght * 2
###########################################################################
# For graphical output
###########################################################################
###########################################################################
def forward_kinematic_lines(self, q ):
"""
Compute points p = [x;y;z] positions given config q
----------------------------------------------------
- points of interest for ploting
Outpus:
lines_pts = [] : a list of array (n_pts x 3) for each lines
"""
lines_pts = [] # list of array (n_pts x 3) for each lines
###########################
# Top line
###########################
pts = np.zeros((2,10))
pts[0,0] = -10000
pts[0,1] = self.width * 2.25
pts[1,0] = 10000
pts[1,1] = self.width * 2.25
lines_pts.append( pts )
###########################
# middle line
###########################
pts = np.zeros((2,10))
pts[0,0] = -10000
pts[0,1] = self.width * 0.75
pts[1,0] = 10000
pts[1,1] = self.width * 0.75
lines_pts.append( pts )
###########################
# bottom line
###########################
pts = np.zeros((2,10))
pts[0,0] = -10000
pts[0,1] = - self.width * 0.75
pts[1,0] = 10000
pts[1,1] = - self.width * 0.75
lines_pts.append( pts )
###########################
# Car
###########################
"""
Here is how the car is drawn:
|---------lenght--------|
|-----a------|
* * -
* * |
d2 * CG * d3 |
* width
d1 * * d4 |
* * |
* * -
"""
# Distance of the four corners of the car from the mass center
d1 = np.sqrt(self.a**2+(self.width/2)**2)
d3 = np.sqrt((self.lenght-self.a)**2+(self.width/2)**2)
# Angles of the four lines of the car
theta1 = np.pi+np.arctan(self.width/2/self.a)+q[2]
theta2 = np.pi-np.arctan(self.width/2/self.a)+q[2]
theta3 = np.arctan(self.width/2/(self.lenght-self.a))+q[2]
theta4 = 2*np.pi-np.arctan(self.width/2/(self.lenght-self.a))+q[2]
# Build first line of the car
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d1,d1,theta1,theta2,q[0],q[1])
lines_pts.append( pts )
# Build second line of the car
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d3,d3,theta3,theta4,q[0],q[1])
px3 = pts[0,0] # Points used to center the wheels
py3 = pts[0,1]
px4 = pts[1,0]
py4 = pts[1,1]
lines_pts.append( pts )
# Build third line of the car
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d1,d3,theta2,theta3,q[0],q[1])
lines_pts.append( pts )
# Build third fourth of the car
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d1,d3,theta1,theta4,q[0],q[1])
lines_pts.append( pts )
###########################
# Wheels
###########################
# Distance of the four corners of a tire from the center
d = np.sqrt((self.lenght_tire/2)**2+(self.width_tire/2)**2)
# Angles of the four lines of a tire
steer1 = np.pi+np.arctan(self.width/2/self.a)+q[3]+q[2]
steer2 = np.pi-np.arctan(self.width/2/self.a)+q[3]+q[2]
steer3 = np.arctan(self.width/2/(self.lenght-self.a))+q[3]+q[2]
steer4 = 2*np.pi-np.arctan(self.width/2/(self.lenght-self.a))+q[3]+q[2]
# Build first line of the left tire
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d,d,steer1,steer2,px3,py3)
lines_pts.append( pts )
# Build second line of the left tire
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d,d,steer3,steer4,px3,py3)
lines_pts.append( pts )
# Build third line of the left tire
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d,d,steer2,steer3,px3,py3)
lines_pts.append( pts )
# Build fourth line of the left tire
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d,d,steer1,steer4,px3,py3)
lines_pts.append( pts )
# Build first line of the right tire
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d,d,steer1,steer2,px4,py4)
lines_pts.append( pts )
# Build second line of the right tire
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d,d,steer3,steer4,px4,py4)
lines_pts.append( pts )
# Build third line of the right tire
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d,d,steer2,steer3,px4,py4)
lines_pts.append( pts )
# Build first line of the right tire
pts = np.zeros((2,10))
pts[0,0],pts[0,1],pts[1,0],pts[1,1] = self.draw_line(d,d,steer1,steer4,px4,py4)
lines_pts.append( pts )
return lines_pts
##########################################################################
def draw_line(self, d1, d2, angle1, angle2, x, y):
x1 = x+d1*np.cos(angle1)
y1 = y+d1*np.sin(angle1)
x2 = x+d2*np.cos(angle2)
y2 = y+d2*np.sin(angle2)
return x1,y1,x2,y2
##############################################################################
class KinematicCarModelwithObstacles( KinematicCarModel ):
"""
Bicycle model of real sized car with non-allowable states
------------------------------------------------------------------------
length = 5 meters
Equations of Motion
-------------------------
dx = V cos ( phi )
dy = V sin ( phi )
dphi = V/l tan ( beta )
"""
############################
def __init__(self):
""" """
# initialize standard params
super().__init__()
# Labels
self.name = 'Kinematic Car Model with Obstacles'
self.obstacles = [
[ (-10, -1),(-5, 1)],
[ (-4, 2),(1, 4)],
[ (12, -1),(17, 1)]
]
#############################
def isavalidstate(self , x ):
""" check if x is in the state domain """
ans = False
for i in range(self.n):
ans = ans or ( x[i] < self.x_lb[i] )
ans = ans or ( x[i] > self.x_ub[i] )
for obs in self.obstacles:
on_obs = (( x[0] + self.lenght * 0.5 > obs[0][0]) and
( x[1] + self.width * 0.5 > obs[0][1]) and
( x[0] - self.lenght * 0.5 < obs[1][0]) and
( x[1] - self.width * 0.5 < obs[1][1]) )
ans = ans or on_obs
return not(ans)
###########################################################################
def forward_kinematic_lines(self, q ):
"""
Compute points p = [x;y;z] positions given config q
----------------------------------------------------
- points of interest for ploting
Outpus:
lines_pts = [] : a list of array (n_pts x 3) for each lines
"""
lines_pts = KinematicCarModel.forward_kinematic_lines(self, q )
###########################
# obstacles
###########################
for obs in self.obstacles:
pts = np.zeros((5,3))
pts[0,0] = obs[0][0]
pts[0,1] = obs[0][1]
pts[1,0] = obs[0][0]
pts[1,1] = obs[1][1]
pts[2,0] = obs[1][0]
pts[2,1] = obs[1][1]
pts[3,0] = obs[1][0]
pts[3,1] = obs[0][1]
pts[4,0] = obs[0][0]
pts[4,1] = obs[0][1]
lines_pts.append( pts )
return lines_pts
###########################################################################
##############################################################################
class UdeSRacecar( KinematicCarModelwithObstacles ):
"""
Bicycle model of a car with the parameter of UdeS-Racecar prototypes
"""
############################
def __init__(self):
""" """
# initialize standard params
super().__init__()
# Model param
self.width = 0.17
self.a = 0.17
self.b = 0.17
self.lenght = self.a + self.b
self.lenght_tire = 0.04
self.width_tire = 0.015
# Graphic output parameters
self.dynamic_domain = True
self.dynamic_range = self.lenght * 2
# Labels
self.name = 'Kinematic Bicyle Model of UdeS-Racecar'
self.obstacles = [
[( -1, -0.1), (-0.5, 0.1)],
[(-0.4, 0.2), ( 0.1, 0.4)],
[( 1.2, -0.1), ( 1.7, 0.1)]
]
'''
#################################################################
################## Main ########
#################################################################
'''
if __name__ == "__main__":
""" MAIN TEST """
sys = KinematicBicyleModel()
sys.ubar = np.array([2,-0.5])
sys.plot_trajectory()
#sys.animate_simulation()
sys = KinematicCarModelwithObstacles()
sys.ubar = np.array([2,-0.5])
sys.plot_trajectory()
#sys.animate_simulation()
sys = UdeSRacecar()
sys.ubar = np.array([2,-0.5])
sys.plot_trajectory()
#sys.animate_simulation()
sys = HolonomicMobileRobotwithObstacles()
sys.ubar = np.array([1,1])
sys.plot_trajectory()
sys.animate_simulation()
| 27.607076 | 91 | 0.350523 | 3,264 | 29,650 | 3.114277 | 0.075674 | 0.021643 | 0.012789 | 0.04181 | 0.822823 | 0.79577 | 0.763797 | 0.737334 | 0.720905 | 0.667782 | 0 | 0.054481 | 0.361754 | 29,650 | 1,074 | 92 | 27.607076 | 0.482668 | 0.183643 | 0 | 0.637002 | 0 | 0 | 0.019981 | 0 | 0 | 0 | 0 | 0.000931 | 0 | 1 | 0.065574 | false | 0 | 0.004684 | 0 | 0.135831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 |
d73f804733ec38f8eba0d99813add2235c470539 | 4,445 | py | Python | tests/lib/bes/text/test_comments.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | tests/lib/bes/text/test_comments.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | tests/lib/bes/text/test_comments.py | reconstruir/bes | 82ff54b2dadcaef6849d7de424787f1dedace85c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*-
from bes.testing.unit_test import unit_test
from bes.text.comments import comments
class test_comments(unit_test):
def test_strip_line(self):
self.assertEqual( 'foo ', comments.strip_line('foo #comment', ) )
self.assertEqual( 'foo', comments.strip_line('foo#comment') )
self.assertEqual( 'foo', comments.strip_line('foo #comment', strip_tail = True) )
self.assertEqual( ' foo', comments.strip_line(' foo #comment', strip_tail = True) )
self.assertEqual( 'foo ', comments.strip_line(' foo #comment', strip_head = True) )
def test_strip_line_allow_quoted(self):
self.assertEqual( 'ab "cd # ef"', comments.strip_line('ab "cd # ef"', allow_quoted = True) )
self.assertEqual( 'ab "cd # ef"', comments.strip_line('ab "cd # ef"#comment', allow_quoted = True) )
self.assertEqual( '', comments.strip_line('#ab "cd # ef"', allow_quoted = True) )
self.assertEqual( '"#"', comments.strip_line('"#"', allow_quoted = True) )
def test_strip_line_disallow_quoted(self):
self.assertEqual( 'ab "cd ', comments.strip_line('ab "cd # ef"', allow_quoted = False) )
self.assertEqual( 'ab "cd ', comments.strip_line('ab "cd # ef"#comment', allow_quoted = False) )
self.assertEqual( '', comments.strip_line('#ab "cd # ef"', allow_quoted = False) )
self.assertEqual( '"', comments.strip_line('"#"', allow_quoted = False) )
def test_strip_line_disallow_quoted_escaped(self):
self.assertEqual( 'ab "cd # ef"', comments.strip_line(r'ab "cd \# ef"', allow_quoted = False) )
self.assertEqual( 'ab "cd # ef"', comments.strip_line(r'ab "cd \# ef"#comment', allow_quoted = False) )
self.assertEqual( '', comments.strip_line('#ab "cd # ef"', allow_quoted = False) )
self.assertEqual( '"#"', comments.strip_line(r'"\#"', allow_quoted = False) )
def test_strip_line_with_strip(self):
self.assertEqual( 'foo', comments.strip_line('foo #comment', strip_tail = True) )
def test_strip_strip_in_lines(self):
text = '''
foo_# comment
# comment
bar
'''
expected = '''
foo_
bar
'''
self.assertMultiLineEqual( expected, comments.strip_in_lines(text) )
def test_strip_strip_in_lines_with_strip(self):
text = '''
foo # comment
# comment
bar
'''
expected = '''
foo
bar
'''
self.assertMultiLineEqual( expected, comments.strip_in_lines(text, strip_tail = True) )
def test_strip_strip_in_lines_remove_empties(self):
text = '''
foo_# comment
# comment
bar
'''
expected = '''foo_
bar'''
self.assertMultiLineEqual( expected, comments.strip_in_lines(text, remove_empties = True) )
def test_strip_muti_line_comment(self):
text = '''foo
bar
baz##[apple
kiwi
melon
lemon
]##peach
orange
'''
expected = '''foo
bar
bazpeach
orange
'''
self.assertMultiLineEqual( expected, comments.strip_muti_line_comment(text, '##[', ']##') )
def test_strip_muti_line_replace(self):
text = '''foo
bar
baz##[apple
kiwi
melon
lemon
]##peach
orange
'''
expected = '''foo
bar
baz
peach
orange
'''
self.assertMultiLineEqual( expected, comments.strip_muti_line_comment(text, '##[', ']##', replace = True) )
def test_strip_muti_line_comment_multiple_comments(self):
text = '''foo
bar
baz##[apple
kiwi
melon
lemon
]##peach
orange
cheese
##[burger
bacon
salad
wine
]##
hot dog
fries
'''
expected = '''foo
bar
bazpeach
orange
cheese
hot dog
fries
'''
actual = comments.strip_muti_line_comment(text, '##[', ']##')
self.assertMultiLineEqual( expected, actual )
def test_strip_muti_line_comment_replace_multiple_comments(self):
text = '''foo
bar
baz##[apple
kiwi
melon
lemon
]##peach
orange
cheese
##[burger
bacon
salad
wine
]##
hot dog
fries
'''
expected = '''foo
bar
baz
peach
orange
cheese
hot dog
fries
'''
actual = comments.strip_muti_line_comment(text, '##[', ']##', replace = True)
self.assertMultiLineEqual( expected, actual )
self.assertEqual( expected.count('\n'), actual.count('\n') )
def test_strip_muti_line_comment_commented_out(self):
text = '''foo
bar
baz
###[apple
kiwi
melon
lemon
#]##
peach
orange
'''
expected = text
self.assertMultiLineEqual( expected, comments.strip_muti_line_comment(text, '##[', ']##') )
if __name__ == '__main__':
unit_test.main()
| 22.563452 | 111 | 0.666592 | 564 | 4,445 | 5.012411 | 0.141844 | 0.119561 | 0.108242 | 0.063672 | 0.853555 | 0.832331 | 0.779979 | 0.732932 | 0.717722 | 0.661479 | 0 | 0.000823 | 0.179978 | 4,445 | 196 | 112 | 22.678571 | 0.77476 | 0.024522 | 0 | 0.719512 | 0 | 0 | 0.24827 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 1 | 0.079268 | false | 0 | 0.012195 | 0 | 0.097561 | 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 |
d75ecb5566636eef52a2615f1938b4c8b39cb02a | 34,891 | py | Python | test/test_get_coverage.py | ceos-seo/django-datacube-wcs | 250742947036763a95b19bdf132b2270d9bb5be9 | [
"Apache-2.0"
] | 7 | 2017-10-18T10:00:41.000Z | 2019-05-22T10:01:19.000Z | test/test_get_coverage.py | ceos-seo/django-datacube-wcs | 250742947036763a95b19bdf132b2270d9bb5be9 | [
"Apache-2.0"
] | null | null | null | test/test_get_coverage.py | ceos-seo/django-datacube-wcs | 250742947036763a95b19bdf132b2270d9bb5be9 | [
"Apache-2.0"
] | 4 | 2017-10-13T15:11:51.000Z | 2019-11-27T21:41:03.000Z | import unittest
import requests
from bs4 import BeautifulSoup
from .test_wcs_spec import TestWCSSpecification
class TestGetCoverage(TestWCSSpecification):
"""Responsible for testing the GetCoverage functionality of the WCS server
Reference:
https://cite.opengeospatial.org/teamengine/about/wcs/1.0.0/site/testreq.html#9-GetCoverage%20Operation
Some of these test cases have 100% overlap and are omitted - Things like valid version/valid crs/valid {other field}
all just expect all valid params and a valid response, so this is left out.
Other skipped tests:
wcs/1.0.0/getcoverage_operations/getcoverage_request/parameter/get/kvp/2
This test case directly conflicts with one of the general tests - any 'bogus' params are ignored, and should
not raise a service exception
"""
def test_missing_version(self):
"""
When a GetCoverage request is made without version, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'), msg="If no version is submitted then an exception should be returned.")
def test_invalid_version(self):
"""
When a GetCoverage request is made with an invalid version, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = 0.0.1
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "0.0.1",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'),
msg="If an invalid version is submitted then an exception should be returned.")
def test_missing_coverage(self):
"""
When a GetCoverage request is made without coverage, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(soup.find('ServiceException'), msg="If coverage is omitted, an exception should be returned.")
def test_valid_coverage(self):
"""
When a GetCoverage request is made with coverage=name and name is a valid coverage identifier, the server should
return a content (if other condition satisfied).
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
self.assertTrue(
response.headers['content-type'] == self.VAR_WCS_FORMAT_1_HEADER,
msg="A valid coverage request should have the correct headers as defined in the user settings of this test suite."
)
def test_invalid_coverage(self):
"""
When a GetCoverage request is made with coverage=name and name is not a valid coverage identifier, the server
returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = WCS_COVERAGE_NOT_DEFINED
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
'coverage': "asfasfasdfasf",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'),
msg="If an invalid coverage input is requested, an exception should be returned.")
def test_missing_crs(self):
"""
When a GetCoverage request is made without CRS, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(soup.find('ServiceException'), msg="If CRS is omitted, an exception should be returned.")
def test_unsupported_crs(self):
"""
When a GetCoverage request is made with a CRS and CRS value is not one of the requestResponseCRSs or requestCRSs
element under the requested coverage, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = WCS_CRS_NOT_IN_REQUEST_OR_REQUESTRESPONSE_CRS
BBOX = [[VAR_WCS_BBOX_1]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"BBOX": self.subset_bbox,
#obviously invalid
"CRS": "EPSG:456413215"
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'), msg="If an unsupported CRS is requested, an exception should be returned.")
def test_valid_response_crs(self):
"""
When a GetCoverage request is made with a valid RESPONSE_CRS, the server should return the requested content with this CRS.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = 1.0.0
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
RESPONSE_CRS = [[VAR_WCS_COVERAGE_1_RESPONSE_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Content-type header = [[VAR_WCS_FORMAT_1_HEADER]]
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"RESPONSE_CRS": self.response_crs if self.response_crs else self.request_response_crs,
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
self.assertTrue(
response.headers['content-type'] == self.VAR_WCS_FORMAT_1_HEADER,
msg="A valid CRS request shoud have the correct response content type as defined by the user inputs of this test suite."
)
def test_invalid_response_crs(self):
"""
When a GetCoverage request is made with an invalid RESPONSE_CRS, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = 1.0.0
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
RESPONSE_CRS = WCS_COVERAGE_RESPONSE_CRS_INVALID
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"RESPONSE_CRS": "EPSG:5464321385",
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'),
msg="If an invalid response CRS is requested an exception should be returned.")
def test_bbox_subset(self):
"""
When a GetCoverage request is made with a BBOX partly contained in the defined Bounding BOX, the server should
return the requested content.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
self.assertTrue(
response.headers['content-type'] == self.VAR_WCS_FORMAT_1_HEADER,
msg="Valid BBOX subset responses should have the correct response content type as defined by this test suite"
)
def test_invalid_bbox(self):
"""
When a GetCoverage request is made with a BBOX outside the defined Bounding BOX, the server returns service exception
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX_OUTSIDE]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
subset_bbox = list(map(lambda x: float(x), self.bbox.split(",")))
subset_bbox = [subset_bbox[2] + 1, subset_bbox[3] + 1, subset_bbox[2] + 10, subset_bbox[3] + 10]
subset_bbox = "{},{},{},{}".format(subset_bbox[0], subset_bbox[1], subset_bbox[2], subset_bbox[3])
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": subset_bbox
}
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(soup.find('ServiceException'), msg="Invalid BBOX requests should return an exception.")
def test_missing_bbox_time(self):
"""
When a GetCoverage request is made without a BBOX and without a TIME, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
}
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'), msg="If BBOX and TIME are both omitted, an exception should be returned.")
def test_time_position(self):
"""
The server advertises the timePosition.
When a GetCoverage request is made with a VALID TIME, the server should return the requested content
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = 1.0.0
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
TIME = [[VAR_WCS_COVERAGE_1_TIME]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Content-type header = [[VAR_WCS_FORMAT_1_HEADER
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
# this test is only applicable if the server advertises a time position
if self.time_position:
params['TIME'] = self.time_position
response = self.query_server(params)
self.assertTrue(
response.headers['content-type'] == self.VAR_WCS_FORMAT_1_HEADER,
msg="If a valid time position is submitted, the response should have the correct response content type as defined by this test suite."
)
def test_invalid_time(self):
"""
When a GetCoverage request is made with an invalid TIME, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
TIME = WCS_TIME_INVALID
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = "asdfasdfasfasdf"
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'), msg="If an invalid time is submitted an exception should be returned.")
def test_invalid_parameter_value(self):
"""
When a GetCoverage request is made with a PARAMETER name that is listed in the range set, but PARAMETER signed
a value that is not defined in AxisDescription, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
[[VAR_WCS_PARAMETER]] = WCS_PARAMETER_VALUE_INVALID
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = self.time_position
if self.parameter:
params[self.parameter] = "asdfasdfasdf"
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'),
msg="If an invalid parameter value is submitted, an exception should be returned.")
def test_correct_parameter(self):
"""
When a GetCoverage request is made with a PARAMETER name that is listed in the range set, PARAMETER signed
value that is defined in AxisDescription, the server should return the requested content.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = [[VAR_WCS_FORMAT_1]]
[[VAR_WCS_PARAMETER]] = [[VAR_WCS_PARAMETER_VALUE]]
Results:
Content-type header = [[VAR_WCS_COVERAGE_FORMAT
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = self.time_position
if self.parameter:
params[self.parameter] = self.parameter_value
response = self.query_server(params)
self.assertTrue(
response.headers['content-type'] == self.VAR_WCS_FORMAT_1_HEADER,
msg="If a correct parameter is submitted, the response should have the correct content-type as defined by this test suite."
)
def test_missing_grid_size(self):
"""
When a GetCoverage request is made without a specific grid size and without a grid resolution, the server returns service exception
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = [[VAR_WCS_VERSION]]
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'), msg="If grid sizing inputs are missing, an exception should be returned.")
def test_grid_resolution(self):
"""
When a GetCoverage request is made with a specific grid resolution, the server should return the requested content .
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = 1.0.0
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
RESX = [[VAR_WCS_COVERAGE_1_RESX]]
RESY = [[VAR_WCS_COVERAGE_1_RESY]]
FORMAT = [[VAR_WCS_FORMAT_1]]
Results:
Content-type header = [[VAR_WCS_FORMAT_1_HEADER]]
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"RESX": self.VAR_WCS_COVERAGE_1_RESX,
"RESY": self.VAR_WCS_COVERAGE_1_RESY,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = self.time_position
response = self.query_server(params)
self.assertTrue(
response.headers['content-type'] == self.VAR_WCS_FORMAT_1_HEADER,
msg="A request with a valid grid resolution should return a response with the correct content-type.")
def test_invalid_format(self):
"""
When a GetCoverage request is made with a FORMAT not listed in a supportedFormats/formats under the selected
coverage offering in the DescribeCoverage reply, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = 1.0.0
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
FORMAT = WCS_FORMAT_INVALID
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": "asdfasdfasdf",
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'),
msg="If an invalid format type is requested, an exception should be returned.")
def test_missing_format(self):
"""
When a GetCoverage request is made without a FORMAT, the server returns service exception.
Request#1:
SERVICE = WCS
VERSION = [[VAR_WCS_VERSION]]
REQUEST = DescribeCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
Request#2:
VERSION = 1.0.0
SERVICE = WCS
REQUEST = GetCoverage
COVERAGE = [[VAR_WCS_COVERAGE_1]]
CRS = [[VAR_WCS_COVERAGE_1_CRS]]
BBOX = [[VAR_WCS_COVERAGE_1_BBOX]]
WIDTH = [[VAR_WCS_COVERAGE_1_WIDTH]]
HEIGHT = [[VAR_WCS_COVERAGE_1_HEIGHT]]
Results:
Valid XML where /ServiceExceptionReport/ServiceException exists.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"CRS": self.request_crs,
"BBOX": self.subset_bbox
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(soup.find('ServiceException'), msg="If format is missing, an exception should be returned.")
# section 9.2.2.13 Exception doesn't make much sense... skipping
def test_valid_interpolation(self):
"""
When a GetCoverage request is made with an INTERPLOATIONMETHOD value that is listed in the CoverageDescription,
the server should return the requested content
The request/response docs here are jumbled/not formatted properly on the site.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox,
'INTERPOLATION': self.interpolations[0]
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = self.time_position
response = self.query_server(params)
self.assertTrue(
response.headers['content-type'] == self.VAR_WCS_FORMAT_1_HEADER,
msg="If a valid interpolation is submitted, the response should have the correct content-type.")
def test_invalid_interpolation(self):
"""
When a GetCoverage request is made with a FORMAT not listed in a supportedFormats/formats under the selected
coverage offering in the DescribeCoverage reply, the server returns service exception.
The request/response docs here are jumbled/not formatted properly on the site.
"""
params = {
'ReQuEsT': "GetCoverage",
'SeRvIcE': "WCS",
'version': "1.0.0",
"HEIGHT": self.VAR_WCS_COVERAGE_1_HEIGHT,
"WIDTH": self.VAR_WCS_COVERAGE_1_WIDTH,
"COVERAGE": self.name,
"FORMAT": self.request_format,
"CRS": self.request_crs,
"BBOX": self.subset_bbox,
'INTERPOLATION': "asdfasdfasdf"
}
# this test is only applicable if the server advertises a time position
if self.time_position:
# clearly not a valid time
params['TIME'] = self.time_position
response = self.query_server(params)
soup = BeautifulSoup(response.text, 'xml')
self.assertTrue(
soup.find('ServiceException'),
msg="If an invalid interpolation is submitted, an exception should be returned.")
| 37.760823 | 150 | 0.57992 | 3,809 | 34,891 | 5.072985 | 0.056183 | 0.062413 | 0.102883 | 0.109455 | 0.886301 | 0.87859 | 0.867412 | 0.851938 | 0.838534 | 0.811572 | 0 | 0.014539 | 0.327792 | 34,891 | 923 | 151 | 37.801733 | 0.809329 | 0.407698 | 0 | 0.773171 | 0 | 0.007317 | 0.219848 | 0 | 0 | 0 | 0 | 0 | 0.053659 | 1 | 0.053659 | false | 0 | 0.009756 | 0 | 0.065854 | 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 |
ad286e596cedee30c1edab3637fd6a450092928b | 77 | py | Python | pypacktest/__init__.py | achabrier/pypacktest | 23050af619918ed4fb912cb650e26a4d6ace9431 | [
"MIT"
] | null | null | null | pypacktest/__init__.py | achabrier/pypacktest | 23050af619918ed4fb912cb650e26a4d6ace9431 | [
"MIT"
] | null | null | null | pypacktest/__init__.py | achabrier/pypacktest | 23050af619918ed4fb912cb650e26a4d6ace9431 | [
"MIT"
] | null | null | null | def dotest():
return (u'This is a test. '
u'This is OK.')
| 19.25 | 31 | 0.467532 | 12 | 77 | 3 | 0.75 | 0.277778 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.38961 | 77 | 4 | 32 | 19.25 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
ad2d14e0ba1d54f60720da69eccc278fa8ed89d8 | 11,784 | py | Python | tests/test_selenium.py | word-killers/mark2down | bd428952bee2333ef056a253dfb0d461a073be00 | [
"MIT"
] | 3 | 2016-02-24T09:28:37.000Z | 2016-11-21T12:16:18.000Z | tests/test_selenium.py | word-killers/mark2down | bd428952bee2333ef056a253dfb0d461a073be00 | [
"MIT"
] | 47 | 2016-02-26T12:11:59.000Z | 2020-04-29T22:49:02.000Z | tests/test_selenium.py | word-killers/mark2down | bd428952bee2333ef056a253dfb0d461a073be00 | [
"MIT"
] | 3 | 2016-02-25T09:04:31.000Z | 2017-05-05T14:51:00.000Z | import unittest
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
class PythonOrgSearch(unittest.TestCase):
def setUp(self):
self.driver = webdriver.PhantomJS() # executable_path='node_modules/phantomjs/lib/phantom/bin/phantomjs')
# self.driver = webdriver.Firefox()
self.driver.set_window_size(1024, 768)
# self.driver.get("http://localhost:8080")
self.driver.get('https://mark2down.herokuapp.com/')
""" don't work with phantomJS
def test_mermaid_render_1(self):
driver = self.driver
driver.find_element_by_id("editor").clear()
driver.find_element_by_id("editor").send_keys("```graph\ngraph LR\n A --- B\n```")
wait = WebDriverWait(driver, 20)
wait.until(lambda driver: driver.find_element_by_id('documentView'))
preview = driver.find_element_by_id('documentView')
self.assertEqual("<div><div class=\"mermaid\">graph LR\n A --- B\n</div>\n</div>", preview.get_attribute("innerHTML"))
def test_mermaid_render_2(self):
driver = self.driver
driver.find_element_by_id("editor").clear()
driver.find_element_by_id("editor").send_keys("```graph\ngraph LR\n A --- B\n```")
driver.find_element_by_id('mermaidBtn').click()
wait = WebDriverWait(driver, 20)
wait.until(lambda driver: driver.find_element_by_id('documentView'))
preview = driver.find_element_by_id('documentView')
self.assertTrue(preview.find_element_by_tag_name('svg') is not None)
"""
def test_graph_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnGraph')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("```graph\n\n```", driver.find_element_by_id("editor").get_attribute('value'))
def test_table_btn(self):
driver = self.driver
btn = driver.find_element_by_id('tableButton')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertTrue(driver.find_element_by_id('dialog').is_displayed())
def test_H1_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnH1')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("# ", driver.find_element_by_id("editor").get_attribute('value'))
def test_H2_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnH2')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("## ", driver.find_element_by_id("editor").get_attribute('value'))
def test_H3_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnH3')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("### ", driver.find_element_by_id("editor").get_attribute('value'))
def test_H4_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnH4')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("#### ", driver.find_element_by_id("editor").get_attribute('value'))
def test_H5_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnH5')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("##### ", driver.find_element_by_id("editor").get_attribute('value'))
def test_H6_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnH6')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("###### ", driver.find_element_by_id("editor").get_attribute('value'))
def test_bold_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnBold')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("++ ++", driver.find_element_by_id("editor").get_attribute('value'))
def test_italic_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnItalic')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("~~ ~~", driver.find_element_by_id("editor").get_attribute('value'))
def test_underline_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnUnderline')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("__ __", driver.find_element_by_id("editor").get_attribute('value'))
def test_strikeThrough_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnStrikeThrough')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("-- --", driver.find_element_by_id("editor").get_attribute('value'))
def test_typeWriting_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnTypewriting')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("``` ```", driver.find_element_by_id("editor").get_attribute('value'))
def test_alignLeft_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnAlignLeft')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("{{\n", driver.find_element_by_id("editor").get_attribute('value'))
def test_alignCenter_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnAlignCenter')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("}{\n", driver.find_element_by_id("editor").get_attribute('value'))
def test_alignBlock_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnAlignBlock')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("{}\n", driver.find_element_by_id("editor").get_attribute('value'))
def test_alignRight_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnAlignRight')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("}}\n", driver.find_element_by_id("editor").get_attribute('value'))
def test_cislovanySeznam_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnNumerate')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("1. ", driver.find_element_by_id("editor").get_attribute('value'))
def test_odrazkovySeznam_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnList')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("- ", driver.find_element_by_id("editor").get_attribute('value'))
def test_include_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnInclude')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("{! !}", driver.find_element_by_id("editor").get_attribute('value'))
def test_image_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnImage')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("",
driver.find_element_by_id("editor").get_attribute('value'))
def test_code_btn(self):
driver = self.driver
btn = driver.find_element_by_id('btnCode')
self.assertTrue(btn.is_displayed())
btn.click()
self.assertEqual("```\n\t\n```", driver.find_element_by_id("editor").get_attribute('value'))
def test_preview_btn(self):
driver = self.driver
btn = driver.find_element_by_id('previewOpen')
self.assertTrue(btn.is_displayed())
btn.click()
wait = WebDriverWait(driver, 5)
wait.until(EC.visibility_of(driver.find_element_by_id('previewDialog')))
self.assertTrue(driver.find_element_by_id('previewDialog').is_displayed())
def test_toc(self):
driver = self.driver
driver.find_element_by_id('contentBtn').click()
self.assertTrue('block' in driver.find_element_by_id('toc').get_attribute("style"))
self.assertFalse('block' in driver.find_element_by_id('comments').get_attribute("style"))
self.assertFalse('block' in driver.find_element_by_id('repository').get_attribute("style"))
def test_comments(self):
driver = self.driver
driver.find_element_by_id('commentsBtn').click()
self.assertTrue('block' in driver.find_element_by_id('comments').get_attribute("style"))
self.assertFalse('block' in driver.find_element_by_id('toc').get_attribute("style"))
self.assertFalse('block' in driver.find_element_by_id('repository').get_attribute("style"))
def test_repository(self):
driver = self.driver
driver.find_element_by_id('fileBtn').click()
self.assertTrue('block' in driver.find_element_by_id('repository').get_attribute("style"))
self.assertFalse('block' in driver.find_element_by_id('toc').get_attribute("style"))
self.assertFalse('block' in driver.find_element_by_id('comments').get_attribute("style"))
def test_table_del_row(self):
driver = self.driver
driver.find_element_by_id('tableButton').click()
self.assertTrue(driver.find_element_by_id('dialog').is_displayed())
table = driver.find_element_by_id('table')
self.assertTrue(table.is_displayed())
rows = len(table.find_elements_by_tag_name('tr'))
driver.find_element_by_id('dialog').parent.find_element_by_xpath("//*[contains(text(), 'Del Row')]").click()
self.assertEqual(rows-1, len(table.find_elements_by_tag_name('tr')))
def test_table_add_row(self):
driver = self.driver
driver.find_element_by_id('tableButton').click()
self.assertTrue(driver.find_element_by_id('dialog').is_displayed())
table = driver.find_element_by_id('table')
self.assertTrue(table.is_displayed())
rows = len(table.find_elements_by_tag_name('tr'))
driver.find_element_by_id('dialog').parent.find_element_by_xpath("//*[contains(text(), 'Add Row')]").click()
self.assertEqual(rows + 1, len(table.find_elements_by_tag_name('tr')))
def test_table_del_col(self):
driver = self.driver
driver.find_element_by_id('tableButton').click()
self.assertTrue(driver.find_element_by_id('dialog').is_displayed())
table = driver.find_element_by_id('table')
self.assertTrue(table.is_displayed())
cols = len(table.find_elements_by_tag_name('td'))/len(table.find_elements_by_tag_name('tr'))
driver.find_element_by_id('dialog').parent.find_element_by_xpath("//*[contains(text(), 'Del Col')]").click()
new_cols = len(table.find_elements_by_tag_name('td'))/len(table.find_elements_by_tag_name('tr'))
self.assertEqual(cols - 1, new_cols)
def test_table_add_col(self):
driver = self.driver
driver.find_element_by_id('tableButton').click()
self.assertTrue(driver.find_element_by_id('dialog').is_displayed())
table = driver.find_element_by_id('table')
self.assertTrue(table.is_displayed())
cols = len(table.find_elements_by_tag_name('td')) / len(table.find_elements_by_tag_name('tr'))
driver.find_element_by_id('dialog').parent.find_element_by_xpath("//*[contains(text(), 'Add Col')]").click()
new_cols = len(table.find_elements_by_tag_name('td')) / len(table.find_elements_by_tag_name('tr'))
self.assertEqual(cols + 1, new_cols)
def tearDown(self):
self.driver.close()
| 43.323529 | 129 | 0.665224 | 1,507 | 11,784 | 4.894492 | 0.108825 | 0.132728 | 0.15686 | 0.216377 | 0.8407 | 0.838937 | 0.828227 | 0.818601 | 0.814398 | 0.776979 | 0 | 0.003781 | 0.191955 | 11,784 | 271 | 130 | 43.483395 | 0.770846 | 0.01205 | 0 | 0.504808 | 0 | 0 | 0.103432 | 0 | 0 | 0 | 0 | 0 | 0.322115 | 1 | 0.153846 | false | 0 | 0.019231 | 0 | 0.177885 | 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 |
ad332ef94e6afe999e1deaf4175b3ce6767b93ed | 91,467 | py | Python | tests/offload_array_tests.py | 01org/pyMIC | f775239a208dc1daaf89451af06e0138b80099e9 | [
"BSD-3-Clause"
] | 38 | 2015-01-15T05:24:20.000Z | 2017-07-12T08:03:44.000Z | tests/offload_array_tests.py | 01org/pyMIC | f775239a208dc1daaf89451af06e0138b80099e9 | [
"BSD-3-Clause"
] | 15 | 2015-02-17T12:04:50.000Z | 2017-01-13T06:26:17.000Z | tests/offload_array_tests.py | 01org/pyMIC | f775239a208dc1daaf89451af06e0138b80099e9 | [
"BSD-3-Clause"
] | 16 | 2015-02-17T01:00:30.000Z | 2017-09-23T03:52:40.000Z | #!/usr/bin/python
# Copyright (c) 2014-2016, Intel Corporation All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import sys
import unittest
import numpy
import pymic
from helper import skipNoDevice
from helper import get_library
epsilon = 0.0000000001
cutoff_value = 16777215
class OffloadArrayTest(unittest.TestCase):
"""This class defines the test cases for the OffloadArray class."""
def assertEqualEpsilon(self, first, second, msg=None):
"""Test equal for floating point with deviation."""
def epsilonCompare(value):
return abs(value) <= epsilon
comparison = map(epsilonCompare, (first - second))
return self.assertTrue(all(comparison), msg)
@skipNoDevice
def test_bind_int(self):
"""Test if a Numpy array is correctly bound and transferred to the
target device."""
device = pymic.devices[0]
stream = device.get_default_stream()
library = get_library(device, "libtests.so")
pattern = int(0xdeadbeefabbaabba)
a = numpy.empty((4711 * 1024,), dtype=int)
a[:] = pattern
offl_a = stream.bind(a)
r = numpy.empty((1,), dtype=int)
offl_r = stream.bind(r)
stream.invoke(library.test_check_pattern,
offl_a, offl_a.size, offl_r, pattern)
offl_r.update_host()
stream.sync()
self.assertEqual(r[0], a.shape[0])
@skipNoDevice
def test_update_host(self):
"""Test if a Numpy array is correctly updated from the target."""
device = pymic.devices[0]
stream = device.get_default_stream()
library = get_library(device, "libtests.so")
a = numpy.empty((4711 * 1024,), dtype=int)
a_expect = numpy.empty_like(a)
pattern = int(0xdeadbeefabbaabba)
a_expect[:] = pattern
offl_a = stream.bind(a)
stream.invoke(library.test_set_pattern, offl_a, offl_a.size, pattern)
offl_a.update_host()
stream.sync()
self.assertTrue((a == a_expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, a_expect))
@skipNoDevice
def test_update_device(self):
"""Test if a Numpy array is correctly updated on the target."""
device = pymic.devices[0]
stream = device.get_default_stream()
library = get_library(device, "libtests.so")
a = numpy.empty((4711 * 1024,), dtype=int)
a_expect = numpy.empty_like(a)
pattern = int(0xdeadbeefabbaabba)
offl_a = stream.bind(a)
r = numpy.empty((1,), dtype=int)
offl_r = stream.bind(r)
a[:] = pattern
offl_a.update_device()
stream.invoke(library.test_check_pattern,
offl_a, offl_a.size, offl_r, pattern)
offl_r.update_host()
stream.sync()
self.assertEqual(r[0], a.shape[0])
@skipNoDevice
def test_op_add_scalar_int(self):
"""Test __add__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
s = 1
old = numpy.empty_like(a)
old[:] = a[:]
expect = a + s
offl_a = stream.bind(a)
offl_r = offl_a + s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_add_offload_array_int(self):
"""Test __add__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a + offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_add_array_int(self):
"""Test __add__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_r = offl_a + o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_add_scalar_float(self):
"""Test __add__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
s = 1.3
old = numpy.empty_like(a)
old[:] = a[:]
expect = a + s
offl_a = stream.bind(a)
offl_r = offl_a + s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_add_offload_array_float(self):
"""Test __add__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
o = a + 1.0
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a + offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_add_array_float(self):
"""Test __add__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
o = a + 1.0
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_r = offl_a + o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_add_scalar_complex(self):
"""Test __add__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
s = complex(1.2, -1.3)
old = numpy.empty_like(a)
old[:] = a[:]
expect = a + s
offl_a = stream.bind(a)
offl_r = offl_a + s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_add_offload_array_complex(self):
"""Test __add__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
o = a + complex(1.0, -1.3)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a + offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_add_array_complex(self):
"""Test __add__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
o = a + complex(1.2, -1.5)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_r = offl_a + o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_scalar_int(self):
"""Test __iadd__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
s = 1
old = numpy.empty_like(a)
old[:] = a[:]
expect = a + s
offl_a = stream.bind(a)
offl_a += s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_offload_array_int(self):
"""Test __iadd__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a += offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_array_int(self):
"""Test __iadd__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a += o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_scalar_float(self):
"""Test __iadd__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
s = 1.3
old = numpy.empty_like(a)
old[:] = a[:]
expect = a + s
offl_a = stream.bind(a)
offl_a += s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_offload_array_float(self):
"""Test __iadd__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
o = a + 1.3
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a += offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_array_float(self):
"""Test __iadd__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
o = a + 1.3
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a += o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_scalar_complex(self):
"""Test __iadd__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
s = complex(1.2, -1.3)
old = numpy.empty_like(a)
old[:] = a[:]
expect = a + s
offl_a = stream.bind(a)
offl_a += s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_offload_array_complex(self):
"""Test __iadd__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
o = a + complex(1.2, -1.3)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a += offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_iadd_array_complex(self):
"""Test __iadd__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
o = a + complex(1.2, -1.3)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a + o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a += o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_scalar_int(self):
"""Test __sub__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
s = 1
old = numpy.empty_like(a)
old[:] = a[:]
expect = a - s
offl_a = stream.bind(a)
offl_r = offl_a - s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_offload_array_int(self):
"""Test __sub__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a - offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_array_int(self):
"""Test __sub__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_r = offl_a - o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_scalar_float(self):
"""Test __sub__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
s = 1.3
old = numpy.empty_like(a)
old[:] = a[:]
expect = a - s
offl_a = stream.bind(a)
offl_r = offl_a - s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_offload_array_float(self):
"""Test __sub__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
o = a + 1.0
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a - offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_array_float(self):
"""Test __sub__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
o = a + 1.0
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_r = offl_a - o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_scalar_complex(self):
"""Test __sub__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
s = complex(1.3, 1.3)
old = numpy.empty_like(a)
old[:] = a[:]
expect = a - s
offl_a = stream.bind(a)
offl_r = offl_a - s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_offload_array_complex(self):
"""Test __sub__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
o = a + complex(1.3, -1.7)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a - offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_sub_array_complex(self):
"""Test __sub__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
o = a + complex(1.3, -1.4)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_r = offl_a - o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_scalar_int(self):
"""Test __isub__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
s = 1
old = numpy.empty_like(a)
old[:] = a[:]
expect = a - s
offl_a = stream.bind(a)
offl_a -= s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_offload_array_int(self):
"""Test __isub__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a -= offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_array_int(self):
"""Test __isub__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a -= o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_scalar_float(self):
"""Test __isub__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
s = 1.3
old = numpy.empty_like(a)
old[:] = a[:]
expect = a - s
offl_a = stream.bind(a)
offl_a -= s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_offload_array_float(self):
"""Test __isub__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
o = a + 1.3
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a -= offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_array_float(self):
"""Test __isub__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
o = a + 1.3
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a -= o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_scalar_complex(self):
"""Test __isub__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
s = complex(1.2, -1.3)
old = numpy.empty_like(a)
old[:] = a[:]
expect = a - s
offl_a = stream.bind(a)
offl_a -= s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_offload_array_complex(self):
"""Test __isub__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
o = a + complex(1.2, -1.3)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a -= offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_isub_array_complex(self):
"""Test __isub__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
o = a + complex(1.2, -1.3)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a - o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a -= o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_scalar_int(self):
"""Test __mul__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
s = 1
old = numpy.empty_like(a)
old[:] = a[:]
expect = a * s
offl_a = stream.bind(a)
offl_r = offl_a * s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_offload_array_int(self):
"""Test __mul__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a * offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_array_int(self):
"""Test __mul__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_r = offl_a * o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_scalar_float(self):
"""Test __mul__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
s = 1.3
old = numpy.empty_like(a)
old[:] = a[:]
expect = a * s
offl_a = stream.bind(a)
offl_r = offl_a * s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_offload_array_float(self):
"""Test __mul__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
o = a + 1.0
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a * offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_array_float(self):
"""Test __mul__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
o = a + 1.0
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_r = offl_a * o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_scalar_complex(self):
"""Test __mul__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
s = complex(1.3, 1.4)
old = numpy.empty_like(a)
old[:] = a[:]
expect = a * s
offl_a = stream.bind(a)
offl_r = offl_a * s
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_offload_array_complex(self):
"""Test __mul__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
o = a + complex(-1.7, +1.7)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = offl_a * offl_o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_mul_array_complex(self):
"""Test __mul__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
o = a + complex(-1.6, -2.2)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_r = offl_a * o
offl_a.update_host()
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_scalar_int(self):
"""Test __imul__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
s = 2
old = numpy.empty_like(a)
old[:] = a[:]
expect = a * s
offl_a = stream.bind(a)
offl_a *= s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_offload_array_int(self):
"""Test __imul__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a *= offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_array_int(self):
"""Test __imul__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
o = a + 1
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a *= o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_scalar_float(self):
"""Test __imul__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
s = 1.3
old = numpy.empty_like(a)
old[:] = a[:]
expect = a * s
offl_a = stream.bind(a)
offl_a *= s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_offload_array_float(self):
"""Test __imul__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
o = a + 1.3
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a *= offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_array_float(self):
"""Test __imul__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
o = a + 1.3
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a *= o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_scalar_complex(self):
"""Test __imul__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
s = complex(1.2, -1.3)
old = numpy.empty_like(a)
old[:] = a[:]
expect = a * s
offl_a = stream.bind(a)
offl_a *= s
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old).all(),
"Input array operand must be modified: "
"{0} should be {1}".format(r, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_offload_array_complex(self):
"""Test __imul__ operation of OffloadArray with OffloadArray
operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
o = a + complex(1.2, -1.3)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a *= offl_o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_imul_array_complex(self):
"""Test __imul__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
o = a + complex(1.2, -1.3)
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = a * o
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_a *= o
offl_a.update_host()
r = offl_a.array
stream.sync()
self.assertTrue((r != old_a).all(),
"Array operand must be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_scalar_int(self):
"""Test __pow__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
s = 2
old = numpy.empty_like(a)
old[:] = a[:]
cutoff = numpy.empty_like(a)
cutoff[:] = cutoff_value
expect = numpy.minimum(pow(a, s), cutoff)
offl_a = stream.bind(a)
offl_r = pow(offl_a, s)
r = offl_r.update_host().array
stream.sync()
r = numpy.minimum(r, cutoff)
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_offload_array_int(self):
"""Test __pow__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=int)
o = numpy.empty_like(a)
o[:] = 2
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
cutoff = numpy.empty_like(a)
cutoff[:] = cutoff_value
expect = numpy.minimum(pow(a, o), cutoff)
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = pow(offl_a, offl_o)
r = offl_r.update_host().array
stream.sync()
r = numpy.minimum(r, cutoff)
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_array_int(self):
"""Test __pow__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=int)
o = numpy.empty_like(a)
o[:] = 2
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
cutoff = numpy.empty_like(a)
cutoff[:] = cutoff_value
expect = numpy.minimum(pow(a, o), cutoff)
offl_a = stream.bind(a)
offl_r = pow(offl_a, o)
r = offl_r.update_host().array
stream.sync()
r = numpy.minimum(r, cutoff)
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_scalar_float(self):
"""Test __pow__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
s = 0.7
old = numpy.empty_like(a)
old[:] = a[:]
expect = pow(a, s)
offl_a = stream.bind(a)
offl_r = pow(offl_a, s)
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertEqualEpsilon(r, expect,
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_offload_array_float(self):
"""Test __pow__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
o = 1 / a
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = pow(a, o)
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = pow(offl_a, offl_o)
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertEqualEpsilon(r, expect,
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_array_float(self):
"""Test __pow__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
o = 1 / a
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = pow(a, o)
offl_a = stream.bind(a)
offl_r = pow(offl_a, o)
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertEqualEpsilon(r, expect,
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_scalar_complex(self):
"""Test __pow__ operation of OffloadArray with scalar operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
s = complex(0.7, 0.6)
old = numpy.empty_like(a)
old[:] = a[:]
expect = pow(a, s)
offl_a = stream.bind(a)
offl_r = pow(offl_a, s)
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old).all(),
"Input array operand must not be modified: "
"{0} should be {1}".format(a, old))
self.assertEqualEpsilon(r, expect,
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_offload_array_complex(self):
"""Test __pow__ operation of OffloadArray with OffloadArray operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
o = 1 / a
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = pow(a, o)
offl_a = stream.bind(a)
offl_o = stream.bind(o)
offl_r = pow(offl_a, offl_o)
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertEqualEpsilon(r, expect,
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_pow_array_complex(self):
"""Test __pow__ operation of OffloadArray with array operand."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
o = 1 / a
old_a = numpy.empty_like(a)
old_o = numpy.empty_like(o)
old_a[:] = a[:]
old_o[:] = o[:]
expect = pow(a, o)
offl_a = stream.bind(a)
offl_r = pow(offl_a, o)
r = offl_r.update_host().array
stream.sync()
self.assertEqual(r.shape, a.shape)
self.assertEqual(r.dtype, a.dtype)
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((o == old_o).all(),
"Input array operand 2 must not be modified: "
"{0} should be {1}".format(o, old_o))
self.assertEqualEpsilon(r, expect,
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_abs_offload_array_int(self):
"""Test __abs__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
a[:] = a[:] * -1
old_a = numpy.empty_like(a)
old_a[:] = a[:]
expect = abs(a)
offl_a = stream.bind(a)
offl_r = abs(offl_a)
r = offl_r.update_host().array
stream.sync()
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_abs_offload_array_float(self):
"""Test __abs__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
a[:] = a[:] * -1.0
old_a = numpy.empty_like(a)
old_a[:] = a[:]
expect = abs(a)
offl_a = stream.bind(a)
offl_r = abs(offl_a)
r = offl_r.update_host().array
stream.sync()
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_abs_offload_array_complex(self):
"""Test __abs__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
old_a = numpy.empty_like(a)
old_a[:] = a[:]
expect = abs(a)
offl_a = stream.bind(a)
offl_r = abs(offl_a)
r = offl_r.update_host().array
stream.sync()
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(r, expect))
@skipNoDevice
def test_op_zero_int(self):
"""Test zero operation of OffloadArray with integer data."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
offl_a = stream.bind(a)
offl_a.zero()
offl_a.update_host()
stream.sync()
self.assertEqual(sum(a), 0,
"Array should be all zeros.")
@skipNoDevice
def test_op_zero_float(self):
"""Test zero operation of OffloadArray with float data."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
offl_a = stream.bind(a)
offl_a.zero()
offl_a.update_host()
stream.sync()
self.assertEqual(sum(a), 0.0,
"Array should be all zeros.")
@skipNoDevice
def test_op_zero_complex(self):
"""Test zero operation of OffloadArray with complex data."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
offl_a = stream.bind(a)
offl_a.zero()
offl_a.update_host()
stream.sync()
self.assertEqual(sum(a), 0.0 + 0.0j,
"Array should be all zeros.")
@skipNoDevice
def test_op_one_int(self):
"""Test one operation of OffloadArray with integer data."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
offl_a = stream.bind(a)
offl_a.one()
offl_a.update_host()
stream.sync()
self.assertTrue((a == 1).all(),
"Array should be all one." + str(a))
@skipNoDevice
def test_op_one_float(self):
"""Test one operation of OffloadArray with float data."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
offl_a = stream.bind(a)
offl_a.one()
offl_a.update_host()
stream.sync()
self.assertTrue((a == 1.0).all(),
"Array should be all one." + str(a))
@skipNoDevice
def test_op_one_complex(self):
"""Test one operation of OffloadArray with float data."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
offl_a = stream.bind(a)
offl_a.one()
offl_a.update_host()
stream.sync()
self.assertTrue((a == complex(1.0, 0.0)).all(),
"Array should be all one." + str(a))
@skipNoDevice
def test_op_fill_int(self):
"""Test fill operation of OffloadArray with integer data."""
device = pymic.devices[0]
stream = device.get_default_stream()
value = 73422137
a = numpy.arange(1, 4711 * 1024, dtype=int)
expect = numpy.empty_like(a)
expect[:] = value
offl_a = stream.bind(a)
offl_a.fill(value)
offl_a.update_host()
stream.sync()
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_fill_float(self):
"""Test fill operation of OffloadArray with float data."""
device = pymic.devices[0]
stream = device.get_default_stream()
value = 7342.2137
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
expect = numpy.empty_like(a)
expect[:] = value
offl_a = stream.bind(a)
offl_a.fill(value)
offl_a.update_host()
stream.sync()
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_fill_complex(self):
"""Test fill operation of OffloadArray with complex data."""
device = pymic.devices[0]
stream = device.get_default_stream()
value = complex(7342.0, -2137.0)
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
expect = numpy.empty_like(a)
expect[:] = value
offl_a = stream.bind(a)
offl_a.fill(value)
offl_a.update_host()
stream.sync()
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_fillfrom_int(self):
"""Test fillform operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
offl_r = stream.empty_like(a)
offl_r.fillfrom(a)
r = offl_r.update_host().array
stream.sync()
self.assertTrue((a == r).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, r))
@skipNoDevice
def test_op_fillfrom_float(self):
"""Test fillform operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
offl_r = stream.empty_like(a)
offl_r.fillfrom(a)
r = offl_r.update_host().array
stream.sync()
self.assertTrue((a == r).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, r))
@skipNoDevice
def test_op_fillfrom_complex(self):
"""Test fillform operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
offl_r = stream.empty_like(a)
offl_r.fillfrom(a)
offl_r.update_host()
stream.sync()
r = offl_r.array
self.assertTrue((a == r).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, r))
@skipNoDevice
def test_op_reverse_int(self):
"""Test reverse operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
old_a = numpy.empty_like(a)
old_a[:] = a[:]
expect = numpy.array(a[::-1])
offl_a = stream.bind(a)
offl_r = offl_a.reverse()
r = offl_r.update_host().array
stream.sync()
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, r))
@skipNoDevice
def test_op_reverse_float(self):
"""Test reverse operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=float)
old_a = numpy.empty_like(a)
old_a[:] = a[:]
expect = numpy.array(a[::-1])
offl_a = stream.bind(a)
offl_r = offl_a.reverse()
r = offl_r.update_host().array
stream.sync()
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, r))
@skipNoDevice
def test_op_reverse_complex(self):
"""Test reverse operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1.0, 4711.0 * 1024, dtype=complex)
old_a = numpy.empty_like(a)
old_a[:] = a[:]
expect = numpy.array(a[::-1])
offl_a = stream.bind(a)
offl_r = offl_a.reverse()
offl_r.update_host()
stream.sync()
r = offl_r.array
self.assertTrue((a == old_a).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_a))
self.assertTrue((r == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, r))
@skipNoDevice
def test_op_setslice_scalar_int(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
b = -1
expect = numpy.empty_like(a)
expect[:] = b
offl_a = stream.bind(a)
offl_a[:] = b
offl_a.update_host()
stream.sync()
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_setslice_scalar_float(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
b = 2.5
expect = numpy.empty_like(a)
expect[:] = b
offl_a = stream.bind(a)
offl_a[:] = b
offl_a.update_host()
stream.sync()
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_setslice_scalar_complex(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
b = 1.0 + 1.7j
expect = numpy.empty_like(a)
expect[:] = b
offl_a = stream.bind(a)
offl_a[:] = b
offl_a.update_host()
stream.sync()
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_setslice_array_int(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
b = a * -1
expect = numpy.empty_like(b)
old_b = numpy.empty_like(b)
expect[:] = b[:]
old_b[:] = b[:]
offl_a = stream.bind(a)
offl_a[:] = b
offl_a.update_host()
stream.sync()
self.assertTrue((b == old_b).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_b))
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_setslice_array_float(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
b = a + 2.5
expect = numpy.empty_like(b)
old_b = numpy.empty_like(b)
expect[:] = b[:]
old_b[:] = b[:]
offl_a = stream.bind(a)
offl_a[:] = b
offl_a.update_host()
stream.sync()
self.assertTrue((b == old_b).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_b))
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_setslice_array_complex(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
b = a + 2.5j
expect = numpy.empty_like(b)
old_b = numpy.empty_like(b)
expect[:] = b[:]
old_b[:] = b[:]
offl_a = stream.bind(a)
offl_a[:] = b
offl_a.update_host()
stream.sync()
self.assertTrue((b == old_b).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_b))
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_setslice_offload_array_int(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=int)
b = a * -1
expect = numpy.empty_like(b)
old_b = numpy.empty_like(b)
expect[:] = b[:]
old_b[:] = b[:]
offl_a = stream.bind(a)
offl_b = stream.bind(b)
offl_a[:] = offl_b
offl_a.update_host()
stream.sync()
self.assertTrue((b == old_b).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_b))
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_setslice_offload_array_float(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=float)
b = a + 2.5
expect = numpy.empty_like(b)
old_b = numpy.empty_like(b)
expect[:] = b[:]
old_b[:] = b[:]
offl_a = stream.bind(a)
offl_b = stream.bind(b)
offl_a[:] = offl_b
offl_a.update_host()
stream.sync()
self.assertTrue((b == old_b).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_b))
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
@skipNoDevice
def test_op_setslice_offload_array_complex(self):
"""Test __setslice__ operation of OffloadArray."""
device = pymic.devices[0]
stream = device.get_default_stream()
a = numpy.arange(1, 4711 * 1024, dtype=complex)
b = a + 2.5j
expect = numpy.empty_like(b)
old_b = numpy.empty_like(b)
expect[:] = b[:]
old_b[:] = b[:]
offl_a = stream.bind(a)
offl_b = stream.bind(b)
offl_a[:] = offl_b
offl_a.update_host()
stream.sync()
self.assertTrue((b == old_b).all(),
"Input array operand 1 must not be modified: "
"{0} should be {1}".format(a, old_b))
self.assertTrue((a == expect).all(),
"Array contains unexpected values: "
"{0} should be {1}".format(a, expect))
| 34.87114 | 79 | 0.522822 | 11,421 | 91,467 | 4.01471 | 0.02189 | 0.030969 | 0.039649 | 0.044055 | 0.960896 | 0.958497 | 0.956752 | 0.954942 | 0.950711 | 0.942554 | 0 | 0.02903 | 0.349973 | 91,467 | 2,622 | 80 | 34.884439 | 0.742162 | 0.076235 | 0 | 0.933656 | 0 | 0 | 0.135443 | 0 | 0 | 0 | 0.000644 | 0 | 0.13753 | 1 | 0.046005 | false | 0 | 0.002906 | 0.000484 | 0.050363 | 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 |
ad8f6e57cf170c63a151edbe980e1629095bf2a8 | 112 | py | Python | neural_fingerprint/models/__init__.py | Masatsugar/neural_fingerprint | c9ba0c7c83bbbf7a863c3579d583ba77c53c555c | [
"MIT"
] | 3 | 2020-05-20T10:58:08.000Z | 2021-12-18T06:59:16.000Z | neural_fingerprint/models/__init__.py | Masatsugar/neural_fingerprint | c9ba0c7c83bbbf7a863c3579d583ba77c53c555c | [
"MIT"
] | null | null | null | neural_fingerprint/models/__init__.py | Masatsugar/neural_fingerprint | c9ba0c7c83bbbf7a863c3579d583ba77c53c555c | [
"MIT"
] | 2 | 2021-03-12T11:14:36.000Z | 2022-03-18T16:43:46.000Z | from neural_fingerprint.models.mpnn import MPNNRegressor
from neural_fingerprint.models.nfp import NFPRegressor
| 37.333333 | 56 | 0.892857 | 14 | 112 | 7 | 0.642857 | 0.204082 | 0.428571 | 0.55102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 57 | 56 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 8 |
ad9f12fe0cb453853ae07af506a57da98c129fcc | 30,997 | py | Python | sdk/python/pulumi_azure/batch/account.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/batch/account.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/batch/account.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"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
from . import outputs
from ._inputs import *
__all__ = ['AccountArgs', 'Account']
@pulumi.input_type
class AccountArgs:
def __init__(__self__, *,
resource_group_name: pulumi.Input[str],
key_vault_reference: Optional[pulumi.Input['AccountKeyVaultReferenceArgs']] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
pool_allocation_mode: Optional[pulumi.Input[str]] = None,
public_network_access_enabled: Optional[pulumi.Input[bool]] = None,
storage_account_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
"""
The set of arguments for constructing a Account resource.
:param pulumi.Input[str] resource_group_name: The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
:param pulumi.Input['AccountKeyVaultReferenceArgs'] key_vault_reference: A `key_vault_reference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode.
:param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
:param pulumi.Input[str] name: Specifies the name of the Batch account. Changing this forces a new resource to be created.
:param pulumi.Input[str] pool_allocation_mode: Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`.
:param pulumi.Input[bool] public_network_access_enabled: Whether public network access is allowed for this server. Defaults to `true`.
:param pulumi.Input[str] storage_account_id: Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
"""
pulumi.set(__self__, "resource_group_name", resource_group_name)
if key_vault_reference is not None:
pulumi.set(__self__, "key_vault_reference", key_vault_reference)
if location is not None:
pulumi.set(__self__, "location", location)
if name is not None:
pulumi.set(__self__, "name", name)
if pool_allocation_mode is not None:
pulumi.set(__self__, "pool_allocation_mode", pool_allocation_mode)
if public_network_access_enabled is not None:
pulumi.set(__self__, "public_network_access_enabled", public_network_access_enabled)
if storage_account_id is not None:
pulumi.set(__self__, "storage_account_id", storage_account_id)
if tags is not None:
pulumi.set(__self__, "tags", tags)
@property
@pulumi.getter(name="resourceGroupName")
def resource_group_name(self) -> pulumi.Input[str]:
"""
The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "resource_group_name")
@resource_group_name.setter
def resource_group_name(self, value: pulumi.Input[str]):
pulumi.set(self, "resource_group_name", value)
@property
@pulumi.getter(name="keyVaultReference")
def key_vault_reference(self) -> Optional[pulumi.Input['AccountKeyVaultReferenceArgs']]:
"""
A `key_vault_reference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode.
"""
return pulumi.get(self, "key_vault_reference")
@key_vault_reference.setter
def key_vault_reference(self, value: Optional[pulumi.Input['AccountKeyVaultReferenceArgs']]):
pulumi.set(self, "key_vault_reference", value)
@property
@pulumi.getter
def location(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "location")
@location.setter
def location(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "location", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the name of the Batch account. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="poolAllocationMode")
def pool_allocation_mode(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`.
"""
return pulumi.get(self, "pool_allocation_mode")
@pool_allocation_mode.setter
def pool_allocation_mode(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "pool_allocation_mode", value)
@property
@pulumi.getter(name="publicNetworkAccessEnabled")
def public_network_access_enabled(self) -> Optional[pulumi.Input[bool]]:
"""
Whether public network access is allowed for this server. Defaults to `true`.
"""
return pulumi.get(self, "public_network_access_enabled")
@public_network_access_enabled.setter
def public_network_access_enabled(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "public_network_access_enabled", value)
@property
@pulumi.getter(name="storageAccountId")
def storage_account_id(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
"""
return pulumi.get(self, "storage_account_id")
@storage_account_id.setter
def storage_account_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "storage_account_id", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
A mapping of tags to assign to the resource.
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "tags", value)
@pulumi.input_type
class _AccountState:
def __init__(__self__, *,
account_endpoint: Optional[pulumi.Input[str]] = None,
key_vault_reference: Optional[pulumi.Input['AccountKeyVaultReferenceArgs']] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
pool_allocation_mode: Optional[pulumi.Input[str]] = None,
primary_access_key: Optional[pulumi.Input[str]] = None,
public_network_access_enabled: Optional[pulumi.Input[bool]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
secondary_access_key: Optional[pulumi.Input[str]] = None,
storage_account_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
"""
Input properties used for looking up and filtering Account resources.
:param pulumi.Input[str] account_endpoint: The account endpoint used to interact with the Batch service.
:param pulumi.Input['AccountKeyVaultReferenceArgs'] key_vault_reference: A `key_vault_reference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode.
:param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
:param pulumi.Input[str] name: Specifies the name of the Batch account. Changing this forces a new resource to be created.
:param pulumi.Input[str] pool_allocation_mode: Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`.
:param pulumi.Input[str] primary_access_key: The Batch account primary access key.
:param pulumi.Input[bool] public_network_access_enabled: Whether public network access is allowed for this server. Defaults to `true`.
:param pulumi.Input[str] resource_group_name: The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
:param pulumi.Input[str] secondary_access_key: The Batch account secondary access key.
:param pulumi.Input[str] storage_account_id: Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
"""
if account_endpoint is not None:
pulumi.set(__self__, "account_endpoint", account_endpoint)
if key_vault_reference is not None:
pulumi.set(__self__, "key_vault_reference", key_vault_reference)
if location is not None:
pulumi.set(__self__, "location", location)
if name is not None:
pulumi.set(__self__, "name", name)
if pool_allocation_mode is not None:
pulumi.set(__self__, "pool_allocation_mode", pool_allocation_mode)
if primary_access_key is not None:
pulumi.set(__self__, "primary_access_key", primary_access_key)
if public_network_access_enabled is not None:
pulumi.set(__self__, "public_network_access_enabled", public_network_access_enabled)
if resource_group_name is not None:
pulumi.set(__self__, "resource_group_name", resource_group_name)
if secondary_access_key is not None:
pulumi.set(__self__, "secondary_access_key", secondary_access_key)
if storage_account_id is not None:
pulumi.set(__self__, "storage_account_id", storage_account_id)
if tags is not None:
pulumi.set(__self__, "tags", tags)
@property
@pulumi.getter(name="accountEndpoint")
def account_endpoint(self) -> Optional[pulumi.Input[str]]:
"""
The account endpoint used to interact with the Batch service.
"""
return pulumi.get(self, "account_endpoint")
@account_endpoint.setter
def account_endpoint(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "account_endpoint", value)
@property
@pulumi.getter(name="keyVaultReference")
def key_vault_reference(self) -> Optional[pulumi.Input['AccountKeyVaultReferenceArgs']]:
"""
A `key_vault_reference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode.
"""
return pulumi.get(self, "key_vault_reference")
@key_vault_reference.setter
def key_vault_reference(self, value: Optional[pulumi.Input['AccountKeyVaultReferenceArgs']]):
pulumi.set(self, "key_vault_reference", value)
@property
@pulumi.getter
def location(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "location")
@location.setter
def location(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "location", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the name of the Batch account. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="poolAllocationMode")
def pool_allocation_mode(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`.
"""
return pulumi.get(self, "pool_allocation_mode")
@pool_allocation_mode.setter
def pool_allocation_mode(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "pool_allocation_mode", value)
@property
@pulumi.getter(name="primaryAccessKey")
def primary_access_key(self) -> Optional[pulumi.Input[str]]:
"""
The Batch account primary access key.
"""
return pulumi.get(self, "primary_access_key")
@primary_access_key.setter
def primary_access_key(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "primary_access_key", value)
@property
@pulumi.getter(name="publicNetworkAccessEnabled")
def public_network_access_enabled(self) -> Optional[pulumi.Input[bool]]:
"""
Whether public network access is allowed for this server. Defaults to `true`.
"""
return pulumi.get(self, "public_network_access_enabled")
@public_network_access_enabled.setter
def public_network_access_enabled(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "public_network_access_enabled", value)
@property
@pulumi.getter(name="resourceGroupName")
def resource_group_name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "resource_group_name")
@resource_group_name.setter
def resource_group_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "resource_group_name", value)
@property
@pulumi.getter(name="secondaryAccessKey")
def secondary_access_key(self) -> Optional[pulumi.Input[str]]:
"""
The Batch account secondary access key.
"""
return pulumi.get(self, "secondary_access_key")
@secondary_access_key.setter
def secondary_access_key(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "secondary_access_key", value)
@property
@pulumi.getter(name="storageAccountId")
def storage_account_id(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
"""
return pulumi.get(self, "storage_account_id")
@storage_account_id.setter
def storage_account_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "storage_account_id", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
A mapping of tags to assign to the resource.
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "tags", value)
class Account(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
key_vault_reference: Optional[pulumi.Input[pulumi.InputType['AccountKeyVaultReferenceArgs']]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
pool_allocation_mode: Optional[pulumi.Input[str]] = None,
public_network_access_enabled: Optional[pulumi.Input[bool]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
storage_account_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
__props__=None):
"""
Manages an Azure Batch account.
## Example Usage
```python
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="LRS")
example_batch_account_account = azure.batch.Account("exampleBatch/accountAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
pool_allocation_mode="BatchService",
storage_account_id=example_account.id,
tags={
"env": "test",
})
```
## Import
Batch Account can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:batch/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Batch/batchAccounts/account1
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[pulumi.InputType['AccountKeyVaultReferenceArgs']] key_vault_reference: A `key_vault_reference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode.
:param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
:param pulumi.Input[str] name: Specifies the name of the Batch account. Changing this forces a new resource to be created.
:param pulumi.Input[str] pool_allocation_mode: Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`.
:param pulumi.Input[bool] public_network_access_enabled: Whether public network access is allowed for this server. Defaults to `true`.
:param pulumi.Input[str] resource_group_name: The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
:param pulumi.Input[str] storage_account_id: Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: AccountArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Manages an Azure Batch account.
## Example Usage
```python
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="LRS")
example_batch_account_account = azure.batch.Account("exampleBatch/accountAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
pool_allocation_mode="BatchService",
storage_account_id=example_account.id,
tags={
"env": "test",
})
```
## Import
Batch Account can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:batch/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Batch/batchAccounts/account1
```
:param str resource_name: The name of the resource.
:param AccountArgs 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(AccountArgs, 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,
key_vault_reference: Optional[pulumi.Input[pulumi.InputType['AccountKeyVaultReferenceArgs']]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
pool_allocation_mode: Optional[pulumi.Input[str]] = None,
public_network_access_enabled: Optional[pulumi.Input[bool]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
storage_account_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, 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__ = AccountArgs.__new__(AccountArgs)
__props__.__dict__["key_vault_reference"] = key_vault_reference
__props__.__dict__["location"] = location
__props__.__dict__["name"] = name
__props__.__dict__["pool_allocation_mode"] = pool_allocation_mode
__props__.__dict__["public_network_access_enabled"] = public_network_access_enabled
if resource_group_name is None and not opts.urn:
raise TypeError("Missing required property 'resource_group_name'")
__props__.__dict__["resource_group_name"] = resource_group_name
__props__.__dict__["storage_account_id"] = storage_account_id
__props__.__dict__["tags"] = tags
__props__.__dict__["account_endpoint"] = None
__props__.__dict__["primary_access_key"] = None
__props__.__dict__["secondary_access_key"] = None
super(Account, __self__).__init__(
'azure:batch/account:Account',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
account_endpoint: Optional[pulumi.Input[str]] = None,
key_vault_reference: Optional[pulumi.Input[pulumi.InputType['AccountKeyVaultReferenceArgs']]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
pool_allocation_mode: Optional[pulumi.Input[str]] = None,
primary_access_key: Optional[pulumi.Input[str]] = None,
public_network_access_enabled: Optional[pulumi.Input[bool]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
secondary_access_key: Optional[pulumi.Input[str]] = None,
storage_account_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'Account':
"""
Get an existing Account 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[str] account_endpoint: The account endpoint used to interact with the Batch service.
:param pulumi.Input[pulumi.InputType['AccountKeyVaultReferenceArgs']] key_vault_reference: A `key_vault_reference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode.
:param pulumi.Input[str] location: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
:param pulumi.Input[str] name: Specifies the name of the Batch account. Changing this forces a new resource to be created.
:param pulumi.Input[str] pool_allocation_mode: Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`.
:param pulumi.Input[str] primary_access_key: The Batch account primary access key.
:param pulumi.Input[bool] public_network_access_enabled: Whether public network access is allowed for this server. Defaults to `true`.
:param pulumi.Input[str] resource_group_name: The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
:param pulumi.Input[str] secondary_access_key: The Batch account secondary access key.
:param pulumi.Input[str] storage_account_id: Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _AccountState.__new__(_AccountState)
__props__.__dict__["account_endpoint"] = account_endpoint
__props__.__dict__["key_vault_reference"] = key_vault_reference
__props__.__dict__["location"] = location
__props__.__dict__["name"] = name
__props__.__dict__["pool_allocation_mode"] = pool_allocation_mode
__props__.__dict__["primary_access_key"] = primary_access_key
__props__.__dict__["public_network_access_enabled"] = public_network_access_enabled
__props__.__dict__["resource_group_name"] = resource_group_name
__props__.__dict__["secondary_access_key"] = secondary_access_key
__props__.__dict__["storage_account_id"] = storage_account_id
__props__.__dict__["tags"] = tags
return Account(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="accountEndpoint")
def account_endpoint(self) -> pulumi.Output[str]:
"""
The account endpoint used to interact with the Batch service.
"""
return pulumi.get(self, "account_endpoint")
@property
@pulumi.getter(name="keyVaultReference")
def key_vault_reference(self) -> pulumi.Output[Optional['outputs.AccountKeyVaultReference']]:
"""
A `key_vault_reference` block that describes the Azure KeyVault reference to use when deploying the Azure Batch account using the `UserSubscription` pool allocation mode.
"""
return pulumi.get(self, "key_vault_reference")
@property
@pulumi.getter
def location(self) -> pulumi.Output[str]:
"""
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "location")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
Specifies the name of the Batch account. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="poolAllocationMode")
def pool_allocation_mode(self) -> pulumi.Output[Optional[str]]:
"""
Specifies the mode to use for pool allocation. Possible values are `BatchService` or `UserSubscription`. Defaults to `BatchService`.
"""
return pulumi.get(self, "pool_allocation_mode")
@property
@pulumi.getter(name="primaryAccessKey")
def primary_access_key(self) -> pulumi.Output[str]:
"""
The Batch account primary access key.
"""
return pulumi.get(self, "primary_access_key")
@property
@pulumi.getter(name="publicNetworkAccessEnabled")
def public_network_access_enabled(self) -> pulumi.Output[Optional[bool]]:
"""
Whether public network access is allowed for this server. Defaults to `true`.
"""
return pulumi.get(self, "public_network_access_enabled")
@property
@pulumi.getter(name="resourceGroupName")
def resource_group_name(self) -> pulumi.Output[str]:
"""
The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created.
"""
return pulumi.get(self, "resource_group_name")
@property
@pulumi.getter(name="secondaryAccessKey")
def secondary_access_key(self) -> pulumi.Output[str]:
"""
The Batch account secondary access key.
"""
return pulumi.get(self, "secondary_access_key")
@property
@pulumi.getter(name="storageAccountId")
def storage_account_id(self) -> pulumi.Output[str]:
"""
Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage.
"""
return pulumi.get(self, "storage_account_id")
@property
@pulumi.getter
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
"""
A mapping of tags to assign to the resource.
"""
return pulumi.get(self, "tags")
| 49.674679 | 269 | 0.680872 | 3,700 | 30,997 | 5.462432 | 0.059459 | 0.075652 | 0.067884 | 0.05878 | 0.907822 | 0.892187 | 0.877047 | 0.866855 | 0.861264 | 0.85305 | 0 | 0.002876 | 0.226086 | 30,997 | 623 | 270 | 49.754414 | 0.839635 | 0.370552 | 0 | 0.752187 | 1 | 0 | 0.13003 | 0.037398 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163265 | false | 0.002915 | 0.020408 | 0 | 0.282799 | 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 |
a8e6e2c61db7d9a95c977e46615ef1e802770e3d | 170 | py | Python | kfac/__init__.py | closest-git/DeepFormer | 4d012fc88e836b5e7cbbe082246ab96106e450c8 | [
"MIT"
] | 2 | 2021-08-01T15:28:38.000Z | 2022-03-16T05:28:27.000Z | kfac/__init__.py | closest-git/DeepFormer | 4d012fc88e836b5e7cbbe082246ab96106e450c8 | [
"MIT"
] | null | null | null | kfac/__init__.py | closest-git/DeepFormer | 4d012fc88e836b5e7cbbe082246ab96106e450c8 | [
"MIT"
] | null | null | null | from kfac.kfac_preconditioner import KFAC
from kfac.kfac_preconditioner import KFACParamScheduler
from kfac.CG_KFAC import CG_KFAC
from kfac.utils import seed_everything
| 34 | 55 | 0.882353 | 25 | 170 | 5.8 | 0.36 | 0.22069 | 0.165517 | 0.358621 | 0.441379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 170 | 4 | 56 | 42.5 | 0.941558 | 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 | 0 | 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 |
d174877dca8f27866e28a97b6553d249cf1b6436 | 14,081 | py | Python | fundamentalista/fundamentalista.py | victoracoelho/fundamentalista | 7cd0537d4ea4c82654c8d46e9e44d04a65af3290 | [
"MIT"
] | 4 | 2020-09-07T22:24:21.000Z | 2021-04-16T04:00:53.000Z | fundamentalista/fundamentalista.py | victoracoelho/fundamentalista | 7cd0537d4ea4c82654c8d46e9e44d04a65af3290 | [
"MIT"
] | null | null | null | fundamentalista/fundamentalista.py | victoracoelho/fundamentalista | 7cd0537d4ea4c82654c8d46e9e44d04a65af3290 | [
"MIT"
] | 3 | 2020-09-08T22:13:22.000Z | 2021-03-27T15:12:19.000Z | import pandas as pd
class findata():
"""
This class will return financial data for listed companies in B3 (Brazil)
"""
def dre(tick=''):
"""
:return: Retorna a DRE da empresa definida
"""
lista_18 = []
lista_19 = []
date19_list = ['01/01/2019 a 31/12/2019 (R$ mil)', '01/01/2019 a 30/09/2019 (R$ mil)']
date18_list = ['01/01/2018 a 31/12/2018 (R$ mil)', '01/01/2018 a 30/09/2018 (R$ mil)']
site = 'https://www.investsite.com.br/demonstracao_resultado.php?cod_negociacao='
link = site + tick
df = pd.read_html(link)
dre = df[1]
for pos in date18_list:
if pos in dre:
serie_18 = dre[pos][1:]
transform_18 = list(serie_18)
for t in transform_18:
if len(t) == 1:
lista_18.append(t[:1])
if len(t) == 2:
lista_18.append(t[:1])
if len(t) == 3:
lista_18.append(t[:2])
if len(t) == 4:
lista_18.append(t[:2])
if len(t) == 5:
lista_18.append(t[:1])
if len(t) == 6:
lista_18.append(t[:2])
if len(t) == 7:
lista_18.append(t[:3])
if len(t) == 8:
lista_18.append(t[:4])
if len(t) == 9:
lista_18.append(t[:5])
if len(t) == 10:
lista_18.append(t[:6])
if len(t) == 12:
lista_18.append(t[:8])
if len(t) == 11:
lista_18.append(t[:7])
to_float_18 = [float(i) for i in lista_18]
for pos in date19_list:
if pos in dre:
serie_19 = dre[pos][1:]
transform_19 = list(serie_19)
for t in transform_19:
if len(t) == 1:
lista_19.append(t[:1])
if len(t) == 2:
lista_19.append(t[:1])
if len(t) == 3:
lista_19.append(t[:2])
if len(t) == 4:
lista_19.append(t[:2])
if len(t) == 5:
lista_19.append(t[:1])
if len(t) == 6:
lista_19.append(t[:2])
if len(t) == 7:
lista_19.append(t[:3])
if len(t) == 8:
lista_19.append(t[:4])
if len(t) == 9:
lista_19.append(t[:5])
if len(t) == 10:
lista_19.append(t[:6])
if len(t) == 12:
lista_19.append(t[:8])
if len(t) == 11:
lista_19.append(t[:7])
to_float_19 = [float(i) for i in lista_19]
new_df = pd.DataFrame(dre['Descrição'][0:])
new_df['2019'] = pd.DataFrame(to_float_19)
new_df['2018'] = pd.DataFrame(to_float_18)
new_df['Descrição'] = new_df['Descrição'].shift(-1)
return new_df
def bpa(tick=''):
"""
:return: Retorna o Balanço Patrimonial do Ativo da empresa definida
"""
lista_18 = []
lista_19 = []
date19_list = ['31/12/2019 (R$ mil)', '30/09/2019 (R$ mil)']
date18_list = ['31/12/2018 (R$ mil)', '30/09/2018 (R$ mil)']
site = 'https://www.investsite.com.br/balanco_patrimonial_ativo.php?cod_negociacao='
link = site + tick
df = pd.read_html(link)
dre = df[1]
for pos in date18_list:
if pos in dre:
serie_18 = dre[pos][1:]
transform_18 = list(serie_18)
for t in transform_18:
if len(t) == 1:
lista_18.append(t[:1])
if len(t) == 2:
lista_18.append(t[:1])
if len(t) == 3:
lista_18.append(t[:2])
if len(t) == 4:
lista_18.append(t[:2])
if len(t) == 5:
lista_18.append(t[:2])
if len(t) == 6:
lista_18.append(t[:2])
if len(t) == 7:
lista_18.append(t[:3])
if len(t) == 8:
lista_18.append(t[:4])
if len(t) == 9:
lista_18.append(t[:5])
if len(t) == 10:
lista_18.append(t[:6])
if len(t) == 12:
lista_18.append(t[:8])
if len(t) == 11:
lista_18.append(t[:7])
to_float_18 = [float(i) for i in lista_18]
for pos in date19_list:
if pos in dre:
serie_19 = dre[pos][1:]
transform_19 = list(serie_19)
for t in transform_19:
if len(t) == 1:
lista_19.append(t[:1])
if len(t) == 2:
lista_19.append(t[:1])
if len(t) == 3:
lista_19.append(t[:2])
if len(t) == 4:
lista_19.append(t[:2])
if len(t) == 5:
lista_19.append(t[:1])
if len(t) == 6:
lista_19.append(t[:2])
if len(t) == 7:
lista_19.append(t[:3])
if len(t) == 8:
lista_19.append(t[:4])
if len(t) == 9:
lista_19.append(t[:5])
if len(t) == 10:
lista_19.append(t[:6])
if len(t) == 12:
lista_19.append(t[:8])
if len(t) == 11:
lista_19.append(t[:7])
to_float_19 = [float(i) for i in lista_19]
new_df = pd.DataFrame(dre['Descrição'][0:])
new_df['2019'] = pd.DataFrame(to_float_19)
new_df['2018'] = pd.DataFrame(to_float_18)
new_df['Descrição'] = new_df['Descrição'].shift(-1)
return new_df
def bpp(tick=''):
"""
:return: Retorna o Balanço Patrimonial do Passivo da empresa definida
"""
lista_18 = []
lista_19 = []
date19_list = ['31/12/2019 (R$ mil)', '30/09/2019 (R$ mil)']
date18_list = ['31/12/2018 (R$ mil)', '30/09/2018 (R$ mil)']
site = 'https://www.investsite.com.br/balanco_patrimonial_passivo.php?cod_negociacao='
link = site + tick
df = pd.read_html(link)
dre = df[1]
for pos in date18_list:
if pos in dre:
serie_18 = dre[pos][1:]
transform_18 = list(serie_18)
for t in transform_18:
if len(t) == 1:
lista_18.append(t[:1])
if len(t) == 2:
lista_18.append(t[:1])
if len(t) == 3:
lista_18.append(t[:2])
if len(t) == 4:
lista_18.append(t[:2])
if len(t) == 5:
lista_18.append(t[:2])
if len(t) == 6:
lista_18.append(t[:2])
if len(t) == 7:
lista_18.append(t[:3])
if len(t) == 8:
lista_18.append(t[:4])
if len(t) == 9:
lista_18.append(t[:5])
if len(t) == 10:
lista_18.append(t[:6])
if len(t) == 12:
lista_18.append(t[:8])
if len(t) == 11:
lista_18.append(t[:7])
to_float_18 = [float(i) for i in lista_18]
for pos in date19_list:
if pos in dre:
serie_19 = dre[pos][1:]
transform_19 = list(serie_19)
for t in transform_19:
if len(t) == 1:
lista_19.append(t[:1])
if len(t) == 2:
lista_19.append(t[:1])
if len(t) == 3:
lista_19.append(t[:2])
if len(t) == 4:
lista_19.append(t[:2])
if len(t) == 5:
lista_19.append(t[:1])
if len(t) == 6:
lista_19.append(t[:2])
if len(t) == 7:
lista_19.append(t[:3])
if len(t) == 8:
lista_19.append(t[:4])
if len(t) == 9:
lista_19.append(t[:5])
if len(t) == 10:
lista_19.append(t[:6])
if len(t) == 12:
lista_19.append(t[:8])
if len(t) == 11:
lista_19.append(t[:7])
to_float_19 = [float(i) for i in lista_19]
new_df = pd.DataFrame(dre['Descrição'][0:])
new_df['2019'] = pd.DataFrame(to_float_19)
new_df['2018'] = pd.DataFrame(to_float_18)
new_df['Descrição'] = new_df['Descrição'].shift(-1)
return new_df
def fca(tick=''):
"""
:return: Retorna o Fluxo de Caixa da empresa definida
"""
lista_18 = []
lista_19 = []
date19_list = ['01/01/2019 a 31/12/2019 (R$ mil)', '01/01/2019 a 30/09/2019 (R$ mil)']
date18_list = ['01/01/2018 a 31/12/2018 (R$ mil)', '01/01/2018 a 30/09/2018 (R$ mil)']
site = 'https://www.investsite.com.br/fluxo_caixa.php?cod_negociacao='
link = site + tick
df = pd.read_html(link)
dre = df[1]
for pos in date18_list:
if pos in dre:
serie_18 = dre[pos][1:]
transform_18 = list(serie_18)
for t in transform_18:
if len(t) == 1:
lista_18.append(t[:1])
if len(t) == 2:
lista_18.append(t[:1])
if len(t) == 3:
lista_18.append(t[:2])
if len(t) == 4:
lista_18.append(t[:2])
if len(t) == 5:
lista_18.append(t[:1])
if len(t) == 6:
lista_18.append(t[:2])
if len(t) == 7:
lista_18.append(t[:3])
if len(t) == 8:
lista_18.append(t[:4])
if len(t) == 9:
lista_18.append(t[:5])
if len(t) == 10:
lista_18.append(t[:6])
if len(t) == 12:
lista_18.append(t[:8])
if len(t) == 11:
lista_18.append(t[:7])
to_float_18 = [float(i) for i in lista_18]
for pos in date19_list:
if pos in dre:
serie_19 = dre[pos][1:]
transform_19 = list(serie_19)
for t in transform_19:
if len(t) == 1:
lista_19.append(t[:1])
if len(t) == 2:
lista_19.append(t[:1])
if len(t) == 3:
lista_19.append(t[:2])
if len(t) == 4:
lista_19.append(t[:2])
if len(t) == 5:
lista_19.append(t[:1])
if len(t) == 6:
lista_19.append(t[:2])
if len(t) == 7:
lista_19.append(t[:3])
if len(t) == 8:
lista_19.append(t[:4])
if len(t) == 9:
lista_19.append(t[:5])
if len(t) == 10:
lista_19.append(t[:6])
if len(t) == 12:
lista_19.append(t[:8])
if len(t) == 11:
lista_19.append(t[:7])
to_float_19 = [float(i) for i in lista_19]
new_df = pd.DataFrame(dre['Descrição'][0:])
new_df['2019'] = pd.DataFrame(to_float_19)
new_df['2018'] = pd.DataFrame(to_float_18)
new_df['Descrição'] = new_df['Descrição'].shift(-1)
return new_df
def dva(tick=''):
"""
:return: Retorna a Demonstração do Valor Adicionado da empresa definida
"""
lista_18 = []
lista_19 = []
date19_list = ['01/01/2019 a 31/12/2019 (R$ mil)', '01/01/2019 a 30/09/2019 (R$ mil)']
date18_list = ['01/01/2018 a 31/12/2018 (R$ mil)', '01/01/2018 a 30/09/2018 (R$ mil)']
site = 'https://www.investsite.com.br/demonstracao_valor_adicionado.php?cod_negociacao='
link = site + tick
df = pd.read_html(link)
dre = df[1]
for pos in date18_list:
if pos in dre:
serie_18 = dre[pos][1:]
transform_18 = list(serie_18)
for t in transform_18:
if len(t) == 1:
lista_18.append(t[:1])
if len(t) == 2:
lista_18.append(t[:1])
if len(t) == 3:
lista_18.append(t[:2])
if len(t) == 4:
lista_18.append(t[:2])
if len(t) == 5:
lista_18.append(t[:1])
if len(t) == 6:
lista_18.append(t[:2])
if len(t) == 7:
lista_18.append(t[:3])
if len(t) == 8:
lista_18.append(t[:4])
if len(t) == 9:
lista_18.append(t[:5])
if len(t) == 10:
lista_18.append(t[:6])
if len(t) == 12:
lista_18.append(t[:8])
if len(t) == 11:
lista_18.append(t[:7])
to_float_18 = [float(i) for i in lista_18]
for pos in date19_list:
if pos in dre:
serie_19 = dre[pos][1:]
transform_19 = list(serie_19)
for t in transform_19:
if len(t) == 1:
lista_19.append(t[:1])
if len(t) == 2:
lista_19.append(t[:1])
if len(t) == 3:
lista_19.append(t[:2])
if len(t) == 4:
lista_19.append(t[:2])
if len(t) == 5:
lista_19.append(t[:1])
if len(t) == 6:
lista_19.append(t[:2])
if len(t) == 7:
lista_19.append(t[:3])
if len(t) == 8:
lista_19.append(t[:4])
if len(t) == 9:
lista_19.append(t[:5])
if len(t) == 10:
lista_19.append(t[:6])
if len(t) == 12:
lista_19.append(t[:8])
if len(t) == 11:
lista_19.append(t[:7])
to_float_19 = [float(i) for i in lista_19]
new_df = pd.DataFrame(dre['Descrição'][0:])
new_df['2019'] = pd.DataFrame(to_float_19)
new_df['2018'] = pd.DataFrame(to_float_18)
new_df['Descrição'] = new_df['Descrição'].shift(-1)
return new_df
| 34.427873 | 96 | 0.433634 | 1,970 | 14,081 | 2.953299 | 0.049746 | 0.103128 | 0.123754 | 0.14438 | 0.954967 | 0.954967 | 0.954967 | 0.941904 | 0.941904 | 0.941904 | 0 | 0.125532 | 0.416164 | 14,081 | 408 | 97 | 34.512255 | 0.582168 | 0.026987 | 0 | 0.967742 | 0 | 0 | 0.079248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013441 | false | 0.002688 | 0.002688 | 0 | 0.032258 | 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 |
0f3cfaf4b597ea2818060875faf9d03d0baa46d7 | 16,280 | py | Python | datasets_utils.py | liu-jc/EIGNN | 6a2c8e73c11bfebc8614d955226dbae600cc8dfc | [
"MIT"
] | 11 | 2021-11-10T13:39:58.000Z | 2022-03-15T11:35:44.000Z | datasets_utils.py | liu-jc/EIGNN | 6a2c8e73c11bfebc8614d955226dbae600cc8dfc | [
"MIT"
] | null | null | null | datasets_utils.py | liu-jc/EIGNN | 6a2c8e73c11bfebc8614d955226dbae600cc8dfc | [
"MIT"
] | null | null | null | import sys
import numpy as np
import scipy.sparse as sp
import torch
# import torch_sparse
import pickle as pkl
import networkx as nx
from normalization import fetch_normalization, row_normalize, aug_normalized_adjacency
from time import perf_counter
import ipdb
from utils import *
import os.path as osp
from torch_sparse import coalesce, SparseTensor
from torch_geometric.data import InMemoryDataset, download_url, Data
from torch_geometric.utils.undirected import is_undirected, to_undirected
from torch_geometric.utils import to_networkx
import torch_geometric.transforms as T
from sklearn import metrics
def get_balanced_random_split(one_hot_labels, num_classes, percls_trn=20, val_lb=500):
indices = []
labels = np.argmax(one_hot_labels, axis=1)
for i in range(num_classes):
index = np.nonzero(labels==i)[0]
# print(f'i: {i}, index: {index}')
index = np.random.permutation(index)
indices.append(index)
# print([i[:percls_trn] for i in indices])
train_index = np.concatenate([i[:percls_trn] for i in indices])
# print(f'train_index: {train_index}')
rest_index = np.concatenate([i[percls_trn:] for i in indices])
rest_index = np.random.permutation(rest_index)
# print(f'rest_index: {rest_index}')
val_index = rest_index[:val_lb]
test_index = rest_index[val_lb:]
return train_index, val_index, test_index
def load_citation_syn_chain_IDM(normalization, cuda, num_chains, chain_len, num_class=2,
noise=0.00, noise_type=None, need_orig=False):
"""load the synthetic dataset: chain"""
# r = np.random.RandomState(42)
c = num_class # num of classes
n = num_chains # chains for each class
l = chain_len # length of chain
f = 100 # feature dimension
# tn = 20 # train nodes
# vl = 100 # val nodes
# tt = 200 # test nodes
num_nodes = c*n*l
tn = int(num_nodes*0.05)
vl = int(num_nodes*0.1)
tt = num_nodes - tn - vl
noise = noise
# directed chains
chain_adj = sp.coo_matrix((np.ones(l-1), (np.arange(l-1), np.arange(1, l))), shape=(l, l))
adj = sp.block_diag([chain_adj for _ in range(c*n)]) # square matrix N = c*n*l
# features = r.uniform(-noise, noise, size=(c, n, l, f))
if noise_type is None:
features = np.random.uniform(-noise, noise, size=(c,n,l,f))
elif noise_type == 'normal':
features = np.random.normal(0, noise, size=(c,n,l,f))
elif noise_type == 'normal_v2':
features = np.random.normal(0, 1, size=(c,n,l,f)) * noise
else:
raise RuntimeError(f'Cannot find noise type {noise_type}')
#features = np.zeros_like(features)
features[:, :, 0, :c] += np.eye(c).reshape(c, 1, c) # add class info to the first node of chains.
features = features.reshape(-1, f)
labels = np.eye(c).reshape(c, 1, 1, c).repeat(n, axis=1).repeat(l, axis=2) # one-hot labels
labels = labels.reshape(-1, c)
# ipdb.set_trace()
idx_random = np.arange(c*n*l)
# r.shuffle(idx_random)
np.random.shuffle(idx_random)
idx_train = idx_random[:tn]
idx_val = idx_random[tn:tn+vl]
idx_test = idx_random[tn+vl:tn+vl+tt]
print(f'idx_train: {len(idx_train)}, idx_val: {len(idx_val)}, idx_test: {len(idx_test)}')
# print(f'idx_train: {idx_train}')
print(f'features[0,:10]: {features[0,:10]}')
print(f'features[1,:10]: {features[1,:10]}')
if need_orig:
adj_orig = aug_normalized_adjacency(adj, need_orig=True)
adj_orig = sparse_mx_to_torch_sparse_tensor(adj_orig).float()
if cuda:
adj_orig = adj_orig.cuda()
# adj = adj + adj.T.multiply(adj.T > adj) - adj.multiply(adj.T > adj)
adj, features = preprocess_citation(adj, features, normalization)
# porting to pytorch
features = torch.FloatTensor(np.array(features.todense() if sp.issparse(features) else features)).float()
labels = torch.LongTensor(labels)
labels = torch.max(labels, dim=1)[1]
sp_adj = adj
adj = sparse_mx_to_torch_sparse_tensor(adj).float()
idx_train = torch.LongTensor(idx_train)
idx_val = torch.LongTensor(idx_val)
idx_test = torch.LongTensor(idx_test)
if cuda:
features = features.cuda()
adj = adj.cuda()
labels = labels.cuda()
idx_train = idx_train.cuda()
idx_val = idx_val.cuda()
idx_test = idx_test.cuda()
return adj, sp_adj, features, labels, idx_train, idx_val, idx_test
def load_citation_syn_chain(normalization, cuda, num_chains, chain_len, num_class=2, noise=0.00,
noise_type=None, need_orig=False):
"""load the synthetic dataset: chain"""
c = num_class # num of classes
n = num_chains # chains for each class
l = chain_len # length of chain
f = 100 # feature dimension
num_nodes = c*n*l
tn = int(num_nodes*0.05)
vl = int(num_nodes*0.1)
tt = num_nodes - tn - vl
noise = noise
chain_adj = sp.coo_matrix((np.ones(l-1), (np.arange(l-1), np.arange(1, l))), shape=(l, l))
adj = sp.block_diag([chain_adj for _ in range(c*n)]) # square matrix N = c*n*l
# features = r.uniform(-noise, noise, size=(c, n, l, f))
# features = np.random.uniform(-noise, noise, size=(c,n,l,f))
if noise_type is None:
features = np.random.uniform(-noise, noise, size=(c,n,l,f))
elif noise_type == 'normal':
features = np.random.normal(0, noise, size=(c,n,l,f))
elif noise_type == 'normal_v2':
features = np.random.normal(0, 1, size=(c,n,l,f)) * noise
else:
raise RuntimeError(f'Cannot find noise type {noise_type}')
#features = np.zeros_like(features)
features[:, :, 0, :c] += np.eye(c).reshape(c, 1, c) # add class info to the first node of chains.
features = features.reshape(-1, f)
labels = np.eye(c).reshape(c, 1, 1, c).repeat(n, axis=1).repeat(l, axis=2) # one-hot labels
labels = labels.reshape(-1, c)
idx_random = np.arange(c*n*l)
# r.shuffle(idx_random)
np.random.shuffle(idx_random)
idx_train = idx_random[:tn]
idx_val = idx_random[tn:tn+vl]
idx_test = idx_random[tn+vl:tn+vl+tt]
print(f'idx_train: {len(idx_train)}, idx_val: {len(idx_val)}, idx_test: {len(idx_test)}')
print(f'labels of idx_train: {labels[idx_train, :]}')
# print(f'idx_train: {idx_train}')
print(f'features[0,:10]: {features[0,:10]}')
if need_orig:
adj_orig = aug_normalized_adjacency(adj, need_orig=True)
adj_orig = sparse_mx_to_torch_sparse_tensor(adj_orig).float()
if cuda:
adj_orig = adj_orig.cuda()
# adj = adj + adj.T.multiply(adj.T > adj) - adj.multiply(adj.T > adj)
adj, features = preprocess_citation(adj, features, normalization)
# porting to pytorch
features = torch.FloatTensor(np.array(features.todense() if sp.issparse(features) else features)).float()
labels = torch.LongTensor(labels)
labels = torch.max(labels, dim=1)[1]
adj = sparse_mx_to_torch_sparse_tensor(adj).float()
idx_train = torch.LongTensor(idx_train)
idx_val = torch.LongTensor(idx_val)
idx_test = torch.LongTensor(idx_test)
if cuda:
features = features.cuda()
adj = adj.cuda()
labels = labels.cuda()
idx_train = idx_train.cuda()
idx_val = idx_val.cuda()
idx_test = idx_test.cuda()
return [adj, adj_orig] if need_orig else adj, features, labels, idx_train, idx_val, idx_test
class WebKB_new(InMemoryDataset):
r"""The WebKB datasets used in the
`"Geom-GCN: Geometric Graph Convolutional Networks"
<https://openreview.net/forum?id=S1e2agrFvS>`_ paper.
Nodes represent web pages and edges represent hyperlinks between them.
Node features are the bag-of-words representation of web pages.
The task is to classify the nodes into one of the five categories, student,
project, course, staff, and faculty.
Args:
root (string): Root directory where the dataset should be saved.
name (string): The name of the dataset (:obj:`"Cornell"`,
:obj:`"Texas"` :obj:`"Wisconsin"`).
transform (callable, optional): A function/transform that takes in an
:obj:`torch_geometric.data.Data` object and returns a transformed
version. The data object will be transformed before every access.
(default: :obj:`None`)
pre_transform (callable, optional): A function/transform that takes in
an :obj:`torch_geometric.data.Data` object and returns a
transformed version. The data object will be transformed before
being saved to disk. (default: :obj:`None`)
"""
url = 'https://raw.githubusercontent.com/graphdml-uiuc-jlu/geom-gcn/master'
def __init__(self, root, name, transform=None, pre_transform=None):
self.name = name.lower()
assert self.name in ['cornell', 'texas', 'wisconsin']
super(WebKB_new, self).__init__(root, transform, pre_transform)
self.data, self.slices = torch.load(self.processed_paths[0])
@property
def raw_dir(self):
return osp.join(self.root, self.name, 'raw')
@property
def processed_dir(self):
return osp.join(self.root, self.name, 'processed')
@property
def raw_file_names(self):
return ['out1_node_feature_label.txt', 'out1_graph_edges.txt'] + [
'{}_split_0.6_0.2_{}.npz'.format(self.name, i) for i in range(10)
]
@property
def processed_file_names(self):
return 'data.pt'
def download(self):
for f in self.raw_file_names[:2]:
download_url(f'{self.url}/new_data/{self.name}/{f}', self.raw_dir)
for f in self.raw_file_names[2:]:
download_url(f'{self.url}/splits/{f}', self.raw_dir)
def process(self):
with open(self.raw_paths[0], 'r') as f:
data = f.read().split('\n')[1:-1]
x = [[float(v) for v in r.split('\t')[1].split(',')] for r in data]
x = torch.tensor(x, dtype=torch.float)
y = [int(r.split('\t')[2]) for r in data]
y = torch.tensor(y, dtype=torch.float)
with open(self.raw_paths[1], 'r') as f:
data = f.read().split('\n')[1:-1]
data = [[int(v) for v in r.split('\t')] for r in data]
edge_index = torch.tensor(data, dtype=torch.long).t().contiguous()
edge_index = to_undirected(edge_index)
edge_index, _ = coalesce(edge_index, None, x.size(0), x.size(0))
train_masks, val_masks, test_masks = [], [], []
for f in self.raw_paths[2:]:
tmp = np.load(f)
train_masks += [torch.from_numpy(tmp['train_mask']).to(torch.bool)]
val_masks += [torch.from_numpy(tmp['val_mask']).to(torch.bool)]
test_masks += [torch.from_numpy(tmp['test_mask']).to(torch.bool)]
train_mask = torch.stack(train_masks, dim=1)
val_mask = torch.stack(val_masks, dim=1)
test_mask = torch.stack(test_masks, dim=1)
data = Data(x=x, edge_index=edge_index, y=y, train_mask=train_mask,
val_mask=val_mask, test_mask=test_mask)
data = data if self.pre_transform is None else self.pre_transform(data)
torch.save(self.collate([data]), self.processed_paths[0])
def __repr__(self):
return '{}()'.format(self.name)
class WikipediaNetwork(InMemoryDataset):
r"""The Wikipedia networks used in the
`"Geom-GCN: Geometric Graph Convolutional Networks"
<https://openreview.net/forum?id=S1e2agrFvS>`_ paper.
Nodes represent web pages and edges represent hyperlinks between them.
Node features represent several informative nouns in the Wikipedia pages.
The task is to classify the nodes into five categories in term of the
number of average monthly traffic of the web page.
Args:
root (string): Root directory where the dataset should be saved.
name (string): The name of the dataset (:obj:`"Chameleon"`,
:obj:`"Squirrel"`).
transform (callable, optional): A function/transform that takes in an
:obj:`torch_geometric.data.Data` object and returns a transformed
version. The data object will be transformed before every access.
(default: :obj:`None`)
pre_transform (callable, optional): A function/transform that takes in
an :obj:`torch_geometric.data.Data` object and returns a
transformed version. The data object will be transformed before
being saved to disk. (default: :obj:`None`)
"""
url = 'https://raw.githubusercontent.com/graphdml-uiuc-jlu/geom-gcn/master'
def __init__(self, root, name, transform=None, pre_transform=None):
self.name = name.lower()
assert self.name in ['chameleon', 'squirrel']
super(WikipediaNetwork, self).__init__(root, transform, pre_transform)
self.data, self.slices = torch.load(self.processed_paths[0])
@property
def raw_dir(self):
return osp.join(self.root, self.name, 'raw')
@property
def processed_dir(self):
return osp.join(self.root, self.name, 'processed')
@property
def raw_file_names(self):
return ['out1_node_feature_label.txt', 'out1_graph_edges.txt'] + [
'{}_split_0.6_0.2_{}.npz'.format(self.name, i) for i in range(10)
]
@property
def processed_file_names(self):
return 'data.pt'
def download(self):
for f in self.raw_file_names[:2]:
download_url(f'{self.url}/new_data/{self.name}/{f}', self.raw_dir)
for f in self.raw_file_names[2:]:
download_url(f'{self.url}/splits/{f}', self.raw_dir)
def process(self):
with open(self.raw_paths[0], 'r') as f:
data = f.read().split('\n')[1:-1]
x = [[float(v) for v in r.split('\t')[1].split(',')] for r in data]
x = torch.tensor(x, dtype=torch.float)
y = [int(r.split('\t')[2]) for r in data]
y = torch.tensor(y, dtype=torch.long)
with open(self.raw_paths[1], 'r') as f:
data = f.read().split('\n')[1:-1]
data = [[int(v) for v in r.split('\t')] for r in data]
edge_index = torch.tensor(data, dtype=torch.long).t().contiguous()
edge_index, _ = coalesce(edge_index, None, x.size(0), x.size(0))
train_masks, val_masks, test_masks = [], [], []
for f in self.raw_paths[2:]:
tmp = np.load(f)
train_masks += [torch.from_numpy(tmp['train_mask']).to(torch.bool)]
val_masks += [torch.from_numpy(tmp['val_mask']).to(torch.bool)]
test_masks += [torch.from_numpy(tmp['test_mask']).to(torch.bool)]
train_mask = torch.stack(train_masks, dim=1)
val_mask = torch.stack(val_masks, dim=1)
test_mask = torch.stack(test_masks, dim=1)
data = Data(x=x, edge_index=edge_index, y=y, train_mask=train_mask,
val_mask=val_mask, test_mask=test_mask)
data = data if self.pre_transform is None else self.pre_transform(data)
torch.save(self.collate([data]), self.processed_paths[0])
def __repr__(self):
return '{}()'.format(self.name)
def get_heterophilic_dataset_IDM(dataset_name, data_path, idx_split):
dataset_name = dataset_name.lower()
assert dataset_name in ['cornell', 'texas', 'wisconsin', 'chameleon', 'squirrel']
if dataset_name in ['cornell', 'texas', 'wisconsin']:
dataset = WebKB_new(data_path, dataset_name, transform=T.NormalizeFeatures())
elif dataset_name in ['chameleon', 'squirrel']:
dataset = WikipediaNetwork(data_path, dataset_name, transform=T.NormalizeFeatures())
data = dataset[0]
train_mask, val_mask, test_mask = data.train_mask[:, idx_split], data.val_mask[:, idx_split], \
data.test_mask[:, idx_split]
edge_index, x, y = data.edge_index, data.x, data.y
y = y.long()
row, col = edge_index[0, :], edge_index[1, :]
val = np.ones(len(row))
adj = sp.coo_matrix((val, (row,col)), shape=(x.size(0), x.size(0)))
sp_adj = aug_normalized_adjacency(adj)
adj = sparse_mx_to_torch_sparse_tensor(sp_adj, device='cuda')
return adj, sp_adj, x, y, train_mask, val_mask, test_mask | 42.067183 | 109 | 0.640848 | 2,414 | 16,280 | 4.149544 | 0.125932 | 0.01757 | 0.004492 | 0.006289 | 0.813417 | 0.800938 | 0.78816 | 0.77668 | 0.773086 | 0.758311 | 0 | 0.012184 | 0.223587 | 16,280 | 387 | 110 | 42.067183 | 0.780301 | 0.206695 | 0 | 0.736842 | 0 | 0.007519 | 0.081332 | 0.016692 | 0 | 0 | 0 | 0 | 0.011278 | 1 | 0.075188 | false | 0 | 0.06391 | 0.037594 | 0.206767 | 0.022556 | 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 |
7e4e4ada03392561024887ba4e7636c97f36a806 | 441 | py | Python | twochains_improved.py | ucsb-cs8-m17/lecture2_0809 | 996b47802ab8d872ab89b2e05d3171043063965f | [
"MIT"
] | null | null | null | twochains_improved.py | ucsb-cs8-m17/lecture2_0809 | 996b47802ab8d872ab89b2e05d3171043063965f | [
"MIT"
] | null | null | null | twochains_improved.py | ucsb-cs8-m17/lecture2_0809 | 996b47802ab8d872ab89b2e05d3171043063965f | [
"MIT"
] | null | null | null | import turtle
twochains = turtle.Turtle()
twochains.forward(100)
twochains.left(90)
twochains.forward(100)
twochains.left(90)
twochains.forward(100)
twochains.left(90)
twochains.forward(100)
twochains.left(90)
twochains.up()
twochains.goto(-200,-200)
twochains.down()
twochains.forward(100)
twochains.left(90)
twochains.forward(100)
twochains.left(90)
twochains.forward(100)
twochains.left(90)
twochains.forward(100)
twochains.left(90)
| 16.333333 | 27 | 0.789116 | 61 | 441 | 5.704918 | 0.180328 | 0.367816 | 0.436782 | 0.643678 | 0.807471 | 0.807471 | 0.807471 | 0.807471 | 0.807471 | 0.807471 | 0 | 0.11165 | 0.06576 | 441 | 26 | 28 | 16.961538 | 0.73301 | 0 | 0 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
7ea7463060bbeaaa9892a4bc6c1f56c10a404c40 | 5,142 | py | Python | tests/fields/test_list.py | BFriedrichs/motorturbine | a9585bef6959f8ceede2b64e4c296524f797aa68 | [
"MIT"
] | 1 | 2019-04-16T14:47:32.000Z | 2019-04-16T14:47:32.000Z | tests/fields/test_list.py | BFriedrichs/motorturbine | a9585bef6959f8ceede2b64e4c296524f797aa68 | [
"MIT"
] | null | null | null | tests/fields/test_list.py | BFriedrichs/motorturbine | a9585bef6959f8ceede2b64e4c296524f797aa68 | [
"MIT"
] | null | null | null | import pytest
from motorturbine import BaseDocument, fields, errors, connection
from motorturbine.updateset import Inc
@pytest.mark.asyncio
async def test_list_doc(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc()
l.nums.append(5)
l.nums[0] = 3
await l.save()
coll = database['ListDoc']
docs = coll.find()
assert docs.count() == 1
assert len(next(docs)['nums']) == 1
@pytest.mark.asyncio
async def test_set_list(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc()
l.nums = [1, 2, 3]
await l.save()
coll = database['ListDoc']
docs = coll.find_one()
assert docs['nums'] == [1, 2, 3]
l.nums = [5, 6]
await l.save()
docs = coll.find_one()
assert docs['nums'] == [5, 6]
@pytest.mark.asyncio
async def test_list_doc_update(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc()
l.nums.append(5)
l.nums.append(6)
l.nums.append(7)
l.nums[0] = 3
await l.save()
l.nums[0] = 2
l.nums[2] = 4
await l.save()
coll = database['ListDoc']
docs = coll.find()
doc = next(docs)
assert doc['nums'][0] == 2
assert doc['nums'][1] == 6
assert doc['nums'][2] == 4
@pytest.mark.asyncio
async def test_list_stack(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.ListField(fields.IntField()))
l = ListDoc()
l.nums.append([])
l.nums[0].append(5)
l.nums[0].append(6)
l.nums.append([])
l.nums[1].append(10)
await l.save()
coll = database['ListDoc']
docs = coll.find_one()
assert docs['nums'][0][0] == 5
assert docs['nums'][0][1] == 6
assert docs['nums'][1][0] == 10
l.nums[1][0] = Inc(1)
await l.save()
docs = coll.find_one()
assert l.nums[1][0] == 11
assert docs['nums'][1][0] == 11
@pytest.mark.asyncio
async def test_list_inc(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc()
l.nums.append(5)
l.nums.append(6)
l.nums.append(7)
coll = database['ListDoc']
await l.save()
docs = coll.find_one()
assert docs['nums'] == [5, 6, 7]
l.nums[0] = Inc(5)
await l.save()
docs = coll.find_one()
assert docs['nums'][0] == 10
@pytest.mark.asyncio
async def test_list_push_pull(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc()
l.nums.append(5)
l.nums.append(6)
l.nums.append(7)
coll = database['ListDoc']
await l.save()
docs = coll.find_one()
assert docs['nums'] == [5, 6, 7]
l.nums.append(8)
l.nums.append(9)
await l.save()
docs = coll.find_one()
assert docs['nums'] == [5, 6, 7, 8, 9]
del l.nums[3]
l.nums.append(10)
await l.save()
docs = coll.find_one()
assert docs['nums'] == [5, 6, 7, 9, 10]
@pytest.mark.asyncio
async def test_list_push_pull(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc(nums=[1])
l.nums.extend([2, 3])
await l.save()
doc = await ListDoc.get_object()
assert doc.nums == [1, 2, 3]
@pytest.mark.asyncio
async def test_list_delete(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc()
l.nums.append(5)
l.nums.append(6)
l.nums.append(7)
await l.save()
del l.nums[0]
await l.save()
coll = database['ListDoc']
docs = coll.find_one()
assert len(docs['nums']) == 2
assert docs['nums'][0] == 6
@pytest.mark.asyncio
async def test_list_defaults(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc()
l.nums.append(5)
l.nums.append(6)
l.nums.append(7)
await l.save()
l.nums[0] = Inc(5)
await l.save()
coll = database['ListDoc']
docs = coll.find_one()
assert docs['nums'][0] == 10
@pytest.mark.asyncio
async def test_list_update_multiple(db_config, database):
connection.Connection.connect(**db_config)
class ListDoc(BaseDocument):
nums = fields.ListField(fields.IntField())
l = ListDoc()
l.nums.append(5)
await l.save()
assert l.nums[0] == 5
l.nums[0] = Inc(5)
l.nums[0] = Inc(5)
await l.save()
assert l.nums[0] == 15
coll = database['ListDoc']
docs = coll.find_one()
assert docs['nums'][0] == 15
| 20.650602 | 68 | 0.615714 | 728 | 5,142 | 4.270604 | 0.086538 | 0.067546 | 0.077839 | 0.057896 | 0.858154 | 0.825346 | 0.81055 | 0.772917 | 0.706658 | 0.679961 | 0 | 0.031336 | 0.224232 | 5,142 | 248 | 69 | 20.733871 | 0.748057 | 0 | 0 | 0.711765 | 0 | 0 | 0.027032 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 1 | 0 | false | 0 | 0.017647 | 0 | 0.135294 | 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 |
7ee556ef75b660fedc6a0a1ea506b88e90ccb610 | 5,345 | py | Python | runtime/bamboo-pipeline/test/eri_imp_test_use/tests/control/test_forced_fail_activity.py | DomineCore/bamboo-engine | fb4583e70f9e1e87d9d48c2393db8d8104306f37 | [
"MIT"
] | 1 | 2022-01-06T15:44:43.000Z | 2022-01-06T15:44:43.000Z | runtime/bamboo-pipeline/test/eri_imp_test_use/tests/control/test_forced_fail_activity.py | DomineCore/bamboo-engine | fb4583e70f9e1e87d9d48c2393db8d8104306f37 | [
"MIT"
] | null | null | null | runtime/bamboo-pipeline/test/eri_imp_test_use/tests/control/test_forced_fail_activity.py | DomineCore/bamboo-engine | fb4583e70f9e1e87d9d48c2393db8d8104306f37 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from bamboo_engine.builder import * # noqa
from bamboo_engine.engine import Engine
from pipeline.eri.runtime import BambooDjangoRuntime
from ..utils import * # noqa
def test_forced_fail_schedule_node():
start = EmptyStartEvent()
act_1 = ServiceActivity(component_code="sleep_timer")
act_1.component.inputs.bk_timing = Var(type=Var.PLAIN, value=5)
end = EmptyEndEvent()
start.extend(act_1).extend(end)
pipeline = build_tree(start)
runtime = BambooDjangoRuntime()
engine = Engine(runtime)
engine.run_pipeline(pipeline=pipeline, root_pipeline_data={})
sleep(1)
engine.forced_fail_activity(act_1.id, "forced fail by test")
data = runtime.get_execution_data(act_1.id)
assert data.inputs == {"_loop": 1, "_inner_loop": 1, "bk_timing": 5}
assert len(data.outputs) == 8
assert data.outputs["ex_data"] == "forced fail by test"
assert data.outputs["_forced_failed"] is True
assert data.outputs["eta"] == "5"
assert data.outputs["type"] == "countdown"
assert data.outputs["timing_time"] is not None
assert data.outputs["_result"] is True
assert data.outputs["_loop"] == 1
assert data.outputs["_inner_loop"] == 1
sleep(5)
assert_all_failed([act_1.id])
assert_schedule_not_finish(act_1.id, expired=True)
engine.skip_node(act_1.id)
sleep(1)
assert_all_finish([pipeline["id"], start.id, act_1.id, end.id])
data = runtime.get_execution_data(act_1.id)
assert data.inputs == {"_loop": 1, "_inner_loop": 1, "bk_timing": 5}
assert len(data.outputs) == 8
assert data.outputs["ex_data"] == "forced fail by test"
assert data.outputs["_forced_failed"] is True
assert data.outputs["eta"] == "5"
assert data.outputs["type"] == "countdown"
assert data.outputs["timing_time"] is not None
assert data.outputs["_result"] is True
assert data.outputs["_loop"] == 1
assert data.outputs["_inner_loop"] == 1
histories = runtime.get_histories(act_1.id)
assert len(histories) == 1
assert histories[0].inputs == {"_loop": 1, "_inner_loop": 1, "bk_timing": 5}
assert len(data.outputs) == 8
assert histories[0].outputs["ex_data"] == "forced fail by test"
assert histories[0].outputs["_forced_failed"] is True
assert histories[0].outputs["eta"] == "5"
assert histories[0].outputs["type"] == "countdown"
assert histories[0].outputs["timing_time"] is not None
assert histories[0].outputs["_result"] is True
assert data.outputs["_loop"] == 1
assert data.outputs["_inner_loop"] == 1
def test_forced_fail_not_schedule_node():
start = EmptyStartEvent()
act_1 = ServiceActivity(component_code="dummy_exec_node")
act_1.component.inputs.time = Var(type=Var.PLAIN, value=5)
end = EmptyEndEvent()
start.extend(act_1).extend(end)
pipeline = build_tree(start)
runtime = BambooDjangoRuntime()
engine = Engine(runtime)
engine.run_pipeline(pipeline=pipeline, root_pipeline_data={})
sleep(2)
engine.forced_fail_activity(act_1.id, "forced fail by test")
data = runtime.get_execution_data(act_1.id)
assert data.inputs == {}
assert data.outputs == {"ex_data": "forced fail by test", "_forced_failed": True}
sleep(5)
assert_all_failed([act_1.id])
engine.skip_node(act_1.id)
sleep(1)
assert_all_finish([pipeline["id"], start.id, act_1.id, end.id])
data = runtime.get_execution_data(act_1.id)
assert data.inputs == {}
assert data.outputs == {"ex_data": "forced fail by test", "_forced_failed": True}
histories = runtime.get_histories(act_1.id)
assert len(histories) == 1
assert histories[0].inputs == {}
assert histories[0].outputs == {"ex_data": "forced fail by test", "_forced_failed": True}
def test_forced_fail_callback_node():
start = EmptyStartEvent()
act_1 = ServiceActivity(component_code="callback_node")
end = EmptyEndEvent()
start.extend(act_1).extend(end)
pipeline = build_tree(start)
runtime = BambooDjangoRuntime()
engine = Engine(runtime)
engine.run_pipeline(pipeline=pipeline, root_pipeline_data={})
sleep(1)
engine.forced_fail_activity(act_1.id, "forced fail by test")
data = runtime.get_execution_data(act_1.id)
assert data.inputs == {"_loop": 1, "_inner_loop": 1}
assert data.outputs == {
"ex_data": "forced fail by test",
"_forced_failed": True,
"_result": True,
"_inner_loop": 1,
"_loop": 1,
}
sleep(1)
assert_all_failed([act_1.id])
assert_schedule_not_finish(act_1.id, times=0)
engine.skip_node(act_1.id)
sleep(1)
assert_all_finish([pipeline["id"], start.id, act_1.id, end.id])
data = runtime.get_execution_data(act_1.id)
assert data.inputs == {"_loop": 1, "_inner_loop": 1}
assert data.outputs == {
"ex_data": "forced fail by test",
"_forced_failed": True,
"_result": True,
"_loop": 1,
"_inner_loop": 1,
}
histories = runtime.get_histories(act_1.id)
assert len(histories) == 1
assert histories[0].inputs == {"_loop": 1, "_inner_loop": 1}
assert histories[0].outputs == {
"ex_data": "forced fail by test",
"_forced_failed": True,
"_result": True,
"_loop": 1,
"_inner_loop": 1,
}
| 31.815476 | 93 | 0.665108 | 730 | 5,345 | 4.619178 | 0.10411 | 0.036773 | 0.040925 | 0.05694 | 0.874852 | 0.874852 | 0.865658 | 0.856168 | 0.827995 | 0.790036 | 0 | 0.021114 | 0.193639 | 5,345 | 167 | 94 | 32.005988 | 0.761253 | 0.0058 | 0 | 0.773438 | 0 | 0 | 0.151977 | 0 | 0 | 0 | 0 | 0 | 0.414063 | 1 | 0.023438 | false | 0 | 0.03125 | 0 | 0.054688 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7d0e1fea2eb2faf1a767a5318c7dc8d77cfa6601 | 168 | py | Python | conf_d/compat.py | josegonzalez/python-conf_d | 34a6fe9e4c6c92a041351a8df8795d83560c454d | [
"MIT"
] | 1 | 2018-03-14T05:04:58.000Z | 2018-03-14T05:04:58.000Z | conf_d/compat.py | josegonzalez/python-conf_d | 34a6fe9e4c6c92a041351a8df8795d83560c454d | [
"MIT"
] | 2 | 2018-01-30T05:57:47.000Z | 2020-09-28T06:26:50.000Z | conf_d/compat.py | josegonzalez/python-conf_d | 34a6fe9e4c6c92a041351a8df8795d83560c454d | [
"MIT"
] | 2 | 2017-06-29T14:47:41.000Z | 2018-12-09T12:40:20.000Z | # -*- coding: utf-8 -*-
from sys import version_info
if version_info[0] < 3:
from ConfigParser import ConfigParser
else:
from configparser import ConfigParser
| 21 | 41 | 0.732143 | 22 | 168 | 5.5 | 0.590909 | 0.181818 | 0.363636 | 0.561983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0.184524 | 168 | 7 | 42 | 24 | 0.861314 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
7d4371b26a08e863fef3245a7560d9e6f97be2a0 | 298 | py | Python | regtests/lang/if_not.py | bpmbank/PythonJS | 591a80afd8233fb715493591db2b68f1748558d9 | [
"BSD-3-Clause"
] | 319 | 2015-01-02T11:34:16.000Z | 2022-03-25T00:43:33.000Z | regtests/lang/if_not.py | idobatter/PythonJS | 0161dd5aba6caeaf5b06e74cc8524efd04a36143 | [
"BSD-3-Clause"
] | 10 | 2015-02-03T02:33:09.000Z | 2021-11-09T21:41:00.000Z | regtests/lang/if_not.py | idobatter/PythonJS | 0161dd5aba6caeaf5b06e74cc8524efd04a36143 | [
"BSD-3-Clause"
] | 61 | 2015-01-02T12:01:56.000Z | 2021-12-08T07:16:16.000Z | """if not"""
def main():
a = False
b = False
if not a:
b = True
TestError( b == True )
a = 0
b = False
if not a:
b = True
TestError( b == True )
a = 0.0
b = False
if not a:
b = True
TestError( b == True )
a = None
b = False
if not a:
b = True
TestError( b == True )
| 9.612903 | 23 | 0.510067 | 53 | 298 | 2.867925 | 0.207547 | 0.263158 | 0.210526 | 0.289474 | 0.855263 | 0.855263 | 0.855263 | 0.855263 | 0.855263 | 0.855263 | 0 | 0.015464 | 0.348993 | 298 | 30 | 24 | 9.933333 | 0.768041 | 0.020134 | 0 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
bc1f9992801776932b1b371f730e05d9b5d16a9b | 4,258 | py | Python | joy/migrations/0023_auto_20200403_0932.py | IreneMercy/Joy-Village-Backup | f038e33aa5c28337bc20c6fcd3273ef37d283564 | [
"MIT"
] | null | null | null | joy/migrations/0023_auto_20200403_0932.py | IreneMercy/Joy-Village-Backup | f038e33aa5c28337bc20c6fcd3273ef37d283564 | [
"MIT"
] | 9 | 2021-03-19T09:58:55.000Z | 2022-03-12T00:22:50.000Z | joy/migrations/0023_auto_20200403_0932.py | IreneMercy/Joy-Foundation | f038e33aa5c28337bc20c6fcd3273ef37d283564 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.10 on 2020-04-03 09:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('joy', '0022_auto_20200403_0931'),
]
operations = [
migrations.AlterField(
model_name='kiambu',
name='ProgramDescription',
field=models.TextField(max_length=500),
),
migrations.AlterField(
model_name='kiambu',
name='ProgramImage',
field=models.ImageField(upload_to=''),
),
migrations.AlterField(
model_name='kiambu',
name='ProgramLocation',
field=models.CharField(max_length=100),
),
migrations.AlterField(
model_name='kiambu',
name='ProgramOnset',
field=models.CharField(max_length=10),
),
migrations.AlterField(
model_name='kiambu',
name='ProgramTitle',
field=models.CharField(max_length=30),
),
migrations.AlterField(
model_name='muranga',
name='ProgramDescription',
field=models.TextField(max_length=500),
),
migrations.AlterField(
model_name='muranga',
name='ProgramImage',
field=models.ImageField(upload_to=''),
),
migrations.AlterField(
model_name='muranga',
name='ProgramLocation',
field=models.CharField(max_length=100),
),
migrations.AlterField(
model_name='muranga',
name='ProgramOnset',
field=models.CharField(max_length=10),
),
migrations.AlterField(
model_name='muranga',
name='ProgramTitle',
field=models.CharField(max_length=30),
),
migrations.AlterField(
model_name='nairobi',
name='ProgramDescription',
field=models.TextField(max_length=500),
),
migrations.AlterField(
model_name='nairobi',
name='ProgramLocation',
field=models.CharField(max_length=100),
),
migrations.AlterField(
model_name='nairobi',
name='ProgramOnset',
field=models.CharField(max_length=10),
),
migrations.AlterField(
model_name='nairobi',
name='ProgramTitle',
field=models.CharField(max_length=30),
),
migrations.AlterField(
model_name='nairobi',
name='image',
field=models.ImageField(upload_to=''),
),
migrations.AlterField(
model_name='nakuru',
name='ProgramDescription',
field=models.TextField(max_length=500),
),
migrations.AlterField(
model_name='nakuru',
name='ProgramImage',
field=models.ImageField(upload_to=''),
),
migrations.AlterField(
model_name='nakuru',
name='ProgramLocation',
field=models.CharField(max_length=100),
),
migrations.AlterField(
model_name='nakuru',
name='ProgramOnset',
field=models.CharField(max_length=10),
),
migrations.AlterField(
model_name='nakuru',
name='ProgramTitle',
field=models.CharField(max_length=30),
),
migrations.AlterField(
model_name='nyeri',
name='ProgramDescription',
field=models.TextField(max_length=500),
),
migrations.AlterField(
model_name='nyeri',
name='ProgramImage',
field=models.ImageField(upload_to=''),
),
migrations.AlterField(
model_name='nyeri',
name='ProgramLocation',
field=models.CharField(max_length=100),
),
migrations.AlterField(
model_name='nyeri',
name='ProgramOnset',
field=models.CharField(max_length=10),
),
migrations.AlterField(
model_name='nyeri',
name='ProgramTitle',
field=models.CharField(max_length=30),
),
]
| 30.633094 | 51 | 0.538516 | 349 | 4,258 | 6.418338 | 0.143266 | 0.223214 | 0.279018 | 0.323661 | 0.932143 | 0.932143 | 0.861607 | 0.861607 | 0.840625 | 0.840625 | 0 | 0.029507 | 0.347346 | 4,258 | 138 | 52 | 30.855072 | 0.776538 | 0.010803 | 0 | 0.939394 | 1 | 0 | 0.123278 | 0.005463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007576 | 0 | 0.030303 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 11 |
70edbf54b6c7351fd3cc2c841021fa856915384d | 2,666 | py | Python | tests/server/blueprints/variant/test_variant_verification_controllers.py | mhkc/scout | a7162f28c0f3490c3f3376268118fa8e6072a9db | [
"BSD-3-Clause"
] | null | null | null | tests/server/blueprints/variant/test_variant_verification_controllers.py | mhkc/scout | a7162f28c0f3490c3f3376268118fa8e6072a9db | [
"BSD-3-Clause"
] | null | null | null | tests/server/blueprints/variant/test_variant_verification_controllers.py | mhkc/scout | a7162f28c0f3490c3f3376268118fa8e6072a9db | [
"BSD-3-Clause"
] | null | null | null | from scout.server.blueprints.variant.verification_controllers import variant_verification
from flask import url_for
def mock_url_for(param, institute_id, case_name, variant_id):
pass
def test_sanger_mail_sent(
app,
mock_mail,
real_variant_database,
institute_obj,
case_obj,
user_obj,
mock_sender,
mock_comment,
):
adapter = real_variant_database
## GIVEN we have a variant the we want to order sanger for
institute_id = institute_obj["_id"]
case_name = case_obj["display_name"]
variant_obj = adapter.variant_collection.find_one()
variant_obj["hgnc_symbols"] = ""
variant_obj["panels"] = ""
variant_id = variant_obj["document_id"]
## WHEN calling variant_verification method with order==True
with app.test_client() as client:
resp = client.get(url_for("auto_login"))
variant_verification(
adapter,
institute_id,
case_name,
variant_id,
mock_sender,
"complete_variant_url",
True,
mock_comment,
url_builder=mock_url_for,
mail=mock_mail,
user_obj=user_obj,
)
## THEN the supplied mail objects send method should have been called
assert mock_mail._send_was_called
## THEN the supplied mail objects send method should have received a message object
assert mock_mail._message
def test_cancel_sanger_mail_sent(
app,
mock_mail,
real_variant_database,
institute_obj,
case_obj,
user_obj,
mock_sender,
mock_comment,
):
adapter = real_variant_database
## GIVEN we have a variant the we want to order sanger for
institute_id = institute_obj["_id"]
case_name = case_obj["display_name"]
variant_obj = adapter.variant_collection.find_one()
variant_obj["hgnc_symbols"] = ""
variant_obj["panels"] = ""
variant_id = variant_obj["document_id"]
## WHEN calling variant_verification method with order==False
with app.test_client() as client:
resp = client.get(url_for("auto_login"))
variant_verification(
adapter,
institute_id,
case_name,
variant_id,
mock_sender,
"complete_variant_url",
False,
mock_comment,
url_builder=mock_url_for,
mail=mock_mail,
user_obj=user_obj,
)
## THEN the supplied mail objects send method should have been called
assert mock_mail._send_was_called
## THEN the supplied mail objects send method should have received a message object
assert mock_mail._message
| 28.666667 | 89 | 0.659415 | 332 | 2,666 | 4.954819 | 0.222892 | 0.038906 | 0.030395 | 0.046201 | 0.902128 | 0.902128 | 0.885106 | 0.885106 | 0.885106 | 0.885106 | 0 | 0 | 0.270818 | 2,666 | 92 | 90 | 28.978261 | 0.846193 | 0.196549 | 0 | 0.861111 | 0 | 0 | 0.069647 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.041667 | false | 0.013889 | 0.027778 | 0 | 0.069444 | 0.013889 | 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 |
cb345f0f340a248342f412d85e236ccf3e57f0d7 | 151 | py | Python | src/zotero_json_parsing/__init__.py | stefantaubert/zotero-folder-export | 5910d046f0c206f39a81c57db123c68a1740c6e4 | [
"MIT"
] | null | null | null | src/zotero_json_parsing/__init__.py | stefantaubert/zotero-folder-export | 5910d046f0c206f39a81c57db123c68a1740c6e4 | [
"MIT"
] | null | null | null | src/zotero_json_parsing/__init__.py | stefantaubert/zotero-folder-export | 5910d046f0c206f39a81c57db123c68a1740c6e4 | [
"MIT"
] | null | null | null | from zotero_json_parsing.main import parse_zotero_json, parse_zotero_json_tqdm
from zotero_json_parsing.zotero_data import Collection, Item, Data, Tag
| 50.333333 | 78 | 0.880795 | 24 | 151 | 5.125 | 0.5 | 0.325203 | 0.227642 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 151 | 2 | 79 | 75.5 | 0.884892 | 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 | 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 | 0 | 0 | 0 | 7 |
1dbe3dfb8152c2e5fac1afc5ab42006291675adc | 39 | py | Python | AtCoder/ABC/000-159/ABC159_C.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | AtCoder/ABC/000-159/ABC159_C.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | AtCoder/ABC/000-159/ABC159_C.py | sireline/PyCode | 8578467710c3c1faa89499f5d732507f5d9a584c | [
"MIT"
] | null | null | null | L = int(input())
print(L/3 * L/3 * L/3) | 19.5 | 22 | 0.512821 | 10 | 39 | 2 | 0.5 | 0.3 | 0.3 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.179487 | 39 | 2 | 22 | 19.5 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
1de15481a25c50c83ba99038bc1a2322bb205f65 | 17,602 | py | Python | tests/test_use_in_openmc.py | openmc-data-storage/openmc_data_downloader | 41b6be706e2e41d68bd39267a8444a441d80f98a | [
"MIT"
] | 7 | 2021-03-23T16:22:20.000Z | 2021-12-09T17:32:35.000Z | tests/test_use_in_openmc.py | openmc-data-storage/openmc_data_downloader | 41b6be706e2e41d68bd39267a8444a441d80f98a | [
"MIT"
] | 15 | 2021-03-24T21:36:40.000Z | 2021-11-11T13:42:18.000Z | tests/test_use_in_openmc.py | openmc-data-storage/openmc_data_downloader | 41b6be706e2e41d68bd39267a8444a441d80f98a | [
"MIT"
] | 1 | 2021-12-03T12:24:25.000Z | 2021-12-03T12:24:25.000Z | #!/usr/bin/env python3
__author__ = "Jonathan Shimwell"
import os
import unittest
from pathlib import Path
import openmc
from openmc_data_downloader import just_in_time_library_generator
class test_usage_with_openmc_python_api(unittest.TestCase):
def test_materials_download(self):
"""openmc.Materials are a container for openmc.Material objects. This
test checks that they are handeled correctly"""
os.system("rm *.h5")
os.system("rm my_custom_nuclear_data_with_materials/*.h5")
# Define material
my_mat_1 = openmc.Material()
my_mat_1.add_nuclide("Pu239", 3.7047e-2)
my_mat_2 = openmc.Material()
my_mat_2.add_nuclide("Pu240", 1.7512e-3)
my_mat_2.add_nuclide("As75", 1.3752e-3)
mats = openmc.Materials([my_mat_1, my_mat_2])
mats.export_to_xml()
# Create a sphere of my_mat
surf_1 = openmc.Sphere(r=1)
surf_2 = openmc.Sphere(r=2, boundary_type="vacuum")
cell_1 = openmc.Cell(fill=my_mat_1, region=-surf_1)
cell_2 = openmc.Cell(fill=my_mat_1, region=surf_1 and -surf_2)
openmc.Geometry([cell_1, cell_2]).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 5
settings.batches = 3
settings.inactive = 0
center = (0.0, 0.0, 0.0)
settings.source = openmc.Source(space=openmc.stats.Point(center))
settings.export_to_xml()
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
just_in_time_library_generator(
destination="my_custom_nuclear_data_with_materials",
libraries=["TENDL-2019"],
materials=mats,
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
assert Path(
"my_custom_nuclear_data_with_materials/TENDL-2019_Pu239.h5"
).is_file()
assert Path(
"my_custom_nuclear_data_with_materials/TENDL-2019_Pu240.h5"
).is_file()
assert Path(
"my_custom_nuclear_data_with_materials/TENDL-2019_As75.h5"
).is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.3.h5").is_file()
assert (
len(list(Path("my_custom_nuclear_data_with_materials").glob("*.h5"))) == 3
)
def test_simulation_with_destination(self):
os.system("rm *.h5")
os.system("rm my_custom_nuclear_data_dir/*.h5")
# Define material
my_mat = openmc.openmc.Material()
my_mat.add_nuclide("Pu239", 3.7047e-2)
my_mat.add_nuclide("Pu240", 1.7512e-3)
my_mat.add_nuclide("As75", 1.3752e-3)
openmc.openmc.Materials([my_mat]).export_to_xml()
# Create a sphere of my_mat
surf = openmc.Sphere(r=6.3849, boundary_type="vacuum")
main_cell = openmc.Cell(fill=my_mat, region=-surf)
openmc.Geometry([main_cell]).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 10
settings.batches = 2
settings.inactive = 0
center = (0.0, 0.0, 0.0)
settings.source = openmc.Source(space=openmc.stats.Point(center))
settings.export_to_xml()
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
just_in_time_library_generator(
destination="my_custom_nuclear_data_dir",
libraries=["TENDL-2019"],
materials=my_mat,
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
assert Path("my_custom_nuclear_data_dir/TENDL-2019_Pu239.h5").is_file()
assert Path("my_custom_nuclear_data_dir/TENDL-2019_Pu240.h5").is_file()
assert Path("my_custom_nuclear_data_dir/TENDL-2019_As75.h5").is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.2.h5").is_file()
assert len(list(Path("my_custom_nuclear_data_dir").glob("*.h5"))) == 3
def test_photon_simulation_with_single_mat(self):
os.system("rm *.h5")
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
# Define material
my_mat = openmc.Material()
my_mat.add_element("Fe", 1)
openmc.Materials([my_mat]).export_to_xml()
# Create a sphere of my_mat
surf = openmc.Sphere(r=6.3849, boundary_type="vacuum")
main_cell = openmc.Cell(fill=my_mat, region=-surf)
openmc.Geometry([main_cell]).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 10
settings.batches = 2
settings.inactive = 0
settings.run_mode = "fixed source"
settings.photon_transport = True
source = openmc.Source()
source.space = openmc.stats.Point((0, 0, 0))
source.angle = openmc.stats.Isotropic()
# This is a Co60 source, see the task on sources to understand it
source.energy = openmc.stats.Discrete([1.1732e6], [1.0])
source.particle = "photon"
settings.source = source
settings.export_to_xml()
just_in_time_library_generator(
libraries=["FENDL-3.1d"],
materials=my_mat,
# TODO find out why neutrons are needed here
particles=["photon", "neutron"],
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
assert Path("FENDL-3.1d_Fe.h5").is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.2.h5").is_file()
# normally 3 if just photons used
assert len(list(Path(".").glob("*.h5"))) == 7
def test_photon_neutron_simulation_with_single_mat(self):
os.system("rm *.h5")
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
# Define material
my_mat = openmc.openmc.Material()
my_mat.add_element("Fe", 1)
openmc.openmc.Materials([my_mat]).export_to_xml()
# Create a sphere of my_mat
surf = openmc.Sphere(r=6.3849, boundary_type="vacuum")
main_cell = openmc.Cell(fill=my_mat, region=-surf)
openmc.Geometry([main_cell]).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 10
settings.batches = 2
settings.inactive = 0
settings.photon_transport = True
center = (0.0, 0.0, 0.0)
settings.source = openmc.Source(space=openmc.stats.Point(center))
settings.run_mode = "fixed source"
settings.export_to_xml()
just_in_time_library_generator(
libraries=["FENDL-3.1d"],
materials=my_mat,
particles=["neutron", "photon"],
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
assert Path("FENDL-3.1d_Fe54.h5").is_file()
assert Path("FENDL-3.1d_Fe56.h5").is_file()
assert Path("FENDL-3.1d_Fe57.h5").is_file()
assert Path("FENDL-3.1d_Fe58.h5").is_file()
assert Path("FENDL-3.1d_Fe.h5").is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.2.h5").is_file()
assert len(list(Path(".").glob("*.h5"))) == 7 # summary and statepoint
def test_simulation_with_single_mat(self):
os.system("rm *.h5")
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
# Define material
my_mat = openmc.openmc.Material()
my_mat.add_nuclide("Pu239", 3.7047e-2)
my_mat.add_nuclide("Pu240", 1.7512e-3)
my_mat.add_nuclide("As75", 1.3752e-3)
openmc.openmc.Materials([my_mat]).export_to_xml()
# Create a sphere of my_mat
surf = openmc.Sphere(r=6.3849, boundary_type="vacuum")
main_cell = openmc.Cell(fill=my_mat, region=-surf)
openmc.Geometry([main_cell]).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 10
settings.batches = 2
settings.inactive = 0
center = (0.0, 0.0, 0.0)
settings.source = openmc.Source(space=openmc.stats.Point(center))
settings.export_to_xml()
just_in_time_library_generator(
libraries=["TENDL-2019"],
materials=my_mat,
particles="neutron",
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
assert Path("TENDL-2019_Pu239.h5").is_file()
assert Path("TENDL-2019_Pu240.h5").is_file()
assert Path("TENDL-2019_As75.h5").is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.2.h5").is_file()
assert len(list(Path(".").glob("*.h5"))) == 5 # summary and statepoint
def test_simulation_with_sab(self):
os.system("rm *.h5")
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
# Define material
my_mat = openmc.Material()
my_mat.add_element("Be", 0.5)
my_mat.add_s_alpha_beta("Be_in_BeO")
openmc.openmc.Materials([my_mat]).export_to_xml()
# Create a sphere of my_mat
surf = openmc.Sphere(r=6.3849, boundary_type="vacuum")
main_cell = openmc.Cell(fill=my_mat, region=-surf)
openmc.Geometry([main_cell]).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 10
settings.batches = 2
settings.inactive = 0
center = (0.0, 0.0, 0.0)
settings.source = openmc.Source(space=openmc.stats.Point(center))
settings.run_mode = "fixed source"
settings.export_to_xml()
just_in_time_library_generator(
libraries=["ENDFB-7.1-NNDC"],
materials=my_mat,
particles="neutron",
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
assert Path("ENDFB-7.1-NNDC_Be9.h5").is_file()
assert Path("ENDFB-7.1-NNDC_c_Be_in_BeO.h5").is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.2.h5").is_file()
assert len(list(Path(".").glob("*.h5"))) == 4 # summary and statepoint
def test_wmp_simulation_with_single_mat(self):
os.system("rm *.h5")
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
# Define material
my_mat = openmc.openmc.Material()
my_mat.add_nuclide("P31", 1)
my_mat.temperature = 300 # main_cell used instead
openmc.openmc.Materials([my_mat]).export_to_xml()
# Create a sphere of my_mat
surf = openmc.Sphere(r=6.3849, boundary_type="vacuum")
main_cell = openmc.Cell(fill=my_mat, region=-surf)
main_cell.temperature = 300
openmc.Geometry([main_cell]).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 10
settings.batches = 2
settings.inactive = 0
settings.photon_transport = False
center = (0.0, 0.0, 0.0)
settings.source = openmc.Source(space=openmc.stats.Point(center))
settings.run_mode = "fixed source"
settings.temperature = {"multipole": True}
settings.export_to_xml()
just_in_time_library_generator(
# 'ENDFB-7.1-NNDC' is needed as WMP simulations appear to require
# non WMP cross sections as well when simulating
# https://openmc.discourse.group/t/minimal-wmp-simulation-with-minimal-cross-section-xml/1100/7
libraries=["ENDFB-7.1-NNDC", "ENDFB-7.1-WMP"],
materials=my_mat,
particles="neutron",
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
os.system("ls")
# WMP is currently not downloaded due to this issue
# https://github.com/openmc-data-storage/openmc_data_downloader/issues/13
# assert Path('ENDFB-7.1-WMP_P31.h5').is_file()
assert Path("ENDFB-7.1-NNDC_P31.h5").is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.2.h5").is_file()
assert len(list(Path(".").glob("*.h5"))) == 3
def test_simulation_with_single_mat_list(self):
os.system("rm *.h5")
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
# Define material
my_mat = openmc.openmc.Material()
my_mat.add_nuclide("Pu239", 3.7047e-2)
my_mat.add_nuclide("Pu240", 1.7512e-3)
my_mat.add_nuclide("As75", 1.3752e-3)
openmc.openmc.Materials([my_mat]).export_to_xml()
# Create a sphere of my_mat
surf = openmc.Sphere(r=6.3849, boundary_type="vacuum")
main_cell = openmc.Cell(fill=my_mat, region=-surf)
openmc.Geometry([main_cell]).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 10
settings.batches = 2
settings.inactive = 0
center = (0.0, 0.0, 0.0)
settings.source = openmc.Source(space=openmc.stats.Point(center))
settings.export_to_xml()
just_in_time_library_generator(
libraries=["TENDL-2019"],
materials=[my_mat],
particles="neutron",
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
assert Path("TENDL-2019_Pu239.h5").is_file()
assert Path("TENDL-2019_Pu240.h5").is_file()
assert Path("TENDL-2019_As75.h5").is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.2.h5").is_file()
assert len(list(Path(".").glob("*.h5"))) == 5 # summary and statepoint
def test_simulation_with_multi_mat_list(self):
os.system("rm *.h5")
# this clears the enviromental varible just to be sure that current
# system settings are not being used
try:
del os.environ["OPENMC_CROSS_SECTIONS"]
except KeyError:
# key not found on system
pass
# Define material
my_mat1 = openmc.openmc.Material()
my_mat1.add_nuclide("Pu239", 3.7047e-2)
my_mat1.add_nuclide("Pu240", 1.7512e-3)
my_mat2 = openmc.openmc.Material()
my_mat2.add_element("As", 1.3752e-3)
openmc.openmc.Materials([my_mat1, my_mat2]).export_to_xml()
# Create a sphere of my_mat
surf1 = openmc.Sphere(r=1)
surf2 = openmc.Sphere(r=6, boundary_type="vacuum")
main_cell = openmc.Cell(fill=my_mat1, region=-surf1)
outer_cell = openmc.Cell(fill=my_mat2, region=+surf1 & -surf2)
universe = openmc.Universe(cells=[main_cell, outer_cell])
openmc.Geometry(universe).export_to_xml()
# Define settings for the simulation
settings = openmc.Settings()
settings.particles = 10
settings.batches = 2
settings.inactive = 0
center = (0.0, 0.0, 0.0)
settings.source = openmc.Source(space=openmc.stats.Point(center))
settings.export_to_xml()
just_in_time_library_generator(
libraries=["TENDL-2019"],
materials=[my_mat1, my_mat2],
set_OPENMC_CROSS_SECTIONS=True,
)
os.system("echo $OPENMC_CROSS_SECTIONS")
openmc.run()
assert Path("TENDL-2019_Pu239.h5").is_file()
assert Path("TENDL-2019_Pu240.h5").is_file()
assert Path("TENDL-2019_As75.h5").is_file()
assert Path("summary.h5").is_file()
assert Path("statepoint.2.h5").is_file()
assert len(list(Path(".").glob("*.h5"))) == 5 # summary and statepoint
| 34.178641 | 107 | 0.614419 | 2,282 | 17,602 | 4.527607 | 0.096845 | 0.02952 | 0.033295 | 0.056911 | 0.855207 | 0.832172 | 0.819493 | 0.800813 | 0.787263 | 0.762679 | 0 | 0.044103 | 0.272185 | 17,602 | 514 | 108 | 34.245136 | 0.762392 | 0.147767 | 0 | 0.718023 | 0 | 0 | 0.134401 | 0.06462 | 0 | 0 | 0 | 0.001946 | 0.148256 | 1 | 0.026163 | false | 0.026163 | 0.014535 | 0 | 0.043605 | 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 |
698fd71a152e5c9c82ec80635a6d4070ecaff23e | 306 | py | Python | src/consistent_faker/formats/emails/__init__.py | linkerzx/ConsistentFaker | 6de78aaac2e08b8f2b2e8f687076271159bbc871 | [
"MIT"
] | null | null | null | src/consistent_faker/formats/emails/__init__.py | linkerzx/ConsistentFaker | 6de78aaac2e08b8f2b2e8f687076271159bbc871 | [
"MIT"
] | null | null | null | src/consistent_faker/formats/emails/__init__.py | linkerzx/ConsistentFaker | 6de78aaac2e08b8f2b2e8f687076271159bbc871 | [
"MIT"
] | null | null | null | """
Formats used to generate emails within the Fake Email object.
"""
from consistent_faker.formats.emails.email_custom_formats import CUSTOM_FORMATS
from consistent_faker.formats.emails.email_work_formats import WORK_FORMATS
from consistent_faker.formats.emails.email_public_formats import PUBLIC_FORMATS
| 43.714286 | 79 | 0.869281 | 43 | 306 | 5.906977 | 0.395349 | 0.165354 | 0.224409 | 0.307087 | 0.492126 | 0.492126 | 0.346457 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 306 | 6 | 80 | 51 | 0.900709 | 0.199346 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
69a8eda2106c0b7d1a42ad501ea24aee635860d9 | 6,222 | py | Python | jupyterlab2pymolpysnips/CoordinateCovalentBonds/coordinate.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/CoordinateCovalentBonds/coordinate.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/CoordinateCovalentBonds/coordinate.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | """
cmd.do('viewport 900,600;')
cmd.do('fetch 3nd4, type=pdb, async=0;')
cmd.do('run ~/Scripts/PyMOLScripts/quat.py;')
cmd.do('quat 3nd4;')
cmd.do('show sticks;')
cmd.do('set stick_radius=0.125;')
cmd.do('hide everything, name H*;')
cmd.do('bg_color white;')
cmd.do('create coorCov, (3nd4_1 and (resi 19 or resi 119 or resi 219 or resi 319 or resi 419 or resi 519 or (resi 3 and name N7)));')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/A`3/N7);')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/HOH`119/O);')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/HOH`219/O);')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/HOH`319/O);')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/HOH`519/O);')
cmd.do('distance (3nd4_1 and chain Aand resi 19 and name NA), (3nd4_1 and chain A and resi 519);')
cmd.do('distance (3nd4_1 and chain A and resi 19 and name NA), (3nd4_1 and chain A and resi 419);')
cmd.do('distance (3nd4_1 and chain A and resi 19 and name NA), (3nd4_1 and chain A and resi 319);')
cmd.do('distance (3nd4_1 and chain A and resi 19 and name NA), (3nd4_1 and chain A and resi 219);')
cmd.do('show nb_spheres; ')
cmd.do('set nb_spheres_size, .35;')
cmd.do('distance hbond1,/3nd4_1/1/A/HOH`119/O, /3nd4_1/1/A/A`3/OP2;')
cmd.do('distance hbond2,/3nd4_1/1/A/HOH`319/O, /3nd4_1/1/A/A`3/OP2;')
cmd.do('distance hbond3,/3nd4_1/1/A/HOH`91/O,/3nd4_1/1/A/HOH`119/O;')
cmd.do('distance hbond4,/3nd4_1/1/A/G`4/N7,/3nd4_1/1/A/HOH`91/O;')
cmd.do('distance hbond5,/3nd4_1/1/A/G`4/O6, /3nd4_1/1/A/HOH`419/O;')
cmd.do('distance hbond6,/3nd4_1/1/A/HOH`91/O,/3nd4_1/1/A/G`4/OP2;')
cmd.do('distance hbond7,/3nd4_1/1/A/HOH`319/O,/3nd4_1/1/A/G`2/OP2;')
cmd.do('distance hbond9,/3nd4_1/1/A/HOH`419/O,/3nd4_2/2/A/HOH`74/O;')
cmd.do('distance hbond10,/3nd4_2/2/A/C`15/O2,/3nd4_1/1/A/G`2/N2;')
cmd.do('distance hbond11, /3nd4_2/2/A/C`15/N3,/3nd4_1/1/A/G`2/N1;')
cmd.do('distance hbond12,/3nd4_2/2/A/C`15/N4,/3nd4_1/1/A/G`2/O6;')
cmd.do('distance hbond13, /3nd4_2/2/A/U`14/N3,/3nd4_1/1/A/A`3/N1;')
cmd.do('distance hbond14,3nd4_2/2/A/U`14/O4,/3nd4_1/1/A/A`3/N6;')
cmd.do('distance hbond15, /3nd4_2/2/A/C`13/N4,/3nd4_1/1/A/G`4/O6;')
cmd.do(' distance hbond16,/3nd4_2/2/A/C`13/N3, /3nd4_1/1/A/G`4/N1;')
cmd.do('distance hbond17, /3nd4_1/1/A/G`4/N2,/3nd4_2/2/A/C`13/O2;')
cmd.do('distance hbond18,/3nd4_1/1/A/G`2/N2,/3nd4_2/2/A/C`15/O2;')
cmd.do('distance hbond19,/3nd4_1/1/A/HOH`91/O,/3nd4_1/1/A/G`4/OP2; ')
cmd.do('set depth_cue=0;')
cmd.do('set ray_trace_fog=0;')
cmd.do('set dash_color, black;')
cmd.do('set label_font_id, 5;')
cmd.do('set label_size, 36;')
cmd.do('set label_position, (0.5, 1.0, 2.0);')
cmd.do('set label_color, black;')
cmd.do('set dash_gap, 0.2;')
cmd.do('set dash_width, 2.0;')
cmd.do('set dash_length, 0.2;')
cmd.do('set label_color, black;')
cmd.do('set dash_gap, 0.2;')
cmd.do('set dash_width, 2.0;')
cmd.do('set dash_length, 0.2;')
cmd.do('select carbon, element C;')
cmd.do('color yellow, carbon;')
cmd.do('disable carbon;')
cmd.do('set_view(-0.9,0.34,-0.26,0.33,0.18,-0.93,-0.27,-0.92,-0.28,-0.07,-0.23,-27.83,8.63,19.85,13.2,16.0,31.63,-20.0)')
"""
cmd.do('viewport 900,600;')
cmd.do('fetch 3nd4, type=pdb, async=0;')
cmd.do('run ~/Scripts/PyMOLScripts/quat.py;')
cmd.do('quat 3nd4;')
cmd.do('show sticks;')
cmd.do('set stick_radius=0.125;')
cmd.do('hide everything, name H*;')
cmd.do('bg_color white;')
cmd.do('create coorCov, (3nd4_1 and (resi 19 or resi 119 or resi 219 or resi 319 or resi 419 or resi 519 or (resi 3 and name N7)));')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/A`3/N7);')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/HOH`119/O);')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/HOH`219/O);')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/HOH`319/O);')
cmd.do('bond (coorCov//A/NA`19/NA),(coorCov//A/HOH`519/O);')
cmd.do('distance (3nd4_1 and chain Aand resi 19 and name NA), (3nd4_1 and chain A and resi 519);')
cmd.do('distance (3nd4_1 and chain A and resi 19 and name NA), (3nd4_1 and chain A and resi 419);')
cmd.do('distance (3nd4_1 and chain A and resi 19 and name NA), (3nd4_1 and chain A and resi 319);')
cmd.do('distance (3nd4_1 and chain A and resi 19 and name NA), (3nd4_1 and chain A and resi 219);')
cmd.do('show nb_spheres; ')
cmd.do('set nb_spheres_size, .35;')
cmd.do('distance hbond1,/3nd4_1/1/A/HOH`119/O, /3nd4_1/1/A/A`3/OP2;')
cmd.do('distance hbond2,/3nd4_1/1/A/HOH`319/O, /3nd4_1/1/A/A`3/OP2;')
cmd.do('distance hbond3,/3nd4_1/1/A/HOH`91/O,/3nd4_1/1/A/HOH`119/O;')
cmd.do('distance hbond4,/3nd4_1/1/A/G`4/N7,/3nd4_1/1/A/HOH`91/O;')
cmd.do('distance hbond5,/3nd4_1/1/A/G`4/O6, /3nd4_1/1/A/HOH`419/O;')
cmd.do('distance hbond6,/3nd4_1/1/A/HOH`91/O,/3nd4_1/1/A/G`4/OP2;')
cmd.do('distance hbond7,/3nd4_1/1/A/HOH`319/O,/3nd4_1/1/A/G`2/OP2;')
cmd.do('distance hbond9,/3nd4_1/1/A/HOH`419/O,/3nd4_2/2/A/HOH`74/O;')
cmd.do('distance hbond10,/3nd4_2/2/A/C`15/O2,/3nd4_1/1/A/G`2/N2;')
cmd.do('distance hbond11, /3nd4_2/2/A/C`15/N3,/3nd4_1/1/A/G`2/N1;')
cmd.do('distance hbond12,/3nd4_2/2/A/C`15/N4,/3nd4_1/1/A/G`2/O6;')
cmd.do('distance hbond13, /3nd4_2/2/A/U`14/N3,/3nd4_1/1/A/A`3/N1;')
cmd.do('distance hbond14,3nd4_2/2/A/U`14/O4,/3nd4_1/1/A/A`3/N6;')
cmd.do('distance hbond15, /3nd4_2/2/A/C`13/N4,/3nd4_1/1/A/G`4/O6;')
cmd.do(' distance hbond16,/3nd4_2/2/A/C`13/N3, /3nd4_1/1/A/G`4/N1;')
cmd.do('distance hbond17, /3nd4_1/1/A/G`4/N2,/3nd4_2/2/A/C`13/O2;')
cmd.do('distance hbond18,/3nd4_1/1/A/G`2/N2,/3nd4_2/2/A/C`15/O2;')
cmd.do('distance hbond19,/3nd4_1/1/A/HOH`91/O,/3nd4_1/1/A/G`4/OP2; ')
cmd.do('set depth_cue=0;')
cmd.do('set ray_trace_fog=0;')
cmd.do('set dash_color, black;')
cmd.do('set label_font_id, 5;')
cmd.do('set label_size, 36;')
cmd.do('set label_position, (0.5, 1.0, 2.0);')
cmd.do('set label_color, black;')
cmd.do('set dash_gap, 0.2;')
cmd.do('set dash_width, 2.0;')
cmd.do('set dash_length, 0.2;')
cmd.do('set label_color, black;')
cmd.do('set dash_gap, 0.2;')
cmd.do('set dash_width, 2.0;')
cmd.do('set dash_length, 0.2;')
cmd.do('select carbon, element C;')
cmd.do('color yellow, carbon;')
cmd.do('disable carbon;')
cmd.do('set_view(-0.9,0.34,-0.26,0.33,0.18,-0.93,-0.27,-0.92,-0.28,-0.07,-0.23,-27.83,8.63,19.85,13.2,16.0,31.63,-20.0)')
# Description: Coordinate covalent bonds to metals and H-bonds friom RNA.
# Source: placeHolder
| 52.285714 | 133 | 0.668274 | 1,445 | 6,222 | 2.784775 | 0.09827 | 0.139165 | 0.077535 | 0.090457 | 0.981113 | 0.981113 | 0.981113 | 0.981113 | 0.981113 | 0.981113 | 0 | 0.155323 | 0.079074 | 6,222 | 118 | 134 | 52.728814 | 0.546946 | 0.506429 | 0 | 0.142857 | 0 | 0.517857 | 0.797452 | 0.370467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
69c9eebf2c443e94ac3909e6e0bd34d0708425bd | 80,735 | py | Python | test/smoketest/server_test.py | cdosco/Colorado-RLA | 4443924aff5d2ab26c40f55089cae356d1c94289 | [
"RSA-MD"
] | 23 | 2017-07-05T22:43:29.000Z | 2022-01-25T18:59:37.000Z | test/smoketest/server_test.py | cdosco/Colorado-RLA | 4443924aff5d2ab26c40f55089cae356d1c94289 | [
"RSA-MD"
] | 603 | 2017-07-07T04:03:37.000Z | 2020-08-07T11:57:57.000Z | test/smoketest/server_test.py | cdosco/Colorado-RLA | 4443924aff5d2ab26c40f55089cae356d1c94289 | [
"RSA-MD"
] | 6 | 2017-07-06T14:02:43.000Z | 2018-06-14T20:19:00.000Z | # Generated by zerotest
from __future__ import unicode_literals
from zerotest.request import Request
from zerotest.response import Response
from zerotest.response_matcher import ResponseMatcher
matcher = ResponseMatcher(ignore_all_headers=True)
verify_ssl = False
def test_get_ballot_manifest_county():
request = Request(headers={u'Accept': u'*/*', u'User-Agent': u'curl/7.35.0'}, host=u'localhost:8888', params=u'3', path=u'/ballot-manifest/county', scheme=u'http', method=u'GET')
real = Response.from_requests_response(request.send_request(verify=verify_ssl))
expect = Response(status=200, headers={}, body=u'[\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "batch_size": 50,\n "storage_location": "Bin 1",\n "id": 196\n },\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "batch_size": 25,\n "storage_location": "Bin 22",\n "id": 194\n },\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "batch_size": 20,\n "storage_location": "Bin 1",\n "id": 195\n },\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "batch_size": 50,\n "storage_location": "Bin 17",\n "id": 198\n },\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "batch_size": 20,\n "storage_location": "Bin 17",\n "id": 197\n }\n]')
# matcher.match_responses(expect, real)
assert(abs(len(expect.body) - len(real.body)) < 10)
def test_get_ballot_manifest():
request = Request(headers={u'Accept': u'*/*', u'User-Agent': u'curl/7.35.0'}, host=u'localhost:8888', scheme=u'http', method=u'GET', path=u'/ballot-manifest')
real = Response.from_requests_response(request.send_request(verify=verify_ssl))
expect = Response(status=200, headers={}, body=u'[\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "batch_size": 25,\n "storage_location": "Bin 22",\n "id": 194\n },\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "batch_size": 20,\n "storage_location": "Bin 1",\n "id": 195\n },\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "batch_size": 50,\n "storage_location": "Bin 1",\n "id": 196\n },\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "batch_size": 20,\n "storage_location": "Bin 17",\n "id": 197\n },\n {\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 825000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "batch_size": 50,\n "storage_location": "Bin 17",\n "id": 198\n }\n]')
# matcher.match_responses(expect, real)
assert(abs(len(expect.body) - len(real.body)) < 10)
def test_get_contest():
request = Request(headers={u'Accept': u'*/*', u'User-Agent': u'curl/7.35.0'}, host=u'localhost:8888', scheme=u'http', method=u'GET', path=u'/contest')
real = Response.from_requests_response(request.send_request(verify=verify_ssl))
expect = Response(status=200, headers={}, body=u'[\n {\n "name": "Regent of the University of Colorado - At Large",\n "description": "",\n "choice_names": [\n "Clear Winner",\n "Distant Loser"\n ],\n "choice_descriptions": {\n "Distant Loser": "REP",\n "Clear Winner": "DEM"\n },\n "votes_allowed": 1,\n "id": 201\n },\n {\n "name": "COUNTY COMMISSIONER DISTRICT 3",\n "description": "",\n "choice_names": [\n "Jeff Baker",\n "Janet Lee Cook"\n ],\n "choice_descriptions": {\n "Janet Lee Cook": "DEM",\n "Jeff Baker": "REP"\n },\n "votes_allowed": 1,\n "id": 202\n },\n {\n "name": "Proposition 107 (Statutory)",\n "description": "",\n "choice_names": [\n "YES",\n "NO"\n ],\n "choice_descriptions": {\n "NO": "",\n "YES": ""\n },\n "votes_allowed": 1,\n "id": 203\n }\n]')
matcher.match_responses(expect, real)
def test_get_contest_county():
request = Request(headers={u'Accept': u'*/*', u'User-Agent': u'curl/7.35.0'}, host=u'localhost:8888', params=u'3', path=u'/contest/county', scheme=u'http', method=u'GET')
real = Response.from_requests_response(request.send_request(verify=verify_ssl))
expect = Response(status=200, headers={}, body=u'[\n {\n "name": "Proposition 107 (Statutory)",\n "description": "",\n "choice_names": [\n "YES",\n "NO"\n ],\n "choice_descriptions": {\n "NO": "",\n "YES": ""\n },\n "votes_allowed": 1,\n "id": 203\n },\n {\n "name": "Regent of the University of Colorado - At Large",\n "description": "",\n "choice_names": [\n "Clear Winner",\n "Distant Loser"\n ],\n "choice_descriptions": {\n "Distant Loser": "REP",\n "Clear Winner": "DEM"\n },\n "votes_allowed": 1,\n "id": 201\n },\n {\n "name": "COUNTY COMMISSIONER DISTRICT 3",\n "description": "",\n "choice_names": [\n "Jeff Baker",\n "Janet Lee Cook"\n ],\n "choice_descriptions": {\n "Janet Lee Cook": "DEM",\n "Jeff Baker": "REP"\n },\n "votes_allowed": 1,\n "id": 202\n }\n]')
matcher.match_responses(expect, real)
def test_get_contest_id_71():
request = Request(headers={u'Accept': u'*/*', u'User-Agent': u'curl/7.35.0'}, host=u'localhost:8888', scheme=u'http', method=u'GET', path=u'/contest/id/71')
real = Response.from_requests_response(request.send_request(verify=verify_ssl))
expect = Response(status=404, headers={u'content-type': u'text/html;charset=utf-8'}, body=u'<html><body><h2>404 Not found</h2></body></html>')
matcher.match_responses(expect, real)
def test_get_cvr_county():
request = Request(headers={u'Accept': u'*/*', u'User-Agent': u'curl/7.35.0'}, host=u'localhost:8888', params=u'3', path=u'/cvr/county', scheme=u'http', method=u'GET')
real = Response.from_requests_response(request.send_request(verify=verify_ssl))
expect = Response(status=200, headers={}, body=u'[{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "1",\n "imprinted_id": "10-2-1",\n "ballot_type": "3",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 582\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "10",\n "imprinted_id": "10-2-10",\n "ballot_type": "19",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 618\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "11",\n "imprinted_id": "10-2-11",\n "ballot_type": "23",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 621\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "12",\n "imprinted_id": "10-2-12",\n "ballot_type": "12",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 625\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "13",\n "imprinted_id": "10-2-13",\n "ballot_type": "17",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 629\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "14",\n "imprinted_id": "10-2-14",\n "ballot_type": "25",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 633\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "15",\n "imprinted_id": "10-2-15",\n "ballot_type": "24",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 636\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "16",\n "imprinted_id": "10-2-16",\n "ballot_type": "1",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 639\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "17",\n "imprinted_id": "10-2-17",\n "ballot_type": "18",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 643\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "18",\n "imprinted_id": "10-2-18",\n "ballot_type": "21",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 646\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "19",\n "imprinted_id": "10-2-19",\n "ballot_type": "22",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 649\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "2",\n "imprinted_id": "10-2-2",\n "ballot_type": "2",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 586\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "20",\n "imprinted_id": "10-2-20",\n "ballot_type": "5",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 202,\n "choices": []\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 653\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "21",\n "imprinted_id": "10-2-21",\n "ballot_type": "16",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": []\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 657\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "22",\n "imprinted_id": "10-2-22",\n "ballot_type": "15",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 661\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "23",\n "imprinted_id": "10-2-23",\n "ballot_type": "14",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 202,\n "choices": []\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 664\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "24",\n "imprinted_id": "10-2-24",\n "ballot_type": "13",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 668\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "25",\n "imprinted_id": "10-2-25",\n "ballot_type": "10",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 671\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "3",\n "imprinted_id": "10-2-3",\n "ballot_type": "8",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 590\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "4",\n "imprinted_id": "10-2-4",\n "ballot_type": "4",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 594\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "5",\n "imprinted_id": "10-2-5",\n "ballot_type": "6",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 598\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "6",\n "imprinted_id": "10-2-6",\n "ballot_type": "7",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 602\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "7",\n "imprinted_id": "10-2-7",\n "ballot_type": "9",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 606\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "8",\n "imprinted_id": "10-2-8",\n "ballot_type": "11",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 610\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "10",\n "batch_id": "2",\n "record_id": "9",\n "imprinted_id": "10-2-9",\n "ballot_type": "20",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 614\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "1",\n "imprinted_id": "3-800-1",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 204\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "10",\n "imprinted_id": "3-800-10",\n "ballot_type": "55",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 239\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "11",\n "imprinted_id": "3-800-11",\n "ballot_type": "56",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 242\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "12",\n "imprinted_id": "3-800-12",\n "ballot_type": "56",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 222\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "13",\n "imprinted_id": "3-800-13",\n "ballot_type": "57",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 244\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "14",\n "imprinted_id": "3-800-14",\n "ballot_type": "54",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 225\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "15",\n "imprinted_id": "3-800-15",\n "ballot_type": "58",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 228\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "16",\n "imprinted_id": "3-800-16",\n "ballot_type": "58",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 246\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "17",\n "imprinted_id": "3-800-17",\n "ballot_type": "59",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 230\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "18",\n "imprinted_id": "3-800-18",\n "ballot_type": "59",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 232\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "19",\n "imprinted_id": "3-800-19",\n "ballot_type": "60",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 202,\n "choices": []\n }\n ],\n "id": 249\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "2",\n "imprinted_id": "3-800-2",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 206\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "20",\n "imprinted_id": "3-800-20",\n "ballot_type": "60",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 252\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "3",\n "imprinted_id": "3-800-3",\n "ballot_type": "52",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 209\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "4",\n "imprinted_id": "3-800-4",\n "ballot_type": "53",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 211\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "5",\n "imprinted_id": "3-800-5",\n "ballot_type": "53",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 235\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "6",\n "imprinted_id": "3-800-6",\n "ballot_type": "53",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 214\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "7",\n "imprinted_id": "3-800-7",\n "ballot_type": "54",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 237\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "8",\n "imprinted_id": "3-800-8",\n "ballot_type": "54",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 217\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "3",\n "batch_id": "800",\n "record_id": "9",\n "imprinted_id": "3-800-9",\n "ballot_type": "55",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 220\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "1",\n "imprinted_id": "4-1200-1",\n "ballot_type": "26",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 305\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "10",\n "imprinted_id": "4-1200-10",\n "ballot_type": "30",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 332\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "11",\n "imprinted_id": "4-1200-11",\n "ballot_type": "31",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 431\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "12",\n "imprinted_id": "4-1200-12",\n "ballot_type": "31",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 335\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "13",\n "imprinted_id": "4-1200-13",\n "ballot_type": "32",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 338\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "14",\n "imprinted_id": "4-1200-14",\n "ballot_type": "32",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 341\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "15",\n "imprinted_id": "4-1200-15",\n "ballot_type": "33",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 344\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "16",\n "imprinted_id": "4-1200-16",\n "ballot_type": "33",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 347\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "17",\n "imprinted_id": "4-1200-17",\n "ballot_type": "34",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n }\n ],\n "id": 434\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "18",\n "imprinted_id": "4-1200-18",\n "ballot_type": "34",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 350\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "19",\n "imprinted_id": "4-1200-19",\n "ballot_type": "35",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n }\n ],\n "id": 353\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "2",\n "imprinted_id": "4-1200-2",\n "ballot_type": "26",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 308\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "20",\n "imprinted_id": "4-1200-20",\n "ballot_type": "35",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 355\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "21",\n "imprinted_id": "4-1200-21",\n "ballot_type": "36",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 358\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "22",\n "imprinted_id": "4-1200-22",\n "ballot_type": "36",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 360\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "23",\n "imprinted_id": "4-1200-23",\n "ballot_type": "37",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 363\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "24",\n "imprinted_id": "4-1200-24",\n "ballot_type": "37",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 366\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "25",\n "imprinted_id": "4-1200-25",\n "ballot_type": "38",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n }\n ],\n "id": 369\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "26",\n "imprinted_id": "4-1200-26",\n "ballot_type": "38",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 371\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "27",\n "imprinted_id": "4-1200-27",\n "ballot_type": "40",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 374\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "28",\n "imprinted_id": "4-1200-28",\n "ballot_type": "40",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 376\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "29",\n "imprinted_id": "4-1200-29",\n "ballot_type": "41",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 379\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "3",\n "imprinted_id": "4-1200-3",\n "ballot_type": "27",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 311\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "30",\n "imprinted_id": "4-1200-30",\n "ballot_type": "41",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 381\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "31",\n "imprinted_id": "4-1200-31",\n "ballot_type": "42",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 384\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "32",\n "imprinted_id": "4-1200-32",\n "ballot_type": "42",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 386\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "33",\n "imprinted_id": "4-1200-33",\n "ballot_type": "43",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 389\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "34",\n "imprinted_id": "4-1200-34",\n "ballot_type": "43",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 391\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "35",\n "imprinted_id": "4-1200-35",\n "ballot_type": "44",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 394\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "36",\n "imprinted_id": "4-1200-36",\n "ballot_type": "44",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 396\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "37",\n "imprinted_id": "4-1200-37",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 399\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "38",\n "imprinted_id": "4-1200-38",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 401\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "39",\n "imprinted_id": "4-1200-39",\n "ballot_type": "46",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 404\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "4",\n "imprinted_id": "4-1200-4",\n "ballot_type": "27",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 314\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "40",\n "imprinted_id": "4-1200-40",\n "ballot_type": "46",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 436\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "41",\n "imprinted_id": "4-1200-41",\n "ballot_type": "47",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 406\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "42",\n "imprinted_id": "4-1200-42",\n "ballot_type": "47",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 408\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "43",\n "imprinted_id": "4-1200-43",\n "ballot_type": "48",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 411\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "44",\n "imprinted_id": "4-1200-44",\n "ballot_type": "48",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 413\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "45",\n "imprinted_id": "4-1200-45",\n "ballot_type": "49",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 416\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "46",\n "imprinted_id": "4-1200-46",\n "ballot_type": "49",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 418\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "47",\n "imprinted_id": "4-1200-47",\n "ballot_type": "50",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 421\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "48",\n "imprinted_id": "4-1200-48",\n "ballot_type": "50",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 423\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "49",\n "imprinted_id": "4-1200-49",\n "ballot_type": "39",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 426\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "5",\n "imprinted_id": "4-1200-5",\n "ballot_type": "28",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 317\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "50",\n "imprinted_id": "4-1200-50",\n "ballot_type": "39",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 428\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "6",\n "imprinted_id": "4-1200-6",\n "ballot_type": "28",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 320\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "7",\n "imprinted_id": "4-1200-7",\n "ballot_type": "29",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 323\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "8",\n "imprinted_id": "4-1200-8",\n "ballot_type": "29",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 326\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "4",\n "batch_id": "1200",\n "record_id": "9",\n "imprinted_id": "4-1200-9",\n "ballot_type": "30",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 329\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "1",\n "imprinted_id": "5-1600-1",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 255\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "10",\n "imprinted_id": "5-1600-10",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 271\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "11",\n "imprinted_id": "5-1600-11",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 296\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "12",\n "imprinted_id": "5-1600-12",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 274\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "13",\n "imprinted_id": "5-1600-13",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n }\n ],\n "id": 298\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "14",\n "imprinted_id": "5-1600-14",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 277\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "15",\n "imprinted_id": "5-1600-15",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 300\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "16",\n "imprinted_id": "5-1600-16",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 302\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "17",\n "imprinted_id": "5-1600-17",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 280\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "18",\n "imprinted_id": "5-1600-18",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 282\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "19",\n "imprinted_id": "5-1600-19",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n }\n ],\n "id": 285\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "2",\n "imprinted_id": "5-1600-2",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 257\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "20",\n "imprinted_id": "5-1600-20",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 287\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "3",\n "imprinted_id": "5-1600-3",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 290\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "4",\n "imprinted_id": "5-1600-4",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 260\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "5",\n "imprinted_id": "5-1600-5",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n }\n ],\n "id": 263\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "6",\n "imprinted_id": "5-1600-6",\n "ballot_type": "51",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 265\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "7",\n "imprinted_id": "5-1600-7",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 292\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "8",\n "imprinted_id": "5-1600-8",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 268\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "5",\n "batch_id": "1600",\n "record_id": "9",\n "imprinted_id": "5-1600-9",\n "ballot_type": "45",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 294\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "1",\n "imprinted_id": "9-3200-1",\n "ballot_type": "3",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 439\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "10",\n "imprinted_id": "9-3200-10",\n "ballot_type": "6",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 460\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "11",\n "imprinted_id": "9-3200-11",\n "ballot_type": "7",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 463\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "12",\n "imprinted_id": "9-3200-12",\n "ballot_type": "7",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 466\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "13",\n "imprinted_id": "9-3200-13",\n "ballot_type": "10",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 469\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "14",\n "imprinted_id": "9-3200-14",\n "ballot_type": "10",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 472\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "15",\n "imprinted_id": "9-3200-15",\n "ballot_type": "13",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 475\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "16",\n "imprinted_id": "9-3200-16",\n "ballot_type": "13",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 478\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "17",\n "imprinted_id": "9-3200-17",\n "ballot_type": "14",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 557\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "18",\n "imprinted_id": "9-3200-18",\n "ballot_type": "14",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 202,\n "choices": []\n }\n ],\n "id": 480\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "19",\n "imprinted_id": "9-3200-19",\n "ballot_type": "15",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 483\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "2",\n "imprinted_id": "9-3200-2",\n "ballot_type": "3",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 442\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "20",\n "imprinted_id": "9-3200-20",\n "ballot_type": "15",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 486\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "21",\n "imprinted_id": "9-3200-21",\n "ballot_type": "16",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 488\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "22",\n "imprinted_id": "9-3200-22",\n "ballot_type": "16",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": []\n }\n ],\n "id": 491\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "23",\n "imprinted_id": "9-3200-23",\n "ballot_type": "5",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 494\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "24",\n "imprinted_id": "9-3200-24",\n "ballot_type": "5",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 202,\n "choices": []\n }\n ],\n "id": 497\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "25",\n "imprinted_id": "9-3200-25",\n "ballot_type": "22",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 500\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "26",\n "imprinted_id": "9-3200-26",\n "ballot_type": "22",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 503\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "27",\n "imprinted_id": "9-3200-27",\n "ballot_type": "21",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 506\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "28",\n "imprinted_id": "9-3200-28",\n "ballot_type": "21",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 560\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "29",\n "imprinted_id": "9-3200-29",\n "ballot_type": "18",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 509\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "3",\n "imprinted_id": "9-3200-3",\n "ballot_type": "2",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 445\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "30",\n "imprinted_id": "9-3200-30",\n "ballot_type": "18",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 511\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "31",\n "imprinted_id": "9-3200-31",\n "ballot_type": "9",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 514\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "32",\n "imprinted_id": "9-3200-32",\n "ballot_type": "9",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 562\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "33",\n "imprinted_id": "9-3200-33",\n "ballot_type": "11",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 517\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "34",\n "imprinted_id": "9-3200-34",\n "ballot_type": "11",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 520\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "35",\n "imprinted_id": "9-3200-35",\n "ballot_type": "17",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Distant Loser"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 565\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "36",\n "imprinted_id": "9-3200-36",\n "ballot_type": "17",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 523\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "37",\n "imprinted_id": "9-3200-37",\n "ballot_type": "12",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 568\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "38",\n "imprinted_id": "9-3200-38",\n "ballot_type": "12",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 526\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "39",\n "imprinted_id": "9-3200-39",\n "ballot_type": "23",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Jeff Baker"\n ]\n }\n ],\n "id": 529\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "4",\n "imprinted_id": "9-3200-4",\n "ballot_type": "2",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 551\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "40",\n "imprinted_id": "9-3200-40",\n "ballot_type": "23",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 571\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "41",\n "imprinted_id": "9-3200-41",\n "ballot_type": "19",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 574\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "42",\n "imprinted_id": "9-3200-42",\n "ballot_type": "19",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 532\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "43",\n "imprinted_id": "9-3200-43",\n "ballot_type": "20",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 535\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "44",\n "imprinted_id": "9-3200-44",\n "ballot_type": "20",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 576\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "45",\n "imprinted_id": "9-3200-45",\n "ballot_type": "25",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n }\n ],\n "id": 538\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "46",\n "imprinted_id": "9-3200-46",\n "ballot_type": "25",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "NO"\n ]\n }\n ],\n "id": 540\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "47",\n "imprinted_id": "9-3200-47",\n "ballot_type": "24",\n "contest_info": [\n {\n "contest": 201,\n "choices": []\n }\n ],\n "id": 543\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "48",\n "imprinted_id": "9-3200-48",\n "ballot_type": "24",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 579\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "49",\n "imprinted_id": "9-3200-49",\n "ballot_type": "1",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 545\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "5",\n "imprinted_id": "9-3200-5",\n "ballot_type": "8",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 448\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "50",\n "imprinted_id": "9-3200-50",\n "ballot_type": "1",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 548\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "6",\n "imprinted_id": "9-3200-6",\n "ballot_type": "8",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": [\n "YES"\n ]\n }\n ],\n "id": 451\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "7",\n "imprinted_id": "9-3200-7",\n "ballot_type": "4",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 454\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "8",\n "imprinted_id": "9-3200-8",\n "ballot_type": "4",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 203,\n "choices": []\n }\n ],\n "id": 554\n},{\n "record_type": "UPLOADED",\n "timestamp": {\n "seconds": 1502605767,\n "nanos": 944000000\n },\n "county_id": 3,\n "scanner_id": "9",\n "batch_id": "3200",\n "record_id": "9",\n "imprinted_id": "9-3200-9",\n "ballot_type": "6",\n "contest_info": [\n {\n "contest": 201,\n "choices": [\n "Clear Winner"\n ]\n },\n {\n "contest": 202,\n "choices": [\n "Janet Lee Cook"\n ]\n }\n ],\n "id": 457\n}]')
# matcher.match_responses(expect, real)
assert(abs(len(expect.body) - len(real.body)) < 10)
def test_get_acvr_county():
request = Request(headers={u'Accept': u'*/*', u'User-Agent': u'curl/7.35.0'}, host=u'localhost:8888', params=u'3', path=u'/acvr/county', scheme=u'http', method=u'GET')
real = Response.from_requests_response(request.send_request(verify=verify_ssl))
expect = Response(status=200, headers={}, body=u'[]')
matcher.match_responses(expect, real)
def test_get_acvr():
request = Request(headers={u'Accept': u'*/*', u'User-Agent': u'curl/7.35.0'}, host=u'localhost:8888', scheme=u'http', method=u'GET', path=u'/acvr')
real = Response.from_requests_response(request.send_request(verify=verify_ssl))
expect = Response(status=200, headers={}, body=u'[]')
matcher.match_responses(expect, real)
| 1,021.962025 | 73,081 | 0.506967 | 11,935 | 80,735 | 3.306996 | 0.029493 | 0.07079 | 0.042185 | 0.024019 | 0.970458 | 0.950366 | 0.950366 | 0.892979 | 0.891687 | 0.891687 | 0 | 0.122181 | 0.235016 | 80,735 | 78 | 73,082 | 1,035.064103 | 0.51688 | 0.001672 | 0 | 0.391304 | 1 | 0.108696 | 0.964414 | 0.002506 | 0 | 0 | 0 | 0 | 0.065217 | 1 | 0.173913 | false | 0 | 0.086957 | 0 | 0.26087 | 0.021739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
385e9261c0a511bede8399ff9ae3b50d69594700 | 6,369 | py | Python | lianjia/geturl.py | pyday/lianjia | bf6e8629495b4d69d92ff5c34f07f29274ab9682 | [
"Apache-2.0"
] | null | null | null | lianjia/geturl.py | pyday/lianjia | bf6e8629495b4d69d92ff5c34f07f29274ab9682 | [
"Apache-2.0"
] | null | null | null | lianjia/geturl.py | pyday/lianjia | bf6e8629495b4d69d92ff5c34f07f29274ab9682 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
import MySQLdb
import MySQLdb.cursors
from lianjia.items import ResidencePriceItem
from lianjia.items import DealItem, EsfItem
from lianjia.Exception.readUtils import MysqlConfig
class GetMissionUrl(object):
def __init__(self):
mysqlConfig = MysqlConfig.getMysqlConfig()
self.host = mysqlConfig['host']
self.user = mysqlConfig['user']
self.password = mysqlConfig['password']
self.db = mysqlConfig['db']
self.conn = MySQLdb.connect(host=self.host, user=self.user, passwd=self.password, db=self.db, charset='utf8')
self.cursor = self.conn.cursor()
self.url_list = []
def get_lj_urls(self):
"""
获取小区均价种子
:return:
"""
try:
self.cursor.execute("select id,city,district,community,residence_name,url from t_web_lj_xiaoqu;")
rs = self.cursor.fetchall()
for line in rs:
# print line
item = ResidencePriceItem()
item['residence_id'] = line[0]
item['city'] = line[1]
item['district'] = line[2]
item['community'] = line[3]
item['name'] = line[4]
item['url'] = line[5]
self.url_list.append(item)
except Exception, e:
print e
finally:
if self.cursor:
self.cursor.close()
if self.conn:
self.conn.close()
return self.url_list
def get_chengjiao_urls(self):
"""
成交任务种子获取
:return:
"""
try:
self.cursor.execute("select id,city,district,community,residence_name,url from t_web_lj_xiaoqu\
where city not in ('上海','苏州')")
rs = self.cursor.fetchall()
for line in rs:
# print line
item = DealItem()
item['residence_id'] = line[0]
item['city'] = line[1]
item['district'] = line[2]
item['community'] = line[3]
item['residence_name'] = line[4]
item['url'] = line[5]
self.url_list.append(item)
except Exception, e:
print e
finally:
if self.cursor:
self.cursor.close()
if self.conn:
self.conn.close()
return self.url_list
def get_listing_urls(self):
"""
在售任务种子获取
:return:
"""
try:
self.cursor.execute("select id,city,district,community,residence_name,url from t_web_lj_xiaoqu\
where city not in ('上海','苏州')")
rs = self.cursor.fetchall()
for line in rs:
# print line
item = EsfItem()
item['residence_id'] = line[0]
item['city'] = line[1]
item['district'] = line[2]
item['community'] = line[3]
item['residence_name'] = line[4]
item['url'] = line[5]
self.url_list.append(item)
except Exception, e:
print e
finally:
if self.cursor:
self.cursor.close()
if self.conn:
self.conn.close()
return self.url_list
def get_listing_sh_urls(self):
"""
上海,苏州在售任务种子获取
:return:
"""
try:
self.cursor.execute("select id,city,district,community,residence_name,url from t_web_lj_xiaoqu\
where city in ('上海','苏州')")
rs = self.cursor.fetchall()
for line in rs:
# print line
item = EsfItem()
item['residence_id'] = line[0]
item['city'] = line[1]
item['district'] = line[2]
item['community'] = line[3]
item['residence_name'] = line[4]
item['url'] = line[5]
self.url_list.append(item)
except Exception, e:
print e
finally:
if self.cursor:
self.cursor.close()
if self.conn:
self.conn.close()
return self.url_list
def get_lj_deal_urls(self):
try:
self.cursor.execute("select url from t_web_lj_deal_copy where unit_price is NULL;")
rs = self.cursor.fetchall()
for line in rs:
self.url_list.append(line[0])
except Exception, e:
print e
finally:
if self.cursor:
self.cursor.close()
if self.conn:
self.conn.close()
return self.url_list
def get_crawled_deal_urls(self):
"""
获取已抓取过的成交链接
:return:
"""
try:
self.cursor.execute("select url from t_web_lj_deal_copy")
rs = self.cursor.fetchall()
for line in rs:
self.url_list.append(line[0])
except Exception, e:
print e
finally:
if self.cursor:
self.cursor.close()
if self.conn:
self.conn.close()
return self.url_list
def get_crawled_listing_urls(self):
"""
获取已抓取过的挂牌连接
:return:
"""
try:
self.cursor.execute("select url from t_web_lj_esf")
rs = self.cursor.fetchall()
for line in rs:
self.url_list.append(line[0])
except Exception, e:
print e
finally:
if self.cursor:
self.cursor.close()
if self.conn:
self.conn.close()
return self.url_list
def get_crawled_urls(self):
try:
self.cursor.execute("select url from t_web_lj_xiaoqu")
rs = self.cursor.fetchall()
for line in rs:
self.url_list.append(line[0])
except Exception, e:
print e
finally:
if self.cursor:
self.cursor.close()
if self.conn:
self.conn.close()
return self.url_list
if __name__ == '__main__':
test = GetMissionUrl()
test.get_crawled_deal_urls()
print len(test.url_list) | 31.374384 | 117 | 0.492385 | 687 | 6,369 | 4.432314 | 0.135371 | 0.108374 | 0.061412 | 0.036782 | 0.773727 | 0.773727 | 0.766831 | 0.766831 | 0.766831 | 0.766831 | 0 | 0.007899 | 0.403674 | 6,369 | 203 | 118 | 31.374384 | 0.793839 | 0.00895 | 0 | 0.777778 | 0 | 0 | 0.076475 | 0.007498 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.012346 | 0.030864 | null | null | 0.055556 | 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 |
2a374fc17b7e0a6828f09432926d4ad6c566797c | 3,366 | py | Python | stage/configuration/test_sdc_rpc_destination.py | Sentienz/datacollector-tests | ca27988351dc3366488098b5db6c85a8be2f7b85 | [
"Apache-2.0"
] | null | null | null | stage/configuration/test_sdc_rpc_destination.py | Sentienz/datacollector-tests | ca27988351dc3366488098b5db6c85a8be2f7b85 | [
"Apache-2.0"
] | 1 | 2019-04-24T11:06:38.000Z | 2019-04-24T11:06:38.000Z | stage/configuration/test_sdc_rpc_destination.py | anubandhan/datacollector-tests | 301c024c66d68353735256b262b681dd05ba16cc | [
"Apache-2.0"
] | 2 | 2019-05-24T06:34:37.000Z | 2020-03-30T11:48:18.000Z | import pytest
from streamsets.testframework.decorators import stub
@stub
def test_back_off_period(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_default_cipher_suites': False, 'use_tls': True}])
def test_cipher_suites(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_connection_timeout_in_ms(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'on_record_error': 'DISCARD'},
{'on_record_error': 'STOP_PIPELINE'},
{'on_record_error': 'TO_ERROR'}])
def test_on_record_error(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_preconditions(sdc_builder, sdc_executor):
pass
@stub
def test_read_timeout_in_ms(sdc_builder, sdc_executor):
pass
@stub
def test_required_fields(sdc_builder, sdc_executor):
pass
@stub
def test_retries_per_batch(sdc_builder, sdc_executor):
pass
@stub
def test_sdc_rpc_connection(sdc_builder, sdc_executor):
pass
@stub
def test_sdc_rpc_id(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_default_protocols': False, 'use_tls': True}])
def test_transport_protocols(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_tls': True}])
def test_truststore_file(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_tls': True}])
def test_truststore_password(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_tls': True}])
def test_truststore_trust_algorithm(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'truststore_type': 'JKS', 'use_tls': True},
{'truststore_type': 'PKCS12', 'use_tls': True}])
def test_truststore_type(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_compression': False}, {'use_compression': True}])
def test_use_compression(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_default_cipher_suites': False, 'use_tls': True},
{'use_default_cipher_suites': True, 'use_tls': True}])
def test_use_default_cipher_suites(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_default_protocols': False, 'use_tls': True},
{'use_default_protocols': True, 'use_tls': True}])
def test_use_default_protocols(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_tls': False}, {'use_tls': True}])
def test_use_tls(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_tls': True, 'verify_host_in_server_certificate': False},
{'use_tls': True, 'verify_host_in_server_certificate': True}])
def test_verify_host_in_server_certificate(sdc_builder, sdc_executor, stage_attributes):
pass
| 27.365854 | 108 | 0.708853 | 417 | 3,366 | 5.316547 | 0.148681 | 0.162382 | 0.117276 | 0.189445 | 0.811908 | 0.798827 | 0.760036 | 0.741994 | 0.647722 | 0.624718 | 0 | 0.00072 | 0.174688 | 3,366 | 122 | 109 | 27.590164 | 0.797336 | 0 | 0 | 0.5375 | 0 | 0 | 0.191085 | 0.060624 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.2625 | 0.025 | 0 | 0.275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
2a3f35cafc29bb8a024258b543d581826807c35e | 7,137 | py | Python | fairseq/models/Zmodel/phrase_model_arch.py | salvation-z/fairseq | baea7343dfa1a8f0f316c6978ba66a9a60c6130d | [
"MIT"
] | 1 | 2020-03-26T02:33:19.000Z | 2020-03-26T02:33:19.000Z | fairseq/models/Zmodel/phrase_model_arch.py | salvation-z/fairseq | baea7343dfa1a8f0f316c6978ba66a9a60c6130d | [
"MIT"
] | null | null | null | fairseq/models/Zmodel/phrase_model_arch.py | salvation-z/fairseq | baea7343dfa1a8f0f316c6978ba66a9a60c6130d | [
"MIT"
] | null | null | null | from fairseq.models import register_model_architecture
# using phrase_transformer implement baseline
@register_model_architecture("phrase_transformer", "phrase_baseline")
def baseline_architecture(args):
args.encoder_embed_path = getattr(args, "encoder_embed_path", None)
args.encoder_embed_dim = getattr(args, "encoder_embed_dim", 512)
args.encoder_ffn_embed_dim = getattr(args, "encoder_ffn_embed_dim", 2048)
args.encoder_layers = getattr(args, "encoder_layers", 6)
args.encoder_attention_heads = getattr(args, "encoder_attention_heads", 8)
args.encoder_normalize_before = getattr(
args, "encoder_normalize_before", False)
args.encoder_learned_pos = getattr(args, "encoder_learned_pos", False)
args.decoder_embed_path = getattr(args, "decoder_embed_path", None)
args.decoder_embed_dim = getattr(
args, "decoder_embed_dim", args.encoder_embed_dim)
args.decoder_ffn_embed_dim = getattr(
args, "decoder_ffn_embed_dim", args.encoder_ffn_embed_dim
)
args.decoder_layers = getattr(args, "decoder_layers", 6)
args.decoder_attention_heads = getattr(args, "decoder_attention_heads", 8)
args.decoder_normalize_before = getattr(
args, "decoder_normalize_before", False)
args.decoder_learned_pos = getattr(args, "decoder_learned_pos", False)
args.attention_dropout = getattr(args, "attention_dropout", 0.0)
args.activation_dropout = getattr(args, "activation_dropout", 0.0)
args.activation_fn = getattr(args, "activation_fn", "relu")
args.dropout = getattr(args, "dropout", 0.1)
args.adaptive_softmax_cutoff = getattr(
args, "adaptive_softmax_cutoff", None)
args.adaptive_softmax_dropout = getattr(
args, "adaptive_softmax_dropout", 0)
args.share_decoder_input_output_embed = getattr(
args, "share_decoder_input_output_embed", False
)
args.share_all_embeddings = getattr(args, "share_all_embeddings", False)
args.no_token_positional_embeddings = getattr(
args, "no_token_positional_embeddings", False
)
args.adaptive_input = getattr(args, "adaptive_input", False)
args.no_cross_attention = getattr(args, "no_cross_attention", False)
args.cross_self_attention = getattr(args, "cross_self_attention", False)
args.layer_wise_attention = getattr(args, "layer_wise_attention", False)
args.decoder_output_dim = getattr(
args, "decoder_output_dim", args.decoder_embed_dim
)
args.decoder_input_dim = getattr(
args, "decoder_input_dim", args.decoder_embed_dim)
args.no_scale_embedding = getattr(args, "no_scale_embedding", False)
args.layernorm_embedding = getattr(args, "layernorm_embedding", False)
# special arguments for phrase-level transformer
args.phrase_decoder = getattr(args, 'phrase_decoder', False)
args.gaussian_attention = getattr(args, 'gaussian_attention', False)
args.multihead_attention = getattr(args, 'multihead_attention', True)
# unnecessary args
args.parse_function = getattr(args, 'parse_function', 'fixed_window')
args.window_size = getattr(args, 'window_size', 3)
args.generate_function = getattr(args, 'generate_function', 'max-pooling')
args.center_first = getattr(args, 'center_first', False)
@register_model_architecture("phrase_transformer", "phrase_encoder_mix")
def encoder_mix_architecture(args):
# special arguments for phrase-level transformer
args.phrase_decoder = getattr(args, 'phrase_decoder', False)
args.gaussian_attention = getattr(args, 'gaussian_attention', True)
args.multihead_attention = getattr(args, 'multihead_attention', True)
# unnecessary args
args.parse_function = getattr(args, 'parse_function', 'fixed_window')
args.window_size = getattr(args, 'window_size', 3)
args.generate_function = getattr(args, 'generate_function', 'max-pooling')
args.center_first = getattr(args, 'center_first', False)
baseline_architecture(args)
@register_model_architecture("phrase_transformer", "phrase_encoder_gauss")
def encoder_gauss_architecture(args):
args.encoder_embed_path = getattr(args, "encoder_embed_path", None)
args.encoder_embed_dim = getattr(args, "encoder_embed_dim", 512)
args.encoder_ffn_embed_dim = getattr(args, "encoder_ffn_embed_dim", 2048)
args.encoder_layers = getattr(args, "encoder_layers", 6)
args.encoder_attention_heads = getattr(args, "encoder_attention_heads", 8)
args.encoder_normalize_before = getattr(
args, "encoder_normalize_before", False)
args.encoder_learned_pos = getattr(args, "encoder_learned_pos", False)
args.decoder_embed_path = getattr(args, "decoder_embed_path", None)
args.decoder_embed_dim = getattr(
args, "decoder_embed_dim", args.encoder_embed_dim)
args.decoder_ffn_embed_dim = getattr(
args, "decoder_ffn_embed_dim", args.encoder_ffn_embed_dim
)
args.decoder_layers = getattr(args, "decoder_layers", 6)
args.decoder_attention_heads = getattr(args, "decoder_attention_heads", 8)
args.decoder_normalize_before = getattr(
args, "decoder_normalize_before", False)
args.decoder_learned_pos = getattr(args, "decoder_learned_pos", False)
args.attention_dropout = getattr(args, "attention_dropout", 0.0)
args.activation_dropout = getattr(args, "activation_dropout", 0.0)
args.activation_fn = getattr(args, "activation_fn", "relu")
args.dropout = getattr(args, "dropout", 0.1)
args.adaptive_softmax_cutoff = getattr(
args, "adaptive_softmax_cutoff", None)
args.adaptive_softmax_dropout = getattr(
args, "adaptive_softmax_dropout", 0)
args.share_decoder_input_output_embed = getattr(
args, "share_decoder_input_output_embed", False
)
args.share_all_embeddings = getattr(args, "share_all_embeddings", False)
args.no_token_positional_embeddings = getattr(
args, "no_token_positional_embeddings", False
)
args.adaptive_input = getattr(args, "adaptive_input", False)
args.no_cross_attention = getattr(args, "no_cross_attention", False)
args.cross_self_attention = getattr(args, "cross_self_attention", False)
args.layer_wise_attention = getattr(args, "layer_wise_attention", False)
args.decoder_output_dim = getattr(
args, "decoder_output_dim", args.decoder_embed_dim
)
args.decoder_input_dim = getattr(
args, "decoder_input_dim", args.decoder_embed_dim)
args.no_scale_embedding = getattr(args, "no_scale_embedding", False)
args.layernorm_embedding = getattr(args, "layernorm_embedding", False)
# special arguments for phrase-level transformer
args.phrase_decoder = getattr(args, 'phrase_decoder', False)
args.gaussian_attention = getattr(args, 'gaussian_attention', True)
args.multihead_attention = getattr(args, 'multihead_attention', False)
# unnecessary args
args.parse_function = getattr(args, 'parse_function', 'fixed_window')
args.window_size = getattr(args, 'window_size', 3)
args.generate_function = getattr(args, 'generate_function', 'max-pooling')
args.center_first = getattr(args, 'center_first', False)
| 50.978571 | 78 | 0.747793 | 886 | 7,137 | 5.664786 | 0.089165 | 0.181909 | 0.064555 | 0.030285 | 0.961745 | 0.961745 | 0.952182 | 0.930265 | 0.930265 | 0.930265 | 0 | 0.006414 | 0.148101 | 7,137 | 139 | 79 | 51.345324 | 0.819079 | 0.032927 | 0 | 0.84874 | 0 | 0 | 0.246446 | 0.071076 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02521 | false | 0 | 0.008403 | 0 | 0.033613 | 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 |
aa5b52b3ee67dfd09b6a710a1971db134cc62201 | 585 | py | Python | chainermn/functions/__init__.py | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 3,705 | 2017-06-01T07:36:12.000Z | 2022-03-30T10:46:15.000Z | chainermn/functions/__init__.py | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 5,998 | 2017-06-01T06:40:17.000Z | 2022-03-08T01:42:44.000Z | chainermn/functions/__init__.py | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 1,150 | 2017-06-02T03:39:46.000Z | 2022-03-29T02:29:32.000Z | from chainermn.functions.collective_communication import allgather # NOQA
from chainermn.functions.collective_communication import alltoall # NOQA
from chainermn.functions.collective_communication import bcast # NOQA
from chainermn.functions.collective_communication import gather # NOQA
from chainermn.functions.collective_communication import scatter # NOQA
from chainermn.functions.point_to_point_communication import recv # NOQA
from chainermn.functions.point_to_point_communication import send # NOQA
from chainermn.functions.pseudo_connect import pseudo_connect # NOQA
| 53.181818 | 74 | 0.859829 | 69 | 585 | 7.101449 | 0.26087 | 0.212245 | 0.359184 | 0.371429 | 0.785714 | 0.785714 | 0.681633 | 0.232653 | 0.232653 | 0 | 0 | 0 | 0.099145 | 585 | 10 | 75 | 58.5 | 0.929791 | 0.066667 | 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 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2abd0bc2c3624e052a24f8fd9bb63b63b415f080 | 25,191 | py | Python | src/api/migrations/0001_initial.py | garyray-k/back-end | baec3b6e64e1e5659cee8f6b1a91a97604b54e5a | [
"MIT"
] | null | null | null | src/api/migrations/0001_initial.py | garyray-k/back-end | baec3b6e64e1e5659cee8f6b1a91a97604b54e5a | [
"MIT"
] | null | null | null | src/api/migrations/0001_initial.py | garyray-k/back-end | baec3b6e64e1e5659cee8f6b1a91a97604b54e5a | [
"MIT"
] | null | null | null | # Generated by Django 2.2.1 on 2019-05-19 22:48
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="ActiveAdminComment",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("namespace", models.CharField(blank=True, max_length=256, null=True)),
("body", models.TextField(blank=True, null=True)),
(
"resource_type",
models.CharField(blank=True, max_length=256, null=True),
),
("resource_id", models.IntegerField(blank=True, null=True)),
(
"author_type",
models.CharField(blank=True, max_length=256, null=True),
),
("author_id", models.IntegerField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "active_admin_comments", "managed": False},
),
migrations.CreateModel(
name="AdminUser",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("email", models.CharField(max_length=256, unique=True)),
("encrypted_password", models.CharField(max_length=256)),
(
"reset_password_token",
models.CharField(
blank=True, max_length=256, null=True, unique=True
),
),
("reset_password_sent_at", models.DateTimeField(blank=True, null=True)),
("remember_created_at", models.DateTimeField(blank=True, null=True)),
("sign_in_count", models.IntegerField()),
("current_sign_in_at", models.DateTimeField(blank=True, null=True)),
("last_sign_in_at", models.DateTimeField(blank=True, null=True)),
(
"current_sign_in_ip",
models.GenericIPAddressField(blank=True, null=True),
),
(
"last_sign_in_ip",
models.GenericIPAddressField(blank=True, null=True),
),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
("role_id", models.IntegerField(blank=True, null=True)),
],
options={"db_table": "admin_users", "managed": False},
),
migrations.CreateModel(
name="ArInternalMetadata",
fields=[
(
"key",
models.CharField(max_length=256, primary_key=True, serialize=False),
),
("value", models.CharField(blank=True, max_length=256, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "ar_internal_metadata", "managed": False},
),
migrations.CreateModel(
name="Event",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(blank=True, max_length=256, null=True)),
("description", models.TextField(blank=True, null=True)),
("url", models.CharField(blank=True, max_length=256, null=True)),
("start_date", models.DateTimeField(blank=True, null=True)),
("end_date", models.DateTimeField(blank=True, null=True)),
("address1", models.CharField(blank=True, max_length=256, null=True)),
("address2", models.CharField(blank=True, max_length=256, null=True)),
("city", models.CharField(blank=True, max_length=256, null=True)),
("state", models.CharField(blank=True, max_length=256, null=True)),
("zip", models.CharField(blank=True, max_length=256, null=True)),
("scholarship_available", models.BooleanField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
("source_id", models.CharField(blank=True, max_length=256, null=True)),
(
"source_type",
models.CharField(blank=True, max_length=256, null=True),
),
("source_updated", models.DateTimeField(blank=True, null=True)),
("group", models.CharField(blank=True, max_length=256, null=True)),
],
options={"db_table": "events", "managed": False},
),
migrations.CreateModel(
name="GitHubStatistic",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("source_id", models.CharField(blank=True, max_length=256, null=True)),
(
"source_type",
models.CharField(blank=True, max_length=256, null=True),
),
("state", models.CharField(blank=True, max_length=256, null=True)),
("additions", models.IntegerField(blank=True, null=True)),
("deletions", models.IntegerField(blank=True, null=True)),
("repository", models.CharField(blank=True, max_length=256, null=True)),
("url", models.CharField(blank=True, max_length=256, null=True)),
("title", models.CharField(blank=True, max_length=256, null=True)),
("number", models.CharField(blank=True, max_length=256, null=True)),
("completed_on", models.DateField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "git_hub_statistics", "managed": False},
),
migrations.CreateModel(
name="GitHubUser",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("user_id", models.IntegerField(blank=True, null=True)),
(
"git_hub_login",
models.CharField(blank=True, max_length=256, null=True),
),
("avatar_url", models.CharField(blank=True, max_length=256, null=True)),
("api_url", models.CharField(blank=True, max_length=256, null=True)),
("html_url", models.CharField(blank=True, max_length=256, null=True)),
("git_hub_id", models.IntegerField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "git_hub_users", "managed": False},
),
migrations.CreateModel(
name="OldCodeSchool",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(blank=True, max_length=256, null=True)),
("url", models.CharField(blank=True, max_length=256, null=True)),
("logo", models.CharField(blank=True, max_length=256, null=True)),
("full_time", models.BooleanField(blank=True, null=True)),
("hardware_included", models.BooleanField(blank=True, null=True)),
("has_online", models.BooleanField(blank=True, null=True)),
("online_only", models.BooleanField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
("notes", models.TextField(blank=True, null=True)),
("mooc", models.BooleanField()),
("is_partner", models.BooleanField()),
("rep_name", models.CharField(blank=True, max_length=256, null=True)),
("rep_email", models.CharField(blank=True, max_length=256, null=True)),
],
options={"db_table": "code_schools", "managed": False},
),
migrations.CreateModel(
name="OldLocation",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("va_accepted", models.BooleanField(blank=True, null=True)),
("address1", models.CharField(blank=True, max_length=256, null=True)),
("address2", models.CharField(blank=True, max_length=256, null=True)),
("city", models.CharField(blank=True, max_length=256, null=True)),
("state", models.CharField(blank=True, max_length=256, null=True)),
("zip", models.IntegerField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "locations", "managed": False},
),
migrations.CreateModel(
name="OldTeamMember",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(blank=True, max_length=256, null=True)),
("role", models.CharField(blank=True, max_length=256, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
("description", models.TextField(blank=True, null=True)),
("group", models.CharField(blank=True, max_length=256, null=True)),
("image_src", models.CharField(blank=True, max_length=256, null=True)),
("email", models.CharField(blank=True, max_length=255, null=True)),
],
options={"db_table": "team_members", "managed": False},
),
migrations.CreateModel(
name="Request",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("service_id", models.IntegerField(blank=True, null=True)),
("language", models.CharField(blank=True, max_length=256, null=True)),
("details", models.TextField(blank=True, null=True)),
("assigned_mentor_id", models.IntegerField(blank=True, null=True)),
("requested_mentor_id", models.IntegerField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
("status", models.CharField(blank=True, max_length=256, null=True)),
],
options={"db_table": "requests", "managed": False},
),
migrations.CreateModel(
name="Resource",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(blank=True, max_length=256, null=True)),
("url", models.CharField(blank=True, max_length=256, null=True)),
("category", models.CharField(blank=True, max_length=256, null=True)),
("language", models.CharField(blank=True, max_length=256, null=True)),
("paid", models.BooleanField(blank=True, null=True)),
("notes", models.TextField(blank=True, null=True)),
("votes_count", models.IntegerField()),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "resources", "managed": False},
),
migrations.CreateModel(
name="Role",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("title", models.CharField(blank=True, max_length=256, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "roles", "managed": False},
),
migrations.CreateModel(
name="SchemaMigration",
fields=[
(
"version",
models.CharField(max_length=256, primary_key=True, serialize=False),
)
],
options={"db_table": "schema_migrations", "managed": False},
),
migrations.CreateModel(
name="Scholarship",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(blank=True, max_length=256, null=True)),
("description", models.TextField(blank=True, null=True)),
("location", models.CharField(blank=True, max_length=256, null=True)),
("terms", models.TextField(blank=True, null=True)),
("open_time", models.DateTimeField(blank=True, null=True)),
("close_time", models.DateTimeField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "scholarships", "managed": False},
),
migrations.CreateModel(
name="ScholarshipApplication",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("reason", models.TextField(blank=True, null=True)),
("terms_accepted", models.BooleanField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "scholarship_applications", "managed": False},
),
migrations.CreateModel(
name="Service",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(blank=True, max_length=256, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "services", "managed": False},
),
migrations.CreateModel(
name="SlackUser",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("slack_id", models.CharField(blank=True, max_length=256, null=True)),
("slack_name", models.CharField(blank=True, max_length=256, null=True)),
(
"slack_real_name",
models.CharField(blank=True, max_length=256, null=True),
),
(
"slack_display_name",
models.CharField(blank=True, max_length=256, null=True),
),
(
"slack_email",
models.CharField(blank=True, max_length=256, null=True),
),
("user_id", models.IntegerField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "slack_users", "managed": False},
),
migrations.CreateModel(
name="Tag",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"name",
models.CharField(
blank=True, max_length=256, null=True, unique=True
),
),
("taggings_count", models.IntegerField(blank=True, null=True)),
],
options={"db_table": "tags", "managed": False},
),
migrations.CreateModel(
name="Tagging",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("tag_id", models.IntegerField(blank=True, null=True)),
(
"taggable_type",
models.CharField(blank=True, max_length=256, null=True),
),
("taggable_id", models.IntegerField(blank=True, null=True)),
(
"tagger_type",
models.CharField(blank=True, max_length=256, null=True),
),
("tagger_id", models.IntegerField(blank=True, null=True)),
("context", models.CharField(blank=True, max_length=128, null=True)),
("created_at", models.DateTimeField(blank=True, null=True)),
],
options={"db_table": "taggings", "managed": False},
),
migrations.CreateModel(
name="Vote",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
],
options={"db_table": "votes", "managed": False},
),
migrations.CreateModel(
name="CodeSchool",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(blank=True, max_length=256, null=True)),
("url", models.CharField(blank=True, max_length=256, null=True)),
("logo", models.CharField(blank=True, max_length=256, null=True)),
("full_time", models.BooleanField(blank=True, null=True)),
("hardware_included", models.BooleanField(blank=True, null=True)),
("has_online", models.BooleanField(blank=True, null=True)),
("online_only", models.BooleanField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
("notes", models.TextField(blank=True, null=True)),
("mooc", models.BooleanField()),
("is_partner", models.BooleanField()),
("rep_name", models.CharField(blank=True, max_length=256, null=True)),
("rep_email", models.CharField(blank=True, max_length=256, null=True)),
],
options={"db_table": "api_code_schools"},
),
migrations.CreateModel(
name="TeamMember",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(blank=True, max_length=256, null=True)),
("role", models.CharField(blank=True, max_length=256, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
("description", models.TextField(blank=True, null=True)),
("group", models.CharField(blank=True, max_length=256, null=True)),
("image_src", models.CharField(blank=True, max_length=256, null=True)),
("email", models.CharField(blank=True, max_length=255, null=True)),
],
options={"db_table": "api_team_members"},
),
migrations.CreateModel(
name="Location",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("va_accepted", models.BooleanField(blank=True, null=True)),
("address1", models.CharField(blank=True, max_length=256, null=True)),
("address2", models.CharField(blank=True, max_length=256, null=True)),
("city", models.CharField(blank=True, max_length=256, null=True)),
("state", models.CharField(blank=True, max_length=256, null=True)),
("zip", models.IntegerField(blank=True, null=True)),
("created_at", models.DateTimeField()),
("updated_at", models.DateTimeField()),
(
"code_school",
models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.DO_NOTHING,
related_name="locations",
to="api.CodeSchool",
),
),
],
options={"db_table": "api_locations"},
),
]
| 43.358003 | 88 | 0.456909 | 2,025 | 25,191 | 5.528889 | 0.093333 | 0.102894 | 0.079314 | 0.156484 | 0.880314 | 0.81931 | 0.78135 | 0.74473 | 0.728296 | 0.681583 | 0 | 0.017146 | 0.416577 | 25,191 | 580 | 89 | 43.432759 | 0.744642 | 0.001786 | 0 | 0.717277 | 1 | 0 | 0.101018 | 0.004375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005236 | 0.00349 | 0 | 0.010471 | 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 |
2ad966d20aece1d09680446a5c2804ad543834ab | 211 | py | Python | PYTHON/Py3_Mundo1_Fundamental/exercicios/exer.01.py | Marciobroficial/CURSO-EM-VIDEO | 37b10c26336a9744236603282af77661fdf8c61a | [
"MIT"
] | 1 | 2021-10-09T18:11:20.000Z | 2021-10-09T18:11:20.000Z | PYTHON/Py3_Mundo1_Fundamental/exercicios/exer.01.py | Coppini21/CURSO-EM-VIDEO | 37b10c26336a9744236603282af77661fdf8c61a | [
"MIT"
] | 1 | 2021-09-15T04:18:34.000Z | 2022-03-02T23:16:26.000Z | PYTHON/Py3_Mundo1_Fundamental/exercicios/exer.01.py | Coppini21/CURSO-EM-VIDEO | 37b10c26336a9744236603282af77661fdf8c61a | [
"MIT"
] | 3 | 2021-12-15T17:19:51.000Z | 2022-03-29T02:19:00.000Z | #1 faça um programa que escreva "Ola Mundo".
#-------------------------------------------#
print()
print('=-='*6)
print ("Olá Mundo !!!...")
print('=-='*6)
print()
#-------------------------------------------#
| 21.1 | 45 | 0.322275 | 17 | 211 | 4 | 0.647059 | 0.294118 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.090047 | 211 | 9 | 46 | 23.444444 | 0.338542 | 0.611374 | 0 | 0.8 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
2afe69b8fafed60e1eaf93697be8096ffdccfc09 | 11,060 | py | Python | tests/test_flow/test_gather.py | IDl0T/bionic | 8eaa868a2e7af81bb561492c045feb414f7c6326 | [
"Apache-2.0"
] | 98 | 2019-08-29T21:38:44.000Z | 2022-01-26T04:59:57.000Z | tests/test_flow/test_gather.py | IDl0T/bionic | 8eaa868a2e7af81bb561492c045feb414f7c6326 | [
"Apache-2.0"
] | 143 | 2019-09-11T15:32:17.000Z | 2021-06-08T21:48:30.000Z | tests/test_flow/test_gather.py | IDl0T/bionic | 8eaa868a2e7af81bb561492c045feb414f7c6326 | [
"Apache-2.0"
] | 20 | 2019-09-13T18:13:03.000Z | 2021-12-03T19:51:01.000Z | import pytest
import bionic as bn
@pytest.fixture(scope="function")
def preset_builder(builder):
builder.assign("w", values=["w", "W"])
builder.assign("x", values=["x", "X"])
builder.assign("y", values=["y", "Y"])
builder.assign("z", values=["z", "Z"])
@builder
def wx(w, x):
return w + x
@builder
def xy(x, y):
return x + y
@builder
def yz(y, z):
return y + z
return builder
def summarize(df):
return " ".join(
".".join(list(row)) for _, row in df.sort_values(list(df.columns)).iterrows()
)
def test_x(preset_builder):
builder = preset_builder
@builder
@bn.gather("x")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == {
"X x",
}
def test_x__with_empty_x(preset_builder):
builder = preset_builder
builder.set("x", values=[])
@builder
@bn.gather("x")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == {
"",
}
def test_x__with_unset_x(preset_builder):
builder = preset_builder
builder.clear_cases("x")
@builder
@bn.gather("x")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", list) == [
"",
]
def test_x__y(preset_builder):
builder = preset_builder
@builder
@bn.gather("x", "y")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == {
"X.Y x.Y",
"X.y x.y",
}
def test_x__y__with_unset_x(preset_builder):
builder = preset_builder
builder.clear_cases("x")
@builder
@bn.gather("x", "y")
def summary(gather_df):
assert set(gather_df.columns) == {"x", "y"}
return summarize(gather_df)
assert builder.build().get("summary", list) == [
"",
"",
]
def test_x__y__with_unset_y(preset_builder):
builder = preset_builder
builder.clear_cases("y")
@builder
@bn.gather("x", "y")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == set()
def test_x__xy(preset_builder):
builder = preset_builder
@builder
@bn.gather("x", "xy")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == {
"X.XY x.xY",
"X.Xy x.xy",
}
def test_x__xy__with_unset_x(preset_builder):
builder = preset_builder
builder.clear_cases("x")
@builder
@bn.gather("x", "xy")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", list) == [
"",
"",
]
def test_x__xy__with_unset_y(preset_builder):
builder = preset_builder
builder.clear_cases("y")
@builder
@bn.gather("x", "xy")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", list) == []
def test_xy__yz(preset_builder):
builder = preset_builder
@builder
@bn.gather("xy", "yz")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == {
"XY.YZ Xy.yZ xY.YZ xy.yZ",
"XY.Yz Xy.yz xY.Yz xy.yz",
}
def test_xy__yz__with_unset_x(preset_builder):
builder = preset_builder
builder.clear_cases("x")
@builder
@bn.gather("xy", "yz")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", list) == [
"",
"",
]
def test_xy__yz__with_unset_y(preset_builder):
builder = preset_builder
builder.clear_cases("y")
@builder
@bn.gather("xy", "yz")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", list) == [
"",
"",
]
def test_xy__yz__with_unset_z(preset_builder):
builder = preset_builder
builder.clear_cases("z")
@builder
@bn.gather("xy", "yz")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", list) == []
def test_x_y__z(preset_builder):
builder = preset_builder
@builder
@bn.gather(["x", "y"], "z")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == {
"X.Y.Z X.y.Z x.Y.Z x.y.Z",
"X.Y.z X.y.z x.Y.z x.y.z",
}
def test_wx_xy__yz(preset_builder):
builder = preset_builder
@builder
@bn.gather(["wx", "xy"], "yz")
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == {
"WX.XY.YZ WX.Xy.yZ Wx.xY.YZ Wx.xy.yZ wX.XY.YZ wX.Xy.yZ wx.xY.YZ wx.xy.yZ",
"WX.XY.Yz WX.Xy.yz Wx.xY.Yz Wx.xy.yz wX.XY.Yz wX.Xy.yz wx.xY.Yz wx.xy.yz",
}
def test_wx__xy_yz(preset_builder):
builder = preset_builder
@builder
@bn.gather("wx", ["xy", "yz"])
def summary(gather_df):
return summarize(gather_df)
assert builder.build().get("summary", set) == {
"WX.XY.YZ Wx.xY.YZ wX.XY.YZ wx.xY.YZ",
"WX.XY.Yz Wx.xY.Yz wX.XY.Yz wx.xY.Yz",
"WX.Xy.yZ Wx.xy.yZ wX.Xy.yZ wx.xy.yZ",
"WX.Xy.yz Wx.xy.yz wX.Xy.yz wx.xy.yz",
}
def test_wx__xy__z(preset_builder):
builder = preset_builder
@builder
@bn.gather("wx", "xy")
def summary(gather_df, z):
return summarize(gather_df) + " -- " + z
assert builder.build().get("summary", set) == {
"WX.XY Wx.xY wX.XY wx.xY -- Z",
"WX.Xy Wx.xy wX.Xy wx.xy -- Z",
"WX.XY Wx.xY wX.XY wx.xY -- z",
"WX.Xy Wx.xy wX.Xy wx.xy -- z",
}
def test_wx__xy__z_with_unset_z(preset_builder):
builder = preset_builder
builder.clear_cases("z")
@builder
@bn.gather("wx", "xy")
def summary(gather_df, z):
return summarize(gather_df) + " -- " + z
assert builder.build().get("summary", set) == set()
def test_wx__xy__yz(preset_builder):
builder = preset_builder
@builder
@bn.gather("wx", "xy")
def summary(gather_df, yz):
return summarize(gather_df) + " -- " + yz
assert builder.build().get("summary", set) == {
"WX.XY Wx.xY wX.XY wx.xY -- YZ",
"WX.Xy Wx.xy wX.Xy wx.xy -- yZ",
"WX.XY Wx.xY wX.XY wx.xY -- Yz",
"WX.Xy Wx.xy wX.Xy wx.xy -- yz",
}
def test_xy__yz__wx(preset_builder):
builder = preset_builder
@builder
@bn.gather("xy", "yz")
def summary(gather_df, wx):
return summarize(gather_df) + " -- " + wx
assert builder.build().get("summary", set) == {
"XY.YZ Xy.yZ xY.YZ xy.yZ -- WX",
"XY.YZ Xy.yZ xY.YZ xy.yZ -- Wx",
"XY.YZ Xy.yZ xY.YZ xy.yZ -- wX",
"XY.YZ Xy.yZ xY.YZ xy.yZ -- wx",
"XY.Yz Xy.yz xY.Yz xy.yz -- WX",
"XY.Yz Xy.yz xY.Yz xy.yz -- Wx",
"XY.Yz Xy.yz xY.Yz xy.yz -- wX",
"XY.Yz Xy.yz xY.Yz xy.yz -- wx",
}
def test_xy__yz__wx__unset_x(preset_builder):
builder = preset_builder
builder.clear_cases("x")
@builder
@bn.gather("xy", "yz")
def summary(gather_df, wx):
return summarize(gather_df) + " -- " + wx
assert builder.build().get("summary", list) == []
def test_xy__yz__wx__unset_y(preset_builder):
builder = preset_builder
builder.clear_cases("y")
@builder
@bn.gather("xy", "yz")
def summary(gather_df, wx):
return summarize(gather_df) + " -- " + wx
assert builder.build().get("summary", set) == {
" -- WX",
" -- Wx",
" -- wX",
" -- wx",
}
def test_xy__yz__wx__unset_z(preset_builder):
builder = preset_builder
builder.clear_cases("z")
@builder
@bn.gather("xy", "yz")
def summary(gather_df, wx):
return summarize(gather_df) + " -- " + wx
assert builder.build().get("summary", list) == []
def test_xy__yz__wx__unset_w(preset_builder):
builder = preset_builder
builder.clear_cases("w")
@builder
@bn.gather("xy", "yz")
def summary(gather_df, wx):
return summarize(gather_df) + " -- " + wx
assert builder.build().get("summary", list) == []
def test_rename_frame(preset_builder):
builder = preset_builder
@builder
@bn.gather("xy", "yz", "my_df")
def summary(my_df):
return summarize(my_df)
assert builder.build().get("summary", set) == {
"XY.YZ Xy.yZ xY.YZ xy.yZ",
"XY.Yz Xy.yz xY.Yz xy.yz",
}
@pytest.mark.allows_parallel
def test_multiple_gathers(preset_builder):
builder = preset_builder
@builder
@bn.gather("w", "wx", "df1")
@bn.gather("y", "yz", "df2")
def summary(df1, df2):
return summarize(df1) + " -- " + summarize(df2)
assert builder.build().get("summary", set) == {
"W.WX w.wX -- Y.YZ y.yZ",
"W.WX w.wX -- Y.Yz y.yz",
"W.Wx w.wx -- Y.YZ y.yZ",
"W.Wx w.wx -- Y.Yz y.yz",
}
def test_multiple_gathers__unset_x(preset_builder):
builder = preset_builder
builder.clear_cases("x")
@builder
@bn.gather("w", "wx", "df1")
@bn.gather("y", "yz", "df2")
def summary(df1, df2):
return summarize(df1) + " -- " + summarize(df2)
assert builder.build().get("summary", list) == []
@pytest.mark.allows_parallel
def test_multiple_gathers__unset_y(preset_builder):
builder = preset_builder
builder.clear_cases("y")
@builder
@bn.gather("w", "wx", "df1")
@bn.gather("y", "yz", "df2")
def summary(df1, df2):
return summarize(df1) + " -- " + summarize(df2)
assert builder.build().get("summary", set) == {
"W.WX w.wX -- ",
"W.WX w.wX -- ",
"W.Wx w.wx -- ",
"W.Wx w.wx -- ",
}
def test_multiple_gathers__unset_z(preset_builder):
builder = preset_builder
builder.clear_cases("z")
@builder
@bn.gather("w", "wx", "df1")
@bn.gather("y", "yz", "df2")
def summary(df1, df2):
return summarize(df1) + " -- " + summarize(df2)
assert builder.build().get("summary", list) == []
def test_multiple_gathers__unset_w(preset_builder):
builder = preset_builder
builder.clear_cases("w")
@builder
@bn.gather("w", "wx", "df1")
@bn.gather("y", "yz", "df2")
def summary(df1, df2):
return summarize(df1) + " -- " + summarize(df2)
assert builder.build().get("summary", set) == {
" -- Y.YZ y.yZ",
" -- Y.Yz y.yz",
" -- Y.YZ y.yZ",
" -- Y.Yz y.yz",
}
@pytest.mark.allows_parallel
def test_multiple_gathers_complex(preset_builder):
builder = preset_builder
@builder
@bn.gather("w", "wx", "df1")
@bn.gather("x", "wx", "df2")
def summary(df1, df2):
return summarize(df1) + " -- " + summarize(df2)
assert builder.build().get("summary", set) == {
"W.WX w.wX -- X.WX x.Wx",
"W.WX w.wX -- X.wX x.wx",
"W.Wx w.wx -- X.WX x.Wx",
"W.Wx w.wx -- X.wX x.wx",
}
| 21.944444 | 85 | 0.573599 | 1,572 | 11,060 | 3.844784 | 0.034351 | 0.071476 | 0.208471 | 0.052945 | 0.920582 | 0.908504 | 0.898577 | 0.886664 | 0.877895 | 0.846128 | 0 | 0.004365 | 0.25434 | 11,060 | 503 | 86 | 21.988072 | 0.728507 | 0 | 0 | 0.647727 | 0 | 0.005682 | 0.153345 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.190341 | false | 0 | 0.005682 | 0.096591 | 0.298295 | 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 |
6320ac5d899ff06b6fd3ace459875502622d13c1 | 122 | py | Python | hackerrank/island.py | Sai-Adarsh/dsa-practice | e387b1576a3aea08561770b445f854838613a36b | [
"Apache-2.0"
] | null | null | null | hackerrank/island.py | Sai-Adarsh/dsa-practice | e387b1576a3aea08561770b445f854838613a36b | [
"Apache-2.0"
] | null | null | null | hackerrank/island.py | Sai-Adarsh/dsa-practice | e387b1576a3aea08561770b445f854838613a36b | [
"Apache-2.0"
] | null | null | null | #longest island
arr = [[0, 0, 1, 1, 0],
[1, 0, 1, 1, 0],
[0, 1, 0, 0, 0],
[0, 0, 0, 0, 1]]
print(arr)
| 15.25 | 23 | 0.360656 | 25 | 122 | 1.76 | 0.24 | 0.363636 | 0.340909 | 0.363636 | 0.159091 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 0.368852 | 122 | 7 | 24 | 17.428571 | 0.311688 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 1 | null | 1 | 1 | 1 | 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 | 8 |
2dd8a6d74cf18d3972241f0af36dff9e8b5088f2 | 110,828 | py | Python | draftcode/interpreter/cmd/draw.py | nya3jp/icfpc2020 | d4f150a3a254baf2913e99662ef949ce03fad7ab | [
"Apache-2.0"
] | null | null | null | draftcode/interpreter/cmd/draw.py | nya3jp/icfpc2020 | d4f150a3a254baf2913e99662ef949ce03fad7ab | [
"Apache-2.0"
] | 3 | 2021-08-31T20:11:34.000Z | 2022-02-27T08:40:18.000Z | draftcode/interpreter/cmd/draw.py | nya3jp/icfpc2020 | d4f150a3a254baf2913e99662ef949ce03fad7ab | [
"Apache-2.0"
] | 2 | 2020-07-22T02:58:44.000Z | 2020-07-24T22:29:11.000Z | # Copyright 2020 Google LLC
# Copyright 2020 Team Spacecat
#
# 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.
paint = 0
output = [[' ' for i in range(256)] for j in range(256)]
def draw(l):
global output
global paint
paint += 1
for point in l:
x = point[0] + 128
y = 128 - point[1]
output[y][x] = str(paint)
# ap ap galaxy nil ap ap cons 0 0
#
# Input: nil / 0 0
# Output: (0 (0) 0) ())
# draw([ (-1, -3), (0, -3), (1, -3), (2, -2), (-2, -1), (-1, -1), (0, -1), (3, -1), (-3, 0), (-1, 0), (1, 0), (3, 0), (-3, 1), (0, 1), (1, 1), (2, 1), (-2, 2), (-1, 3), (0, 3), (1, 3) ])
# draw([ (-7, -3), (-8, -2) ])
# Input: (0 (0) 0) ()) / 0 0
# Output: (0 (1) 0) ())
# draw([ (-1, -3), (0, -3), (1, -3), (2, -2), (-2, -1), (-1, -1), (0, -1), (3, -1), (-3, 0), (-1, 0), (1, 0), (3, 0), (-3, 1), (0, 1), (1, 1), (2, 1), (-2, 2), (-1, 3), (0, 3), (1, 3) ])
# draw([ (-7, -2), (-7, -3), (-8, -2) ])
# Input: (0 (1) 0) ()) / 0 0
# Output: (0 (2) 0) ())
# draw([ (-1, -3), (0, -3), (1, -3), (2, -2), (-2, -1), (-1, -1), (0, -1), (3, -1), (-3, 0), (-1, 0), (1, 0), (3, 0), (-3, 1), (0, 1), (1, 1), (2, 1), (-2, 2), (-1, 3), (0, 3), (1, 3) ])
# draw([ (-6, -2), (-6, -3), (-7, -3), (-8, -1), (-8, -2) ])
# Input: (0 (2) 0) ()) / 0 0
# Output: (0 (3) 0) ())
# draw([ (-1, -3), (0, -3), (1, -3), (2, -2), (-2, -1), (-1, -1), (0, -1), (3, -1), (-3, 0), (-1, 0), (1, 0), (3, 0), (-3, 1), (0, 1), (1, 1), (2, 1), (-2, 2), (-1, 3), (0, 3), (1, 3) ])
# draw([ (-6, -2), (-7, -2), (-6, -3), (-7, -3), (-8, -1), (-8, -2) ])
# Input: (0 (3) 0) ()) / 0 0
# Output: (1 (1) 0 ())
# draw([ (-3, -3), (-2, -3), (-1, -3), (0, -3), (1, -3), (2, -3), (3, -3), (-3, -2), (0, -2), (3, -2), (-3, -1), (0, -1), (3, -1), (-3, 0), (-2, 0), (-1, 0), (0, 0), (1, 0), (2, 0), (3, 0), (-3, 1), (0, 1), (3, 1), (-3, 2), (0, 2), (3, 2), (-3, 3), (-2, 3), (-1, 3), (0, 3), (1, 3), (2, 3), (3, 3) ])
# Input: (1 (1) 0 ()) / 0 0
# Output: (1 (2) 0 ())
# draw([ (0, -3), (-1, -3), (-2, -3), (-3, -3), (0, 0), (-1, 0), (-2, 0), (-3, 0), (-3, 0), (-3, -1), (-3, -2), (-3, -3), (0, -1), (0, -2), (0, -3) ])
# draw([ (1, -3), (2, -3), (3, -3), (3, -2), (3, -1), (1, 0), (2, 0), (3, 0) ])
# draw([ (0, 1), (3, 1), (0, 2), (3, 2), (0, 3), (1, 3), (2, 3), (3, 3) ])
# draw([ (-3, 1), (-3, 2), (-3, 3), (-2, 3), (-1, 3) ])
# Input: (1 (2) 0 ()) / 0 0
# Ouptut: (1 (3) 0 ())
# draw([ (0, 7), (0, 6), (0, 5), (0, 4), (0, 3), (0, 2), (0, 1), (0, 0), (0, -1), (0, -2), (0, -3), (0, -4), (0, -5), (0, -6), (0, -7), (0, -8), (7, 0), (6, 0), (5, 0), (4, 0), (3, 0), (2, 0), (1, 0), (0, 0), (-1, 0), (-2, 0), (-3, 0), (-4, 0), (-5, 0), (-6, 0), (-7, 0), (-8, 0) ])
# Input: (1 (3) 0 ()) / 0 0
# Output: (1 (4) 0 ())
# draw([ (8, 10), (8, 9), (8, 8), (8, 7), (8, 6), (8, 5), (8, 4), (8, 3), (8, 2), (8, 1), (8, 0), (8, -1), (8, -2), (8, -3), (8, -4), (8, -5), (16, 4), (15, 4), (14, 4), (13, 4), (12, 4), (11, 4), (10, 4), (9, 4), (8, 4), (7, 4), (6, 4), (5, 4), (4, 4), (3, 4), (2, 4), (1, 4) ])
# Input: (1 (4) 0 ()) / 0 0
# Output: (1 (4) 0 ())
# draw([ (8, 10), (8, 9), (8, 8), (8, 7), (8, 6), (8, 5), (8, 4), (8, 3), (8, 2), (8, 1), (8, 0), (8, -1), (8, -2), (8, -3), (8, -4), (8, -5), (16, 4), (15, 4), (14, 4), (13, 4), (12, 4), (11, 4), (10, 4), (9, 4), (8, 4), (7, 4), (6, 4), (5, 4), (4, 4), (3, 4), (2, 4), (1, 4) ])
# Input: (1 (4) 0 ()) / 8 4
# Output: (1 (5) 0 ())
# draw([ (2, 5), (2, 4), (2, 3), (2, 2), (2, 1), (2, 0), (2, -1), (2, -2), (2, -3), (2, -4), (2, -5), (2, -6), (2, -7), (2, -8), (2, -9), (2, -10), (7, -8), (6, -8), (5, -8), (4, -8), (3, -8), (2, -8), (1, -8), (0, -8), (-1, -8), (-2, -8), (-3, -8), (-4, -8), (-5, -8), (-6, -8), (-7, -8), (-8, -8) ])
# Input: (1 (5) 0 ()) / 2 -8
# Output: (1 (6) 0 ())
# draw([ (16, 6), (15, 6), (14, 6), (13, 6), (12, 6), (11, 6), (10, 6), (9, 6), (8, 6), (7, 6), (6, 6), (5, 6), (4, 6), (3, 6), (2, 6), (1, 6) ])
# draw([ (3, 7), (3, 6), (3, 5), (3, 4), (3, 3), (3, 2), (3, 1), (3, 0), (3, -1), (3, -2), (3, -3), (3, -4), (3, -5), (3, -6), (3, -7), (3, -8) ])
# Input: (1 (6) 0 ()) / 3 6
# Output: (1 (7) 0 ())
# draw([ (0, -12), (0, -13), (0, -14), (0, -15), (0, -16), (0, -17), (0, -18), (0, -19), (0, -20), (0, -21), (0, -22), (0, -23), (0, -24), (0, -25), (0, -26), (0, -27) ])
# draw([ ])
# draw([ (10, -14), (9, -14), (8, -14), (7, -14), (6, -14), (5, -14), (4, -14), (3, -14), (2, -14), (1, -14), (0, -14), (-1, -14), (-2, -14), (-3, -14), (-4, -14), (-5, -14) ])
# Input: (1 (7) 0 ()) / 0 -14
# Output: (1 (8) 0 ())
# draw([ (-4, 15), (-4, 14), (-4, 13), (-4, 12), (-4, 11), (-4, 10), (-4, 9), (-4, 8), (-4, 7), (-4, 6), (-4, 5), (-4, 4), (-4, 3), (-4, 2), (-4, 1), (-4, 0) ])
# draw([ (3, 10), (2, 10), (1, 10), (0, 10), (-1, 10), (-2, 10), (-3, 10), (-4, 10), (-5, 10), (-6, 10), (-7, 10), (-8, 10), (-9, 10), (-10, 10), (-11, 10), (-12, 10) ])
# Input: (1 (8) 0 ()) / -4 10
# Output (1 (9) 0 ())
# draw([ (9, 8), (9, 7), (9, 6), (9, 5), (9, 4), (9, 3), (9, 2), (9, 1), (9, 0), (9, -1), (9, -2), (9, -3), (9, -4), (9, -5), (9, -6), (9, -7) ])
# draw([ (17, -3), (16, -3), (15, -3), (14, -3), (13, -3), (12, -3), (11, -3), (10, -3), (9, -3), (8, -3), (7, -3), (6, -3), (5, -3), (4, -3), (3, -3), (2, -3) ])
# draw([ (17, 8), (17, 7), (17, 6), (17, 5), (17, 4), (17, 3), (17, 2), (17, 1), (17, 0), (17, -1), (17, -2), (17, -3), (17, -4), (17, -5), (17, -6), (17, -7), (16, 8), (16, 7), (16, 6), (16, 5), (16, 4), (16, 3), (16, 2), (16, 1), (16, 0), (16, -1), (16, -2), (16, -3), (16, -4), (16, -5), (16, -6), (16, -7), (15, 8), (15, 7), (15, 6), (15, 5), (15, 4), (15, 3), (15, 2), (15, 1), (15, 0), (15, -1), (15, -2), (15, -3), (15, -4), (15, -5), (15, -6), (15, -7), (14, 8), (14, 7), (14, 6), (14, 5), (14, 4), (14, 3), (14, 2), (14, 1), (14, 0), (14, -1), (14, -2), (14, -3), (14, -4), (14, -5), (14, -6), (14, -7), (13, 8), (13, 7), (13, 6), (13, 5), (13, 4), (13, 3), (13, 2), (13, 1), (13, 0), (13, -1), (13, -2), (13, -3), (13, -4), (13, -5), (13, -6), (13, -7), (12, 8), (12, 7), (12, 6), (12, 5), (12, 4), (12, 3), (12, 2), (12, 1), (12, 0), (12, -1), (12, -2), (12, -3), (12, -4), (12, -5), (12, -6), (12, -7), (11, 8), (11, 7), (11, 6), (11, 5), (11, 4), (11, 3), (11, 2), (11, 1), (11, 0), (11, -1), (11, -2), (11, -3), (11, -4), (11, -5), (11, -6), (11, -7), (10, 8), (10, 7), (10, 6), (10, 5), (10, 4), (10, 3), (10, 2), (10, 1), (10, 0), (10, -1), (10, -2), (10, -3), (10, -4), (10, -5), (10, -6), (10, -7), (9, 8), (9, 7), (9, 6), (9, 5), (9, 4), (9, 3), (9, 2), (9, 1), (9, 0), (9, -1), (9, -2), (9, -3), (9, -4), (9, -5), (9, -6), (9, -7), (8, 8), (8, 7), (8, 6), (8, 5), (8, 4), (8, 3), (8, 2), (8, 1), (8, 0), (8, -1), (8, -2), (8, -3), (8, -4), (8, -5), (8, -6), (8, -7), (7, 8), (7, 7), (7, 6), (7, 5), (7, 4), (7, 3), (7, 2), (7, 1), (7, 0), (7, -1), (7, -2), (7, -3), (7, -4), (7, -5), (7, -6), (7, -7), (6, 8), (6, 7), (6, 6), (6, 5), (6, 4), (6, 3), (6, 2), (6, 1), (6, 0), (6, -1), (6, -2), (6, -3), (6, -4), (6, -5), (6, -6), (6, -7), (5, 8), (5, 7), (5, 6), (5, 5), (5, 4), (5, 3), (5, 2), (5, 1), (5, 0), (5, -1), (5, -2), (5, -3), (5, -4), (5, -5), (5, -6), (5, -7), (4, 8), (4, 7), (4, 6), (4, 5), (4, 4), (4, 3), (4, 2), (4, 1), (4, 0), (4, -1), (4, -2), (4, -3), (4, -4), (4, -5), (4, -6), (4, -7), (3, 8), (3, 7), (3, 6), (3, 5), (3, 4), (3, 3), (3, 2), (3, 1), (3, 0), (3, -1), (3, -2), (3, -3), (3, -4), (3, -5), (3, -6), (3, -7), (2, 8), (2, 7), (2, 6), (2, 5), (2, 4), (2, 3), (2, 2), (2, 1), (2, 0), (2, -1), (2, -2), (2, -3), (2, -4), (2, -5), (2, -6), (2, -7) ])
# Input: (1 (11) 0 ()) / 1 4
# Output: (2 (1 -1) 0 ())
# draw([ (16, -64), (18, -64), (16, -63), (18, -63), (16, -62), (17, -62), (18, -62), (16, -61), (17, -61), (18, -61), (16, -60), (17, -60), (18, -60), (14, -59), (15, -59), (16, -59), (17, -59), (18, -59), (19, -59), (20, -59), (17, -58), (-2, 94), (0, 94), (-2, 95), (-1, 95), (0, 95), (-4, 96), (-3, 96), (-2, 96), (-1, 96), (0, 96), (1, 96), (2, 96), (-2, 97), (-1, 97), (0, 97), (-1, 98), (-2, 99), (0, 99), (-2, 100), (0, 100), (-76, -66), (-74, -66), (-78, -65), (-77, -65), (-76, -65), (-74, -65), (-73, -65), (-72, -65), (-77, -64), (-76, -64), (-74, -64), (-73, -64), (-77, -63), (-74, -63), (-72, -63), (-76, -62), (-36, -46), (-35, -46), (-34, -46), (-38, -45), (-37, -45), (-36, -45), (-35, -45), (-34, -45), (-38, -44), (-37, -44), (-36, -44), (-35, -44), (-38, -43), (-37, -43), (-35, -43), (-37, -42), (-35, -42), (-33, -42), (-32, -42), (-37, -41), (-35, -41), (-34, -41), (-33, -41), (-32, -41), (-33, -40), (-32, -40), (48, -33), (49, -33), (50, -33), (46, -32), (47, -32), (49, -32), (44, -31), (45, -31), (46, -31), (47, -31), (49, -31), (46, -30), (47, -30), (49, -30), (48, -29), (49, -29), (50, -29), (61, -29), (62, -29), (64, -29), (65, -29), (60, -28), (61, -28), (62, -28), (64, -28), (65, -28), (66, -28), (61, -27), (62, -27), (64, -27), (65, -27), (62, -26), (63, -26), (64, -26), (61, -25), (63, -25), (65, -25), (-80, 11), (-79, 11), (-78, 11), (-77, 11), (-76, 11), (-80, 12), (-79, 12), (-77, 12), (-76, 12), (-80, 13), (-79, 13), (-78, 13), (-77, 13), (-76, 13), (-80, 14), (-78, 14), (-76, 14), (-80, 15), (-78, 15), (-76, 15), (-78, 16), (-78, 17), (-48, 35), (-47, 35), (-46, 35), (-45, 35), (-44, 35), (-43, 35), (-48, 36), (-47, 36), (-46, 36), (-45, 36), (-44, 36), (-43, 36), (-48, 37), (-47, 37), (-46, 37), (-45, 37), (-44, 37), (-43, 37), (-49, 38), (-44, 38), (-43, 38), (-48, 39), (-47, 39), (-46, 39), (-45, 39), (-44, 39), (-43, 39), (57, 27), (53, 28), (54, 28), (55, 28), (56, 28), (52, 29), (53, 29), (54, 29), (55, 29), (56, 29), (53, 30), (54, 30), (55, 30), (56, 30), (57, 30), (58, 30), (53, 31), (55, 31), (57, 31), (58, 31), (53, 32), (55, 32), (53, 33), (56, 33), (102, 15), (100, 16), (102, 16), (104, 16), (100, 17), (102, 17), (104, 17), (100, 18), (102, 18), (104, 18), (100, 19), (102, 19), (104, 19), (100, 20), (101, 20), (102, 20), (103, 20), (104, 20), (101, 21), (102, 21), (103, 21), (99, 35), (97, 36), (98, 36), (99, 36), (100, 36), (101, 36), (97, 37), (101, 37), (96, 38), (97, 38), (101, 38), (102, 38), (96, 39), (97, 39), (99, 39), (101, 39), (102, 39), (97, 40), (98, 40), (99, 40), (100, 40), (101, 40), (96, 41), (98, 41), (100, 41), (102, 41), (-1, -3), (0, -3), (1, -3), (2, -2), (-2, -1), (-1, -1), (0, -1), (3, -1), (-3, 0), (-1, 0), (1, 0), (3, 0), (-3, 1), (0, 1), (1, 1), (2, 1), (-2, 2), (-1, 3), (0, 3), (1, 3), (-120, -90), (-120, -91), (-120, -92), (-120, -93), (-120, -94), (-120, -95), (-120, -96), (-120, -97), (-120, -98), (-120, -99), (-120, -100), (-120, -101), (-120, -102), (-120, -103), (-120, -104), (-120, -105), (-120, -106), (-120, -107), (-120, -108), (-156, -108), (-155, -108), (-156, -107), (-152, -108), (-151, -108), (-152, -107), (-148, -108), (-147, -108), (-146, -108), (-145, -108), (-148, -107), (-146, -107), (-148, -106), (-146, -106), (-148, -105), (-146, -105), (-142, -108), (-141, -108), (-140, -108), (-139, -108), (-138, -108), (-137, -108), (-136, -108), (-142, -107), (-136, -107), (-142, -106), (-139, -106), (-138, -106), (-136, -106), (-142, -105), (-140, -105), (-138, -105), (-136, -105), (-142, -104), (-140, -104), (-136, -104), (-142, -103), (-136, -103), (-142, -102), (-141, -102), (-140, -102), (-139, -102), (-138, -102), (-137, -102), (-136, -102), (-132, -105), (-131, -107), (-130, -108), (-131, -108), (-132, -108), (-133, -105), (-133, -106), (-133, -107), (-127, -108), (-126, -108), (-125, -108), (-127, -107), (-126, -107), (-125, -107), (-127, -106), (-126, -106), (-125, -106), (-124, -106), (-123, -106), (-125, -105), (-124, -105), (-123, -105), (-125, -104), (-124, -104), (-123, -104) ])
# draw([ (-10, -120), (-44, -116), (-17, -113), (-24, -112), (-23, -111), (-3, -111), (-12, -110), (34, -100), (-86, -99), (-85, -99), (45, -97), (-22, -96), (37, -96), (46, -96), (-19, -95), (55, -95), (-32, -93), (2, -93), (-101, -92), (-32, -92), (-6, -92), (-59, -91), (-42, -91), (-31, -91), (-28, -91), (-27, -91), (-19, -91), (-16, -91), (-15, -91), (-10, -91), (-43, -90), (-40, -90), (-30, -90), (-29, -90), (-18, -90), (-17, -90), (-8, -90), (-47, -89), (-43, -89), (-28, -89), (-23, -89), (-9, -89), (-8, -89), (-49, -88), (-48, -88), (-16, -88), (-10, -88), (-8, -88), (-2, -88), (-47, -87), (-2, -87), (1, -87), (-66, -86), (-58, -86), (-57, -86), (8, -86), (48, -86), (50, -86), (-52, -85), (-2, -85), (-1, -85), (25, -85), (26, -85), (-66, -84), (-52, -84), (-50, -84), (-1, -84), (3, -84), (7, -84), (34, -84), (51, -84), (-60, -83), (-58, -83), (2, -83), (6, -83), (11, -83), (8, -82), (12, -82), (12, -81), (13, -80), (54, -80), (-68, -79), (-66, -79), (54, -79), (-73, -78), (-70, -78), (-68, -78), (-19, -78), (-18, -78), (-17, -78), (13, -78), (-80, -77), (-78, -77), (-17, -77), (-16, -77), (18, -77), (31, -77), (-78, -76), (-76, -76), (18, -76), (30, -76), (-77, -75), (29, -75), (3, -74), (4, -74), (25, -74), (34, -74), (-81, -73), (3, -73), (4, -73), (9, -73), (25, -73), (26, -73), (-57, -72), (-2, -72), (9, -72), (25, -72), (26, -72), (25, -71), (33, -71), (67, -71), (-86, -70), (-1, -70), (33, -70), (39, -70), (-86, -69), (5, -69), (35, -69), (35, -68), (39, -68), (43, -68), (70, -68), (31, -67), (32, -67), (42, -67), (-89, -66), (11, -66), (32, -66), (69, -66), (43, -65), (31, -64), (43, -64), (-21, -63), (18, -63), (41, -63), (-23, -62), (13, -62), (43, -62), (-19, -60), (-17, -59), (43, -59), (44, -59), (43, -58), (74, -58), (75, -58), (-46, -57), (-45, -57), (43, -57), (75, -57), (-46, -56), (-44, -56), (24, -56), (46, -56), (85, -56), (86, -56), (-48, -55), (86, -55), (51, -54), (24, -53), (-61, -52), (-60, -52), (-17, -52), (25, -52), (51, -52), (75, -52), (76, -52), (-62, -51), (-60, -51), (-59, -51), (13, -51), (54, -51), (26, -50), (49, -50), (50, -50), (-6, -49), (-4, -49), (10, -49), (13, -49), (49, -49), (50, -49), (51, -49), (52, -49), (53, -49), (54, -49), (9, -48), (10, -48), (49, -48), (51, -48), (52, -48), (53, -48), (-20, -47), (10, -47), (11, -47), (-9, -46), (-6, -46), (-5, -46), (50, -46), (-30, -45), (-29, -45), (-28, -45), (-18, -45), (-14, -45), (-9, -45), (-5, -45), (-4, -45), (-3, -45), (-1, -45), (50, -45), (51, -45), (-68, -44), (-34, -44), (-23, -44), (-20, -44), (-14, -44), (-13, -44), (-11, -44), (-7, -44), (-6, -44), (-4, -44), (0, -44), (18, -44), (20, -44), (57, -44), (60, -44), (-36, -43), (-33, -43), (-29, -43), (-23, -43), (-19, -43), (-14, -43), (-8, -43), (-6, -43), (-5, -43), (-3, -43), (1, -43), (2, -43), (54, -43), (-29, -42), (-3, -42), (0, -42), (50, -42), (-38, -41), (-37, -41), (-35, -41), (-31, -41), (-29, -41), (-3, -41), (2, -41), (-40, -40), (-38, -40), (-33, -40), (-28, -40), (-25, -40), (5, -40), (8, -40), (11, -40), (53, -40), (-39, -39), (-32, -39), (-30, -39), (26, -39), (-42, -38), (-40, -38), (-38, -38), (-18, -38), (52, -38), (54, -38), (78, -38), (-41, -37), (-40, -37), (12, -37), (15, -37), (31, -37), (57, -37), (78, -37), (57, -36), (-47, -35), (-40, -35), (13, -35), (17, -35), (20, -35), (-48, -34), (-43, -34), (-33, -34), (19, -34), (21, -34), (-42, -33), (-33, -33), (14, -33), (19, -33), (21, -33), (24, -33), (26, -33), (38, -33), (-58, -32), (-44, -32), (-42, -32), (20, -32), (21, -32), (24, -32), (25, -32), (60, -32), (61, -32), (77, -32), (78, -32), (-72, -31), (-71, -31), (-58, -31), (-57, -31), (-45, -31), (-42, -31), (17, -31), (59, -31), (61, -31), (-73, -30), (-72, -30), (-51, -30), (-45, -30), (-44, -30), (23, -30), (59, -30), (60, -30), (-46, -29), (-45, -29), (21, -29), (59, -29), (60, -29), (61, -29), (-46, -28), (-45, -28), (-43, -28), (-9, -28), (24, -28), (28, -28), (39, -28), (61, -28), (-60, -27), (-55, -27), (8, -27), (9, -27), (18, -27), (27, -27), (28, -27), (40, -27), (-86, -26), (-76, -26), (-13, -26), (6, -26), (7, -26), (11, -26), (17, -26), (23, -26), (25, -26), (28, -26), (30, -26), (38, -26), (39, -26), (41, -26), (-14, -25), (4, -25), (17, -25), (41, -25), (-54, -24), (6, -24), (8, -24), (12, -24), (13, -24), (15, -24), (18, -24), (25, -24), (26, -24), (30, -24), (32, -24), (35, -24), (38, -24), (39, -24), (41, -24), (60, -24), (62, -24), (-56, -23), (-53, -23), (6, -23), (10, -23), (16, -23), (18, -23), (21, -23), (24, -23), (26, -23), (29, -23), (31, -23), (32, -23), (33, -23), (38, -23), (59, -23), (66, -23), (-81, -22), (-54, -22), (-52, -22), (-3, -22), (2, -22), (4, -22), (12, -22), (17, -22), (25, -22), (32, -22), (33, -22), (39, -22), (-55, -21), (-1, -21), (3, -21), (4, -21), (12, -21), (18, -21), (22, -21), (27, -21), (29, -21), (30, -21), (34, -21), (37, -21), (62, -21), (67, -21), (-56, -20), (-54, -20), (-28, -20), (-27, -20), (-7, -20), (2, -20), (3, -20), (5, -20), (6, -20), (7, -20), (12, -20), (14, -20), (24, -20), (28, -20), (29, -20), (31, -20), (33, -20), (40, -20), (-31, -19), (-30, -19), (-26, -19), (1, -19), (24, -19), (27, -19), (30, -19), (32, -19), (33, -19), (40, -19), (-56, -18), (-31, -18), (-9, -18), (-1, -18), (0, -18), (7, -18), (19, -18), (26, -18), (27, -18), (33, -18), (40, -18), (59, -18), (-61, -17), (-33, -17), (-32, -17), (-10, -17), (-8, -17), (-2, -17), (7, -17), (8, -17), (22, -17), (24, -17), (26, -17), (28, -17), (29, -17), (30, -17), (62, -17), (111, -17), (-61, -16), (-33, -16), (-32, -16), (-15, -16), (-12, -16), (-10, -16), (-4, -16), (10, -16), (13, -16), (24, -16), (30, -16), (60, -16), (61, -16), (63, -16), (-61, -15), (-56, -15), (-55, -15), (-32, -15), (-31, -15), (-17, -15), (2, -15), (12, -15), (21, -15), (25, -15), (26, -15), (33, -15), (62, -15), (82, -15), (-13, -14), (13, -14), (59, -14), (60, -14), (-63, -13), (-16, -13), (-11, -13), (-7, -13), (27, -13), (29, -13), (31, -13), (85, -13), (-64, -12), (-63, -12), (-57, -12), (-20, -12), (-18, -12), (-14, -12), (-12, -12), (-9, -12), (28, -12), (30, -12), (63, -12), (-64, -11), (25, -11), (28, -11), (59, -11), (-84, -10), (-65, -10), (-64, -10), (-21, -10), (-13, -10), (-3, -10), (4, -10), (29, -10), (31, -10), (-66, -9), (-20, -9), (42, -9), (62, -9), (-67, -8), (-65, -8), (-63, -8), (-19, -8), (7, -8), (23, -8), (31, -8), (-68, -7), (-62, -7), (-17, -7), (-16, -7), (-10, -7), (7, -7), (23, -7), (27, -7), (59, -7), (65, -7), (-67, -6), (-65, -6), (-58, -6), (-18, -6), (7, -6), (22, -6), (65, -6), (-62, -5), (-24, -5), (-21, -5), (-16, -5), (-2, -5), (41, -5), (80, -5), (85, -5), (-64, -4), (-15, -4), (-2, -4), (0, -4), (1, -4), (2, -4), (-65, -3), (-64, -3), (-23, -3), (-5, -3), (-1, -3), (-64, -2), (-63, -2), (-27, -2), (-21, -2), (-18, -2), (-6, -2), (-1, -2), (15, -2), (19, -2), (-27, -1), (-24, -1), (-23, -1), (-7, -1), (-5, -1), (3, -1), (7, -1), (19, -1), (21, -1), (22, -1), (41, -1), (58, -1), (63, -1), (-29, 0), (-22, 0), (-16, 0), (-12, 0), (-4, 0), (3, 0), (5, 0), (7, 0), (17, 0), (41, 0), (0, 1), (15, 1), (61, 1), (-66, 2), (-26, 2), (-20, 2), (-5, 2), (-1, 2), (1, 2), (2, 2), (21, 2), (22, 2), (-68, 3), (-67, 3), (-1, 3), (0, 3), (23, 3), (58, 3), (-26, 4), (-9, 4), (-4, 4), (13, 4), (55, 4), (58, 4), (-68, 5), (-31, 5), (-28, 5), (-3, 5), (57, 5), (58, 5), (59, 5), (-29, 6), (-9, 6), (-8, 6), (14, 6), (17, 6), (58, 6), (-68, 7), (-30, 7), (-10, 7), (-9, 7), (9, 7), (16, 7), (59, 7), (-30, 8), (-27, 8), (55, 8), (-69, 9), (-41, 9), (-31, 9), (-26, 9), (-25, 9), (5, 9), (10, 9), (16, 9), (54, 9), (-64, 10), (-35, 10), (-33, 10), (-28, 10), (-26, 10), (-19, 10), (-15, 10), (-3, 10), (16, 10), (53, 10), (54, 10), (57, 10), (58, 10), (-65, 11), (-35, 11), (-32, 11), (-27, 11), (18, 11), (55, 11), (88, 11), (-65, 12), (-34, 12), (-32, 12), (-28, 12), (-27, 12), (-26, 12), (-13, 12), (-10, 12), (-5, 12), (57, 12), (-63, 13), (-33, 13), (-31, 13), (-27, 13), (-26, 13), (-15, 13), (-4, 13), (0, 13), (4, 13), (8, 13), (11, 13), (53, 13), (54, 13), (55, 13), (-26, 14), (-25, 14), (-24, 14), (-3, 14), (13, 14), (56, 14), (-67, 15), (-43, 15), (-25, 15), (-1, 15), (2, 15), (8, 15), (9, 15), (14, 15), (-42, 16), (-33, 16), (-24, 16), (-19, 16), (2, 16), (4, 16), (29, 16), (-67, 17), (-33, 17), (-31, 17), (-27, 17), (-23, 17), (-14, 17), (-7, 17), (-1, 17), (1, 17), (2, 17), (5, 17), (8, 17), (49, 17), (-33, 18), (-32, 18), (-25, 18), (-23, 18), (-17, 18), (-15, 18), (-12, 18), (-9, 18), (-8, 18), (-5, 18), (-1, 18), (4, 18), (11, 18), (49, 18), (50, 18), (57, 18), (-36, 19), (-34, 19), (-31, 19), (-28, 19), (-26, 19), (-24, 19), (-21, 19), (-18, 19), (-17, 19), (-14, 19), (-9, 19), (-3, 19), (9, 19), (-65, 20), (-36, 20), (-32, 20), (-30, 20), (-28, 20), (-27, 20), (-25, 20), (-16, 20), (-15, 20), (-11, 20), (46, 20), (51, 20), (54, 20), (55, 20), (70, 20), (71, 20), (-34, 21), (-29, 21), (-26, 21), (-25, 21), (-21, 21), (-16, 21), (-13, 21), (47, 21), (48, 21), (71, 21), (-64, 22), (-36, 22), (-32, 22), (-31, 22), (-12, 22), (25, 22), (42, 22), (-65, 23), (-28, 23), (-8, 23), (47, 23), (-64, 24), (-33, 24), (-26, 24), (-23, 24), (48, 24), (52, 24), (-33, 25), (-28, 25), (-27, 25), (-25, 25), (46, 25), (51, 25), (70, 25), (-73, 26), (-65, 26), (-64, 26), (-40, 26), (-22, 26), (-24, 27), (-20, 27), (11, 27), (41, 27), (49, 27), (-72, 28), (-64, 28), (-24, 28), (2, 28), (3, 28), (39, 28), (45, 28), (47, 28), (67, 28), (-25, 29), (-24, 29), (4, 29), (38, 29), (39, 29), (41, 29), (44, 29), (45, 29), (46, 29), (-62, 30), (-27, 30), (-26, 30), (-24, 30), (-23, 30), (-22, 30), (4, 30), (45, 30), (-39, 31), (-23, 31), (-22, 31), (39, 31), (62, 31), (-89, 32), (-23, 32), (-15, 32), (-14, 32), (36, 32), (-62, 33), (-19, 33), (-17, 33), (36, 33), (40, 33), (42, 33), (45, 33), (-64, 34), (-62, 34), (-19, 34), (-17, 34), (-14, 34), (-12, 34), (-11, 34), (35, 34), (-16, 35), (-14, 35), (-10, 35), (-8, 35), (-7, 35), (27, 35), (34, 35), (-68, 36), (-63, 36), (-11, 36), (25, 36), (26, 36), (27, 36), (30, 36), (35, 36), (-17, 37), (-12, 37), (-10, 37), (-3, 37), (1, 37), (6, 37), (25, 37), (30, 37), (-12, 38), (-10, 38), (-5, 38), (-4, 38), (2, 38), (15, 38), (59, 38), (-60, 39), (-15, 39), (2, 39), (9, 39), (27, 39), (32, 39), (59, 39), (104, 39), (-28, 40), (-15, 40), (-1, 40), (1, 40), (9, 40), (15, 40), (16, 40), (18, 40), (28, 40), (-60, 41), (-9, 41), (10, 41), (12, 41), (17, 41), (27, 41), (65, 41), (66, 41), (67, 41), (-28, 42), (7, 42), (11, 42), (14, 42), (59, 42), (60, 42), (61, 42), (-61, 43), (-60, 43), (-20, 43), (7, 43), (20, 43), (55, 43), (-61, 44), (-7, 44), (6, 44), (-61, 45), (-59, 45), (17, 45), (-63, 46), (-62, 46), (-61, 46), (-60, 46), (-57, 46), (-62, 47), (-61, 47), (-61, 48), (-17, 48), (-60, 49), (-14, 49), (-61, 50), (-60, 50), (-56, 50), (-22, 50), (-21, 50), (-21, 51), (-13, 51), (36, 51), (37, 51), (-60, 52), (-56, 53), (-55, 54), (-54, 55), (-5, 55), (0, 55), (96, 55), (-55, 56), (7, 56), (-56, 57), (8, 57), (-50, 58), (91, 59), (-53, 60), (-54, 61), (-53, 61), (-52, 61), (84, 64), (82, 65), (-48, 66), (86, 66), (-49, 67), (-48, 67), (-46, 67), (84, 67), (85, 67), (86, 67), (93, 67), (-47, 68), (-46, 68), (32, 68), (84, 68), (85, 68), (11, 69), (83, 71), (-43, 72), (24, 72), (-73, 73), (-40, 74), (72, 75), (-40, 76), (68, 78), (-33, 80), (65, 80), (64, 81), (63, 82), (65, 82), (-42, 83), (-27, 83), (-32, 85), (-31, 85), (-25, 85), (-25, 86), (-23, 86), (-25, 87), (-24, 87), (-23, 87), (54, 87), (-35, 88), (-24, 88), (51, 88), (53, 88), (59, 88), (-21, 89), (-20, 89), (-21, 90), (-20, 90), (46, 90), (-3, 91), (11, 91), (12, 91), (24, 91), (27, 91), (40, 91), (44, 91), (49, 91), (58, 91), (-20, 92), (-2, 92), (12, 92), (16, 92), (24, 92), (30, 92), (39, 92), (41, 92), (42, 92), (47, 92), (50, 92), (51, 92), (52, 92), (-59, 93), (-1, 93), (4, 93), (6, 93), (7, 93), (22, 93), (25, 93), (28, 93), (39, 93), (-14, 94), (-1, 94), (6, 94), (18, 94), (21, 94), (6, 95), (20, 95), (21, 95), (31, 95), (34, 95), (32, 96), (34, 96), (26, 97), (21, 101) ])
# draw([ (-51, -120), (-41, -120), (-54, -115), (3, -114), (-53, -113), (-41, -112), (-25, -112), (-4, -112), (-3, -111), (-19, -110), (-12, -110), (10, -110), (-13, -108), (-8, -108), (-43, -107), (-20, -107), (-7, -107), (-83, -103), (36, -103), (-9, -101), (48, -101), (-35, -100), (-25, -100), (-13, -100), (-11, -100), (-9, -100), (48, -100), (-104, -99), (-98, -99), (-14, -99), (-7, -99), (-35, -98), (-32, -98), (-29, -98), (-20, -98), (-4, -98), (-39, -97), (-37, -97), (-33, -97), (-31, -97), (-14, -97), (-47, -96), (-30, -96), (-22, -96), (-12, -96), (2, -96), (37, -96), (46, -96), (53, -96), (-48, -95), (-45, -95), (-38, -95), (-28, -95), (-18, -95), (-8, -95), (-51, -94), (-46, -94), (-25, -94), (-22, -94), (-54, -93), (-52, -93), (-40, -93), (-32, -93), (-25, -93), (-16, -93), (4, -93), (28, -93), (-101, -92), (-54, -92), (-37, -92), (-36, -92), (-33, -92), (-24, -92), (-7, -92), (-3, -92), (38, -92), (-70, -91), (-50, -91), (-47, -91), (-31, -91), (-19, -91), (-15, -91), (-7, -91), (-6, -91), (-2, -91), (24, -91), (39, -91), (-107, -90), (-73, -90), (-61, -90), (-56, -90), (15, -90), (-62, -89), (-61, -89), (-58, -89), (-56, -89), (-44, -89), (-33, -89), (-25, -89), (-23, -89), (-14, -89), (-9, -89), (-6, -89), (1, -89), (8, -89), (11, -89), (33, -89), (-62, -88), (-55, -88), (-49, -88), (-18, -88), (-17, -88), (-6, -88), (-5, -88), (7, -88), (13, -88), (14, -88), (46, -88), (-54, -87), (-33, -87), (-21, -87), (-13, -87), (19, -87), (-67, -86), (-27, -86), (-26, -86), (-16, -86), (-3, -86), (4, -86), (15, -86), (22, -86), (36, -86), (45, -86), (-72, -85), (-70, -85), (-67, -85), (-42, -85), (-25, -85), (-14, -85), (21, -85), (-60, -84), (-47, -84), (-16, -84), (-5, -84), (-1, -84), (3, -84), (16, -84), (24, -84), (51, -84), (-55, -83), (-34, -83), (-18, -83), (2, -83), (17, -83), (20, -83), (-72, -82), (-57, -82), (-50, -82), (-45, -82), (-30, -82), (-25, -82), (-15, -82), (8, -82), (12, -82), (27, -82), (-64, -81), (-57, -81), (-56, -81), (-52, -81), (-29, -81), (-3, -81), (5, -81), (12, -81), (20, -81), (23, -81), (32, -81), (-63, -80), (-54, -80), (-50, -80), (-39, -80), (3, -80), (10, -80), (15, -80), (17, -80), (37, -80), (38, -80), (-82, -79), (-77, -79), (-65, -79), (-64, -79), (-44, -79), (-30, -79), (8, -79), (26, -79), (-76, -78), (-57, -78), (-6, -78), (-4, -78), (0, -78), (9, -78), (12, -78), (40, -78), (-84, -77), (-82, -77), (-80, -77), (-68, -77), (-55, -77), (-12, -77), (-3, -77), (11, -77), (31, -77), (-25, -76), (-8, -76), (-1, -76), (4, -76), (26, -76), (30, -76), (34, -76), (-91, -75), (-79, -75), (-77, -75), (-73, -75), (-36, -75), (-5, -75), (-76, -74), (-74, -74), (-10, -74), (6, -74), (8, -74), (28, -74), (31, -74), (33, -74), (41, -74), (43, -74), (-73, -73), (-7, -73), (11, -73), (18, -73), (19, -73), (26, -73), (50, -73), (-85, -72), (-74, -72), (-69, -72), (-64, -72), (-57, -72), (-28, -72), (-10, -72), (-6, -72), (9, -72), (21, -72), (23, -72), (45, -72), (65, -72), (-94, -71), (-81, -71), (-76, -71), (-70, -71), (-63, -71), (-34, -71), (1, -71), (12, -71), (33, -71), (-97, -70), (-77, -70), (-42, -70), (-4, -70), (11, -70), (20, -70), (30, -70), (42, -70), (62, -70), (-69, -69), (-33, -69), (-20, -69), (11, -69), (14, -69), (21, -69), (33, -69), (41, -69), (-90, -68), (-62, -68), (0, -68), (23, -68), (28, -68), (35, -68), (56, -68), (-88, -67), (-47, -67), (-8, -67), (-3, -67), (25, -67), (41, -67), (-97, -66), (-65, -66), (-24, -66), (11, -66), (45, -66), (-59, -65), (8, -65), (47, -65), (49, -65), (-78, -64), (-66, -64), (-14, -64), (31, -64), (35, -64), (44, -64), (47, -64), (-77, -63), (-70, -63), (-12, -63), (-5, -63), (18, -63), (28, -63), (31, -63), (34, -63), (40, -63), (49, -63), (60, -63), (-27, -62), (-23, -62), (-17, -62), (-1, -62), (10, -62), (39, -62), (-93, -61), (-85, -61), (-53, -61), (-5, -61), (13, -61), (38, -61), (39, -61), (40, -61), (47, -61), (-50, -60), (-10, -60), (-2, -60), (0, -60), (6, -60), (7, -60), (12, -60), (20, -60), (-45, -59), (-43, -59), (-16, -59), (14, -59), (28, -59), (34, -59), (46, -59), (52, -59), (-83, -58), (-51, -58), (11, -58), (12, -58), (14, -58), (33, -58), (38, -58), (48, -58), (55, -58), (59, -58), (61, -58), (-38, -57), (-7, -57), (-3, -57), (1, -57), (7, -57), (21, -57), (40, -57), (43, -57), (48, -57), (50, -57), (54, -57), (68, -57), (-46, -56), (-44, -56), (-15, -56), (3, -56), (9, -56), (24, -56), (-61, -55), (-50, -55), (-37, -55), (-31, -55), (-11, -55), (9, -55), (26, -55), (28, -55), (29, -55), (33, -55), (42, -55), (46, -55), (51, -55), (-95, -54), (-42, -54), (-3, -54), (38, -54), (42, -54), (49, -54), (52, -54), (67, -54), (-59, -53), (-49, -53), (-41, -53), (-28, -53), (-16, -53), (-6, -53), (-5, -53), (9, -53), (43, -53), (49, -53), (56, -53), (87, -53), (-45, -52), (-21, -52), (-17, -52), (-15, -52), (51, -52), (62, -52), (-106, -51), (-59, -51), (-17, -51), (-9, -51), (13, -51), (29, -51), (52, -51), (69, -51), (74, -51), (-43, -50), (-27, -50), (-22, -50), (-14, -50), (-13, -50), (-8, -50), (-3, -50), (3, -50), (8, -50), (23, -50), (31, -50), (42, -50), (47, -50), (58, -50), (62, -50), (-58, -49), (-42, -49), (-40, -49), (-14, -49), (-13, -49), (-5, -49), (-4, -49), (10, -49), (17, -49), (23, -49), (24, -49), (25, -49), (34, -49), (44, -49), (49, -49), (58, -49), (62, -49), (74, -49), (-70, -48), (-51, -48), (-38, -48), (-17, -48), (-11, -48), (-4, -48), (8, -48), (10, -48), (29, -48), (58, -48), (73, -48), (74, -48), (-32, -47), (-23, -47), (-14, -47), (-1, -47), (24, -47), (49, -47), (54, -47), (75, -47), (-61, -46), (-52, -46), (-11, -46), (-10, -46), (-6, -46), (-1, -46), (6, -46), (13, -46), (23, -46), (25, -46), (28, -46), (42, -46), (48, -46), (53, -46), (55, -46), (78, -46), (-38, -45), (-30, -45), (-25, -45), (-11, -45), (-9, -45), (0, -45), (26, -45), (31, -45), (37, -45), (50, -45), (56, -45), (80, -45), (82, -45), (-73, -44), (-56, -44), (-55, -44), (-42, -44), (-30, -44), (-15, -44), (-14, -44), (-2, -44), (6, -44), (9, -44), (45, -44), (59, -44), (-98, -43), (-71, -43), (-46, -43), (-41, -43), (-36, -43), (-33, -43), (-28, -43), (-10, -43), (-3, -43), (3, -43), (14, -43), (30, -43), (36, -43), (44, -43), (48, -43), (58, -43), (-59, -42), (-40, -42), (-19, -42), (-13, -42), (-12, -42), (16, -42), (19, -42), (20, -42), (26, -42), (31, -42), (34, -42), (40, -42), (46, -42), (47, -42), (53, -42), (56, -42), (62, -42), (63, -42), (65, -42), (-70, -41), (-67, -41), (-50, -41), (-41, -41), (-20, -41), (-18, -41), (-10, -41), (-9, -41), (-8, -41), (27, -41), (31, -41), (32, -41), (39, -41), (40, -41), (49, -41), (58, -41), (76, -41), (-41, -40), (-37, -40), (-16, -40), (-11, -40), (-3, -40), (5, -40), (19, -40), (34, -40), (50, -40), (55, -40), (61, -40), (-50, -39), (-49, -39), (-43, -39), (-28, -39), (-25, -39), (-24, -39), (-6, -39), (19, -39), (56, -39), (58, -39), (73, -39), (-61, -38), (-42, -38), (-40, -38), (-38, -38), (-10, -38), (-6, -38), (4, -38), (20, -38), (28, -38), (76, -38), (-67, -37), (-52, -37), (-46, -37), (-43, -37), (-40, -37), (-34, -37), (-32, -37), (-26, -37), (-11, -37), (6, -37), (14, -37), (21, -37), (22, -37), (23, -37), (38, -37), (40, -37), (47, -37), (48, -37), (50, -37), (57, -37), (78, -37), (-56, -36), (-49, -36), (-46, -36), (-44, -36), (-40, -36), (-36, -36), (-30, -36), (-29, -36), (-26, -36), (-20, -36), (-9, -36), (-5, -36), (-4, -36), (-2, -36), (16, -36), (20, -36), (25, -36), (30, -36), (40, -36), (57, -36), (58, -36), (-65, -35), (-47, -35), (-35, -35), (-30, -35), (-21, -35), (-17, -35), (0, -35), (31, -35), (32, -35), (64, -35), (-50, -34), (-42, -34), (-32, -34), (-15, -34), (7, -34), (11, -34), (18, -34), (21, -34), (24, -34), (32, -34), (41, -34), (51, -34), (52, -34), (55, -34), (-52, -33), (-51, -33), (-38, -33), (-33, -33), (11, -33), (26, -33), (54, -33), (60, -33), (62, -33), (67, -33), (-122, -32), (-68, -32), (-65, -32), (-55, -32), (-53, -32), (-46, -32), (-44, -32), (-31, -32), (-14, -32), (2, -32), (30, -32), (49, -32), (57, -32), (61, -32), (78, -32), (-56, -31), (-54, -31), (-53, -31), (-46, -31), (-5, -31), (-1, -31), (4, -31), (8, -31), (10, -31), (55, -31), (56, -31), (61, -31), (64, -31), (83, -31), (-51, -30), (-49, -30), (-44, -30), (-39, -30), (-38, -30), (-25, -30), (-13, -30), (-10, -30), (-2, -30), (14, -30), (30, -30), (31, -30), (36, -30), (53, -30), (56, -30), (62, -30), (-56, -29), (-38, -29), (-32, -29), (-30, -29), (-22, -29), (-7, -29), (-6, -29), (-5, -29), (6, -29), (22, -29), (28, -29), (30, -29), (31, -29), (34, -29), (39, -29), (41, -29), (42, -29), (43, -29), (47, -29), (61, -29), (63, -29), (64, -29), (-74, -28), (-63, -28), (-55, -28), (-43, -28), (-32, -28), (-25, -28), (-9, -28), (-3, -28), (15, -28), (20, -28), (24, -28), (29, -28), (39, -28), (57, -28), (62, -28), (-79, -27), (-53, -27), (-48, -27), (-46, -27), (4, -27), (8, -27), (17, -27), (19, -27), (22, -27), (24, -27), (31, -27), (33, -27), (35, -27), (42, -27), (45, -27), (48, -27), (55, -27), (56, -27), (-68, -26), (-61, -26), (-60, -26), (-53, -26), (-13, -26), (-11, -26), (2, -26), (8, -26), (16, -26), (19, -26), (20, -26), (22, -26), (39, -26), (46, -26), (57, -26), (-42, -25), (-39, -25), (-9, -25), (3, -25), (4, -25), (11, -25), (15, -25), (24, -25), (34, -25), (43, -25), (54, -25), (-93, -24), (-61, -24), (-56, -24), (-47, -24), (-11, -24), (-10, -24), (-6, -24), (-2, -24), (1, -24), (9, -24), (13, -24), (21, -24), (23, -24), (26, -24), (29, -24), (30, -24), (34, -24), (39, -24), (47, -24), (48, -24), (-65, -23), (-60, -23), (-57, -23), (-56, -23), (-46, -23), (-43, -23), (-9, -23), (-2, -23), (17, -23), (21, -23), (32, -23), (33, -23), (35, -23), (36, -23), (37, -23), (43, -23), (49, -23), (60, -23), (61, -23), (66, -23), (-84, -22), (-63, -22), (-47, -22), (-40, -22), (-33, -22), (3, -22), (13, -22), (15, -22), (19, -22), (20, -22), (21, -22), (23, -22), (26, -22), (28, -22), (35, -22), (-77, -21), (-60, -21), (-47, -21), (-45, -21), (-23, -21), (-13, -21), (29, -21), (35, -21), (59, -21), (67, -21), (69, -21), (-51, -20), (3, -20), (6, -20), (9, -20), (10, -20), (12, -20), (19, -20), (23, -20), (25, -20), (33, -20), (38, -20), (42, -20), (58, -20), (-64, -19), (-46, -19), (-30, -19), (-4, -19), (-3, -19), (7, -19), (15, -19), (18, -19), (25, -19), (35, -19), (53, -19), (54, -19), (56, -19), (-69, -18), (-56, -18), (-49, -18), (-47, -18), (-44, -18), (-30, -18), (-28, -18), (-14, -18), (-13, -18), (-12, -18), (-9, -18), (-7, -18), (14, -18), (20, -18), (32, -18), (37, -18), (45, -18), (53, -18), (57, -18), (67, -18), (-90, -17), (-49, -17), (-33, -17), (-32, -17), (-25, -17), (-19, -17), (-16, -17), (2, -17), (3, -17), (4, -17), (12, -17), (15, -17), (21, -17), (23, -17), (28, -17), (35, -17), (38, -17), (55, -17), (58, -17), (-68, -16), (-63, -16), (-33, -16), (-20, -16), (-16, -16), (-10, -16), (-5, -16), (-2, -16), (16, -16), (20, -16), (38, -16), (40, -16), (70, -16), (-74, -15), (-56, -15), (-54, -15), (-47, -15), (-42, -15), (-31, -15), (-26, -15), (-16, -15), (-1, -15), (1, -15), (4, -15), (5, -15), (6, -15), (13, -15), (29, -15), (34, -15), (62, -15), (63, -15), (82, -15), (-73, -14), (-70, -14), (-64, -14), (-60, -14), (-51, -14), (-28, -14), (-20, -14), (-13, -14), (-10, -14), (-8, -14), (-6, -14), (8, -14), (11, -14), (12, -14), (13, -14), (17, -14), (31, -14), (35, -14), (37, -14), (39, -14), (45, -14), (-54, -13), (-26, -13), (-24, -13), (-21, -13), (-13, -13), (-10, -13), (-7, -13), (-5, -13), (-3, -13), (0, -13), (6, -13), (16, -13), (18, -13), (20, -13), (22, -13), (23, -13), (37, -13), (49, -13), (54, -13), (62, -13), (67, -13), (85, -13), (-66, -12), (-60, -12), (-31, -12), (-25, -12), (-8, -12), (-1, -12), (3, -12), (4, -12), (10, -12), (16, -12), (17, -12), (18, -12), (22, -12), (32, -12), (35, -12), (48, -12), (67, -12), (-72, -11), (-54, -11), (-26, -11), (-24, -11), (-14, -11), (-5, -11), (2, -11), (6, -11), (26, -11), (55, -11), (59, -11), (61, -11), (-94, -10), (-16, -10), (-13, -10), (-8, -10), (-1, -10), (6, -10), (11, -10), (16, -10), (19, -10), (21, -10), (25, -10), (32, -10), (37, -10), (-91, -9), (-87, -9), (-72, -9), (-54, -9), (-53, -9), (-52, -9), (-36, -9), (-26, -9), (-10, -9), (-4, -9), (1, -9), (10, -9), (13, -9), (18, -9), (19, -9), (25, -9), (27, -9), (32, -9), (42, -9), (43, -9), (62, -9), (80, -9), (-92, -8), (-47, -8), (-28, -8), (-27, -8), (-24, -8), (-23, -8), (-7, -8), (-1, -8), (1, -8), (9, -8), (11, -8), (17, -8), (21, -8), (25, -8), (26, -8), (39, -8), (52, -8), (55, -8), (75, -8), (100, -8), (-62, -7), (-56, -7), (-55, -7), (-54, -7), (-41, -7), (-40, -7), (-30, -7), (-18, -7), (-12, -7), (1, -7), (3, -7), (4, -7), (16, -7), (20, -7), (27, -7), (30, -7), (31, -7), (-88, -6), (-81, -6), (-39, -6), (-34, -6), (-27, -6), (-5, -6), (-2, -6), (3, -6), (6, -6), (30, -6), (65, -6), (-74, -5), (-73, -5), (-27, -5), (-13, -5), (-9, -5), (-2, -5), (2, -5), (4, -5), (5, -5), (6, -5), (7, -5), (10, -5), (21, -5), (48, -5), (-94, -4), (-86, -4), (-83, -4), (-59, -4), (-58, -4), (-50, -4), (-46, -4), (-31, -4), (-18, -4), (-9, -4), (-5, -4), (-2, -4), (1, -4), (2, -4), (3, -4), (5, -4), (11, -4), (14, -4), (20, -4), (50, -4), (60, -4), (79, -4), (-83, -3), (-69, -3), (-67, -3), (-55, -3), (-35, -3), (-19, -3), (-10, -3), (-6, -3), (-4, -3), (-3, -3), (1, -3), (4, -3), (11, -3), (13, -3), (14, -3), (23, -3), (32, -3), (60, -3), (68, -3), (-92, -2), (-74, -2), (-63, -2), (-53, -2), (-44, -2), (-28, -2), (-17, -2), (-12, -2), (-10, -2), (-9, -2), (11, -2), (15, -2), (20, -2), (28, -2), (31, -2), (32, -2), (36, -2), (42, -2), (44, -2), (47, -2), (53, -2), (57, -2), (60, -2), (-76, -1), (-29, -1), (-18, -1), (-15, -1), (-12, -1), (-5, -1), (8, -1), (13, -1), (27, -1), (44, -1), (56, -1), (65, -1), (83, -1), (-86, 0), (-65, 0), (-51, 0), (-42, 0), (-18, 0), (-13, 0), (-6, 0), (1, 0), (3, 0), (5, 0), (13, 0), (14, 0), (17, 0), (23, 0), (28, 0), (45, 0), (50, 0), (55, 0), (-89, 1), (-78, 1), (-65, 1), (-47, 1), (-37, 1), (-27, 1), (-24, 1), (-23, 1), (-12, 1), (-9, 1), (-6, 1), (-5, 1), (4, 1), (6, 1), (18, 1), (22, 1), (33, 1), (36, 1), (44, 1), (51, 1), (67, 1), (84, 1), (-93, 2), (-66, 2), (-63, 2), (-62, 2), (-59, 2), (-34, 2), (-31, 2), (-11, 2), (-10, 2), (-9, 2), (-7, 2), (-5, 2), (-3, 2), (8, 2), (16, 2), (34, 2), (42, 2), (54, 2), (55, 2), (67, 2), (-86, 3), (-69, 3), (-64, 3), (-45, 3), (-33, 3), (-25, 3), (-23, 3), (-21, 3), (-15, 3), (-14, 3), (-11, 3), (-9, 3), (-7, 3), (-5, 3), (2, 3), (3, 3), (23, 3), (26, 3), (27, 3), (42, 3), (-74, 4), (-52, 4), (-26, 4), (-22, 4), (-16, 4), (-3, 4), (4, 4), (5, 4), (10, 4), (12, 4), (26, 4), (49, 4), (54, 4), (63, 4), (-62, 5), (-41, 5), (-18, 5), (-17, 5), (-9, 5), (-7, 5), (-5, 5), (3, 5), (11, 5), (13, 5), (49, 5), (57, 5), (-68, 6), (-24, 6), (-17, 6), (-15, 6), (-9, 6), (-6, 6), (-3, 6), (-1, 6), (3, 6), (9, 6), (12, 6), (15, 6), (34, 6), (54, 6), (61, 6), (62, 6), (63, 6), (77, 6), (-87, 7), (-41, 7), (-39, 7), (-34, 7), (-25, 7), (-20, 7), (-19, 7), (-11, 7), (-8, 7), (-3, 7), (-2, 7), (0, 7), (1, 7), (12, 7), (15, 7), (17, 7), (19, 7), (52, 7), (83, 7), (-93, 8), (-76, 8), (-37, 8), (-33, 8), (-23, 8), (-8, 8), (-6, 8), (-4, 8), (-3, 8), (0, 8), (7, 8), (10, 8), (15, 8), (20, 8), (34, 8), (42, 8), (52, 8), (75, 8), (-68, 9), (-63, 9), (-33, 9), (-27, 9), (-24, 9), (-21, 9), (-16, 9), (-6, 9), (5, 9), (22, 9), (43, 9), (63, 9), (-91, 10), (-68, 10), (-20, 10), (-19, 10), (-11, 10), (-5, 10), (-4, 10), (-2, 10), (-1, 10), (11, 10), (13, 10), (19, 10), (28, 10), (53, 10), (57, 10), (58, 10), (60, 10), (-70, 11), (-43, 11), (-27, 11), (-22, 11), (-16, 11), (-8, 11), (17, 11), (18, 11), (99, 11), (-64, 12), (-57, 12), (-50, 12), (-39, 12), (-15, 12), (-11, 12), (-9, 12), (1, 12), (11, 12), (14, 12), (52, 12), (63, 12), (99, 12), (-62, 13), (-60, 13), (-30, 13), (-24, 13), (-21, 13), (-20, 13), (-13, 13), (-11, 13), (-8, 13), (-2, 13), (4, 13), (6, 13), (43, 13), (53, 13), (67, 13), (73, 13), (-87, 14), (-69, 14), (-65, 14), (-38, 14), (-25, 14), (-20, 14), (-14, 14), (-11, 14), (-7, 14), (43, 14), (59, 14), (66, 14), (100, 14), (-81, 15), (-67, 15), (-49, 15), (-44, 15), (-38, 15), (-30, 15), (-20, 15), (-8, 15), (-2, 15), (11, 15), (36, 15), (53, 15), (57, 15), (-63, 16), (-53, 16), (-38, 16), (-36, 16), (-30, 16), (-26, 16), (-21, 16), (-20, 16), (37, 16), (55, 16), (57, 16), (69, 16), (-90, 17), (-68, 17), (-67, 17), (-65, 17), (-63, 17), (-47, 17), (-40, 17), (-34, 17), (-31, 17), (-26, 17), (-17, 17), (-12, 17), (-11, 17), (-8, 17), (-1, 17), (8, 17), (10, 17), (13, 17), (34, 17), (52, 17), (60, 17), (-92, 18), (-66, 18), (-35, 18), (-34, 18), (-29, 18), (-20, 18), (-12, 18), (-9, 18), (-5, 18), (31, 18), (34, 18), (45, 18), (-45, 19), (-34, 19), (-16, 19), (-13, 19), (-7, 19), (-4, 19), (3, 19), (9, 19), (23, 19), (32, 19), (35, 19), (45, 19), (49, 19), (52, 19), (58, 19), (62, 19), (-88, 20), (-75, 20), (-50, 20), (-41, 20), (-38, 20), (-30, 20), (-17, 20), (-16, 20), (-13, 20), (-11, 20), (-10, 20), (-6, 20), (9, 20), (14, 20), (23, 20), (27, 20), (32, 20), (37, 20), (46, 20), (58, 20), (70, 20), (76, 20), (-91, 21), (-61, 21), (-52, 21), (-43, 21), (-38, 21), (-19, 21), (-7, 21), (4, 21), (43, 21), (-64, 22), (-61, 22), (-41, 22), (-38, 22), (-36, 22), (-29, 22), (-24, 22), (-13, 22), (-7, 22), (14, 22), (25, 22), (33, 22), (45, 22), (53, 22), (71, 22), (107, 22), (-86, 23), (-68, 23), (-47, 23), (-41, 23), (-29, 23), (-23, 23), (-22, 23), (-2, 23), (40, 23), (47, 23), (59, 23), (-75, 24), (-35, 24), (-24, 24), (-20, 24), (-16, 24), (-14, 24), (-8, 24), (-3, 24), (29, 24), (39, 24), (41, 24), (43, 24), (-89, 25), (-62, 25), (-59, 25), (-43, 25), (-39, 25), (-23, 25), (-12, 25), (-10, 25), (5, 25), (34, 25), (35, 25), (42, 25), (51, 25), (52, 25), (77, 25), (-81, 26), (-73, 26), (-64, 26), (-58, 26), (-57, 26), (-37, 26), (-27, 26), (-19, 26), (-16, 26), (-11, 26), (-8, 26), (23, 26), (44, 26), (50, 26), (60, 26), (-70, 27), (-48, 27), (-42, 27), (-40, 27), (-27, 27), (-25, 27), (-19, 27), (-17, 27), (-11, 27), (18, 27), (37, 27), (39, 27), (41, 27), (57, 27), (-65, 28), (-37, 28), (-33, 28), (-29, 28), (-22, 28), (-21, 28), (3, 28), (7, 28), (27, 28), (52, 28), (71, 28), (-53, 29), (-46, 29), (-34, 29), (-28, 29), (-27, 29), (-26, 29), (-25, 29), (-24, 29), (-18, 29), (-11, 29), (-9, 29), (-4, 29), (18, 29), (36, 29), (45, 29), (68, 29), (-96, 30), (-95, 30), (-79, 30), (-71, 30), (-60, 30), (-59, 30), (-37, 30), (-25, 30), (-20, 30), (-17, 30), (-16, 30), (-14, 30), (-9, 30), (-8, 30), (-4, 30), (17, 30), (28, 30), (49, 30), (-68, 31), (-61, 31), (-27, 31), (-26, 31), (-11, 31), (-8, 31), (25, 31), (31, 31), (44, 31), (56, 31), (106, 31), (116, 31), (-58, 32), (-29, 32), (-28, 32), (-24, 32), (-14, 32), (1, 32), (3, 32), (9, 32), (23, 32), (35, 32), (39, 32), (-21, 33), (-19, 33), (-10, 33), (-6, 33), (4, 33), (12, 33), (18, 33), (20, 33), (36, 33), (40, 33), (45, 33), (47, 33), (50, 33), (52, 33), (54, 33), (-96, 34), (-71, 34), (-62, 34), (-58, 34), (-41, 34), (-37, 34), (-36, 34), (-35, 34), (-29, 34), (-24, 34), (-22, 34), (-19, 34), (-18, 34), (-12, 34), (29, 34), (40, 34), (50, 34), (-60, 35), (-55, 35), (-20, 35), (-14, 35), (-6, 35), (0, 35), (5, 35), (16, 35), (22, 35), (27, 35), (51, 35), (65, 35), (115, 35), (-87, 36), (-61, 36), (-51, 36), (-11, 36), (-8, 36), (-2, 36), (3, 36), (7, 36), (16, 36), (21, 36), (27, 36), (28, 36), (29, 36), (44, 36), (-57, 37), (-31, 37), (-25, 37), (-19, 37), (17, 37), (23, 37), (47, 37), (53, 37), (59, 37), (-39, 38), (-13, 38), (-10, 38), (-5, 38), (-4, 38), (5, 38), (21, 38), (30, 38), (36, 38), (37, 38), (40, 38), (54, 38), (61, 38), (-62, 39), (-35, 39), (-19, 39), (6, 39), (28, 39), (30, 39), (42, 39), (-91, 40), (-49, 40), (-27, 40), (-20, 40), (-15, 40), (-7, 40), (6, 40), (16, 40), (23, 40), (28, 40), (32, 40), (45, 40), (-90, 41), (-64, 41), (-58, 41), (-47, 41), (-34, 41), (-33, 41), (-29, 41), (-4, 41), (7, 41), (12, 41), (15, 41), (21, 41), (43, 41), (56, 41), (100, 41), (-71, 42), (-68, 42), (-55, 42), (-13, 42), (-12, 42), (-10, 42), (0, 42), (8, 42), (10, 42), (30, 42), (61, 42), (102, 42), (-68, 43), (-52, 43), (-49, 43), (-30, 43), (-19, 43), (0, 43), (2, 43), (6, 43), (10, 43), (12, 43), (19, 43), (20, 43), (26, 43), (35, 43), (51, 43), (83, 43), (-67, 44), (-63, 44), (-58, 44), (-57, 44), (-45, 44), (-40, 44), (-27, 44), (-26, 44), (-20, 44), (-12, 44), (-3, 44), (0, 44), (2, 44), (41, 44), (45, 44), (57, 44), (62, 44), (-42, 45), (-12, 45), (3, 45), (4, 45), (13, 45), (33, 45), (37, 45), (38, 45), (52, 45), (102, 45), (105, 45), (-66, 46), (-64, 46), (-60, 46), (-29, 46), (-25, 46), (-16, 46), (4, 46), (6, 46), (16, 46), (19, 46), (25, 46), (35, 46), (49, 46), (-68, 47), (-63, 47), (-51, 47), (-17, 47), (-12, 47), (-1, 47), (2, 47), (9, 47), (19, 47), (20, 47), (21, 47), (36, 47), (-27, 48), (-15, 48), (-14, 48), (-1, 48), (3, 48), (28, 48), (50, 48), (51, 48), (55, 48), (-60, 49), (-54, 49), (-7, 49), (59, 49), (-31, 50), (-25, 50), (-22, 50), (-6, 50), (17, 50), (50, 50), (60, 50), (77, 50), (-64, 51), (-48, 51), (-45, 51), (-43, 51), (-15, 51), (-4, 51), (-3, 51), (16, 51), (24, 51), (34, 51), (47, 51), (53, 51), (67, 51), (-58, 52), (-56, 52), (-53, 52), (-18, 52), (-13, 52), (51, 52), (52, 52), (98, 52), (-52, 53), (-48, 53), (-19, 53), (-14, 53), (19, 53), (25, 53), (95, 53), (-19, 54), (-13, 54), (-15, 55), (-5, 55), (42, 55), (-57, 56), (-57, 57), (-46, 57), (-44, 57), (-12, 57), (-5, 57), (32, 57), (104, 57), (105, 57), (-60, 58), (-2, 58), (11, 58), (90, 58), (-61, 59), (-51, 59), (-47, 59), (-41, 59), (4, 59), (19, 59), (-76, 60), (-60, 60), (-51, 60), (-48, 60), (-44, 60), (-37, 60), (-13, 60), (-2, 60), (3, 60), (14, 60), (90, 60), (-82, 61), (-49, 61), (5, 61), (18, 61), (-63, 62), (-56, 62), (-47, 62), (5, 62), (13, 62), (83, 62), (84, 62), (-55, 63), (-49, 63), (-41, 63), (-82, 64), (-47, 64), (3, 64), (-63, 65), (-36, 65), (-32, 65), (7, 65), (56, 65), (76, 65), (79, 65), (-56, 66), (-49, 66), (-40, 66), (-36, 66), (86, 66), (99, 66), (76, 67), (-50, 68), (-47, 68), (84, 68), (-84, 69), (-48, 69), (-38, 69), (-33, 69), (77, 69), (86, 69), (-70, 70), (-46, 70), (-37, 70), (-34, 70), (-33, 70), (71, 70), (-46, 71), (-30, 71), (-29, 71), (16, 71), (48, 71), (79, 71), (82, 71), (83, 71), (95, 71), (-33, 72), (75, 72), (79, 72), (96, 72), (66, 73), (83, 73), (-48, 74), (-46, 74), (-44, 74), (10, 74), (59, 74), (77, 74), (81, 74), (-39, 75), (-36, 75), (-32, 75), (-31, 75), (-24, 75), (9, 75), (68, 75), (90, 75), (91, 75), (-47, 76), (-38, 76), (-10, 76), (-4, 76), (0, 76), (44, 76), (59, 76), (17, 77), (31, 77), (63, 77), (71, 77), (90, 77), (-43, 78), (-32, 78), (-23, 78), (0, 78), (6, 78), (62, 78), (71, 78), (84, 78), (-37, 79), (12, 79), (52, 79), (55, 79), (69, 79), (-46, 80), (-37, 80), (-34, 80), (-22, 80), (-18, 80), (46, 80), (65, 80), (68, 80), (-75, 81), (-43, 81), (-39, 81), (-23, 81), (-8, 81), (31, 81), (47, 81), (49, 81), (66, 81), (81, 81), (-73, 82), (-44, 82), (-33, 82), (-30, 82), (-11, 82), (37, 82), (49, 82), (57, 82), (66, 82), (-67, 83), (-45, 83), (-35, 83), (-33, 83), (-26, 83), (-4, 83), (44, 83), (59, 83), (65, 83), (74, 83), (-35, 84), (-33, 84), (-28, 84), (-22, 84), (-8, 84), (5, 84), (8, 84), (73, 84), (79, 84), (-31, 85), (-11, 85), (-27, 86), (-23, 86), (32, 86), (65, 86), (-27, 87), (-21, 87), (3, 87), (37, 87), (65, 87), (-28, 88), (-20, 88), (-10, 88), (-2, 88), (24, 88), (25, 88), (51, 88), (53, 88), (57, 88), (63, 88), (64, 88), (-34, 89), (-28, 89), (-25, 89), (-20, 89), (24, 89), (32, 89), (33, 89), (35, 89), (42, 89), (48, 89), (54, 89), (66, 89), (-24, 90), (-22, 90), (-12, 90), (-7, 90), (14, 90), (17, 90), (24, 90), (49, 90), (-4, 91), (4, 91), (6, 91), (9, 91), (11, 91), (12, 91), (15, 91), (46, 91), (60, 91), (-13, 92), (0, 92), (4, 92), (22, 92), (24, 92), (41, 92), (47, 92), (55, 92), (62, 92), (-41, 93), (25, 93), (32, 93), (45, 93), (47, 93), (-22, 94), (27, 94), (28, 94), (42, 94), (45, 94), (69, 94), (-19, 95), (15, 95), (31, 95), (36, 95), (37, 95), (48, 95), (52, 95), (54, 95), (-13, 96), (16, 96), (21, 96), (29, 96), (43, 96), (54, 96), (6, 97), (9, 97), (26, 97), (28, 97), (38, 97), (-5, 98), (30, 98), (-16, 99), (6, 99), (20, 99), (41, 99), (-39, 100), (23, 100), (34, 100), (30, 101), (31, 101), (47, 101), (50, 101), (-3, 102), (10, 102), (26, 102), (34, 102), (-30, 108) ])
# draw([ (-11, -121), (-38, -117), (-3, -112), (-2, -109), (7, -105), (-85, -101), (45, -98), (-13, -96), (-1, -95), (-34, -94), (4, -94), (48, -94), (-47, -93), (0, -93), (1, -93), (-43, -92), (-40, -92), (-19, -92), (-18, -92), (-45, -91), (-44, -91), (-34, -91), (-26, -91), (-11, -91), (-55, -90), (-32, -90), (-28, -90), (-27, -90), (-26, -90), (-27, -89), (50, -89), (-36, -88), (-14, -88), (-9, -88), (-66, -87), (-63, -87), (-58, -87), (-52, -87), (-51, -87), (-9, -87), (-8, -87), (-7, -87), (-4, -87), (47, -87), (51, -87), (3, -86), (10, -86), (33, -86), (49, -86), (51, -86), (52, -86), (-50, -85), (-49, -85), (-5, -85), (35, -85), (2, -84), (48, -84), (-66, -83), (-59, -83), (13, -83), (-66, -82), (-58, -82), (6, -82), (10, -82), (28, -82), (-59, -81), (11, -81), (14, -81), (53, -81), (-75, -80), (-73, -80), (30, -80), (-76, -79), (-71, -79), (-22, -79), (13, -79), (17, -79), (19, -79), (30, -79), (-75, -78), (-24, -78), (-20, -78), (19, -78), (-83, -77), (-77, -77), (-75, -77), (-70, -77), (-15, -77), (16, -77), (-77, -76), (-27, -76), (-18, -76), (-14, -76), (2, -76), (19, -76), (20, -76), (23, -76), (25, -76), (29, -76), (-74, -75), (22, -75), (32, -74), (35, -74), (-80, -73), (-78, -73), (0, -73), (1, -73), (31, -73), (32, -73), (5, -72), (6, -72), (33, -72), (36, -72), (68, -72), (2, -71), (28, -71), (27, -70), (31, -70), (32, -70), (37, -70), (38, -70), (40, -70), (2, -69), (29, -69), (68, -69), (69, -69), (-88, -68), (71, -68), (78, -68), (12, -67), (29, -67), (38, -67), (68, -67), (69, -67), (70, -67), (71, -67), (75, -67), (18, -65), (79, -65), (15, -64), (15, -63), (43, -63), (-22, -62), (-19, -62), (15, -62), (44, -62), (45, -62), (-4, -61), (11, -61), (20, -61), (42, -61), (45, -61), (41, -60), (-2, -59), (22, -59), (76, -59), (-45, -58), (-43, -58), (42, -58), (44, -58), (46, -58), (-9, -57), (45, -57), (-43, -56), (18, -56), (-47, -55), (-18, -55), (84, -55), (87, -55), (-49, -54), (-48, -54), (77, -54), (11, -52), (-61, -51), (16, -51), (-61, -50), (-60, -50), (-16, -50), (13, -50), (14, -50), (28, -50), (48, -50), (48, -49), (-6, -48), (11, -48), (19, -48), (-30, -47), (-9, -47), (-8, -47), (20, -47), (52, -47), (-17, -46), (-12, -46), (-7, -46), (-4, -46), (-3, -46), (-26, -45), (-24, -45), (-23, -45), (-22, -45), (-16, -45), (-7, -45), (2, -45), (3, -45), (10, -45), (-33, -44), (-21, -44), (-9, -44), (-5, -44), (-3, -44), (1, -44), (2, -44), (19, -44), (-40, -43), (-25, -43), (-21, -43), (-15, -43), (-7, -43), (-2, -43), (4, -43), (9, -43), (19, -43), (59, -43), (62, -43), (-37, -42), (-36, -42), (-30, -42), (-28, -42), (-4, -42), (4, -42), (49, -42), (78, -42), (-40, -41), (-39, -41), (-32, -41), (-24, -41), (-2, -41), (3, -41), (9, -41), (12, -41), (24, -41), (-34, -40), (-31, -40), (-30, -40), (-24, -40), (-1, -40), (3, -40), (17, -40), (56, -40), (80, -40), (-38, -39), (-37, -39), (-33, -39), (6, -39), (8, -39), (9, -39), (53, -39), (79, -39), (80, -39), (-39, -38), (-34, -38), (-16, -38), (7, -38), (8, -38), (10, -38), (22, -38), (55, -38), (56, -38), (59, -38), (79, -38), (80, -38), (-31, -37), (1, -37), (8, -37), (9, -37), (19, -37), (29, -37), (79, -37), (-41, -36), (10, -36), (19, -36), (-42, -35), (12, -35), (16, -35), (18, -35), (19, -35), (23, -35), (24, -35), (-41, -34), (15, -34), (17, -34), (25, -34), (-45, -33), (-43, -33), (-41, -33), (12, -33), (22, -33), (23, -33), (58, -33), (-74, -32), (-73, -32), (-72, -32), (-45, -32), (-3, -32), (31, -32), (59, -32), (-74, -31), (-60, -31), (20, -31), (23, -31), (24, -31), (27, -31), (-43, -30), (20, -30), (25, -30), (27, -30), (28, -30), (29, -30), (42, -30), (57, -30), (58, -30), (-78, -29), (-72, -29), (-47, -29), (-44, -29), (15, -29), (26, -29), (58, -29), (-48, -28), (60, -28), (-86, -27), (-84, -27), (-50, -27), (-27, -27), (13, -27), (25, -27), (26, -27), (39, -27), (59, -27), (60, -27), (-87, -26), (-51, -26), (-50, -26), (-44, -26), (24, -26), (29, -26), (32, -26), (60, -26), (-86, -25), (-53, -25), (-52, -25), (22, -25), (27, -25), (31, -25), (59, -25), (61, -25), (-51, -24), (-50, -24), (-3, -24), (17, -24), (31, -24), (33, -24), (57, -24), (-54, -23), (2, -23), (7, -23), (8, -23), (14, -23), (20, -23), (23, -23), (28, -23), (30, -23), (67, -23), (-57, -22), (-51, -22), (8, -22), (9, -22), (30, -22), (31, -22), (36, -22), (60, -22), (62, -22), (-54, -21), (-26, -21), (5, -21), (8, -21), (9, -21), (13, -21), (16, -21), (24, -21), (25, -21), (32, -21), (36, -21), (-53, -20), (8, -20), (18, -20), (21, -20), (32, -20), (36, -20), (63, -20), (65, -20), (67, -20), (-61, -19), (-59, -19), (-13, -19), (-11, -19), (-10, -19), (0, -19), (4, -19), (8, -19), (11, -19), (19, -19), (23, -19), (31, -19), (34, -19), (62, -19), (-61, -18), (-57, -18), (-8, -18), (-6, -18), (3, -18), (9, -18), (10, -18), (23, -18), (28, -18), (31, -18), (34, -18), (-5, -17), (-4, -17), (-3, -17), (-1, -17), (0, -17), (1, -17), (16, -17), (17, -17), (25, -17), (27, -17), (33, -17), (36, -17), (61, -17), (-54, -16), (-29, -16), (23, -16), (25, -16), (28, -16), (29, -16), (62, -16), (-58, -15), (10, -15), (14, -15), (22, -15), (24, -15), (27, -15), (31, -15), (-59, -14), (-11, -14), (0, -14), (16, -14), (25, -14), (27, -14), (30, -14), (36, -14), (38, -14), (62, -14), (-58, -13), (-34, -13), (-18, -13), (3, -13), (17, -13), (25, -13), (34, -13), (-13, -12), (-11, -12), (-10, -12), (1, -12), (-91, -11), (-65, -11), (-63, -11), (-62, -11), (-18, -11), (-13, -11), (-2, -11), (29, -11), (60, -11), (-88, -10), (-63, -10), (-7, -10), (10, -10), (58, -10), (61, -10), (62, -10), (-15, -9), (26, -9), (58, -9), (-20, -8), (-14, -8), (10, -8), (29, -8), (61, -8), (86, -8), (-69, -7), (-15, -7), (-8, -7), (-1, -7), (19, -7), (22, -7), (84, -7), (-68, -6), (-22, -6), (-3, -6), (0, -6), (2, -6), (17, -6), (25, -6), (57, -6), (61, -6), (79, -6), (82, -6), (84, -6), (-26, -5), (-20, -5), (-4, -5), (-1, -5), (3, -5), (17, -5), (27, -5), (28, -5), (81, -5), (84, -5), (-21, -4), (-16, -4), (-4, -4), (-3, -4), (19, -4), (23, -4), (26, -4), (62, -4), (84, -4), (-62, -3), (-39, -3), (-7, -3), (-2, -3), (3, -3), (57, -3), (0, -2), (23, -2), (62, -2), (63, -2), (-64, -1), (-8, -1), (-6, -1), (-4, -1), (-3, -1), (-2, -1), (-1, -1), (0, -1), (1, -1), (2, -1), (20, -1), (61, -1), (-66, 0), (-27, 0), (-24, 0), (-21, 0), (-20, 0), (-5, 0), (-1, 0), (2, 0), (8, 0), (16, 0), (20, 0), (21, 0), (40, 0), (63, 0), (-2, 1), (-1, 1), (2, 1), (13, 1), (17, 1), (24, 1), (40, 1), (41, 1), (57, 1), (-27, 2), (-17, 2), (-4, 2), (13, 2), (18, 2), (19, 2), (58, 2), (60, 2), (-29, 3), (-26, 3), (4, 3), (20, 3), (52, 3), (56, 3), (-88, 4), (-30, 4), (-24, 4), (-23, 4), (-20, 4), (-19, 4), (1, 4), (16, 4), (60, 4), (-34, 5), (-30, 5), (-29, 5), (-26, 5), (-24, 5), (12, 5), (14, 5), (15, 5), (20, 5), (39, 5), (60, 5), (-27, 6), (-11, 6), (-7, 6), (5, 6), (19, 6), (55, 6), (56, 6), (57, 6), (-32, 7), (-31, 7), (-29, 7), (56, 7), (-32, 8), (-31, 8), (-29, 8), (-24, 8), (-22, 8), (5, 8), (13, 8), (-66, 9), (-64, 9), (-36, 9), (-34, 9), (-11, 9), (-3, 9), (13, 9), (14, 9), (55, 9), (-67, 10), (-66, 10), (-37, 10), (-30, 10), (-27, 10), (-22, 10), (-6, 10), (56, 10), (-66, 11), (-31, 11), (-30, 11), (-26, 11), (4, 11), (6, 11), (8, 11), (52, 11), (53, 11), (54, 11), (56, 11), (57, 11), (74, 11), (-68, 12), (-67, 12), (-66, 12), (-37, 12), (-31, 12), (-18, 12), (-8, 12), (8, 12), (19, 12), (54, 12), (55, 12), (-66, 13), (-39, 13), (-35, 13), (-34, 13), (-32, 13), (57, 13), (86, 13), (90, 13), (-30, 14), (-23, 14), (-21, 14), (-5, 14), (-2, 14), (7, 14), (52, 14), (53, 14), (-95, 15), (-65, 15), (-41, 15), (-32, 15), (-27, 15), (-26, 15), (-24, 15), (-19, 15), (-7, 15), (1, 15), (5, 15), (27, 15), (55, 15), (-31, 16), (-25, 16), (-23, 16), (-8, 16), (5, 16), (7, 16), (8, 16), (27, 16), (28, 16), (50, 16), (51, 16), (-29, 17), (-28, 17), (-13, 17), (-9, 17), (-4, 17), (32, 17), (-70, 18), (-31, 18), (-30, 18), (-24, 18), (-22, 18), (-21, 18), (-19, 18), (-16, 18), (-13, 18), (-11, 18), (-10, 18), (-4, 18), (-3, 18), (1, 18), (6, 18), (46, 18), (47, 18), (55, 18), (-68, 19), (-37, 19), (-33, 19), (-29, 19), (-27, 19), (-25, 19), (-23, 19), (-20, 19), (2, 19), (51, 19), (71, 19), (-33, 20), (-31, 20), (-29, 20), (-26, 20), (-23, 20), (-22, 20), (-21, 20), (-19, 20), (-14, 20), (10, 20), (49, 20), (74, 20), (-32, 21), (-27, 21), (-24, 21), (-23, 21), (-22, 21), (2, 21), (25, 21), (50, 21), (51, 21), (-72, 22), (-26, 22), (-9, 22), (46, 22), (47, 22), (48, 22), (51, 22), (-32, 23), (-30, 23), (-26, 23), (-24, 23), (-21, 23), (-11, 23), (55, 23), (-63, 24), (-28, 24), (-27, 24), (-19, 24), (46, 24), (-37, 25), (-29, 25), (-26, 25), (-22, 25), (-20, 25), (43, 25), (-29, 26), (-26, 26), (-24, 26), (-23, 26), (-21, 26), (42, 26), (-64, 27), (-63, 27), (-62, 27), (-34, 27), (-32, 27), (-28, 27), (-23, 27), (-15, 27), (13, 27), (-26, 28), (-20, 28), (12, 28), (32, 28), (46, 28), (49, 28), (-66, 29), (-23, 29), (-20, 29), (-19, 30), (-15, 30), (37, 30), (43, 30), (44, 30), (-89, 31), (-62, 31), (-24, 31), (-21, 31), (-20, 31), (-19, 31), (-18, 31), (35, 31), (36, 31), (40, 31), (-62, 32), (37, 32), (44, 32), (-24, 33), (-23, 33), (-22, 33), (-16, 33), (-15, 33), (-14, 33), (-13, 33), (33, 33), (34, 33), (39, 33), (-92, 34), (-13, 34), (-9, 34), (-8, 34), (32, 34), (38, 34), (43, 34), (-62, 35), (-23, 35), (-17, 35), (-15, 35), (21, 35), (29, 35), (32, 35), (33, 35), (35, 35), (58, 35), (-64, 36), (-18, 36), (-17, 36), (-16, 36), (-13, 36), (-10, 36), (0, 36), (59, 36), (-43, 37), (-16, 37), (-15, 37), (-11, 37), (-8, 37), (9, 37), (13, 37), (15, 37), (-66, 38), (-18, 38), (-16, 38), (-1, 38), (20, 38), (23, 38), (26, 38), (28, 38), (32, 38), (57, 38), (58, 38), (-14, 39), (-13, 39), (-12, 39), (1, 39), (7, 39), (8, 39), (14, 39), (16, 39), (19, 39), (23, 39), (57, 39), (-16, 40), (-11, 40), (-10, 40), (8, 40), (12, 40), (20, 40), (22, 40), (29, 40), (5, 41), (8, 41), (9, 41), (13, 41), (14, 41), (24, 41), (59, 41), (5, 42), (9, 42), (13, 42), (18, 42), (27, 42), (66, 42), (-9, 43), (57, 43), (-62, 44), (-1, 44), (-62, 45), (-60, 45), (-3, 45), (-3, 46), (-58, 47), (-59, 48), (-58, 48), (-24, 48), (-7, 48), (-61, 49), (-13, 49), (-11, 49), (-59, 50), (-58, 50), (-19, 50), (-15, 50), (36, 50), (-59, 51), (-57, 51), (-62, 52), (-61, 52), (-55, 52), (-22, 52), (-12, 52), (35, 52), (38, 52), (-54, 53), (-56, 54), (-53, 54), (-51, 55), (-52, 56), (-48, 63), (89, 64), (-46, 66), (-44, 66), (87, 66), (-44, 67), (-45, 68), (-44, 68), (-47, 69), (-45, 69), (-43, 69), (88, 69), (91, 69), (-41, 70), (91, 70), (-42, 72), (-40, 72), (90, 72), (-42, 73), (92, 73), (-38, 75), (-43, 76), (73, 78), (-71, 81), (69, 81), (-24, 84), (-34, 85), (-23, 85), (-18, 87), (-22, 88), (-18, 88), (-6, 88), (-24, 89), (-17, 89), (-3, 89), (-19, 91), (-13, 91), (23, 91), (31, 91), (-12, 92), (-4, 92), (8, 92), (18, 92), (20, 92), (26, 92), (28, 92), (44, 92), (-22, 93), (-17, 93), (-15, 93), (-3, 93), (18, 93), (-3, 94), (7, 94), (20, 94), (3, 95), (7, 95), (24, 95), (-14, 96), (9, 96), (31, 96), (5, 97), (29, 97), (36, 98), (19, 99), (28, 99), (-32, 108) ])
# > galaxy_output.txt
# Input: (2 (1 -1) 0 ()) / 1 4
# Output: (2 (1 -1) 0 ())
draw([ (16, -64), (18, -64), (16, -63), (18, -63), (16, -62), (17, -62), (18, -62), (16, -61), (17, -61), (18, -61), (16, -60), (17, -60), (18, -60), (14, -59), (15, -59), (16, -59), (17, -59), (18, -59), (19, -59), (20, -59), (17, -58), (-2, 94), (0, 94), (-2, 95), (-1, 95), (0, 95), (-4, 96), (-3, 96), (-2, 96), (-1, 96), (0, 96), (1, 96), (2, 96), (-2, 97), (-1, 97), (0, 97), (-1, 98), (-2, 99), (0, 99), (-2, 100), (0, 100), (-76, -66), (-74, -66), (-78, -65), (-77, -65), (-76, -65), (-74, -65), (-73, -65), (-72, -65), (-77, -64), (-76, -64), (-74, -64), (-73, -64), (-77, -63), (-74, -63), (-72, -63), (-76, -62), (-36, -46), (-35, -46), (-34, -46), (-38, -45), (-37, -45), (-36, -45), (-35, -45), (-34, -45), (-38, -44), (-37, -44), (-36, -44), (-35, -44), (-38, -43), (-37, -43), (-35, -43), (-37, -42), (-35, -42), (-33, -42), (-32, -42), (-37, -41), (-35, -41), (-34, -41), (-33, -41), (-32, -41), (-33, -40), (-32, -40), (48, -33), (49, -33), (50, -33), (46, -32), (47, -32), (49, -32), (44, -31), (45, -31), (46, -31), (47, -31), (49, -31), (46, -30), (47, -30), (49, -30), (48, -29), (49, -29), (50, -29), (61, -29), (62, -29), (64, -29), (65, -29), (60, -28), (61, -28), (62, -28), (64, -28), (65, -28), (66, -28), (61, -27), (62, -27), (64, -27), (65, -27), (62, -26), (63, -26), (64, -26), (61, -25), (63, -25), (65, -25), (-80, 11), (-79, 11), (-78, 11), (-77, 11), (-76, 11), (-80, 12), (-79, 12), (-77, 12), (-76, 12), (-80, 13), (-79, 13), (-78, 13), (-77, 13), (-76, 13), (-80, 14), (-78, 14), (-76, 14), (-80, 15), (-78, 15), (-76, 15), (-78, 16), (-78, 17), (-48, 35), (-47, 35), (-46, 35), (-45, 35), (-44, 35), (-43, 35), (-48, 36), (-47, 36), (-46, 36), (-45, 36), (-44, 36), (-43, 36), (-48, 37), (-47, 37), (-46, 37), (-45, 37), (-44, 37), (-43, 37), (-49, 38), (-44, 38), (-43, 38), (-48, 39), (-47, 39), (-46, 39), (-45, 39), (-44, 39), (-43, 39), (57, 27), (53, 28), (54, 28), (55, 28), (56, 28), (52, 29), (53, 29), (54, 29), (55, 29), (56, 29), (53, 30), (54, 30), (55, 30), (56, 30), (57, 30), (58, 30), (53, 31), (55, 31), (57, 31), (58, 31), (53, 32), (55, 32), (53, 33), (56, 33), (102, 15), (100, 16), (102, 16), (104, 16), (100, 17), (102, 17), (104, 17), (100, 18), (102, 18), (104, 18), (100, 19), (102, 19), (104, 19), (100, 20), (101, 20), (102, 20), (103, 20), (104, 20), (101, 21), (102, 21), (103, 21), (99, 35), (97, 36), (98, 36), (99, 36), (100, 36), (101, 36), (97, 37), (101, 37), (96, 38), (97, 38), (101, 38), (102, 38), (96, 39), (97, 39), (99, 39), (101, 39), (102, 39), (97, 40), (98, 40), (99, 40), (100, 40), (101, 40), (96, 41), (98, 41), (100, 41), (102, 41), (-1, -3), (0, -3), (1, -3), (2, -2), (-2, -1), (-1, -1), (0, -1), (3, -1), (-3, 0), (-1, 0), (1, 0), (3, 0), (-3, 1), (0, 1), (1, 1), (2, 1), (-2, 2), (-1, 3), (0, 3), (1, 3), (-120, -90), (-120, -91), (-120, -92), (-120, -93), (-120, -94), (-120, -95), (-120, -96), (-120, -97), (-120, -98), (-120, -99), (-120, -100), (-120, -101), (-120, -102), (-120, -103), (-120, -104), (-120, -105), (-120, -106), (-120, -107), (-120, -108), (-156, -108), (-155, -108), (-156, -107), (-152, -108), (-151, -108), (-152, -107), (-148, -108), (-147, -108), (-146, -108), (-145, -108), (-148, -107), (-146, -107), (-148, -106), (-146, -106), (-148, -105), (-146, -105), (-142, -108), (-141, -108), (-140, -108), (-139, -108), (-138, -108), (-137, -108), (-136, -108), (-142, -107), (-136, -107), (-142, -106), (-139, -106), (-138, -106), (-136, -106), (-142, -105), (-140, -105), (-138, -105), (-136, -105), (-142, -104), (-140, -104), (-136, -104), (-142, -103), (-136, -103), (-142, -102), (-141, -102), (-140, -102), (-139, -102), (-138, -102), (-137, -102), (-136, -102), (-132, -105), (-131, -107), (-130, -108), (-131, -108), (-132, -108), (-133, -105), (-133, -106), (-133, -107), (-127, -108), (-126, -108), (-125, -108), (-127, -107), (-126, -107), (-125, -107), (-127, -106), (-126, -106), (-125, -106), (-124, -106), (-123, -106), (-125, -105), (-124, -105), (-123, -105), (-125, -104), (-124, -104), (-123, -104) ])
# draw([ (-10, -120), (-44, -116), (-17, -113), (-24, -112), (-23, -111), (-3, -111), (-12, -110), (34, -100), (-86, -99), (-85, -99), (45, -97), (-22, -96), (37, -96), (46, -96), (-19, -95), (55, -95), (-32, -93), (2, -93), (-101, -92), (-32, -92), (-6, -92), (-59, -91), (-42, -91), (-31, -91), (-28, -91), (-27, -91), (-19, -91), (-16, -91), (-15, -91), (-10, -91), (-43, -90), (-40, -90), (-30, -90), (-29, -90), (-18, -90), (-17, -90), (-8, -90), (-47, -89), (-43, -89), (-28, -89), (-23, -89), (-9, -89), (-8, -89), (-49, -88), (-48, -88), (-16, -88), (-10, -88), (-8, -88), (-2, -88), (-47, -87), (-2, -87), (1, -87), (-66, -86), (-58, -86), (-57, -86), (8, -86), (48, -86), (50, -86), (-52, -85), (-2, -85), (-1, -85), (25, -85), (26, -85), (-66, -84), (-52, -84), (-50, -84), (-1, -84), (3, -84), (7, -84), (34, -84), (51, -84), (-60, -83), (-58, -83), (2, -83), (6, -83), (11, -83), (8, -82), (12, -82), (12, -81), (13, -80), (54, -80), (-68, -79), (-66, -79), (54, -79), (-73, -78), (-70, -78), (-68, -78), (-19, -78), (-18, -78), (-17, -78), (13, -78), (-80, -77), (-78, -77), (-17, -77), (-16, -77), (18, -77), (31, -77), (-78, -76), (-76, -76), (18, -76), (30, -76), (-77, -75), (29, -75), (3, -74), (4, -74), (25, -74), (34, -74), (-81, -73), (3, -73), (4, -73), (9, -73), (25, -73), (26, -73), (-57, -72), (-2, -72), (9, -72), (25, -72), (26, -72), (25, -71), (33, -71), (67, -71), (-86, -70), (-1, -70), (33, -70), (39, -70), (-86, -69), (5, -69), (35, -69), (35, -68), (39, -68), (43, -68), (70, -68), (31, -67), (32, -67), (42, -67), (-89, -66), (11, -66), (32, -66), (69, -66), (43, -65), (31, -64), (43, -64), (-21, -63), (18, -63), (41, -63), (-23, -62), (13, -62), (43, -62), (-19, -60), (-17, -59), (43, -59), (44, -59), (43, -58), (74, -58), (75, -58), (-46, -57), (-45, -57), (43, -57), (75, -57), (-46, -56), (-44, -56), (24, -56), (46, -56), (85, -56), (86, -56), (-48, -55), (86, -55), (51, -54), (24, -53), (-61, -52), (-60, -52), (-17, -52), (25, -52), (51, -52), (75, -52), (76, -52), (-62, -51), (-60, -51), (-59, -51), (13, -51), (54, -51), (26, -50), (49, -50), (50, -50), (-6, -49), (-4, -49), (10, -49), (13, -49), (49, -49), (50, -49), (51, -49), (52, -49), (53, -49), (54, -49), (9, -48), (10, -48), (49, -48), (51, -48), (52, -48), (53, -48), (-20, -47), (10, -47), (11, -47), (-9, -46), (-6, -46), (-5, -46), (50, -46), (-30, -45), (-29, -45), (-28, -45), (-18, -45), (-14, -45), (-9, -45), (-5, -45), (-4, -45), (-3, -45), (-1, -45), (50, -45), (51, -45), (-68, -44), (-34, -44), (-23, -44), (-20, -44), (-14, -44), (-13, -44), (-11, -44), (-7, -44), (-6, -44), (-4, -44), (0, -44), (18, -44), (20, -44), (57, -44), (60, -44), (-36, -43), (-33, -43), (-29, -43), (-23, -43), (-19, -43), (-14, -43), (-8, -43), (-6, -43), (-5, -43), (-3, -43), (1, -43), (2, -43), (54, -43), (-29, -42), (-3, -42), (0, -42), (50, -42), (-38, -41), (-37, -41), (-35, -41), (-31, -41), (-29, -41), (-3, -41), (2, -41), (-40, -40), (-38, -40), (-33, -40), (-28, -40), (-25, -40), (5, -40), (8, -40), (11, -40), (53, -40), (-39, -39), (-32, -39), (-30, -39), (26, -39), (-42, -38), (-40, -38), (-38, -38), (-18, -38), (52, -38), (54, -38), (78, -38), (-41, -37), (-40, -37), (12, -37), (15, -37), (31, -37), (57, -37), (78, -37), (57, -36), (-47, -35), (-40, -35), (13, -35), (17, -35), (20, -35), (-48, -34), (-43, -34), (-33, -34), (19, -34), (21, -34), (-42, -33), (-33, -33), (14, -33), (19, -33), (21, -33), (24, -33), (26, -33), (38, -33), (-58, -32), (-44, -32), (-42, -32), (20, -32), (21, -32), (24, -32), (25, -32), (60, -32), (61, -32), (77, -32), (78, -32), (-72, -31), (-71, -31), (-58, -31), (-57, -31), (-45, -31), (-42, -31), (17, -31), (59, -31), (61, -31), (-73, -30), (-72, -30), (-51, -30), (-45, -30), (-44, -30), (23, -30), (59, -30), (60, -30), (-46, -29), (-45, -29), (21, -29), (59, -29), (60, -29), (61, -29), (-46, -28), (-45, -28), (-43, -28), (-9, -28), (24, -28), (28, -28), (39, -28), (61, -28), (-60, -27), (-55, -27), (8, -27), (9, -27), (18, -27), (27, -27), (28, -27), (40, -27), (-86, -26), (-76, -26), (-13, -26), (6, -26), (7, -26), (11, -26), (17, -26), (23, -26), (25, -26), (28, -26), (30, -26), (38, -26), (39, -26), (41, -26), (-14, -25), (4, -25), (17, -25), (41, -25), (-54, -24), (6, -24), (8, -24), (12, -24), (13, -24), (15, -24), (18, -24), (25, -24), (26, -24), (30, -24), (32, -24), (35, -24), (38, -24), (39, -24), (41, -24), (60, -24), (62, -24), (-56, -23), (-53, -23), (6, -23), (10, -23), (16, -23), (18, -23), (21, -23), (24, -23), (26, -23), (29, -23), (31, -23), (32, -23), (33, -23), (38, -23), (59, -23), (66, -23), (-81, -22), (-54, -22), (-52, -22), (-3, -22), (2, -22), (4, -22), (12, -22), (17, -22), (25, -22), (32, -22), (33, -22), (39, -22), (-55, -21), (-1, -21), (3, -21), (4, -21), (12, -21), (18, -21), (22, -21), (27, -21), (29, -21), (30, -21), (34, -21), (37, -21), (62, -21), (67, -21), (-56, -20), (-54, -20), (-28, -20), (-27, -20), (-7, -20), (2, -20), (3, -20), (5, -20), (6, -20), (7, -20), (12, -20), (14, -20), (24, -20), (28, -20), (29, -20), (31, -20), (33, -20), (40, -20), (-31, -19), (-30, -19), (-26, -19), (1, -19), (24, -19), (27, -19), (30, -19), (32, -19), (33, -19), (40, -19), (-56, -18), (-31, -18), (-9, -18), (-1, -18), (0, -18), (7, -18), (19, -18), (26, -18), (27, -18), (33, -18), (40, -18), (59, -18), (-61, -17), (-33, -17), (-32, -17), (-10, -17), (-8, -17), (-2, -17), (7, -17), (8, -17), (22, -17), (24, -17), (26, -17), (28, -17), (29, -17), (30, -17), (62, -17), (111, -17), (-61, -16), (-33, -16), (-32, -16), (-15, -16), (-12, -16), (-10, -16), (-4, -16), (10, -16), (13, -16), (24, -16), (30, -16), (60, -16), (61, -16), (63, -16), (-61, -15), (-56, -15), (-55, -15), (-32, -15), (-31, -15), (-17, -15), (2, -15), (12, -15), (21, -15), (25, -15), (26, -15), (33, -15), (62, -15), (82, -15), (-13, -14), (13, -14), (59, -14), (60, -14), (-63, -13), (-16, -13), (-11, -13), (-7, -13), (27, -13), (29, -13), (31, -13), (85, -13), (-64, -12), (-63, -12), (-57, -12), (-20, -12), (-18, -12), (-14, -12), (-12, -12), (-9, -12), (28, -12), (30, -12), (63, -12), (-64, -11), (25, -11), (28, -11), (59, -11), (-84, -10), (-65, -10), (-64, -10), (-21, -10), (-13, -10), (-3, -10), (4, -10), (29, -10), (31, -10), (-66, -9), (-20, -9), (42, -9), (62, -9), (-67, -8), (-65, -8), (-63, -8), (-19, -8), (7, -8), (23, -8), (31, -8), (-68, -7), (-62, -7), (-17, -7), (-16, -7), (-10, -7), (7, -7), (23, -7), (27, -7), (59, -7), (65, -7), (-67, -6), (-65, -6), (-58, -6), (-18, -6), (7, -6), (22, -6), (65, -6), (-62, -5), (-24, -5), (-21, -5), (-16, -5), (-2, -5), (41, -5), (80, -5), (85, -5), (-64, -4), (-15, -4), (-2, -4), (0, -4), (1, -4), (2, -4), (-65, -3), (-64, -3), (-23, -3), (-5, -3), (-1, -3), (-64, -2), (-63, -2), (-27, -2), (-21, -2), (-18, -2), (-6, -2), (-1, -2), (15, -2), (19, -2), (-27, -1), (-24, -1), (-23, -1), (-7, -1), (-5, -1), (3, -1), (7, -1), (19, -1), (21, -1), (22, -1), (41, -1), (58, -1), (63, -1), (-29, 0), (-22, 0), (-16, 0), (-12, 0), (-4, 0), (3, 0), (5, 0), (7, 0), (17, 0), (41, 0), (0, 1), (15, 1), (61, 1), (-66, 2), (-26, 2), (-20, 2), (-5, 2), (-1, 2), (1, 2), (2, 2), (21, 2), (22, 2), (-68, 3), (-67, 3), (-1, 3), (0, 3), (23, 3), (58, 3), (-26, 4), (-9, 4), (-4, 4), (13, 4), (55, 4), (58, 4), (-68, 5), (-31, 5), (-28, 5), (-3, 5), (57, 5), (58, 5), (59, 5), (-29, 6), (-9, 6), (-8, 6), (14, 6), (17, 6), (58, 6), (-68, 7), (-30, 7), (-10, 7), (-9, 7), (9, 7), (16, 7), (59, 7), (-30, 8), (-27, 8), (55, 8), (-69, 9), (-41, 9), (-31, 9), (-26, 9), (-25, 9), (5, 9), (10, 9), (16, 9), (54, 9), (-64, 10), (-35, 10), (-33, 10), (-28, 10), (-26, 10), (-19, 10), (-15, 10), (-3, 10), (16, 10), (53, 10), (54, 10), (57, 10), (58, 10), (-65, 11), (-35, 11), (-32, 11), (-27, 11), (18, 11), (55, 11), (88, 11), (-65, 12), (-34, 12), (-32, 12), (-28, 12), (-27, 12), (-26, 12), (-13, 12), (-10, 12), (-5, 12), (57, 12), (-63, 13), (-33, 13), (-31, 13), (-27, 13), (-26, 13), (-15, 13), (-4, 13), (0, 13), (4, 13), (8, 13), (11, 13), (53, 13), (54, 13), (55, 13), (-26, 14), (-25, 14), (-24, 14), (-3, 14), (13, 14), (56, 14), (-67, 15), (-43, 15), (-25, 15), (-1, 15), (2, 15), (8, 15), (9, 15), (14, 15), (-42, 16), (-33, 16), (-24, 16), (-19, 16), (2, 16), (4, 16), (29, 16), (-67, 17), (-33, 17), (-31, 17), (-27, 17), (-23, 17), (-14, 17), (-7, 17), (-1, 17), (1, 17), (2, 17), (5, 17), (8, 17), (49, 17), (-33, 18), (-32, 18), (-25, 18), (-23, 18), (-17, 18), (-15, 18), (-12, 18), (-9, 18), (-8, 18), (-5, 18), (-1, 18), (4, 18), (11, 18), (49, 18), (50, 18), (57, 18), (-36, 19), (-34, 19), (-31, 19), (-28, 19), (-26, 19), (-24, 19), (-21, 19), (-18, 19), (-17, 19), (-14, 19), (-9, 19), (-3, 19), (9, 19), (-65, 20), (-36, 20), (-32, 20), (-30, 20), (-28, 20), (-27, 20), (-25, 20), (-16, 20), (-15, 20), (-11, 20), (46, 20), (51, 20), (54, 20), (55, 20), (70, 20), (71, 20), (-34, 21), (-29, 21), (-26, 21), (-25, 21), (-21, 21), (-16, 21), (-13, 21), (47, 21), (48, 21), (71, 21), (-64, 22), (-36, 22), (-32, 22), (-31, 22), (-12, 22), (25, 22), (42, 22), (-65, 23), (-28, 23), (-8, 23), (47, 23), (-64, 24), (-33, 24), (-26, 24), (-23, 24), (48, 24), (52, 24), (-33, 25), (-28, 25), (-27, 25), (-25, 25), (46, 25), (51, 25), (70, 25), (-73, 26), (-65, 26), (-64, 26), (-40, 26), (-22, 26), (-24, 27), (-20, 27), (11, 27), (41, 27), (49, 27), (-72, 28), (-64, 28), (-24, 28), (2, 28), (3, 28), (39, 28), (45, 28), (47, 28), (67, 28), (-25, 29), (-24, 29), (4, 29), (38, 29), (39, 29), (41, 29), (44, 29), (45, 29), (46, 29), (-62, 30), (-27, 30), (-26, 30), (-24, 30), (-23, 30), (-22, 30), (4, 30), (45, 30), (-39, 31), (-23, 31), (-22, 31), (39, 31), (62, 31), (-89, 32), (-23, 32), (-15, 32), (-14, 32), (36, 32), (-62, 33), (-19, 33), (-17, 33), (36, 33), (40, 33), (42, 33), (45, 33), (-64, 34), (-62, 34), (-19, 34), (-17, 34), (-14, 34), (-12, 34), (-11, 34), (35, 34), (-16, 35), (-14, 35), (-10, 35), (-8, 35), (-7, 35), (27, 35), (34, 35), (-68, 36), (-63, 36), (-11, 36), (25, 36), (26, 36), (27, 36), (30, 36), (35, 36), (-17, 37), (-12, 37), (-10, 37), (-3, 37), (1, 37), (6, 37), (25, 37), (30, 37), (-12, 38), (-10, 38), (-5, 38), (-4, 38), (2, 38), (15, 38), (59, 38), (-60, 39), (-15, 39), (2, 39), (9, 39), (27, 39), (32, 39), (59, 39), (104, 39), (-28, 40), (-15, 40), (-1, 40), (1, 40), (9, 40), (15, 40), (16, 40), (18, 40), (28, 40), (-60, 41), (-9, 41), (10, 41), (12, 41), (17, 41), (27, 41), (65, 41), (66, 41), (67, 41), (-28, 42), (7, 42), (11, 42), (14, 42), (59, 42), (60, 42), (61, 42), (-61, 43), (-60, 43), (-20, 43), (7, 43), (20, 43), (55, 43), (-61, 44), (-7, 44), (6, 44), (-61, 45), (-59, 45), (17, 45), (-63, 46), (-62, 46), (-61, 46), (-60, 46), (-57, 46), (-62, 47), (-61, 47), (-61, 48), (-17, 48), (-60, 49), (-14, 49), (-61, 50), (-60, 50), (-56, 50), (-22, 50), (-21, 50), (-21, 51), (-13, 51), (36, 51), (37, 51), (-60, 52), (-56, 53), (-55, 54), (-54, 55), (-5, 55), (0, 55), (96, 55), (-55, 56), (7, 56), (-56, 57), (8, 57), (-50, 58), (91, 59), (-53, 60), (-54, 61), (-53, 61), (-52, 61), (84, 64), (82, 65), (-48, 66), (86, 66), (-49, 67), (-48, 67), (-46, 67), (84, 67), (85, 67), (86, 67), (93, 67), (-47, 68), (-46, 68), (32, 68), (84, 68), (85, 68), (11, 69), (83, 71), (-43, 72), (24, 72), (-73, 73), (-40, 74), (72, 75), (-40, 76), (68, 78), (-33, 80), (65, 80), (64, 81), (63, 82), (65, 82), (-42, 83), (-27, 83), (-32, 85), (-31, 85), (-25, 85), (-25, 86), (-23, 86), (-25, 87), (-24, 87), (-23, 87), (54, 87), (-35, 88), (-24, 88), (51, 88), (53, 88), (59, 88), (-21, 89), (-20, 89), (-21, 90), (-20, 90), (46, 90), (-3, 91), (11, 91), (12, 91), (24, 91), (27, 91), (40, 91), (44, 91), (49, 91), (58, 91), (-20, 92), (-2, 92), (12, 92), (16, 92), (24, 92), (30, 92), (39, 92), (41, 92), (42, 92), (47, 92), (50, 92), (51, 92), (52, 92), (-59, 93), (-1, 93), (4, 93), (6, 93), (7, 93), (22, 93), (25, 93), (28, 93), (39, 93), (-14, 94), (-1, 94), (6, 94), (18, 94), (21, 94), (6, 95), (20, 95), (21, 95), (31, 95), (34, 95), (32, 96), (34, 96), (26, 97), (21, 101) ])
# draw([ (-51, -120), (-41, -120), (-54, -115), (3, -114), (-53, -113), (-41, -112), (-25, -112), (-4, -112), (-3, -111), (-19, -110), (-12, -110), (10, -110), (-13, -108), (-8, -108), (-43, -107), (-20, -107), (-7, -107), (-83, -103), (36, -103), (-9, -101), (48, -101), (-35, -100), (-25, -100), (-13, -100), (-11, -100), (-9, -100), (48, -100), (-104, -99), (-98, -99), (-14, -99), (-7, -99), (-35, -98), (-32, -98), (-29, -98), (-20, -98), (-4, -98), (-39, -97), (-37, -97), (-33, -97), (-31, -97), (-14, -97), (-47, -96), (-30, -96), (-22, -96), (-12, -96), (2, -96), (37, -96), (46, -96), (53, -96), (-48, -95), (-45, -95), (-38, -95), (-28, -95), (-18, -95), (-8, -95), (-51, -94), (-46, -94), (-25, -94), (-22, -94), (-54, -93), (-52, -93), (-40, -93), (-32, -93), (-25, -93), (-16, -93), (4, -93), (28, -93), (-101, -92), (-54, -92), (-37, -92), (-36, -92), (-33, -92), (-24, -92), (-7, -92), (-3, -92), (38, -92), (-70, -91), (-50, -91), (-47, -91), (-31, -91), (-19, -91), (-15, -91), (-7, -91), (-6, -91), (-2, -91), (24, -91), (39, -91), (-107, -90), (-73, -90), (-61, -90), (-56, -90), (15, -90), (-62, -89), (-61, -89), (-58, -89), (-56, -89), (-44, -89), (-33, -89), (-25, -89), (-23, -89), (-14, -89), (-9, -89), (-6, -89), (1, -89), (8, -89), (11, -89), (33, -89), (-62, -88), (-55, -88), (-49, -88), (-18, -88), (-17, -88), (-6, -88), (-5, -88), (7, -88), (13, -88), (14, -88), (46, -88), (-54, -87), (-33, -87), (-21, -87), (-13, -87), (19, -87), (-67, -86), (-27, -86), (-26, -86), (-16, -86), (-3, -86), (4, -86), (15, -86), (22, -86), (36, -86), (45, -86), (-72, -85), (-70, -85), (-67, -85), (-42, -85), (-25, -85), (-14, -85), (21, -85), (-60, -84), (-47, -84), (-16, -84), (-5, -84), (-1, -84), (3, -84), (16, -84), (24, -84), (51, -84), (-55, -83), (-34, -83), (-18, -83), (2, -83), (17, -83), (20, -83), (-72, -82), (-57, -82), (-50, -82), (-45, -82), (-30, -82), (-25, -82), (-15, -82), (8, -82), (12, -82), (27, -82), (-64, -81), (-57, -81), (-56, -81), (-52, -81), (-29, -81), (-3, -81), (5, -81), (12, -81), (20, -81), (23, -81), (32, -81), (-63, -80), (-54, -80), (-50, -80), (-39, -80), (3, -80), (10, -80), (15, -80), (17, -80), (37, -80), (38, -80), (-82, -79), (-77, -79), (-65, -79), (-64, -79), (-44, -79), (-30, -79), (8, -79), (26, -79), (-76, -78), (-57, -78), (-6, -78), (-4, -78), (0, -78), (9, -78), (12, -78), (40, -78), (-84, -77), (-82, -77), (-80, -77), (-68, -77), (-55, -77), (-12, -77), (-3, -77), (11, -77), (31, -77), (-25, -76), (-8, -76), (-1, -76), (4, -76), (26, -76), (30, -76), (34, -76), (-91, -75), (-79, -75), (-77, -75), (-73, -75), (-36, -75), (-5, -75), (-76, -74), (-74, -74), (-10, -74), (6, -74), (8, -74), (28, -74), (31, -74), (33, -74), (41, -74), (43, -74), (-73, -73), (-7, -73), (11, -73), (18, -73), (19, -73), (26, -73), (50, -73), (-85, -72), (-74, -72), (-69, -72), (-64, -72), (-57, -72), (-28, -72), (-10, -72), (-6, -72), (9, -72), (21, -72), (23, -72), (45, -72), (65, -72), (-94, -71), (-81, -71), (-76, -71), (-70, -71), (-63, -71), (-34, -71), (1, -71), (12, -71), (33, -71), (-97, -70), (-77, -70), (-42, -70), (-4, -70), (11, -70), (20, -70), (30, -70), (42, -70), (62, -70), (-69, -69), (-33, -69), (-20, -69), (11, -69), (14, -69), (21, -69), (33, -69), (41, -69), (-90, -68), (-62, -68), (0, -68), (23, -68), (28, -68), (35, -68), (56, -68), (-88, -67), (-47, -67), (-8, -67), (-3, -67), (25, -67), (41, -67), (-97, -66), (-65, -66), (-24, -66), (11, -66), (45, -66), (-59, -65), (8, -65), (47, -65), (49, -65), (-78, -64), (-66, -64), (-14, -64), (31, -64), (35, -64), (44, -64), (47, -64), (-77, -63), (-70, -63), (-12, -63), (-5, -63), (18, -63), (28, -63), (31, -63), (34, -63), (40, -63), (49, -63), (60, -63), (-27, -62), (-23, -62), (-17, -62), (-1, -62), (10, -62), (39, -62), (-93, -61), (-85, -61), (-53, -61), (-5, -61), (13, -61), (38, -61), (39, -61), (40, -61), (47, -61), (-50, -60), (-10, -60), (-2, -60), (0, -60), (6, -60), (7, -60), (12, -60), (20, -60), (-45, -59), (-43, -59), (-16, -59), (14, -59), (28, -59), (34, -59), (46, -59), (52, -59), (-83, -58), (-51, -58), (11, -58), (12, -58), (14, -58), (33, -58), (38, -58), (48, -58), (55, -58), (59, -58), (61, -58), (-38, -57), (-7, -57), (-3, -57), (1, -57), (7, -57), (21, -57), (40, -57), (43, -57), (48, -57), (50, -57), (54, -57), (68, -57), (-46, -56), (-44, -56), (-15, -56), (3, -56), (9, -56), (24, -56), (-61, -55), (-50, -55), (-37, -55), (-31, -55), (-11, -55), (9, -55), (26, -55), (28, -55), (29, -55), (33, -55), (42, -55), (46, -55), (51, -55), (-95, -54), (-42, -54), (-3, -54), (38, -54), (42, -54), (49, -54), (52, -54), (67, -54), (-59, -53), (-49, -53), (-41, -53), (-28, -53), (-16, -53), (-6, -53), (-5, -53), (9, -53), (43, -53), (49, -53), (56, -53), (87, -53), (-45, -52), (-21, -52), (-17, -52), (-15, -52), (51, -52), (62, -52), (-106, -51), (-59, -51), (-17, -51), (-9, -51), (13, -51), (29, -51), (52, -51), (69, -51), (74, -51), (-43, -50), (-27, -50), (-22, -50), (-14, -50), (-13, -50), (-8, -50), (-3, -50), (3, -50), (8, -50), (23, -50), (31, -50), (42, -50), (47, -50), (58, -50), (62, -50), (-58, -49), (-42, -49), (-40, -49), (-14, -49), (-13, -49), (-5, -49), (-4, -49), (10, -49), (17, -49), (23, -49), (24, -49), (25, -49), (34, -49), (44, -49), (49, -49), (58, -49), (62, -49), (74, -49), (-70, -48), (-51, -48), (-38, -48), (-17, -48), (-11, -48), (-4, -48), (8, -48), (10, -48), (29, -48), (58, -48), (73, -48), (74, -48), (-32, -47), (-23, -47), (-14, -47), (-1, -47), (24, -47), (49, -47), (54, -47), (75, -47), (-61, -46), (-52, -46), (-11, -46), (-10, -46), (-6, -46), (-1, -46), (6, -46), (13, -46), (23, -46), (25, -46), (28, -46), (42, -46), (48, -46), (53, -46), (55, -46), (78, -46), (-38, -45), (-30, -45), (-25, -45), (-11, -45), (-9, -45), (0, -45), (26, -45), (31, -45), (37, -45), (50, -45), (56, -45), (80, -45), (82, -45), (-73, -44), (-56, -44), (-55, -44), (-42, -44), (-30, -44), (-15, -44), (-14, -44), (-2, -44), (6, -44), (9, -44), (45, -44), (59, -44), (-98, -43), (-71, -43), (-46, -43), (-41, -43), (-36, -43), (-33, -43), (-28, -43), (-10, -43), (-3, -43), (3, -43), (14, -43), (30, -43), (36, -43), (44, -43), (48, -43), (58, -43), (-59, -42), (-40, -42), (-19, -42), (-13, -42), (-12, -42), (16, -42), (19, -42), (20, -42), (26, -42), (31, -42), (34, -42), (40, -42), (46, -42), (47, -42), (53, -42), (56, -42), (62, -42), (63, -42), (65, -42), (-70, -41), (-67, -41), (-50, -41), (-41, -41), (-20, -41), (-18, -41), (-10, -41), (-9, -41), (-8, -41), (27, -41), (31, -41), (32, -41), (39, -41), (40, -41), (49, -41), (58, -41), (76, -41), (-41, -40), (-37, -40), (-16, -40), (-11, -40), (-3, -40), (5, -40), (19, -40), (34, -40), (50, -40), (55, -40), (61, -40), (-50, -39), (-49, -39), (-43, -39), (-28, -39), (-25, -39), (-24, -39), (-6, -39), (19, -39), (56, -39), (58, -39), (73, -39), (-61, -38), (-42, -38), (-40, -38), (-38, -38), (-10, -38), (-6, -38), (4, -38), (20, -38), (28, -38), (76, -38), (-67, -37), (-52, -37), (-46, -37), (-43, -37), (-40, -37), (-34, -37), (-32, -37), (-26, -37), (-11, -37), (6, -37), (14, -37), (21, -37), (22, -37), (23, -37), (38, -37), (40, -37), (47, -37), (48, -37), (50, -37), (57, -37), (78, -37), (-56, -36), (-49, -36), (-46, -36), (-44, -36), (-40, -36), (-36, -36), (-30, -36), (-29, -36), (-26, -36), (-20, -36), (-9, -36), (-5, -36), (-4, -36), (-2, -36), (16, -36), (20, -36), (25, -36), (30, -36), (40, -36), (57, -36), (58, -36), (-65, -35), (-47, -35), (-35, -35), (-30, -35), (-21, -35), (-17, -35), (0, -35), (31, -35), (32, -35), (64, -35), (-50, -34), (-42, -34), (-32, -34), (-15, -34), (7, -34), (11, -34), (18, -34), (21, -34), (24, -34), (32, -34), (41, -34), (51, -34), (52, -34), (55, -34), (-52, -33), (-51, -33), (-38, -33), (-33, -33), (11, -33), (26, -33), (54, -33), (60, -33), (62, -33), (67, -33), (-122, -32), (-68, -32), (-65, -32), (-55, -32), (-53, -32), (-46, -32), (-44, -32), (-31, -32), (-14, -32), (2, -32), (30, -32), (49, -32), (57, -32), (61, -32), (78, -32), (-56, -31), (-54, -31), (-53, -31), (-46, -31), (-5, -31), (-1, -31), (4, -31), (8, -31), (10, -31), (55, -31), (56, -31), (61, -31), (64, -31), (83, -31), (-51, -30), (-49, -30), (-44, -30), (-39, -30), (-38, -30), (-25, -30), (-13, -30), (-10, -30), (-2, -30), (14, -30), (30, -30), (31, -30), (36, -30), (53, -30), (56, -30), (62, -30), (-56, -29), (-38, -29), (-32, -29), (-30, -29), (-22, -29), (-7, -29), (-6, -29), (-5, -29), (6, -29), (22, -29), (28, -29), (30, -29), (31, -29), (34, -29), (39, -29), (41, -29), (42, -29), (43, -29), (47, -29), (61, -29), (63, -29), (64, -29), (-74, -28), (-63, -28), (-55, -28), (-43, -28), (-32, -28), (-25, -28), (-9, -28), (-3, -28), (15, -28), (20, -28), (24, -28), (29, -28), (39, -28), (57, -28), (62, -28), (-79, -27), (-53, -27), (-48, -27), (-46, -27), (4, -27), (8, -27), (17, -27), (19, -27), (22, -27), (24, -27), (31, -27), (33, -27), (35, -27), (42, -27), (45, -27), (48, -27), (55, -27), (56, -27), (-68, -26), (-61, -26), (-60, -26), (-53, -26), (-13, -26), (-11, -26), (2, -26), (8, -26), (16, -26), (19, -26), (20, -26), (22, -26), (39, -26), (46, -26), (57, -26), (-42, -25), (-39, -25), (-9, -25), (3, -25), (4, -25), (11, -25), (15, -25), (24, -25), (34, -25), (43, -25), (54, -25), (-93, -24), (-61, -24), (-56, -24), (-47, -24), (-11, -24), (-10, -24), (-6, -24), (-2, -24), (1, -24), (9, -24), (13, -24), (21, -24), (23, -24), (26, -24), (29, -24), (30, -24), (34, -24), (39, -24), (47, -24), (48, -24), (-65, -23), (-60, -23), (-57, -23), (-56, -23), (-46, -23), (-43, -23), (-9, -23), (-2, -23), (17, -23), (21, -23), (32, -23), (33, -23), (35, -23), (36, -23), (37, -23), (43, -23), (49, -23), (60, -23), (61, -23), (66, -23), (-84, -22), (-63, -22), (-47, -22), (-40, -22), (-33, -22), (3, -22), (13, -22), (15, -22), (19, -22), (20, -22), (21, -22), (23, -22), (26, -22), (28, -22), (35, -22), (-77, -21), (-60, -21), (-47, -21), (-45, -21), (-23, -21), (-13, -21), (29, -21), (35, -21), (59, -21), (67, -21), (69, -21), (-51, -20), (3, -20), (6, -20), (9, -20), (10, -20), (12, -20), (19, -20), (23, -20), (25, -20), (33, -20), (38, -20), (42, -20), (58, -20), (-64, -19), (-46, -19), (-30, -19), (-4, -19), (-3, -19), (7, -19), (15, -19), (18, -19), (25, -19), (35, -19), (53, -19), (54, -19), (56, -19), (-69, -18), (-56, -18), (-49, -18), (-47, -18), (-44, -18), (-30, -18), (-28, -18), (-14, -18), (-13, -18), (-12, -18), (-9, -18), (-7, -18), (14, -18), (20, -18), (32, -18), (37, -18), (45, -18), (53, -18), (57, -18), (67, -18), (-90, -17), (-49, -17), (-33, -17), (-32, -17), (-25, -17), (-19, -17), (-16, -17), (2, -17), (3, -17), (4, -17), (12, -17), (15, -17), (21, -17), (23, -17), (28, -17), (35, -17), (38, -17), (55, -17), (58, -17), (-68, -16), (-63, -16), (-33, -16), (-20, -16), (-16, -16), (-10, -16), (-5, -16), (-2, -16), (16, -16), (20, -16), (38, -16), (40, -16), (70, -16), (-74, -15), (-56, -15), (-54, -15), (-47, -15), (-42, -15), (-31, -15), (-26, -15), (-16, -15), (-1, -15), (1, -15), (4, -15), (5, -15), (6, -15), (13, -15), (29, -15), (34, -15), (62, -15), (63, -15), (82, -15), (-73, -14), (-70, -14), (-64, -14), (-60, -14), (-51, -14), (-28, -14), (-20, -14), (-13, -14), (-10, -14), (-8, -14), (-6, -14), (8, -14), (11, -14), (12, -14), (13, -14), (17, -14), (31, -14), (35, -14), (37, -14), (39, -14), (45, -14), (-54, -13), (-26, -13), (-24, -13), (-21, -13), (-13, -13), (-10, -13), (-7, -13), (-5, -13), (-3, -13), (0, -13), (6, -13), (16, -13), (18, -13), (20, -13), (22, -13), (23, -13), (37, -13), (49, -13), (54, -13), (62, -13), (67, -13), (85, -13), (-66, -12), (-60, -12), (-31, -12), (-25, -12), (-8, -12), (-1, -12), (3, -12), (4, -12), (10, -12), (16, -12), (17, -12), (18, -12), (22, -12), (32, -12), (35, -12), (48, -12), (67, -12), (-72, -11), (-54, -11), (-26, -11), (-24, -11), (-14, -11), (-5, -11), (2, -11), (6, -11), (26, -11), (55, -11), (59, -11), (61, -11), (-94, -10), (-16, -10), (-13, -10), (-8, -10), (-1, -10), (6, -10), (11, -10), (16, -10), (19, -10), (21, -10), (25, -10), (32, -10), (37, -10), (-91, -9), (-87, -9), (-72, -9), (-54, -9), (-53, -9), (-52, -9), (-36, -9), (-26, -9), (-10, -9), (-4, -9), (1, -9), (10, -9), (13, -9), (18, -9), (19, -9), (25, -9), (27, -9), (32, -9), (42, -9), (43, -9), (62, -9), (80, -9), (-92, -8), (-47, -8), (-28, -8), (-27, -8), (-24, -8), (-23, -8), (-7, -8), (-1, -8), (1, -8), (9, -8), (11, -8), (17, -8), (21, -8), (25, -8), (26, -8), (39, -8), (52, -8), (55, -8), (75, -8), (100, -8), (-62, -7), (-56, -7), (-55, -7), (-54, -7), (-41, -7), (-40, -7), (-30, -7), (-18, -7), (-12, -7), (1, -7), (3, -7), (4, -7), (16, -7), (20, -7), (27, -7), (30, -7), (31, -7), (-88, -6), (-81, -6), (-39, -6), (-34, -6), (-27, -6), (-5, -6), (-2, -6), (3, -6), (6, -6), (30, -6), (65, -6), (-74, -5), (-73, -5), (-27, -5), (-13, -5), (-9, -5), (-2, -5), (2, -5), (4, -5), (5, -5), (6, -5), (7, -5), (10, -5), (21, -5), (48, -5), (-94, -4), (-86, -4), (-83, -4), (-59, -4), (-58, -4), (-50, -4), (-46, -4), (-31, -4), (-18, -4), (-9, -4), (-5, -4), (-2, -4), (1, -4), (2, -4), (3, -4), (5, -4), (11, -4), (14, -4), (20, -4), (50, -4), (60, -4), (79, -4), (-83, -3), (-69, -3), (-67, -3), (-55, -3), (-35, -3), (-19, -3), (-10, -3), (-6, -3), (-4, -3), (-3, -3), (1, -3), (4, -3), (11, -3), (13, -3), (14, -3), (23, -3), (32, -3), (60, -3), (68, -3), (-92, -2), (-74, -2), (-63, -2), (-53, -2), (-44, -2), (-28, -2), (-17, -2), (-12, -2), (-10, -2), (-9, -2), (11, -2), (15, -2), (20, -2), (28, -2), (31, -2), (32, -2), (36, -2), (42, -2), (44, -2), (47, -2), (53, -2), (57, -2), (60, -2), (-76, -1), (-29, -1), (-18, -1), (-15, -1), (-12, -1), (-5, -1), (8, -1), (13, -1), (27, -1), (44, -1), (56, -1), (65, -1), (83, -1), (-86, 0), (-65, 0), (-51, 0), (-42, 0), (-18, 0), (-13, 0), (-6, 0), (1, 0), (3, 0), (5, 0), (13, 0), (14, 0), (17, 0), (23, 0), (28, 0), (45, 0), (50, 0), (55, 0), (-89, 1), (-78, 1), (-65, 1), (-47, 1), (-37, 1), (-27, 1), (-24, 1), (-23, 1), (-12, 1), (-9, 1), (-6, 1), (-5, 1), (4, 1), (6, 1), (18, 1), (22, 1), (33, 1), (36, 1), (44, 1), (51, 1), (67, 1), (84, 1), (-93, 2), (-66, 2), (-63, 2), (-62, 2), (-59, 2), (-34, 2), (-31, 2), (-11, 2), (-10, 2), (-9, 2), (-7, 2), (-5, 2), (-3, 2), (8, 2), (16, 2), (34, 2), (42, 2), (54, 2), (55, 2), (67, 2), (-86, 3), (-69, 3), (-64, 3), (-45, 3), (-33, 3), (-25, 3), (-23, 3), (-21, 3), (-15, 3), (-14, 3), (-11, 3), (-9, 3), (-7, 3), (-5, 3), (2, 3), (3, 3), (23, 3), (26, 3), (27, 3), (42, 3), (-74, 4), (-52, 4), (-26, 4), (-22, 4), (-16, 4), (-3, 4), (4, 4), (5, 4), (10, 4), (12, 4), (26, 4), (49, 4), (54, 4), (63, 4), (-62, 5), (-41, 5), (-18, 5), (-17, 5), (-9, 5), (-7, 5), (-5, 5), (3, 5), (11, 5), (13, 5), (49, 5), (57, 5), (-68, 6), (-24, 6), (-17, 6), (-15, 6), (-9, 6), (-6, 6), (-3, 6), (-1, 6), (3, 6), (9, 6), (12, 6), (15, 6), (34, 6), (54, 6), (61, 6), (62, 6), (63, 6), (77, 6), (-87, 7), (-41, 7), (-39, 7), (-34, 7), (-25, 7), (-20, 7), (-19, 7), (-11, 7), (-8, 7), (-3, 7), (-2, 7), (0, 7), (1, 7), (12, 7), (15, 7), (17, 7), (19, 7), (52, 7), (83, 7), (-93, 8), (-76, 8), (-37, 8), (-33, 8), (-23, 8), (-8, 8), (-6, 8), (-4, 8), (-3, 8), (0, 8), (7, 8), (10, 8), (15, 8), (20, 8), (34, 8), (42, 8), (52, 8), (75, 8), (-68, 9), (-63, 9), (-33, 9), (-27, 9), (-24, 9), (-21, 9), (-16, 9), (-6, 9), (5, 9), (22, 9), (43, 9), (63, 9), (-91, 10), (-68, 10), (-20, 10), (-19, 10), (-11, 10), (-5, 10), (-4, 10), (-2, 10), (-1, 10), (11, 10), (13, 10), (19, 10), (28, 10), (53, 10), (57, 10), (58, 10), (60, 10), (-70, 11), (-43, 11), (-27, 11), (-22, 11), (-16, 11), (-8, 11), (17, 11), (18, 11), (99, 11), (-64, 12), (-57, 12), (-50, 12), (-39, 12), (-15, 12), (-11, 12), (-9, 12), (1, 12), (11, 12), (14, 12), (52, 12), (63, 12), (99, 12), (-62, 13), (-60, 13), (-30, 13), (-24, 13), (-21, 13), (-20, 13), (-13, 13), (-11, 13), (-8, 13), (-2, 13), (4, 13), (6, 13), (43, 13), (53, 13), (67, 13), (73, 13), (-87, 14), (-69, 14), (-65, 14), (-38, 14), (-25, 14), (-20, 14), (-14, 14), (-11, 14), (-7, 14), (43, 14), (59, 14), (66, 14), (100, 14), (-81, 15), (-67, 15), (-49, 15), (-44, 15), (-38, 15), (-30, 15), (-20, 15), (-8, 15), (-2, 15), (11, 15), (36, 15), (53, 15), (57, 15), (-63, 16), (-53, 16), (-38, 16), (-36, 16), (-30, 16), (-26, 16), (-21, 16), (-20, 16), (37, 16), (55, 16), (57, 16), (69, 16), (-90, 17), (-68, 17), (-67, 17), (-65, 17), (-63, 17), (-47, 17), (-40, 17), (-34, 17), (-31, 17), (-26, 17), (-17, 17), (-12, 17), (-11, 17), (-8, 17), (-1, 17), (8, 17), (10, 17), (13, 17), (34, 17), (52, 17), (60, 17), (-92, 18), (-66, 18), (-35, 18), (-34, 18), (-29, 18), (-20, 18), (-12, 18), (-9, 18), (-5, 18), (31, 18), (34, 18), (45, 18), (-45, 19), (-34, 19), (-16, 19), (-13, 19), (-7, 19), (-4, 19), (3, 19), (9, 19), (23, 19), (32, 19), (35, 19), (45, 19), (49, 19), (52, 19), (58, 19), (62, 19), (-88, 20), (-75, 20), (-50, 20), (-41, 20), (-38, 20), (-30, 20), (-17, 20), (-16, 20), (-13, 20), (-11, 20), (-10, 20), (-6, 20), (9, 20), (14, 20), (23, 20), (27, 20), (32, 20), (37, 20), (46, 20), (58, 20), (70, 20), (76, 20), (-91, 21), (-61, 21), (-52, 21), (-43, 21), (-38, 21), (-19, 21), (-7, 21), (4, 21), (43, 21), (-64, 22), (-61, 22), (-41, 22), (-38, 22), (-36, 22), (-29, 22), (-24, 22), (-13, 22), (-7, 22), (14, 22), (25, 22), (33, 22), (45, 22), (53, 22), (71, 22), (107, 22), (-86, 23), (-68, 23), (-47, 23), (-41, 23), (-29, 23), (-23, 23), (-22, 23), (-2, 23), (40, 23), (47, 23), (59, 23), (-75, 24), (-35, 24), (-24, 24), (-20, 24), (-16, 24), (-14, 24), (-8, 24), (-3, 24), (29, 24), (39, 24), (41, 24), (43, 24), (-89, 25), (-62, 25), (-59, 25), (-43, 25), (-39, 25), (-23, 25), (-12, 25), (-10, 25), (5, 25), (34, 25), (35, 25), (42, 25), (51, 25), (52, 25), (77, 25), (-81, 26), (-73, 26), (-64, 26), (-58, 26), (-57, 26), (-37, 26), (-27, 26), (-19, 26), (-16, 26), (-11, 26), (-8, 26), (23, 26), (44, 26), (50, 26), (60, 26), (-70, 27), (-48, 27), (-42, 27), (-40, 27), (-27, 27), (-25, 27), (-19, 27), (-17, 27), (-11, 27), (18, 27), (37, 27), (39, 27), (41, 27), (57, 27), (-65, 28), (-37, 28), (-33, 28), (-29, 28), (-22, 28), (-21, 28), (3, 28), (7, 28), (27, 28), (52, 28), (71, 28), (-53, 29), (-46, 29), (-34, 29), (-28, 29), (-27, 29), (-26, 29), (-25, 29), (-24, 29), (-18, 29), (-11, 29), (-9, 29), (-4, 29), (18, 29), (36, 29), (45, 29), (68, 29), (-96, 30), (-95, 30), (-79, 30), (-71, 30), (-60, 30), (-59, 30), (-37, 30), (-25, 30), (-20, 30), (-17, 30), (-16, 30), (-14, 30), (-9, 30), (-8, 30), (-4, 30), (17, 30), (28, 30), (49, 30), (-68, 31), (-61, 31), (-27, 31), (-26, 31), (-11, 31), (-8, 31), (25, 31), (31, 31), (44, 31), (56, 31), (106, 31), (116, 31), (-58, 32), (-29, 32), (-28, 32), (-24, 32), (-14, 32), (1, 32), (3, 32), (9, 32), (23, 32), (35, 32), (39, 32), (-21, 33), (-19, 33), (-10, 33), (-6, 33), (4, 33), (12, 33), (18, 33), (20, 33), (36, 33), (40, 33), (45, 33), (47, 33), (50, 33), (52, 33), (54, 33), (-96, 34), (-71, 34), (-62, 34), (-58, 34), (-41, 34), (-37, 34), (-36, 34), (-35, 34), (-29, 34), (-24, 34), (-22, 34), (-19, 34), (-18, 34), (-12, 34), (29, 34), (40, 34), (50, 34), (-60, 35), (-55, 35), (-20, 35), (-14, 35), (-6, 35), (0, 35), (5, 35), (16, 35), (22, 35), (27, 35), (51, 35), (65, 35), (115, 35), (-87, 36), (-61, 36), (-51, 36), (-11, 36), (-8, 36), (-2, 36), (3, 36), (7, 36), (16, 36), (21, 36), (27, 36), (28, 36), (29, 36), (44, 36), (-57, 37), (-31, 37), (-25, 37), (-19, 37), (17, 37), (23, 37), (47, 37), (53, 37), (59, 37), (-39, 38), (-13, 38), (-10, 38), (-5, 38), (-4, 38), (5, 38), (21, 38), (30, 38), (36, 38), (37, 38), (40, 38), (54, 38), (61, 38), (-62, 39), (-35, 39), (-19, 39), (6, 39), (28, 39), (30, 39), (42, 39), (-91, 40), (-49, 40), (-27, 40), (-20, 40), (-15, 40), (-7, 40), (6, 40), (16, 40), (23, 40), (28, 40), (32, 40), (45, 40), (-90, 41), (-64, 41), (-58, 41), (-47, 41), (-34, 41), (-33, 41), (-29, 41), (-4, 41), (7, 41), (12, 41), (15, 41), (21, 41), (43, 41), (56, 41), (100, 41), (-71, 42), (-68, 42), (-55, 42), (-13, 42), (-12, 42), (-10, 42), (0, 42), (8, 42), (10, 42), (30, 42), (61, 42), (102, 42), (-68, 43), (-52, 43), (-49, 43), (-30, 43), (-19, 43), (0, 43), (2, 43), (6, 43), (10, 43), (12, 43), (19, 43), (20, 43), (26, 43), (35, 43), (51, 43), (83, 43), (-67, 44), (-63, 44), (-58, 44), (-57, 44), (-45, 44), (-40, 44), (-27, 44), (-26, 44), (-20, 44), (-12, 44), (-3, 44), (0, 44), (2, 44), (41, 44), (45, 44), (57, 44), (62, 44), (-42, 45), (-12, 45), (3, 45), (4, 45), (13, 45), (33, 45), (37, 45), (38, 45), (52, 45), (102, 45), (105, 45), (-66, 46), (-64, 46), (-60, 46), (-29, 46), (-25, 46), (-16, 46), (4, 46), (6, 46), (16, 46), (19, 46), (25, 46), (35, 46), (49, 46), (-68, 47), (-63, 47), (-51, 47), (-17, 47), (-12, 47), (-1, 47), (2, 47), (9, 47), (19, 47), (20, 47), (21, 47), (36, 47), (-27, 48), (-15, 48), (-14, 48), (-1, 48), (3, 48), (28, 48), (50, 48), (51, 48), (55, 48), (-60, 49), (-54, 49), (-7, 49), (59, 49), (-31, 50), (-25, 50), (-22, 50), (-6, 50), (17, 50), (50, 50), (60, 50), (77, 50), (-64, 51), (-48, 51), (-45, 51), (-43, 51), (-15, 51), (-4, 51), (-3, 51), (16, 51), (24, 51), (34, 51), (47, 51), (53, 51), (67, 51), (-58, 52), (-56, 52), (-53, 52), (-18, 52), (-13, 52), (51, 52), (52, 52), (98, 52), (-52, 53), (-48, 53), (-19, 53), (-14, 53), (19, 53), (25, 53), (95, 53), (-19, 54), (-13, 54), (-15, 55), (-5, 55), (42, 55), (-57, 56), (-57, 57), (-46, 57), (-44, 57), (-12, 57), (-5, 57), (32, 57), (104, 57), (105, 57), (-60, 58), (-2, 58), (11, 58), (90, 58), (-61, 59), (-51, 59), (-47, 59), (-41, 59), (4, 59), (19, 59), (-76, 60), (-60, 60), (-51, 60), (-48, 60), (-44, 60), (-37, 60), (-13, 60), (-2, 60), (3, 60), (14, 60), (90, 60), (-82, 61), (-49, 61), (5, 61), (18, 61), (-63, 62), (-56, 62), (-47, 62), (5, 62), (13, 62), (83, 62), (84, 62), (-55, 63), (-49, 63), (-41, 63), (-82, 64), (-47, 64), (3, 64), (-63, 65), (-36, 65), (-32, 65), (7, 65), (56, 65), (76, 65), (79, 65), (-56, 66), (-49, 66), (-40, 66), (-36, 66), (86, 66), (99, 66), (76, 67), (-50, 68), (-47, 68), (84, 68), (-84, 69), (-48, 69), (-38, 69), (-33, 69), (77, 69), (86, 69), (-70, 70), (-46, 70), (-37, 70), (-34, 70), (-33, 70), (71, 70), (-46, 71), (-30, 71), (-29, 71), (16, 71), (48, 71), (79, 71), (82, 71), (83, 71), (95, 71), (-33, 72), (75, 72), (79, 72), (96, 72), (66, 73), (83, 73), (-48, 74), (-46, 74), (-44, 74), (10, 74), (59, 74), (77, 74), (81, 74), (-39, 75), (-36, 75), (-32, 75), (-31, 75), (-24, 75), (9, 75), (68, 75), (90, 75), (91, 75), (-47, 76), (-38, 76), (-10, 76), (-4, 76), (0, 76), (44, 76), (59, 76), (17, 77), (31, 77), (63, 77), (71, 77), (90, 77), (-43, 78), (-32, 78), (-23, 78), (0, 78), (6, 78), (62, 78), (71, 78), (84, 78), (-37, 79), (12, 79), (52, 79), (55, 79), (69, 79), (-46, 80), (-37, 80), (-34, 80), (-22, 80), (-18, 80), (46, 80), (65, 80), (68, 80), (-75, 81), (-43, 81), (-39, 81), (-23, 81), (-8, 81), (31, 81), (47, 81), (49, 81), (66, 81), (81, 81), (-73, 82), (-44, 82), (-33, 82), (-30, 82), (-11, 82), (37, 82), (49, 82), (57, 82), (66, 82), (-67, 83), (-45, 83), (-35, 83), (-33, 83), (-26, 83), (-4, 83), (44, 83), (59, 83), (65, 83), (74, 83), (-35, 84), (-33, 84), (-28, 84), (-22, 84), (-8, 84), (5, 84), (8, 84), (73, 84), (79, 84), (-31, 85), (-11, 85), (-27, 86), (-23, 86), (32, 86), (65, 86), (-27, 87), (-21, 87), (3, 87), (37, 87), (65, 87), (-28, 88), (-20, 88), (-10, 88), (-2, 88), (24, 88), (25, 88), (51, 88), (53, 88), (57, 88), (63, 88), (64, 88), (-34, 89), (-28, 89), (-25, 89), (-20, 89), (24, 89), (32, 89), (33, 89), (35, 89), (42, 89), (48, 89), (54, 89), (66, 89), (-24, 90), (-22, 90), (-12, 90), (-7, 90), (14, 90), (17, 90), (24, 90), (49, 90), (-4, 91), (4, 91), (6, 91), (9, 91), (11, 91), (12, 91), (15, 91), (46, 91), (60, 91), (-13, 92), (0, 92), (4, 92), (22, 92), (24, 92), (41, 92), (47, 92), (55, 92), (62, 92), (-41, 93), (25, 93), (32, 93), (45, 93), (47, 93), (-22, 94), (27, 94), (28, 94), (42, 94), (45, 94), (69, 94), (-19, 95), (15, 95), (31, 95), (36, 95), (37, 95), (48, 95), (52, 95), (54, 95), (-13, 96), (16, 96), (21, 96), (29, 96), (43, 96), (54, 96), (6, 97), (9, 97), (26, 97), (28, 97), (38, 97), (-5, 98), (30, 98), (-16, 99), (6, 99), (20, 99), (41, 99), (-39, 100), (23, 100), (34, 100), (30, 101), (31, 101), (47, 101), (50, 101), (-3, 102), (10, 102), (26, 102), (34, 102), (-30, 108) ])
# draw([ (-11, -121), (-38, -117), (-3, -112), (-2, -109), (7, -105), (-85, -101), (45, -98), (-13, -96), (-1, -95), (-34, -94), (4, -94), (48, -94), (-47, -93), (0, -93), (1, -93), (-43, -92), (-40, -92), (-19, -92), (-18, -92), (-45, -91), (-44, -91), (-34, -91), (-26, -91), (-11, -91), (-55, -90), (-32, -90), (-28, -90), (-27, -90), (-26, -90), (-27, -89), (50, -89), (-36, -88), (-14, -88), (-9, -88), (-66, -87), (-63, -87), (-58, -87), (-52, -87), (-51, -87), (-9, -87), (-8, -87), (-7, -87), (-4, -87), (47, -87), (51, -87), (3, -86), (10, -86), (33, -86), (49, -86), (51, -86), (52, -86), (-50, -85), (-49, -85), (-5, -85), (35, -85), (2, -84), (48, -84), (-66, -83), (-59, -83), (13, -83), (-66, -82), (-58, -82), (6, -82), (10, -82), (28, -82), (-59, -81), (11, -81), (14, -81), (53, -81), (-75, -80), (-73, -80), (30, -80), (-76, -79), (-71, -79), (-22, -79), (13, -79), (17, -79), (19, -79), (30, -79), (-75, -78), (-24, -78), (-20, -78), (19, -78), (-83, -77), (-77, -77), (-75, -77), (-70, -77), (-15, -77), (16, -77), (-77, -76), (-27, -76), (-18, -76), (-14, -76), (2, -76), (19, -76), (20, -76), (23, -76), (25, -76), (29, -76), (-74, -75), (22, -75), (32, -74), (35, -74), (-80, -73), (-78, -73), (0, -73), (1, -73), (31, -73), (32, -73), (5, -72), (6, -72), (33, -72), (36, -72), (68, -72), (2, -71), (28, -71), (27, -70), (31, -70), (32, -70), (37, -70), (38, -70), (40, -70), (2, -69), (29, -69), (68, -69), (69, -69), (-88, -68), (71, -68), (78, -68), (12, -67), (29, -67), (38, -67), (68, -67), (69, -67), (70, -67), (71, -67), (75, -67), (18, -65), (79, -65), (15, -64), (15, -63), (43, -63), (-22, -62), (-19, -62), (15, -62), (44, -62), (45, -62), (-4, -61), (11, -61), (20, -61), (42, -61), (45, -61), (41, -60), (-2, -59), (22, -59), (76, -59), (-45, -58), (-43, -58), (42, -58), (44, -58), (46, -58), (-9, -57), (45, -57), (-43, -56), (18, -56), (-47, -55), (-18, -55), (84, -55), (87, -55), (-49, -54), (-48, -54), (77, -54), (11, -52), (-61, -51), (16, -51), (-61, -50), (-60, -50), (-16, -50), (13, -50), (14, -50), (28, -50), (48, -50), (48, -49), (-6, -48), (11, -48), (19, -48), (-30, -47), (-9, -47), (-8, -47), (20, -47), (52, -47), (-17, -46), (-12, -46), (-7, -46), (-4, -46), (-3, -46), (-26, -45), (-24, -45), (-23, -45), (-22, -45), (-16, -45), (-7, -45), (2, -45), (3, -45), (10, -45), (-33, -44), (-21, -44), (-9, -44), (-5, -44), (-3, -44), (1, -44), (2, -44), (19, -44), (-40, -43), (-25, -43), (-21, -43), (-15, -43), (-7, -43), (-2, -43), (4, -43), (9, -43), (19, -43), (59, -43), (62, -43), (-37, -42), (-36, -42), (-30, -42), (-28, -42), (-4, -42), (4, -42), (49, -42), (78, -42), (-40, -41), (-39, -41), (-32, -41), (-24, -41), (-2, -41), (3, -41), (9, -41), (12, -41), (24, -41), (-34, -40), (-31, -40), (-30, -40), (-24, -40), (-1, -40), (3, -40), (17, -40), (56, -40), (80, -40), (-38, -39), (-37, -39), (-33, -39), (6, -39), (8, -39), (9, -39), (53, -39), (79, -39), (80, -39), (-39, -38), (-34, -38), (-16, -38), (7, -38), (8, -38), (10, -38), (22, -38), (55, -38), (56, -38), (59, -38), (79, -38), (80, -38), (-31, -37), (1, -37), (8, -37), (9, -37), (19, -37), (29, -37), (79, -37), (-41, -36), (10, -36), (19, -36), (-42, -35), (12, -35), (16, -35), (18, -35), (19, -35), (23, -35), (24, -35), (-41, -34), (15, -34), (17, -34), (25, -34), (-45, -33), (-43, -33), (-41, -33), (12, -33), (22, -33), (23, -33), (58, -33), (-74, -32), (-73, -32), (-72, -32), (-45, -32), (-3, -32), (31, -32), (59, -32), (-74, -31), (-60, -31), (20, -31), (23, -31), (24, -31), (27, -31), (-43, -30), (20, -30), (25, -30), (27, -30), (28, -30), (29, -30), (42, -30), (57, -30), (58, -30), (-78, -29), (-72, -29), (-47, -29), (-44, -29), (15, -29), (26, -29), (58, -29), (-48, -28), (60, -28), (-86, -27), (-84, -27), (-50, -27), (-27, -27), (13, -27), (25, -27), (26, -27), (39, -27), (59, -27), (60, -27), (-87, -26), (-51, -26), (-50, -26), (-44, -26), (24, -26), (29, -26), (32, -26), (60, -26), (-86, -25), (-53, -25), (-52, -25), (22, -25), (27, -25), (31, -25), (59, -25), (61, -25), (-51, -24), (-50, -24), (-3, -24), (17, -24), (31, -24), (33, -24), (57, -24), (-54, -23), (2, -23), (7, -23), (8, -23), (14, -23), (20, -23), (23, -23), (28, -23), (30, -23), (67, -23), (-57, -22), (-51, -22), (8, -22), (9, -22), (30, -22), (31, -22), (36, -22), (60, -22), (62, -22), (-54, -21), (-26, -21), (5, -21), (8, -21), (9, -21), (13, -21), (16, -21), (24, -21), (25, -21), (32, -21), (36, -21), (-53, -20), (8, -20), (18, -20), (21, -20), (32, -20), (36, -20), (63, -20), (65, -20), (67, -20), (-61, -19), (-59, -19), (-13, -19), (-11, -19), (-10, -19), (0, -19), (4, -19), (8, -19), (11, -19), (19, -19), (23, -19), (31, -19), (34, -19), (62, -19), (-61, -18), (-57, -18), (-8, -18), (-6, -18), (3, -18), (9, -18), (10, -18), (23, -18), (28, -18), (31, -18), (34, -18), (-5, -17), (-4, -17), (-3, -17), (-1, -17), (0, -17), (1, -17), (16, -17), (17, -17), (25, -17), (27, -17), (33, -17), (36, -17), (61, -17), (-54, -16), (-29, -16), (23, -16), (25, -16), (28, -16), (29, -16), (62, -16), (-58, -15), (10, -15), (14, -15), (22, -15), (24, -15), (27, -15), (31, -15), (-59, -14), (-11, -14), (0, -14), (16, -14), (25, -14), (27, -14), (30, -14), (36, -14), (38, -14), (62, -14), (-58, -13), (-34, -13), (-18, -13), (3, -13), (17, -13), (25, -13), (34, -13), (-13, -12), (-11, -12), (-10, -12), (1, -12), (-91, -11), (-65, -11), (-63, -11), (-62, -11), (-18, -11), (-13, -11), (-2, -11), (29, -11), (60, -11), (-88, -10), (-63, -10), (-7, -10), (10, -10), (58, -10), (61, -10), (62, -10), (-15, -9), (26, -9), (58, -9), (-20, -8), (-14, -8), (10, -8), (29, -8), (61, -8), (86, -8), (-69, -7), (-15, -7), (-8, -7), (-1, -7), (19, -7), (22, -7), (84, -7), (-68, -6), (-22, -6), (-3, -6), (0, -6), (2, -6), (17, -6), (25, -6), (57, -6), (61, -6), (79, -6), (82, -6), (84, -6), (-26, -5), (-20, -5), (-4, -5), (-1, -5), (3, -5), (17, -5), (27, -5), (28, -5), (81, -5), (84, -5), (-21, -4), (-16, -4), (-4, -4), (-3, -4), (19, -4), (23, -4), (26, -4), (62, -4), (84, -4), (-62, -3), (-39, -3), (-7, -3), (-2, -3), (3, -3), (57, -3), (0, -2), (23, -2), (62, -2), (63, -2), (-64, -1), (-8, -1), (-6, -1), (-4, -1), (-3, -1), (-2, -1), (-1, -1), (0, -1), (1, -1), (2, -1), (20, -1), (61, -1), (-66, 0), (-27, 0), (-24, 0), (-21, 0), (-20, 0), (-5, 0), (-1, 0), (2, 0), (8, 0), (16, 0), (20, 0), (21, 0), (40, 0), (63, 0), (-2, 1), (-1, 1), (2, 1), (13, 1), (17, 1), (24, 1), (40, 1), (41, 1), (57, 1), (-27, 2), (-17, 2), (-4, 2), (13, 2), (18, 2), (19, 2), (58, 2), (60, 2), (-29, 3), (-26, 3), (4, 3), (20, 3), (52, 3), (56, 3), (-88, 4), (-30, 4), (-24, 4), (-23, 4), (-20, 4), (-19, 4), (1, 4), (16, 4), (60, 4), (-34, 5), (-30, 5), (-29, 5), (-26, 5), (-24, 5), (12, 5), (14, 5), (15, 5), (20, 5), (39, 5), (60, 5), (-27, 6), (-11, 6), (-7, 6), (5, 6), (19, 6), (55, 6), (56, 6), (57, 6), (-32, 7), (-31, 7), (-29, 7), (56, 7), (-32, 8), (-31, 8), (-29, 8), (-24, 8), (-22, 8), (5, 8), (13, 8), (-66, 9), (-64, 9), (-36, 9), (-34, 9), (-11, 9), (-3, 9), (13, 9), (14, 9), (55, 9), (-67, 10), (-66, 10), (-37, 10), (-30, 10), (-27, 10), (-22, 10), (-6, 10), (56, 10), (-66, 11), (-31, 11), (-30, 11), (-26, 11), (4, 11), (6, 11), (8, 11), (52, 11), (53, 11), (54, 11), (56, 11), (57, 11), (74, 11), (-68, 12), (-67, 12), (-66, 12), (-37, 12), (-31, 12), (-18, 12), (-8, 12), (8, 12), (19, 12), (54, 12), (55, 12), (-66, 13), (-39, 13), (-35, 13), (-34, 13), (-32, 13), (57, 13), (86, 13), (90, 13), (-30, 14), (-23, 14), (-21, 14), (-5, 14), (-2, 14), (7, 14), (52, 14), (53, 14), (-95, 15), (-65, 15), (-41, 15), (-32, 15), (-27, 15), (-26, 15), (-24, 15), (-19, 15), (-7, 15), (1, 15), (5, 15), (27, 15), (55, 15), (-31, 16), (-25, 16), (-23, 16), (-8, 16), (5, 16), (7, 16), (8, 16), (27, 16), (28, 16), (50, 16), (51, 16), (-29, 17), (-28, 17), (-13, 17), (-9, 17), (-4, 17), (32, 17), (-70, 18), (-31, 18), (-30, 18), (-24, 18), (-22, 18), (-21, 18), (-19, 18), (-16, 18), (-13, 18), (-11, 18), (-10, 18), (-4, 18), (-3, 18), (1, 18), (6, 18), (46, 18), (47, 18), (55, 18), (-68, 19), (-37, 19), (-33, 19), (-29, 19), (-27, 19), (-25, 19), (-23, 19), (-20, 19), (2, 19), (51, 19), (71, 19), (-33, 20), (-31, 20), (-29, 20), (-26, 20), (-23, 20), (-22, 20), (-21, 20), (-19, 20), (-14, 20), (10, 20), (49, 20), (74, 20), (-32, 21), (-27, 21), (-24, 21), (-23, 21), (-22, 21), (2, 21), (25, 21), (50, 21), (51, 21), (-72, 22), (-26, 22), (-9, 22), (46, 22), (47, 22), (48, 22), (51, 22), (-32, 23), (-30, 23), (-26, 23), (-24, 23), (-21, 23), (-11, 23), (55, 23), (-63, 24), (-28, 24), (-27, 24), (-19, 24), (46, 24), (-37, 25), (-29, 25), (-26, 25), (-22, 25), (-20, 25), (43, 25), (-29, 26), (-26, 26), (-24, 26), (-23, 26), (-21, 26), (42, 26), (-64, 27), (-63, 27), (-62, 27), (-34, 27), (-32, 27), (-28, 27), (-23, 27), (-15, 27), (13, 27), (-26, 28), (-20, 28), (12, 28), (32, 28), (46, 28), (49, 28), (-66, 29), (-23, 29), (-20, 29), (-19, 30), (-15, 30), (37, 30), (43, 30), (44, 30), (-89, 31), (-62, 31), (-24, 31), (-21, 31), (-20, 31), (-19, 31), (-18, 31), (35, 31), (36, 31), (40, 31), (-62, 32), (37, 32), (44, 32), (-24, 33), (-23, 33), (-22, 33), (-16, 33), (-15, 33), (-14, 33), (-13, 33), (33, 33), (34, 33), (39, 33), (-92, 34), (-13, 34), (-9, 34), (-8, 34), (32, 34), (38, 34), (43, 34), (-62, 35), (-23, 35), (-17, 35), (-15, 35), (21, 35), (29, 35), (32, 35), (33, 35), (35, 35), (58, 35), (-64, 36), (-18, 36), (-17, 36), (-16, 36), (-13, 36), (-10, 36), (0, 36), (59, 36), (-43, 37), (-16, 37), (-15, 37), (-11, 37), (-8, 37), (9, 37), (13, 37), (15, 37), (-66, 38), (-18, 38), (-16, 38), (-1, 38), (20, 38), (23, 38), (26, 38), (28, 38), (32, 38), (57, 38), (58, 38), (-14, 39), (-13, 39), (-12, 39), (1, 39), (7, 39), (8, 39), (14, 39), (16, 39), (19, 39), (23, 39), (57, 39), (-16, 40), (-11, 40), (-10, 40), (8, 40), (12, 40), (20, 40), (22, 40), (29, 40), (5, 41), (8, 41), (9, 41), (13, 41), (14, 41), (24, 41), (59, 41), (5, 42), (9, 42), (13, 42), (18, 42), (27, 42), (66, 42), (-9, 43), (57, 43), (-62, 44), (-1, 44), (-62, 45), (-60, 45), (-3, 45), (-3, 46), (-58, 47), (-59, 48), (-58, 48), (-24, 48), (-7, 48), (-61, 49), (-13, 49), (-11, 49), (-59, 50), (-58, 50), (-19, 50), (-15, 50), (36, 50), (-59, 51), (-57, 51), (-62, 52), (-61, 52), (-55, 52), (-22, 52), (-12, 52), (35, 52), (38, 52), (-54, 53), (-56, 54), (-53, 54), (-51, 55), (-52, 56), (-48, 63), (89, 64), (-46, 66), (-44, 66), (87, 66), (-44, 67), (-45, 68), (-44, 68), (-47, 69), (-45, 69), (-43, 69), (88, 69), (91, 69), (-41, 70), (91, 70), (-42, 72), (-40, 72), (90, 72), (-42, 73), (92, 73), (-38, 75), (-43, 76), (73, 78), (-71, 81), (69, 81), (-24, 84), (-34, 85), (-23, 85), (-18, 87), (-22, 88), (-18, 88), (-6, 88), (-24, 89), (-17, 89), (-3, 89), (-19, 91), (-13, 91), (23, 91), (31, 91), (-12, 92), (-4, 92), (8, 92), (18, 92), (20, 92), (26, 92), (28, 92), (44, 92), (-22, 93), (-17, 93), (-15, 93), (-3, 93), (18, 93), (-3, 94), (7, 94), (20, 94), (3, 95), (7, 95), (24, 95), (-14, 96), (9, 96), (31, 96), (5, 97), (29, 97), (36, 98), (19, 99), (28, 99), (-32, 108) ])
for l in reversed([''.join(l) for l in output]):
print(l)
| 939.220339 | 24,235 | 0.345716 | 20,663 | 110,828 | 1.854232 | 0.011276 | 0.003497 | 0.003054 | 0.002506 | 0.965626 | 0.962729 | 0.961267 | 0.959675 | 0.958344 | 0.958083 | 0 | 0.415763 | 0.18914 | 110,828 | 117 | 24,236 | 947.247863 | 0.010582 | 0.959162 | 0 | 0 | 0 | 0 | 0.000225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.076923 | 0.076923 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
9319ff3b0087b5af47a514e1b4aa97513a1c395a | 67,661 | py | Python | ocbind/system/aaa/server_groups/server_group/servers/server/radius/state/__init__.py | SeanCondon/onos-config-demo | 0789d397b46fd5cda512ae7fffe35e1a4bfdfdbe | [
"Apache-2.0"
] | 1 | 2019-08-01T17:42:57.000Z | 2019-08-01T17:42:57.000Z | ocbind/system/aaa/server_groups/server_group/servers/server/radius/state/__init__.py | SeanCondon/onos-config-demo | 0789d397b46fd5cda512ae7fffe35e1a4bfdfdbe | [
"Apache-2.0"
] | 1 | 2021-05-26T16:38:04.000Z | 2021-05-26T16:38:04.000Z | ocbind/system/aaa/server_groups/server_group/servers/server/radius/state/__init__.py | SeanCondon/onos-config-demo | 0789d397b46fd5cda512ae7fffe35e1a4bfdfdbe | [
"Apache-2.0"
] | 4 | 2019-07-24T16:52:39.000Z | 2021-12-03T02:08:13.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListType
from pyangbind.lib.yangtypes import YANGDynClass
from pyangbind.lib.yangtypes import ReferenceType
from pyangbind.lib.base import PybindBase
from collections import OrderedDict
from decimal import Decimal
from bitarray import bitarray
import six
# PY3 support of some PY2 keywords (needs improved)
if six.PY3:
import builtins as __builtin__
long = int
elif six.PY2:
import __builtin__
from . import counters
class state(PybindBase):
"""
This class was auto-generated by the PythonClass plugin for PYANG
from YANG module openconfig-system - based on the path /system/aaa/server-groups/server-group/servers/server/radius/state. Each member element of
the container is represented as a class variable - with a specific
YANG type.
YANG Description: Operational state data for RADIUS servers
"""
__slots__ = ('_path_helper', '_extmethods', '__auth_port','__acct_port','__secret_key','__source_address','__retransmit_attempts','__counters',)
_yang_name = 'state'
_pybind_generated_by = 'container'
def __init__(self, *args, **kwargs):
helper = kwargs.pop("path_helper", None)
if helper is False:
self._path_helper = False
elif helper is not None and isinstance(helper, xpathhelper.YANGPathHelper):
self._path_helper = helper
elif hasattr(self, "_parent"):
helper = getattr(self._parent, "_path_helper", False)
self._path_helper = helper
else:
self._path_helper = False
self._extmethods = False
self.__auth_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
self.__acct_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
self.__secret_key = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
self.__source_address = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
self.__retransmit_attempts = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
self.__counters = YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
load = kwargs.pop("load", None)
if args:
if len(args) > 1:
raise TypeError("cannot create a YANG container with >1 argument")
all_attr = True
for e in self._pyangbind_elements:
if not hasattr(args[0], e):
all_attr = False
break
if not all_attr:
raise ValueError("Supplied object did not have the correct attributes")
for e in self._pyangbind_elements:
nobj = getattr(args[0], e)
if nobj._changed() is False:
continue
setmethod = getattr(self, "_set_%s" % e)
if load is None:
setmethod(getattr(args[0], e))
else:
setmethod(getattr(args[0], e), load=load)
def _path(self):
if hasattr(self, "_parent"):
return self._parent._path()+[self._yang_name]
else:
return ['system', 'aaa', 'server-groups', 'server-group', 'servers', 'server', 'radius', 'state']
def _get_auth_port(self):
"""
Getter method for auth_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/auth_port (oc-inet:port-number)
YANG Description: Port number for authentication requests
"""
return self.__auth_port
def _set_auth_port(self, v, load=False):
"""
Setter method for auth_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/auth_port (oc-inet:port-number)
If this variable is read-only (config: false) in the
source YANG file, then _set_auth_port is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_auth_port() directly.
YANG Description: Port number for authentication requests
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """auth_port must be of a type compatible with oc-inet:port-number""",
'defined-type': "oc-inet:port-number",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)""",
})
self.__auth_port = t
if hasattr(self, '_set'):
self._set()
def _unset_auth_port(self):
self.__auth_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
def _get_acct_port(self):
"""
Getter method for acct_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/acct_port (oc-inet:port-number)
YANG Description: Port number for accounting requests
"""
return self.__acct_port
def _set_acct_port(self, v, load=False):
"""
Setter method for acct_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/acct_port (oc-inet:port-number)
If this variable is read-only (config: false) in the
source YANG file, then _set_acct_port is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_acct_port() directly.
YANG Description: Port number for accounting requests
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """acct_port must be of a type compatible with oc-inet:port-number""",
'defined-type': "oc-inet:port-number",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)""",
})
self.__acct_port = t
if hasattr(self, '_set'):
self._set()
def _unset_acct_port(self):
self.__acct_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
def _get_secret_key(self):
"""
Getter method for secret_key, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/secret_key (oc-types:routing-password)
YANG Description: The unencrypted shared key used between the authentication
server and the device.
"""
return self.__secret_key
def _set_secret_key(self, v, load=False):
"""
Setter method for secret_key, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/secret_key (oc-types:routing-password)
If this variable is read-only (config: false) in the
source YANG file, then _set_secret_key is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_secret_key() directly.
YANG Description: The unencrypted shared key used between the authentication
server and the device.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """secret_key must be of a type compatible with oc-types:routing-password""",
'defined-type': "oc-types:routing-password",
'generated-type': """YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)""",
})
self.__secret_key = t
if hasattr(self, '_set'):
self._set()
def _unset_secret_key(self):
self.__secret_key = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
def _get_source_address(self):
"""
Getter method for source_address, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/source_address (oc-inet:ip-address)
YANG Description: Source IP address to use in messages to the RADIUS server
"""
return self.__source_address
def _set_source_address(self, v, load=False):
"""
Setter method for source_address, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/source_address (oc-inet:ip-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_address() directly.
YANG Description: Source IP address to use in messages to the RADIUS server
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """source_address must be of a type compatible with oc-inet:ip-address""",
'defined-type': "oc-inet:ip-address",
'generated-type': """YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)""",
})
self.__source_address = t
if hasattr(self, '_set'):
self._set()
def _unset_source_address(self):
self.__source_address = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
def _get_retransmit_attempts(self):
"""
Getter method for retransmit_attempts, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/retransmit_attempts (uint8)
YANG Description: Number of times the system may resend a request to the
RADIUS server when it is unresponsive
"""
return self.__retransmit_attempts
def _set_retransmit_attempts(self, v, load=False):
"""
Setter method for retransmit_attempts, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/retransmit_attempts (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_retransmit_attempts is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_retransmit_attempts() directly.
YANG Description: Number of times the system may resend a request to the
RADIUS server when it is unresponsive
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """retransmit_attempts must be of a type compatible with uint8""",
'defined-type': "uint8",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)""",
})
self.__retransmit_attempts = t
if hasattr(self, '_set'):
self._set()
def _unset_retransmit_attempts(self):
self.__retransmit_attempts = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
def _get_counters(self):
"""
Getter method for counters, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/counters (container)
YANG Description: A collection of RADIUS related state objects.
"""
return self.__counters
def _set_counters(self, v, load=False):
"""
Setter method for counters, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/counters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counters is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_counters() directly.
YANG Description: A collection of RADIUS related state objects.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """counters must be of a type compatible with container""",
'defined-type': "container",
'generated-type': """YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)""",
})
self.__counters = t
if hasattr(self, '_set'):
self._set()
def _unset_counters(self):
self.__counters = YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
auth_port = __builtin__.property(_get_auth_port)
acct_port = __builtin__.property(_get_acct_port)
secret_key = __builtin__.property(_get_secret_key)
source_address = __builtin__.property(_get_source_address)
retransmit_attempts = __builtin__.property(_get_retransmit_attempts)
counters = __builtin__.property(_get_counters)
_pyangbind_elements = OrderedDict([('auth_port', auth_port), ('acct_port', acct_port), ('secret_key', secret_key), ('source_address', source_address), ('retransmit_attempts', retransmit_attempts), ('counters', counters), ])
from . import counters
class state(PybindBase):
"""
This class was auto-generated by the PythonClass plugin for PYANG
from YANG module openconfig-system - based on the path /system/aaa/server-groups/server-group/servers/server/radius/state. Each member element of
the container is represented as a class variable - with a specific
YANG type.
YANG Description: Operational state data for RADIUS servers
"""
__slots__ = ('_path_helper', '_extmethods', '__auth_port','__acct_port','__secret_key','__source_address','__retransmit_attempts','__counters',)
_yang_name = 'state'
_pybind_generated_by = 'container'
def __init__(self, *args, **kwargs):
helper = kwargs.pop("path_helper", None)
if helper is False:
self._path_helper = False
elif helper is not None and isinstance(helper, xpathhelper.YANGPathHelper):
self._path_helper = helper
elif hasattr(self, "_parent"):
helper = getattr(self._parent, "_path_helper", False)
self._path_helper = helper
else:
self._path_helper = False
self._extmethods = False
self.__auth_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
self.__acct_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
self.__secret_key = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
self.__source_address = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
self.__retransmit_attempts = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
self.__counters = YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
load = kwargs.pop("load", None)
if args:
if len(args) > 1:
raise TypeError("cannot create a YANG container with >1 argument")
all_attr = True
for e in self._pyangbind_elements:
if not hasattr(args[0], e):
all_attr = False
break
if not all_attr:
raise ValueError("Supplied object did not have the correct attributes")
for e in self._pyangbind_elements:
nobj = getattr(args[0], e)
if nobj._changed() is False:
continue
setmethod = getattr(self, "_set_%s" % e)
if load is None:
setmethod(getattr(args[0], e))
else:
setmethod(getattr(args[0], e), load=load)
def _path(self):
if hasattr(self, "_parent"):
return self._parent._path()+[self._yang_name]
else:
return ['system', 'aaa', 'server-groups', 'server-group', 'servers', 'server', 'radius', 'state']
def _get_auth_port(self):
"""
Getter method for auth_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/auth_port (oc-inet:port-number)
YANG Description: Port number for authentication requests
"""
return self.__auth_port
def _set_auth_port(self, v, load=False):
"""
Setter method for auth_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/auth_port (oc-inet:port-number)
If this variable is read-only (config: false) in the
source YANG file, then _set_auth_port is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_auth_port() directly.
YANG Description: Port number for authentication requests
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """auth_port must be of a type compatible with oc-inet:port-number""",
'defined-type': "oc-inet:port-number",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)""",
})
self.__auth_port = t
if hasattr(self, '_set'):
self._set()
def _unset_auth_port(self):
self.__auth_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
def _get_acct_port(self):
"""
Getter method for acct_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/acct_port (oc-inet:port-number)
YANG Description: Port number for accounting requests
"""
return self.__acct_port
def _set_acct_port(self, v, load=False):
"""
Setter method for acct_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/acct_port (oc-inet:port-number)
If this variable is read-only (config: false) in the
source YANG file, then _set_acct_port is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_acct_port() directly.
YANG Description: Port number for accounting requests
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """acct_port must be of a type compatible with oc-inet:port-number""",
'defined-type': "oc-inet:port-number",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)""",
})
self.__acct_port = t
if hasattr(self, '_set'):
self._set()
def _unset_acct_port(self):
self.__acct_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
def _get_secret_key(self):
"""
Getter method for secret_key, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/secret_key (oc-types:routing-password)
YANG Description: The unencrypted shared key used between the authentication
server and the device.
"""
return self.__secret_key
def _set_secret_key(self, v, load=False):
"""
Setter method for secret_key, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/secret_key (oc-types:routing-password)
If this variable is read-only (config: false) in the
source YANG file, then _set_secret_key is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_secret_key() directly.
YANG Description: The unencrypted shared key used between the authentication
server and the device.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """secret_key must be of a type compatible with oc-types:routing-password""",
'defined-type': "oc-types:routing-password",
'generated-type': """YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)""",
})
self.__secret_key = t
if hasattr(self, '_set'):
self._set()
def _unset_secret_key(self):
self.__secret_key = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
def _get_source_address(self):
"""
Getter method for source_address, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/source_address (oc-inet:ip-address)
YANG Description: Source IP address to use in messages to the RADIUS server
"""
return self.__source_address
def _set_source_address(self, v, load=False):
"""
Setter method for source_address, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/source_address (oc-inet:ip-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_address() directly.
YANG Description: Source IP address to use in messages to the RADIUS server
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """source_address must be of a type compatible with oc-inet:ip-address""",
'defined-type': "oc-inet:ip-address",
'generated-type': """YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)""",
})
self.__source_address = t
if hasattr(self, '_set'):
self._set()
def _unset_source_address(self):
self.__source_address = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
def _get_retransmit_attempts(self):
"""
Getter method for retransmit_attempts, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/retransmit_attempts (uint8)
YANG Description: Number of times the system may resend a request to the
RADIUS server when it is unresponsive
"""
return self.__retransmit_attempts
def _set_retransmit_attempts(self, v, load=False):
"""
Setter method for retransmit_attempts, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/retransmit_attempts (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_retransmit_attempts is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_retransmit_attempts() directly.
YANG Description: Number of times the system may resend a request to the
RADIUS server when it is unresponsive
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """retransmit_attempts must be of a type compatible with uint8""",
'defined-type': "uint8",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)""",
})
self.__retransmit_attempts = t
if hasattr(self, '_set'):
self._set()
def _unset_retransmit_attempts(self):
self.__retransmit_attempts = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
def _get_counters(self):
"""
Getter method for counters, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/counters (container)
YANG Description: A collection of RADIUS related state objects.
"""
return self.__counters
def _set_counters(self, v, load=False):
"""
Setter method for counters, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/counters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counters is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_counters() directly.
YANG Description: A collection of RADIUS related state objects.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """counters must be of a type compatible with container""",
'defined-type': "container",
'generated-type': """YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)""",
})
self.__counters = t
if hasattr(self, '_set'):
self._set()
def _unset_counters(self):
self.__counters = YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
auth_port = __builtin__.property(_get_auth_port)
acct_port = __builtin__.property(_get_acct_port)
secret_key = __builtin__.property(_get_secret_key)
source_address = __builtin__.property(_get_source_address)
retransmit_attempts = __builtin__.property(_get_retransmit_attempts)
counters = __builtin__.property(_get_counters)
_pyangbind_elements = OrderedDict([('auth_port', auth_port), ('acct_port', acct_port), ('secret_key', secret_key), ('source_address', source_address), ('retransmit_attempts', retransmit_attempts), ('counters', counters), ])
from . import counters
class state(PybindBase):
"""
This class was auto-generated by the PythonClass plugin for PYANG
from YANG module openconfig-system - based on the path /system/aaa/server-groups/server-group/servers/server/radius/state. Each member element of
the container is represented as a class variable - with a specific
YANG type.
YANG Description: Operational state data for RADIUS servers
"""
__slots__ = ('_path_helper', '_extmethods', '__auth_port','__acct_port','__secret_key','__source_address','__retransmit_attempts','__counters',)
_yang_name = 'state'
_pybind_generated_by = 'container'
def __init__(self, *args, **kwargs):
helper = kwargs.pop("path_helper", None)
if helper is False:
self._path_helper = False
elif helper is not None and isinstance(helper, xpathhelper.YANGPathHelper):
self._path_helper = helper
elif hasattr(self, "_parent"):
helper = getattr(self._parent, "_path_helper", False)
self._path_helper = helper
else:
self._path_helper = False
self._extmethods = False
self.__auth_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
self.__acct_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
self.__secret_key = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
self.__source_address = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
self.__retransmit_attempts = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
self.__counters = YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
load = kwargs.pop("load", None)
if args:
if len(args) > 1:
raise TypeError("cannot create a YANG container with >1 argument")
all_attr = True
for e in self._pyangbind_elements:
if not hasattr(args[0], e):
all_attr = False
break
if not all_attr:
raise ValueError("Supplied object did not have the correct attributes")
for e in self._pyangbind_elements:
nobj = getattr(args[0], e)
if nobj._changed() is False:
continue
setmethod = getattr(self, "_set_%s" % e)
if load is None:
setmethod(getattr(args[0], e))
else:
setmethod(getattr(args[0], e), load=load)
def _path(self):
if hasattr(self, "_parent"):
return self._parent._path()+[self._yang_name]
else:
return ['system', 'aaa', 'server-groups', 'server-group', 'servers', 'server', 'radius', 'state']
def _get_auth_port(self):
"""
Getter method for auth_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/auth_port (oc-inet:port-number)
YANG Description: Port number for authentication requests
"""
return self.__auth_port
def _set_auth_port(self, v, load=False):
"""
Setter method for auth_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/auth_port (oc-inet:port-number)
If this variable is read-only (config: false) in the
source YANG file, then _set_auth_port is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_auth_port() directly.
YANG Description: Port number for authentication requests
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """auth_port must be of a type compatible with oc-inet:port-number""",
'defined-type': "oc-inet:port-number",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)""",
})
self.__auth_port = t
if hasattr(self, '_set'):
self._set()
def _unset_auth_port(self):
self.__auth_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1812), is_leaf=True, yang_name="auth-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
def _get_acct_port(self):
"""
Getter method for acct_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/acct_port (oc-inet:port-number)
YANG Description: Port number for accounting requests
"""
return self.__acct_port
def _set_acct_port(self, v, load=False):
"""
Setter method for acct_port, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/acct_port (oc-inet:port-number)
If this variable is read-only (config: false) in the
source YANG file, then _set_acct_port is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_acct_port() directly.
YANG Description: Port number for accounting requests
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """acct_port must be of a type compatible with oc-inet:port-number""",
'defined-type': "oc-inet:port-number",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)""",
})
self.__acct_port = t
if hasattr(self, '_set'):
self._set()
def _unset_acct_port(self):
self.__acct_port = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(1813), is_leaf=True, yang_name="acct-port", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:port-number', is_config=False)
def _get_secret_key(self):
"""
Getter method for secret_key, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/secret_key (oc-types:routing-password)
YANG Description: The unencrypted shared key used between the authentication
server and the device.
"""
return self.__secret_key
def _set_secret_key(self, v, load=False):
"""
Setter method for secret_key, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/secret_key (oc-types:routing-password)
If this variable is read-only (config: false) in the
source YANG file, then _set_secret_key is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_secret_key() directly.
YANG Description: The unencrypted shared key used between the authentication
server and the device.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """secret_key must be of a type compatible with oc-types:routing-password""",
'defined-type': "oc-types:routing-password",
'generated-type': """YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)""",
})
self.__secret_key = t
if hasattr(self, '_set'):
self._set()
def _unset_secret_key(self):
self.__secret_key = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="secret-key", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-types:routing-password', is_config=False)
def _get_source_address(self):
"""
Getter method for source_address, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/source_address (oc-inet:ip-address)
YANG Description: Source IP address to use in messages to the RADIUS server
"""
return self.__source_address
def _set_source_address(self, v, load=False):
"""
Setter method for source_address, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/source_address (oc-inet:ip-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_address() directly.
YANG Description: Source IP address to use in messages to the RADIUS server
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """source_address must be of a type compatible with oc-inet:ip-address""",
'defined-type': "oc-inet:ip-address",
'generated-type': """YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)""",
})
self.__source_address = t
if hasattr(self, '_set'):
self._set()
def _unset_source_address(self):
self.__source_address = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'}),RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$'}),], is_leaf=True, yang_name="source-address", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='oc-inet:ip-address', is_config=False)
def _get_retransmit_attempts(self):
"""
Getter method for retransmit_attempts, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/retransmit_attempts (uint8)
YANG Description: Number of times the system may resend a request to the
RADIUS server when it is unresponsive
"""
return self.__retransmit_attempts
def _set_retransmit_attempts(self, v, load=False):
"""
Setter method for retransmit_attempts, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/retransmit_attempts (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_retransmit_attempts is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_retransmit_attempts() directly.
YANG Description: Number of times the system may resend a request to the
RADIUS server when it is unresponsive
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """retransmit_attempts must be of a type compatible with uint8""",
'defined-type': "uint8",
'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)""",
})
self.__retransmit_attempts = t
if hasattr(self, '_set'):
self._set()
def _unset_retransmit_attempts(self):
self.__retransmit_attempts = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..255']}, int_size=8), is_leaf=True, yang_name="retransmit-attempts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='uint8', is_config=False)
def _get_counters(self):
"""
Getter method for counters, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/counters (container)
YANG Description: A collection of RADIUS related state objects.
"""
return self.__counters
def _set_counters(self, v, load=False):
"""
Setter method for counters, mapped from YANG variable /system/aaa/server_groups/server_group/servers/server/radius/state/counters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counters is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_counters() directly.
YANG Description: A collection of RADIUS related state objects.
"""
if hasattr(v, "_utype"):
v = v._utype(v)
try:
t = YANGDynClass(v,base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
except (TypeError, ValueError):
raise ValueError({
'error-string': """counters must be of a type compatible with container""",
'defined-type': "container",
'generated-type': """YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)""",
})
self.__counters = t
if hasattr(self, '_set'):
self._set()
def _unset_counters(self):
self.__counters = YANGDynClass(base=counters.counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions=None, namespace='http://openconfig.net/yang/system', defining_module='openconfig-system', yang_type='container', is_config=False)
auth_port = __builtin__.property(_get_auth_port)
acct_port = __builtin__.property(_get_acct_port)
secret_key = __builtin__.property(_get_secret_key)
source_address = __builtin__.property(_get_source_address)
retransmit_attempts = __builtin__.property(_get_retransmit_attempts)
counters = __builtin__.property(_get_counters)
_pyangbind_elements = OrderedDict([('auth_port', auth_port), ('acct_port', acct_port), ('secret_key', secret_key), ('source_address', source_address), ('retransmit_attempts', retransmit_attempts), ('counters', counters), ])
| 73.22619 | 973 | 0.713158 | 10,213 | 67,661 | 4.525605 | 0.02301 | 0.009347 | 0.02077 | 0.024924 | 0.991021 | 0.986326 | 0.986326 | 0.986326 | 0.986326 | 0.986326 | 0 | 0.035895 | 0.115975 | 67,661 | 923 | 974 | 73.305525 | 0.736834 | 0.207106 | 0 | 0.962598 | 0 | 0.070866 | 0.405565 | 0.211663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11811 | false | 0.035433 | 0.037402 | 0 | 0.267717 | 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 |
9323c9240bec7bf236d416d7ce8c052a0ebd2afe | 9,175 | py | Python | yandex/cloud/kms/v1/symmetric_crypto_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 36 | 2018-12-23T13:51:50.000Z | 2022-03-25T07:48:24.000Z | yandex/cloud/kms/v1/symmetric_crypto_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 15 | 2019-02-28T04:55:09.000Z | 2022-03-06T23:17:24.000Z | yandex/cloud/kms/v1/symmetric_crypto_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 18 | 2019-02-23T07:10:57.000Z | 2022-03-28T14:41:08.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from yandex.cloud.kms.v1 import symmetric_crypto_service_pb2 as yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2
class SymmetricCryptoServiceStub(object):
"""--- Data plane for KMS symmetric cryptography operations
Set of methods that perform symmetric encryption and decryption.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Encrypt = channel.unary_unary(
'/yandex.cloud.kms.v1.SymmetricCryptoService/Encrypt',
request_serializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricEncryptRequest.SerializeToString,
response_deserializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricEncryptResponse.FromString,
)
self.Decrypt = channel.unary_unary(
'/yandex.cloud.kms.v1.SymmetricCryptoService/Decrypt',
request_serializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricDecryptRequest.SerializeToString,
response_deserializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricDecryptResponse.FromString,
)
self.ReEncrypt = channel.unary_unary(
'/yandex.cloud.kms.v1.SymmetricCryptoService/ReEncrypt',
request_serializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricReEncryptRequest.SerializeToString,
response_deserializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricReEncryptResponse.FromString,
)
self.GenerateDataKey = channel.unary_unary(
'/yandex.cloud.kms.v1.SymmetricCryptoService/GenerateDataKey',
request_serializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.GenerateDataKeyRequest.SerializeToString,
response_deserializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.GenerateDataKeyResponse.FromString,
)
class SymmetricCryptoServiceServicer(object):
"""--- Data plane for KMS symmetric cryptography operations
Set of methods that perform symmetric encryption and decryption.
"""
def Encrypt(self, request, context):
"""Encrypts given plaintext with the specified key.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Decrypt(self, request, context):
"""Decrypts the given ciphertext with the specified key.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ReEncrypt(self, request, context):
"""Re-encrypts a ciphertext with the specified KMS key.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GenerateDataKey(self, request, context):
"""Generates a new symmetric data encryption key (not a KMS key) and returns
the generated key as plaintext and as ciphertext encrypted with the specified symmetric KMS key.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_SymmetricCryptoServiceServicer_to_server(servicer, server):
rpc_method_handlers = {
'Encrypt': grpc.unary_unary_rpc_method_handler(
servicer.Encrypt,
request_deserializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricEncryptRequest.FromString,
response_serializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricEncryptResponse.SerializeToString,
),
'Decrypt': grpc.unary_unary_rpc_method_handler(
servicer.Decrypt,
request_deserializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricDecryptRequest.FromString,
response_serializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricDecryptResponse.SerializeToString,
),
'ReEncrypt': grpc.unary_unary_rpc_method_handler(
servicer.ReEncrypt,
request_deserializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricReEncryptRequest.FromString,
response_serializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricReEncryptResponse.SerializeToString,
),
'GenerateDataKey': grpc.unary_unary_rpc_method_handler(
servicer.GenerateDataKey,
request_deserializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.GenerateDataKeyRequest.FromString,
response_serializer=yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.GenerateDataKeyResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'yandex.cloud.kms.v1.SymmetricCryptoService', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class SymmetricCryptoService(object):
"""--- Data plane for KMS symmetric cryptography operations
Set of methods that perform symmetric encryption and decryption.
"""
@staticmethod
def Encrypt(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, '/yandex.cloud.kms.v1.SymmetricCryptoService/Encrypt',
yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricEncryptRequest.SerializeToString,
yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricEncryptResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Decrypt(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, '/yandex.cloud.kms.v1.SymmetricCryptoService/Decrypt',
yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricDecryptRequest.SerializeToString,
yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricDecryptResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ReEncrypt(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, '/yandex.cloud.kms.v1.SymmetricCryptoService/ReEncrypt',
yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricReEncryptRequest.SerializeToString,
yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.SymmetricReEncryptResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GenerateDataKey(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, '/yandex.cloud.kms.v1.SymmetricCryptoService/GenerateDataKey',
yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.GenerateDataKeyRequest.SerializeToString,
yandex_dot_cloud_dot_kms_dot_v1_dot_symmetric__crypto__service__pb2.GenerateDataKeyResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 50.972222 | 153 | 0.719891 | 936 | 9,175 | 6.573718 | 0.13141 | 0.063384 | 0.092963 | 0.10564 | 0.8196 | 0.813424 | 0.801073 | 0.776369 | 0.740614 | 0.740614 | 0 | 0.008503 | 0.218093 | 9,175 | 179 | 154 | 51.256983 | 0.849178 | 0.103869 | 0 | 0.484848 | 1 | 0 | 0.085369 | 0.057982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075758 | false | 0 | 0.015152 | 0.030303 | 0.143939 | 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 |
935fe4b12646288642e42a8dcd0648af02a779a9 | 55,420 | py | Python | skipole/ski/widgets/inputtables.py | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null | skipole/ski/widgets/inputtables.py | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null | skipole/ski/widgets/inputtables.py | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null |
"""Contains widgets for inputting data"""
from urllib.parse import quote
from .. import skiboot, tag, excepts
from . import Widget, ClosedWidget, FieldArg, FieldArgList, FieldArgTable, FieldArgDict
class InputTable1(Widget):
"""A table of three columns, two being text strings, the third a text input field
The first row is three header titles. Typically inserted into a form
does not display errors"""
display_errors = False
arg_descriptions = {'header_class':FieldArg("cssclass",""),
'size':FieldArg("text", ''),
'maxlength':FieldArg("text", ''),
'title1':FieldArg('text', ''),
'title2':FieldArg('text', ''),
'title3':FieldArg('text', ''),
'row_classes':FieldArgList('text', jsonset=True),
'col1':FieldArgList('text', jsonset=True),
'col2':FieldArgList('text', jsonset=True),
'inputdict':FieldArgDict('text', valdt=True, jsonset=True, senddict=True) # dictionary of keyname:value
} # the field submitted as a dictionary
# each key will have 'keyname'
# and value will be the values ticked
def __init__(self, name=None, brief='', **field_args):
"""
header_class: class of the header row, if empty string, then no class will be applied
size: The number of characters appearing in each text input area
maxlength: The maximum number of characters accepted in each text area
title1: The header title over the first text column
title2: The header title over the second text column
title3: The header title over the third text column
row_classes: A list of CSS classes to apply to each row (not including the header)
col1: A list of text strings to place in the first column
col2: A list of text strings to place in the second column
inputdict: A dictionary of keyname:value, should be Ordered Dict unless python >= 3.6
the fields submitted will have name 'widgetname:inputdict-keyname'
and the user will receive a widgfield ('widgetname','inputdict') containing a dictionary of keyname:values
"""
Widget.__init__(self, name=name, tag_name="table", brief=brief, **field_args)
def _build(self, page, ident_list, environ, call_data, lang):
"Build the table"
inputdict = self.get_field_value("inputdict")
rowc = self.get_field_value("row_classes")
col1 = self.get_field_value("col1")
col2 = self.get_field_value("col2")
input_name = self.get_formname("inputdict") + '-'
size = self.get_field_value('size')
maxlength = self.get_field_value('maxlength')
header = 0
if self.get_field_value('title1') or self.get_field_value('title2') or self.get_field_value('title3'):
header = 1
if self.get_field_value('header_class'):
self[0] = tag.Part(tag_name='tr', attribs={"class":self.get_field_value('header_class')})
else:
self[0] = tag.Part(tag_name='tr')
self[0][0] = tag.Part(tag_name='th', text = self.get_field_value('title1'))
self[0][1] = tag.Part(tag_name='th', text = self.get_field_value('title2'))
self[0][2] = tag.Part(tag_name='th', text = self.get_field_value('title3'))
# create rows
rows = max( len(col1), len(col2), len(inputdict) )
if not rowc:
rowc = ['']*rows
if rows > len(rowc):
rowc.extend(['']*(rows - len(rowc)))
if rows > len(col1):
col1.extend(['']*(rows - len(col1)))
if rows > len(col2):
col2.extend(['']*(rows - len(col2)))
keylist = list(inputdict.keys())
if rows > len(keylist):
keylist.extend([None]*(rows - len(keylist)))
# keylist is a list of the dictionary keys, extended by None keys, if the dictionary is smaller than the number of rows of the table
for index in range(rows):
rownumber = index+header
if rowc[index]:
self[rownumber] = tag.Part(tag_name='tr', attribs={"class":rowc[index]})
else:
self[rownumber] = tag.Part(tag_name='tr')
self[rownumber][0] = tag.Part(tag_name='td', text = col1[index])
self[rownumber][1] = tag.Part(tag_name='td', text = col2[index])
self[rownumber][2] = tag.Part(tag_name='td')
key = keylist[index]
if key: # this is the dictionary key
keyed_name = input_name + key
self[rownumber][2][0] = tag.ClosedPart(tag_name="input", attribs={"name":keyed_name, "type":"text", "value":inputdict[key]})
if size:
self[rownumber][2][0].update_attribs({"size":size})
if maxlength:
self[rownumber][2][0].update_attribs({"maxlength":maxlength})
@classmethod
def description(cls):
"""Returns a text string to illustrate the widget"""
return """
<table> <!-- with widget id and class widget_class -->
<tr> <!-- with header class -->
<th> <!-- title1 --> </th>
<th> <!-- title2 --> </th>
<th> <!-- title3 --> </th>
</tr>
<tr> <!-- with class from row_classes -->
<td> <!-- col1 text string --> </td>
<td> <!-- col2 text string --> </td>
<td><input type="text" /> <!-- with names and value derived from 'inputdict' -->
</td>
</tr>
<!-- rows repeated -->
</table>"""
class InputTable5(Widget):
"""Defines a div of four columns, the first just being label text, the second being text input fields,
the third and fourth being submit buttons. Each row of the table is a form, the
form action ident is the same for all forms.
On error the paragraph TextBlock is changed to the error message."""
# This class does not display any error messages
display_errors = False
# js_validators is a class attribute, True if javascript validation is enabled
js_validators=True
arg_descriptions = {
'div_class':FieldArg("cssclass", ''),
'size':FieldArg("text", ''),
'maxlength':FieldArg("text", ''),
'required':FieldArg("boolean", False),
'action':FieldArg("url",''),
'button_text1':FieldArg("text", "Submit", valdt=True),
'button_text2':FieldArg("text", "Submit", valdt=True),
'button1_class':FieldArg("cssclass", ""),
'button2_class':FieldArg("cssclass", ""),
'col_label':FieldArgList('text'),
'label_class':FieldArg("cssclass", ""),
'label_style':FieldArg("cssstyle", ""),
'col_input':FieldArgList('text', valdt=True),
'hidden_field1':FieldArgList("text", valdt=True),
'hidden_field2':FieldArgList("text", valdt=True),
'hidden_field3':FieldArgList("text", valdt=True),
'hidden_field4':FieldArgList("text", valdt=True),
'input_accepted_class':FieldArg("cssclass", ''),
'input_class':FieldArg("cssclass", ''),
'input_style':FieldArg("cssstyle", ''),
'input_errored_class':FieldArg("cssclass", ''),
'set_input_accepted':FieldArgDict("boolean", jsonset=True),
'set_input_errored':FieldArgDict("boolean", jsonset=True)
}
def __init__(self, name=None, brief='', **field_args):
"""
div_class: the class attribute of each form div
size: The number of characters appearing in each text input area
maxlength: The maximum number of characters accepted in each text area
required: Set True to put the 'required' flag into each input field
action: The label or ident of the action page
button_text1: text appearing on the first buttons - if empty, no button 1 is shown
button_text2: text appearing on the second buttons - if empty, no button 2 is shown
button1_class: class set on button1
button2_class: class set on button2
col_label: a list of all the text strings appearing in the first column
label_class: the class to apply to each label
col_input: a list of all the text strings appearing in the input fields
hidden_field1-4: four hidden fields, each being a list
input_accepted_class: A class which can be added on each input field
input_class: A class which can be set on each input field
input_errored_class: A class which can be added on each input field
The following two dictionaries should have keys equal to the integer row number (starting
at zero) and value True or False
set_input_accepted: Dictionary of col index keys that should be set with input_accepted_class
set_input_errored: Dictionary of col index keys that should be set with input_errored_class
"""
Widget.__init__(self, name=name, tag_name="div", brief=brief, **field_args)
def _build(self, page, ident_list, environ, call_data, lang):
"Build the table"
# get the widget ident
ident_value = page.ident_data_string
# get the form action url
action_url = skiboot.get_url(self.get_field_value("action"), proj_ident=page.proj_ident)
if not action_url:
# setting self._error replaces the entire tag by the self._error message
self._error = "Warning: broken link"
return
len_label = len(self.fields["col_label"])
len_input = len(self.fields["col_input"])
len_hidden_field1 = len(self.fields["hidden_field1"])
len_hidden_field2 = len(self.fields["hidden_field2"])
len_hidden_field3 = len(self.fields["hidden_field3"])
len_hidden_field4 = len(self.fields["hidden_field4"])
rows = max(len_label, len_input)
if not rows:
rows=1
input_name = self.get_formname("col_input")
button_name1 = self.get_formname("button_text1")
button_value1 = self.get_field_value('button_text1')
button1_class = self.get_field_value('button1_class')
button_name2 = self.get_formname("button_text2")
button_value2 = self.get_field_value('button_text2')
button2_class = self.get_field_value('button2_class')
hidden_field1_name = self.get_formname("hidden_field1")
hidden_field2_name = self.get_formname("hidden_field2")
hidden_field3_name = self.get_formname("hidden_field3")
hidden_field4_name = self.get_formname("hidden_field4")
label_class = self.get_field_value('label_class')
label_style = self.get_field_value('label_style')
form_id = self.get_id() + '_'
if self.get_field_value('input_accepted_class') and self.get_field_value("set_input_accepted"):
set_input_accepted = self.get_field_value("set_input_accepted")
else:
set_input_accepted = {}
if self.get_field_value('input_errored_class') and self.get_field_value("set_input_errored"):
set_input_errored = self.get_field_value("set_input_errored")
else:
set_input_errored = {}
input_class = self.get_field_value('input_class')
input_style = self.get_field_value('input_style')
for rownumber in range(rows):
if rownumber<len_label:
col_label = self.get_field_value("col_label")[rownumber]
else:
col_label = ''
if rownumber<len_input:
col_input = self.get_field_value("col_input")[rownumber]
else:
col_input = ''
if rownumber<len_hidden_field1:
col_hidden_field1 = self.get_field_value("hidden_field1")[rownumber]
else:
col_hidden_field1 = ''
if rownumber<len_hidden_field2:
col_hidden_field2 = self.get_field_value("hidden_field2")[rownumber]
else:
col_hidden_field2 = ''
if rownumber<len_hidden_field3:
col_hidden_field3 = self.get_field_value("hidden_field3")[rownumber]
else:
col_hidden_field3 = ''
if rownumber<len_hidden_field4:
col_hidden_field4 = self.get_field_value("hidden_field4")[rownumber]
else:
col_hidden_field4 = ''
# for every table row, create a form
formrow = tag.Part(tag_name="form", attribs ={"method":"post", "action": action_url})
# 1st column is label text
if label_class:
formrow[0] = tag.Part(tag_name="label", attribs={'class':label_class})
else:
formrow[0] = tag.Part(tag_name="label")
if label_style:
formrow[0].update_attribs({"style":label_style})
formrow[0][0] = col_label
# 2nd column is a text input field
formrow[1] = tag.ClosedPart(tag_name="input",
attribs ={"name":input_name,
"value":col_input,
"type":"text"})
if self.get_field_value('size'):
formrow[1].update_attribs({"size":self.get_field_value('size')})
if self.get_field_value('maxlength'):
formrow[1].update_attribs({"maxlength":self.get_field_value('maxlength')})
if self.get_field_value('required'):
formrow[1].update_attribs({"required":"required"})
# set an id in the input field for the 'label for' tag
this_id = form_id + str(rownumber) + '_0_1'
formrow[1].insert_id(this_id)
# set the label 'for' attribute
formrow[0].update_attribs({'for':formrow[1].get_id()})
if (rownumber in set_input_errored) and set_input_errored[rownumber]:
if input_class:
formrow[1].update_attribs({"class":input_class + ' ' + self.get_field_value('input_errored_class')})
else:
formrow[1].update_attribs({"class":self.get_field_value('input_errored_class')})
elif (rownumber in set_input_accepted) and set_input_accepted[rownumber]:
if input_class:
formrow[1].update_attribs({"class":input_class + ' ' + self.get_field_value('input_accepted_class')})
else:
formrow[1].update_attribs({"class":self.get_field_value('input_accepted_class')})
elif input_class:
formrow[1].update_attribs({"class":input_class})
if input_style:
formrow[1].update_attribs({"style":input_style})
# 3rd column is a submit button
if button_value1:
formrow.append(tag.ClosedPart(tag_name="input",
attribs ={"name":button_name1,
"value":button_value1,
"class":button1_class,
"type":"submit"}))
# 4th column is a submit button
if button_value2:
formrow.append(tag.ClosedPart(tag_name="input",
attribs ={"name":button_name2,
"value":button_value2,
"class":button2_class,
"type":"submit"}))
# all submissions always have an 'ident' hidden field to provide the ident of the calling page
formrow.append(tag.ClosedPart(tag_name="input",
attribs ={"name":'ident',
"value":ident_value,
"type":"hidden"}))
# hidden field on the form
if col_hidden_field1:
formrow.append(tag.ClosedPart(tag_name = "input",
attribs = {"name":hidden_field1_name,
"value":col_hidden_field1,
"type":"hidden"}))
# Second hidden field on the form
if col_hidden_field2:
formrow.append(tag.ClosedPart(tag_name = "input",
attribs = {"name":hidden_field2_name,
"value":col_hidden_field2,
"type":"hidden"}))
# Third hidden field on the form
if col_hidden_field3:
formrow.append(tag.ClosedPart(tag_name = "input",
attribs = {"name":hidden_field3_name,
"value":col_hidden_field3,
"type":"hidden"}))
# Fourth hidden field on the form
if col_hidden_field4:
formrow.append(tag.ClosedPart(tag_name = "input",
attribs = {"name":hidden_field4_name,
"value":col_hidden_field4,
"type":"hidden"}))
# place form in a div
self[rownumber] = tag.Part(tag_name="div")
if self.get_field_value('div_class'):
self[rownumber].attribs = {"class": self.get_field_value('div_class')}
self[rownumber][0] = formrow
def _build_js(self, page, ident_list, environ, call_data, lang):
"""Sets a submit event handler"""
jscript = """ $('#{ident}').find( 'form').each(function() {{
$(this).on("submit", function(e) {{
SKIPOLE.widgets['{ident}'].eventfunc(e);
}});
}});
""".format(ident=self.get_id())
return jscript + self._make_fieldvalues('input_accepted_class', 'input_errored_class')
@classmethod
def description(cls):
"""Returns a text string to illustrate the widget"""
return """
<div> <!-- with widget id and class widget_class -->
<!-- Then a div containing a form, label, input field, buttons and hidden fields, repeated for each list item -->
<div> <!-- with CSS class attribute set to div_class if a class is set -->
<form method=\"post\"> <!-- action attribute set to action field -->
<label> <!-- with col_label text and CSS class label_class -->
</label >
<input type="text" /> <!-- all with same CSS input_class and size and maxlength, with values from col_input -->
<input type="submit" /> <!-- with value button_text1, CSS class button1_class and name widgfield derived from button_text1 field name -->
<input type="submit" /> <!-- with value button_text2, CSS class button2_class and name widgfield derived from button_text2 field name -->
<!-- hidden input fields -->
</form>
</div>
<!-- The above repeated for each item in col_input or col_label, whichever is greater -->
</div>"""
class InputTable4(Widget):
"""A table of four columns, three being text strings,
the fourth being a cell with up and down arrow links and a hidden field
On the links being chosen a request for a json update is made, which
typically updates the text columns, and the values in the hidden field.
Each arrow has two get fields which can be set.
The first row is four header titles.
Typically inserted into a form, does not display errors"""
display_errors = False
arg_descriptions = {'header_class':FieldArg("cssclass",""),
'col1_class':FieldArg("cssclass",""), # class applied to every td in the first column
'col2_class':FieldArg("cssclass",""), # class applied to every td in the second column
'col3_class':FieldArg("cssclass",""), # class applied to every td in the third column
'col4_class':FieldArg("cssclass",""), # class applied to every td in the fourth column
'col4_style':FieldArg("cssstyle", ""),
'row_classes':FieldArgList('text', jsonset=True),
'title1':FieldArg('text', ''),
'title2':FieldArg('text', ''),
'title3':FieldArg('text', ''),
'title4':FieldArg('text', ''),
'up_link_ident':FieldArg("url", 'no_javascript'),
'up_json_ident':FieldArg("url", ''),
'down_link_ident':FieldArg("url", 'no_javascript'),
'down_json_ident':FieldArg("url", ''),
'up_style':FieldArg("cssstyle", ""),
'down_style':FieldArg("cssstyle", ""),
'up_class':FieldArg("cssclass", ""),
'down_class':FieldArg("cssclass", ""),
'up_hide':FieldArgList("boolean", jsonset=True),
'down_hide':FieldArgList("boolean", jsonset=True),
'up_getfield1':FieldArgList('text', valdt=True, jsonset=True),
'up_getfield2':FieldArgList('text', valdt=True, jsonset=True),
'down_getfield1':FieldArgList('text', valdt=True, jsonset=True),
'down_getfield2':FieldArgList('text', valdt=True, jsonset=True),
'col1':FieldArgList('text', jsonset=True),
'col2':FieldArgList('text', jsonset=True),
'col3':FieldArgList('text', jsonset=True),
'inputdict':FieldArgDict('text', valdt=True, jsonset=True, senddict=True) # dictionary of keyname:value
} # the field submitted as a dictionary
# each key will have 'keyname'
# and value will be the hidden field values
def __init__(self, name=None, brief='', **field_args):
"""
header_class: class of the header row, if empty string, then no class will be applied
col1_class: class applied to every td in the first column
col2_class: class applied to every td in the second column
col3_class: class applied to every td in the third column
col4_class: class applied to every td in the fourth column
col4_style: style applied to every td in the fourth column
row_classes: A list of CSS classes to apply to each row (not including the header)
title1: The header title over the first text column
title2: The header title over the second text column
title3: The header title over the third text column
title4: The header title over the fourth text column
up_link_ident: ident of the up arrow link if javascript disabled
up_json_ident: ident of the up arrow link, expects a json file returned
down_link_ident: ident of the down arrow link if javascript disabled
down_json_ident: ident of the down arrow link, expects a json file returned
up_style: CSS style applied to the up arrows
down_style: CSS style applied to the down arrows
up_class: CSS class applied to the up arrows
down_class: CSS class applied to the down arrows
up_hide: List of True/False to hide or not hide the up arrow
down_hide: List of True/False to hide or not hide the down arrow
up_getfield1: list of get fields, one for each up arrow link
up_getfield2: list of second get fields, one for each up arrow link
down_getfield1: list of get fields, one for each down arrow link
down_getfield2: list of get fields, one for each down arrow link
col1: A list of text strings to place in the first column
col2: A list of text strings to place in the second column
col3: A list of text strings to place in the third column
inputdict: A dictionary of keyname:value, should be Ordered Dict unless python >= 3.6
the fields submitted will have name 'widgetname:inputdict-keyname'
and the user will receive a widgfield ('widgetname','inputdict') containing a dictionary of keyname:values
"""
Widget.__init__(self, name=name, tag_name="table", brief=brief, **field_args)
self._up_jsonurl = ''
self._down_jsonurl = ''
def _build(self, page, ident_list, environ, call_data, lang):
"Build the table"
inputdict = self.get_field_value("inputdict")
rowc = self.get_field_value("row_classes")
col1 = self.get_field_value("col1")
col2 = self.get_field_value("col2")
col3 = self.get_field_value("col3")
up_hide = self.get_field_value("up_hide")
down_hide = self.get_field_value("down_hide")
input_name = self.get_formname("inputdict") + '-'
col1_class = self.get_field_value("col1_class")
col2_class = self.get_field_value("col2_class")
col3_class = self.get_field_value("col3_class")
col4_class = self.get_field_value("col4_class")
col4_style = self.get_field_value("col4_style")
up_link_ident = self.get_field_value("up_link_ident") # ident of the up arrow link if javascript disabled
if not up_link_ident:
up_link_ident = 'no_javascript'
up_json_ident = self.get_field_value("up_json_ident") # ident of the up arrow link, expects a json file returned
down_link_ident = self.get_field_value("down_link_ident") # ident of the down arrow link if javascript disabled
if not down_link_ident:
down_link_ident = 'no_javascript'
down_json_ident = self.get_field_value("down_json_ident") # ident of the down arrow link, expects a json file returned
up_style = self.get_field_value("up_style") # CSS style applied to the up arrows
down_style = self.get_field_value("down_style") # CSS style applied to the down arrows
up_class = self.get_field_value("up_class") # CSS class applied to the up arrows
down_class = self.get_field_value("down_class") # CSS class applied to the down arrows
up_getfield1 = self.get_field_value("up_getfield1") # list of get fields, one for each up arrow link
up_getfield2 = self.get_field_value("up_getfield2") # list of second get fields, one for each up arrow link
down_getfield1 = self.get_field_value("down_getfield1") # list of get fields, one for each down arrow link
down_getfield2 = self.get_field_value("down_getfield2") # list of get fields, one for each down arrow link
# up arrow link
# get json url
if up_json_ident:
self._up_jsonurl = skiboot.get_url(up_json_ident, proj_ident=page.proj_ident)
# get url
up_url = skiboot.get_url(up_link_ident, proj_ident=page.proj_ident)
# down arrow link
# get json url
if down_json_ident:
self._down_jsonurl = skiboot.get_url(down_json_ident, proj_ident=page.proj_ident)
# get url
down_url = skiboot.get_url(down_link_ident, proj_ident=page.proj_ident)
header = 0
if self.get_field_value('title1') or self.get_field_value('title2') or self.get_field_value('title3') or self.get_field_value('title4'):
header = 1
if self.get_field_value('header_class'):
self[0] = tag.Part(tag_name='tr', attribs={"class":self.get_field_value('header_class')})
else:
self[0] = tag.Part(tag_name='tr')
self[0][0] = tag.Part(tag_name='th', text = self.get_field_value('title1'))
self[0][1] = tag.Part(tag_name='th', text = self.get_field_value('title2'))
self[0][2] = tag.Part(tag_name='th', text = self.get_field_value('title3'))
self[0][3] = tag.Part(tag_name='th', text = self.get_field_value('title4'))
# create rows
rows = max( len(col1), len(col2), len(col3), len(inputdict) )
if not rows:
return
if rows > len(col1):
col1.extend(['']*(rows - len(col1)))
if rows > len(col2):
col2.extend(['']*(rows - len(col2)))
if rows > len(col3):
col3.extend(['']*(rows - len(col3)))
keylist = list(inputdict.keys())
if rows > len(keylist):
keylist.extend([None]*(rows - len(keylist)))
# keylist is a list of the dictionary keys, extended by None keys, if the dictionary is smaller than the number of rows of the table
for index in range(rows):
rownumber = index+header
cssclass = rowc[index] if index < len(rowc) else ''
if cssclass:
self[rownumber] = tag.Part(tag_name='tr', attribs={"class":cssclass})
else:
self[rownumber] = tag.Part(tag_name='tr')
if col1_class:
self[rownumber][0] = tag.Part(tag_name='td', text = col1[index], attribs={"class":col1_class})
else:
self[rownumber][0] = tag.Part(tag_name='td', text = col1[index])
if col2_class:
self[rownumber][1] = tag.Part(tag_name='td', text = col2[index], attribs={"class":col2_class})
else:
self[rownumber][1] = tag.Part(tag_name='td', text = col2[index])
if col3_class:
self[rownumber][2] = tag.Part(tag_name='td', text = col3[index], attribs={"class":col3_class})
else:
self[rownumber][2] = tag.Part(tag_name='td', text = col3[index])
if col4_class:
self[rownumber][3] = tag.Part(tag_name='td', attribs={"class":col4_class})
else:
self[rownumber][3] = tag.Part(tag_name='td')
if col4_style:
self[rownumber][3].update_attribs({"style": col4_style})
if up_style:
up_button_style = up_style
else:
up_button_style = ''
if up_hide:
hide = up_hide[index] if index < len(up_hide) else False
if hide:
if up_button_style:
up_button_style = up_button_style.strip(";")
up_button_style += ";visibility: hidden;"
else:
up_button_style = "visibility: hidden;"
if up_button_style:
self[rownumber][3][0] = tag.Part(tag_name="a", attribs={"role":"button", "style":up_button_style})
else:
self[rownumber][3][0] = tag.Part(tag_name="a", attribs={"role":"button"})
if up_class:
self[rownumber][3][0].update_attribs({"class": up_class})
self[rownumber][3][0][0] = tag.HTMLSymbol("↑")
# create a url for the up arrow link
upget1 = up_getfield1[index] if index < len(up_getfield1) else ''
upget2 = up_getfield2[index] if index < len(up_getfield2) else ''
get_fields = {self.get_formname("up_getfield1"):upget1,
self.get_formname("up_getfield2"):upget2}
url = self.make_get_url(page, up_url, get_fields, True)
self[rownumber][3][0].update_attribs({"href": url})
if down_style:
down_button_style = down_style
else:
down_button_style = ''
if down_hide:
hide = down_hide[index] if index < len(down_hide) else False
if hide:
if down_button_style:
down_button_style = down_button_style.strip(";")
down_button_style += ";visibility: hidden;"
else:
down_button_style = "visibility: hidden;"
if down_button_style:
self[rownumber][3][1] = tag.Part(tag_name="a", attribs={"role":"button", "style":down_button_style})
else:
self[rownumber][3][1] = tag.Part(tag_name="a", attribs={"role":"button"})
if down_class:
self[rownumber][3][1].update_attribs({"class": down_class})
self[rownumber][3][1][0] = tag.HTMLSymbol("↓")
# create a url for the down arrow link
downget1 = down_getfield1[index] if index < len(down_getfield1) else ''
downget2 = down_getfield2[index] if index < len(down_getfield2) else ''
get_fields = {self.get_formname("down_getfield1"):downget1,
self.get_formname("down_getfield2"):downget2}
url = self.make_get_url(page, down_url, get_fields, True)
self[rownumber][3][1].update_attribs({"href": url})
key = keylist[index]
if key: # this is the dictionary key
keyed_name = input_name + key
self[rownumber][3][2] = tag.ClosedPart(tag_name="input", attribs={"name":keyed_name, "type":"hidden", "value":inputdict[key]})
def _build_js(self, page, ident_list, environ, call_data, lang):
"""Sets a click event handler"""
jscript = """ $("#{ident} a").click(function (e) {{
SKIPOLE.widgets['{ident}'].eventfunc(e);
}});
""".format(ident = self.get_id())
if self._up_jsonurl or self._down_jsonurl:
return jscript + self._make_fieldvalues(upurl=self._up_jsonurl, downurl=self._down_jsonurl)
@classmethod
def description(cls):
"""Returns a text string to illustrate the widget"""
return """
<table> <!-- with widget id and class widget_class -->
<tr> <!-- with header class -->
<th> <!-- title1 --> </th>
<th> <!-- title2 --> </th>
<th> <!-- title3 --> </th>
<th> <!-- title4 --> </th>
</tr>
<tr>
<td> <!-- with class col1_class and col1 text string --> </td>
<td> <!-- with class col2_class and col2 text string --> </td>
<td> <!-- with class col3_class and col3 text string --> </td>
<td> <!-- with class col4_class -->
<a role="button" href="#"> <!-- with style up_style -->
<!-- The href link will be the url of the up ident with up get fields -->
↑
</a>
<a role="button" href="#"> <!-- with style down_style -->
<!-- The href link will be the url of the down ident with down get fields -->
↓
</a>
<input type="hidden" /> <!-- with name being 'widgetname:inputdict-keyname' and
<!-- value from inputdict values -->
<!-- on form submission received data will be a widgfield -->
<!-- ('widgetname','inputdict') containing a dictionary of keyname:values -->
</td>
</tr>
<!-- rows repeated -->
</table>"""
class InputTable3(Widget):
"""A table of four columns, two being text strings, one a text input field
the fourth being a cell with up and down arrow links
On the links being chosen a request for a json update is made, which
typically updates the text columns, and the values in the input field.
Each arrow has two get fields which can be set. A third getfield is attached to both
arrows, and is automatically given the value set in the input field.
The first row is four header titles.
Typically inserted into a form, does not display errors"""
display_errors = False
arg_descriptions = {'header_class':FieldArg("cssclass",""),
'col1_class':FieldArg("cssclass",""), # class applied to every td in the first column
'col2_class':FieldArg("cssclass",""), # class applied to every td in the second column
'col3_class':FieldArg("cssclass",""), # class applied to every td in the third column
'col4_class':FieldArg("cssclass",""), # class applied to every td in the fourth column
'col4_style':FieldArg("cssstyle", ""),
'input_class':FieldArg("cssclass", ''), # class applied to every input field in the third column
'input_style':FieldArg("cssstyle", ''), # style applied to every input field in the third column
'size':FieldArg("text", ''),
'maxlength':FieldArg("text", ''),
'row_classes':FieldArgList('text', jsonset=True),
'title1':FieldArg('text', ''),
'title2':FieldArg('text', ''),
'title3':FieldArg('text', ''),
'title4':FieldArg('text', ''),
'up_link_ident':FieldArg("url", 'no_javascript'),
'up_json_ident':FieldArg("url", ''),
'down_link_ident':FieldArg("url", 'no_javascript'),
'down_json_ident':FieldArg("url", ''),
'up_style':FieldArg("cssstyle", ""),
'down_style':FieldArg("cssstyle", ""),
'up_class':FieldArg("cssclass", ""),
'down_class':FieldArg("cssclass", ""),
'up_hide':FieldArgList("boolean", jsonset=True),
'down_hide':FieldArgList("boolean", jsonset=True),
'up_getfield1':FieldArgList('text', valdt=True, jsonset=True),
'up_getfield2':FieldArgList('text', valdt=True, jsonset=True),
'down_getfield1':FieldArgList('text', valdt=True, jsonset=True),
'down_getfield2':FieldArgList('text', valdt=True, jsonset=True),
'getfield3':FieldArgList('text', valdt=True, jsonset=True),
'col1':FieldArgList('text', jsonset=True),
'col2':FieldArgList('text', jsonset=True),
'inputdict':FieldArgDict('text', valdt=True, jsonset=True, senddict=True) # dictionary of keyname:value
} # the field submitted as a dictionary
# each key will have 'keyname'
# and value will be the input field values
def __init__(self, name=None, brief='', **field_args):
"""
header_class: class of the header row, if empty string, then no class will be applied
col1_class: class applied to every td in the first column
col2_class: class applied to every td in the second column
col3_class: class applied to every td in the third column
col4_class: class applied to every td in the fourth column
col4_style: style applied to every td in the fourth column
input_class: class applied to every input field in the third column
input_style: style applied to every input field in the third column
size: The number of characters appearing in each text input area
maxlength: The maximum number of characters accepted in each text area
row_classes: A list of CSS classes to apply to each row (not including the header)
title1: The header title over the first text column
title2: The header title over the second text column
title3: The header title over the third text column
title4: The header title over the fourth text column
up_link_ident: ident of the up arrow link if javascript disabled
up_json_ident: ident of the up arrow link, expects a json file returned
down_link_ident: ident of the down arrow link if javascript disabled
down_json_ident: ident of the down arrow link, expects a json file returned
up_style: CSS style applied to the up arrows
down_style: CSS style applied to the down arrows
up_class: CSS class applied to the up arrows
down_class: CSS class applied to the down arrows
up_hide: List of True/False to hide or not hide the up arrow
down_hide: List of True/False to hide or not hide the down arrow
up_getfield1: list of get fields, one for each up arrow link
up_getfield2: list of second get fields, one for each up arrow link
down_getfield1: list of get fields, one for each down arrow link
down_getfield2: list of get fields, one for each down arrow link
getfield3: list of values, which will be set on both arrows as getfield3 and will follow
the values set on the input field, Initially leave as an empty list, but
will be useful when doing a JSON update.
col1: A list of text strings to place in the first column
col2: A list of text strings to place in the second column
inputdict: A dictionary of keyname:value, should be Ordered Dict unless python >= 3.6
the fields submitted will have name 'widgetname:inputdict-keyname'
and the user will receive a widgfield ('widgetname','inputdict') containing a dictionary of keyname:values
If values are None, then the values listed in getfield3 will be used, otherwise values given here have priority
"""
Widget.__init__(self, name=name, tag_name="table", brief=brief, **field_args)
self._up_jsonurl = ''
self._down_jsonurl = ''
def _build(self, page, ident_list, environ, call_data, lang):
"Build the table"
inputdict = self.get_field_value("inputdict")
rowc = self.get_field_value("row_classes")
col1 = self.get_field_value("col1")
col2 = self.get_field_value("col2")
up_hide = self.get_field_value("up_hide")
down_hide = self.get_field_value("down_hide")
input_name = self.get_formname("inputdict") + '-'
col1_class = self.get_field_value("col1_class")
col2_class = self.get_field_value("col2_class")
col3_class = self.get_field_value("col3_class")
col4_class = self.get_field_value("col4_class")
col4_style = self.get_field_value("col4_style")
input_class = self.get_field_value("input_class")
input_style = self.get_field_value("input_style")
size = self.get_field_value('size')
maxlength = self.get_field_value('maxlength')
up_link_ident = self.get_field_value("up_link_ident") # ident of the up arrow link if javascript disabled
if not up_link_ident:
up_link_ident = 'no_javascript'
up_json_ident = self.get_field_value("up_json_ident") # ident of the up arrow link, expects a json file returned
down_link_ident = self.get_field_value("down_link_ident") # ident of the down arrow link if javascript disabled
if not down_link_ident:
down_link_ident = 'no_javascript'
down_json_ident = self.get_field_value("down_json_ident") # ident of the down arrow link, expects a json file returned
up_style = self.get_field_value("up_style") # CSS style applied to the up arrows
down_style = self.get_field_value("down_style") # CSS style applied to the down arrows
up_class = self.get_field_value("up_class") # CSS class applied to the up arrows
down_class = self.get_field_value("down_class") # CSS class applied to the down arrows
up_getfield1 = self.get_field_value("up_getfield1") # list of get fields, one for each up arrow link
up_getfield2 = self.get_field_value("up_getfield2") # list of second get fields, one for each up arrow link
down_getfield1 = self.get_field_value("down_getfield1") # list of get fields, one for each down arrow link
down_getfield2 = self.get_field_value("down_getfield2") # list of get fields, one for each down arrow link
getfield3 = self.get_field_value("getfield3") # list of get fields, one for each row, sent with both arrows
# up arrow link
# get json url
if up_json_ident:
self._up_jsonurl = skiboot.get_url(up_json_ident, proj_ident=page.proj_ident)
# get url
up_url = skiboot.get_url(up_link_ident, proj_ident=page.proj_ident)
# down arrow link
# get json url
if down_json_ident:
self._down_jsonurl = skiboot.get_url(down_json_ident, proj_ident=page.proj_ident)
# get url
down_url = skiboot.get_url(down_link_ident, proj_ident=page.proj_ident)
header = 0
if self.get_field_value('title1') or self.get_field_value('title2') or self.get_field_value('title3') or self.get_field_value('title4'):
header = 1
if self.get_field_value('header_class'):
self[0] = tag.Part(tag_name='tr', attribs={"class":self.get_field_value('header_class')})
else:
self[0] = tag.Part(tag_name='tr')
self[0][0] = tag.Part(tag_name='th', text = self.get_field_value('title1'))
self[0][1] = tag.Part(tag_name='th', text = self.get_field_value('title2'))
self[0][2] = tag.Part(tag_name='th', text = self.get_field_value('title3'))
self[0][3] = tag.Part(tag_name='th', text = self.get_field_value('title4'))
# create rows
rows = max( len(col1), len(col2), len(inputdict) )
if not rows:
return
if rows > len(col1):
col1.extend(['']*(rows - len(col1)))
if rows > len(col2):
col2.extend(['']*(rows - len(col2)))
keylist = list(inputdict.keys())
if rows > len(keylist):
keylist.extend([None]*(rows - len(keylist)))
# keylist is a list of the dictionary keys, extended by None keys, if the dictionary is smaller than the number of rows of the table
for index in range(rows):
rownumber = index+header
cssclass = rowc[index] if index < len(rowc) else ''
if cssclass:
self[rownumber] = tag.Part(tag_name='tr', attribs={"class":cssclass})
else:
self[rownumber] = tag.Part(tag_name='tr')
if col1_class:
self[rownumber][0] = tag.Part(tag_name='td', text = col1[index], attribs={"class":col1_class})
else:
self[rownumber][0] = tag.Part(tag_name='td', text = col1[index])
if col2_class:
self[rownumber][1] = tag.Part(tag_name='td', text = col2[index], attribs={"class":col2_class})
else:
self[rownumber][1] = tag.Part(tag_name='td', text = col2[index])
if col3_class:
self[rownumber][2] = tag.Part(tag_name='td', attribs={"class":col3_class})
else:
self[rownumber][2] = tag.Part(tag_name='td')
# getfield3 is used for both arrows, and also for the input fields
get3 = getfield3[index] if index < len(getfield3) else ''
key = keylist[index]
if key: # this is the dictionary key
keyed_name = input_name + key
if not inputdict[key]:
# if no value given, and if get3 has a value, that is used
if get3:
inputdict[key] = get3
else:
# inputdict overrides get3, but the two must match
get3 = inputdict[key]
# set up the input field, including an onchange event which sets getfield3 when the input field changes
self[rownumber][2][0] = tag.ClosedPart(tag_name="input", attribs={"name":keyed_name,
"type":"text",
"value":inputdict[key],
"onchange":"SKIPOLE.widgets['{ident}'].setnewnumber(this.value, {data})".format(ident = self.get_id(), data=rownumber)
})
if size:
self[rownumber][2][0].update_attribs({"size":size})
if maxlength:
self[rownumber][2][0].update_attribs({"maxlength":maxlength})
if input_class:
self[rownumber][2][0].update_attribs({"class":input_class})
if input_style:
self[rownumber][2][0].update_attribs({"style":input_style})
if col4_class:
self[rownumber][3] = tag.Part(tag_name='td', attribs={"class":col4_class})
else:
self[rownumber][3] = tag.Part(tag_name='td')
if col4_style:
self[rownumber][3].update_attribs({"style": col4_style})
if up_style:
up_button_style = up_style
else:
up_button_style = ''
if up_hide:
hide = up_hide[index] if index < len(up_hide) else False
if hide:
if up_button_style:
up_button_style = up_button_style.strip(";")
up_button_style += ";visibility: hidden;"
else:
up_button_style = "visibility: hidden;"
if up_button_style:
self[rownumber][3][0] = tag.Part(tag_name="a", attribs={"role":"button", "style":up_button_style})
else:
self[rownumber][3][0] = tag.Part(tag_name="a", attribs={"role":"button"})
if up_class:
self[rownumber][3][0].update_attribs({"class": up_class})
self[rownumber][3][0][0] = tag.HTMLSymbol("↑")
# create a url for the up arrow link
upget1 = up_getfield1[index] if index < len(up_getfield1) else ''
upget2 = up_getfield2[index] if index < len(up_getfield2) else ''
get_fields = {self.get_formname("up_getfield1"):upget1,
self.get_formname("up_getfield2"):upget2,
self.get_formname("getfield3"):get3
}
url = self.make_get_url(page, up_url, get_fields, True)
self[rownumber][3][0].update_attribs({"href": url})
if down_style:
down_button_style = down_style
else:
down_button_style = ''
if down_hide:
hide = down_hide[index] if index < len(down_hide) else False
if hide:
if down_button_style:
down_button_style = down_button_style.strip(";")
down_button_style += ";visibility: hidden;"
else:
down_button_style = "visibility: hidden;"
if down_button_style:
self[rownumber][3][1] = tag.Part(tag_name="a", attribs={"role":"button", "style":down_button_style})
else:
self[rownumber][3][1] = tag.Part(tag_name="a", attribs={"role":"button"})
if down_class:
self[rownumber][3][1].update_attribs({"class": down_class})
self[rownumber][3][1][0] = tag.HTMLSymbol("↓")
# create a url for the down arrow link
downget1 = down_getfield1[index] if index < len(down_getfield1) else ''
downget2 = down_getfield2[index] if index < len(down_getfield2) else ''
get_fields = {self.get_formname("down_getfield1"):downget1,
self.get_formname("down_getfield2"):downget2,
self.get_formname("getfield3"):get3
}
url = self.make_get_url(page, down_url, get_fields, True)
self[rownumber][3][1].update_attribs({"href": url})
def _build_js(self, page, ident_list, environ, call_data, lang):
"""Sets a click event handler"""
jscript = """ $("#{ident} a").click(function (e) {{
SKIPOLE.widgets['{ident}'].eventfunc(e);
}});
""".format(ident = self.get_id())
if self._up_jsonurl or self._down_jsonurl:
return jscript + self._make_fieldvalues(upurl=self._up_jsonurl, downurl=self._down_jsonurl)
@classmethod
def description(cls):
"""Returns a text string to illustrate the widget"""
return """
<table> <!-- with widget id and class widget_class -->
<tr> <!-- with header class -->
<th> <!-- title1 --> </th>
<th> <!-- title2 --> </th>
<th> <!-- title3 --> </th>
<th> <!-- title4 --> </th>
</tr>
<tr>
<td> <!-- with class col1_class and col1 text string --> </td>
<td> <!-- with class col2_class and col2 text string --> </td>
<td> <!-- with class col3_class -->
<input type="text" /> <!-- class input_class, style input_style -->
<!-- with name being 'widgetname:inputdict-keyname' and -->
<!-- value from inputdict values -->
<!-- on form submission received data will be a widgfield -->
<!-- ('widgetname','inputdict') containing a dictionary of keyname:values -->
</td>
<td> <!-- with class col4_class -->
<a role="button" href="#"> <!-- with style up_style -->
<!-- The href link will be the url of the up ident with up get fields -->
<!-- and also getfield3 which reflect the value shown on the input field -->
↑
</a>
<a role="button" href="#"> <!-- with style down_style -->
<!-- The href link will be the url of the down ident with down get fields -->
<!-- and also getfield3 which reflect the value shown on the input field -->
↓
</a>
</td>
</tr>
<!-- rows repeated -->
</table>"""
| 50.658135 | 157 | 0.566799 | 6,664 | 55,420 | 4.531513 | 0.051621 | 0.033148 | 0.046891 | 0.066428 | 0.812074 | 0.779025 | 0.764984 | 0.749454 | 0.733161 | 0.72273 | 0 | 0.014261 | 0.325623 | 55,420 | 1,093 | 158 | 50.704483 | 0.793734 | 0.221545 | 0 | 0.720109 | 0 | 0.005435 | 0.205697 | 0.007276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02038 | false | 0 | 0.004076 | 0 | 0.055707 | 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 |
fa8f6565903eaee86230e8a8927cabfd76ce7b2e | 9,330 | py | Python | conftrak/test/test_1_server.py | JunAishima/conftrak | 76a6c55b63be80d8715649019ff6675a7ab46049 | [
"BSD-3-Clause"
] | null | null | null | conftrak/test/test_1_server.py | JunAishima/conftrak | 76a6c55b63be80d8715649019ff6675a7ab46049 | [
"BSD-3-Clause"
] | 4 | 2021-11-25T00:11:19.000Z | 2022-01-27T22:05:45.000Z | conftrak/test/test_1_server.py | JunAishima/conftrak | 76a6c55b63be80d8715649019ff6675a7ab46049 | [
"BSD-3-Clause"
] | 1 | 2021-11-24T19:58:25.000Z | 2021-11-24T19:58:25.000Z | import sys
import uuid
import ujson
import pytest
import time as ttime
from mock import patch
from conftrak.ignition import Application, parse_configuration
from conftrak.server.engine import (db_connect)
from conftrak.server.utils import ConfTrakException
from .utils import testing_config as TESTING_CONFIG
@pytest.fixture
def app():
db = db_connect(TESTING_CONFIG['database'], TESTING_CONFIG['mongohost'],
TESTING_CONFIG['mongoport'])
return Application(db)
def test_parse_configuration():
testargs = ["prog", "--database", "conftrak", "--mongo-host", "localhost",
"--mongo-port", "27017", #"--service-port", "7771",
"--timezone", "US/Eastern"]
with patch.object(sys, 'argv', testargs):
config = parse_configuration(dict())
assert config['service_port'] == 7771
def test_db_connect():
db_connect(TESTING_CONFIG['database'], TESTING_CONFIG['mongohost'],
TESTING_CONFIG['mongoport'])
with pytest.raises(ConfTrakException):
db_connect(TESTING_CONFIG['database'], 'invalid_mongo_host',
TESTING_CONFIG['mongoport'])
@pytest.mark.gen_test
def test_configuration_post(http_server, http_client, base_url):
payload = dict(beamline_id='test_bl', uid=str(uuid.uuid4()),
active=True, time=ttime.time(), key='test_config',
params=dict(param1='test1', param2='test2'))
url = '{}/{}'.format(base_url, 'configuration')
body = ujson.dumps(payload)
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
assert response.code == 200
# Test submiting a list
payload = [dict(beamline_id='test_bl', uid=str(uuid.uuid4()),
active=True, time=ttime.time(), key='test_config',
params=dict(param1='test1', param2='test2'))]
url = '{}/{}'.format(base_url, 'configuration')
body = ujson.dumps(payload)
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
assert response.code == 200
# Test invalid schema
payload = dict(a=1, b=2)
url = '{}/{}'.format(base_url, 'configuration')
body = ujson.dumps(payload)
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
assert response.code == 400
payload = [dict(a=1, b=2)]
url = '{}/{}'.format(base_url, 'configuration')
body = ujson.dumps(payload)
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
assert response.code == 400
# Test invalid payload format. The handler expects list or dict
payload = 1
url = '{}/{}'.format(base_url, 'configuration')
body = ujson.dumps(payload)
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
assert response.code == 500
@pytest.mark.gen_test
def test_configuration_get(http_server, http_client, base_url):
# Insert the test data
payload_insert = dict(beamline_id='test_bl', uid=str(uuid.uuid4()),
active=True, time=ttime.time(), key='test_config',
params=dict(param1='test1', param2='test2'))
url = '{}/{}'.format(base_url, 'configuration')
body = ujson.dumps(payload_insert)
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
url = '{}/{}'.format(base_url, 'configuration')
body = None
# Test valid query
payload = ujson.dumps(dict(active_only=True))
g_url = url + "?" + payload
response = yield http_client.fetch(g_url, method='GET', body=body,
raise_error=False)
assert response.code == 200
# Test valid query with limit on number of rows
payload = ujson.dumps(dict(active_only=False, num=1))
g_url = url + "?" + payload
response = yield http_client.fetch(g_url, method='GET', body=body,
raise_error=False)
assert response.code == 200
# Test valid query without results on DB
payload = ujson.dumps(dict(active_only=False, uid="-1"))
g_url = url + "?" + payload
response = yield http_client.fetch(g_url, method='GET', body=body,
raise_error=False)
assert response.code == 500
# Test invalid query
payload = ujson.dumps({"$uid":"{'non_existent':1}", "num":1})
g_url = url + "?" + payload
response = yield http_client.fetch(g_url, method='GET', body=body,
raise_error=False)
print("Response: ", response)
assert response.code == 500
@pytest.mark.gen_test
def test_configuration_put(http_server, http_client, base_url):
# Insert the test data
payload_insert = dict(beamline_id='test_bl', uid=str(uuid.uuid4()),
active=True, time=ttime.time(), key='test_config',
params=dict(param1='test1', param2='test2'))
url = '{}/{}'.format(base_url, 'configuration')
body = ujson.dumps(payload_insert)
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
# Update the key field
payload_update = dict(query={'uid': payload_insert['uid']},
update={'key': 'updated_key'})
body = ujson.dumps(payload_update)
response = yield http_client.fetch(url, method='PUT', body=body,
raise_error=False)
assert response.code == 200
# Test invalid arguments. Query and Update are required
payload_update = dict(update={'key': 'updated_key'})
body = ujson.dumps(payload_update)
response = yield http_client.fetch(url, method='PUT', body=body,
raise_error=False)
assert response.code == 500
# Test invalid update. Updates on UID and Time are not allowed
payload_update = dict(query={'uid': payload_insert['uid']},
update={'uid': 'this_must_be_invalid'})
body = ujson.dumps(payload_update)
response = yield http_client.fetch(url, method='PUT', body=body,
raise_error=False)
assert response.code == 500
payload_update = dict(query={'uid': payload_insert['uid']},
update={'time': ttime.time()})
body = ujson.dumps(payload_update)
response = yield http_client.fetch(url, method='PUT', body=body,
raise_error=False)
assert response.code == 500
@pytest.mark.gen_test
def test_configuration_delete(http_server, http_client, base_url):
payload_insert = dict(beamline_id='test_bl', uid=str(uuid.uuid4()),
active=True, time=ttime.time(), key='test_config',
params=dict(param1='test1', param2='test2'))
url = '{}/{}'.format(base_url, 'configuration')
body = ujson.dumps(payload_insert)
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
# Test a valid delete
payload_delete = dict(uid_list=[payload_insert['uid']])
d_url = url+"?"+ujson.dumps(payload_delete)
body = None
response = yield http_client.fetch(d_url, method='DELETE', body=body,
raise_error=False)
assert response.code == 200
# Test delete sending a single uid, not a list
payload_delete = dict(uid_list=payload_insert['uid'])
d_url = url+"?"+ujson.dumps(payload_delete)
body = None
response = yield http_client.fetch(d_url, method='DELETE', body=body,
raise_error=False)
assert response.code == 200
# Test delete must fail if a list of uids is not given.
payload_delete = dict(my_param=[payload_insert['uid']])
d_url = url+"?"+ujson.dumps(payload_delete)
body = None
response = yield http_client.fetch(d_url, method='DELETE', body=body,
raise_error=False)
assert response.code == 500
@pytest.mark.gen_test
def test_schema_get(http_server, http_client, base_url):
url = '{}/{}'.format(base_url, 'schema')
body = None
url = url + '?'+ujson.dumps('configuration')
response = yield http_client.fetch(url, method='GET', body=body,
raise_error=False)
assert response.code == 200
@pytest.mark.gen_test
def test_schema_put(http_server, http_client, base_url):
url = '{}/{}'.format(base_url, 'schema')
body = 'configuration'
response = yield http_client.fetch(url, method='PUT', body=body,
raise_error=False)
assert response.code == 405
@pytest.mark.gen_test
def test_schema_post(http_server, http_client, base_url):
url = '{}/{}'.format(base_url, 'schema')
body = 'configuration'
response = yield http_client.fetch(url, method='POST', body=body,
raise_error=False)
assert response.code == 405
| 39.367089 | 78 | 0.603644 | 1,104 | 9,330 | 4.931159 | 0.129529 | 0.05327 | 0.068699 | 0.092946 | 0.806392 | 0.800882 | 0.789126 | 0.743387 | 0.735856 | 0.709956 | 0 | 0.015265 | 0.269775 | 9,330 | 236 | 79 | 39.533898 | 0.783796 | 0.058735 | 0 | 0.706215 | 0 | 0 | 0.087611 | 0 | 0 | 0 | 0 | 0 | 0.112994 | 1 | 0.056497 | false | 0 | 0.056497 | 0 | 0.118644 | 0.00565 | 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 |
fac682496f20813d9e0a1ed427c8146945013f8c | 46 | py | Python | tests/bio/test_bio.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 42 | 2021-06-11T17:11:29.000Z | 2022-03-29T11:51:44.000Z | tests/bio/test_bio.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 19 | 2021-06-04T11:36:11.000Z | 2022-01-22T20:13:39.000Z | tests/bio/test_bio.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 5 | 2021-11-21T21:01:11.000Z | 2022-02-28T07:20:03.000Z | from bio_setup import *
def test1():
pass | 11.5 | 23 | 0.673913 | 7 | 46 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.23913 | 46 | 4 | 24 | 11.5 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
87b4388e8998e3c44ac942b19eae8dc9252dda97 | 44,269 | py | Python | src/Ophis/Opcodes.py | cjhurst/Ophis | e53a5557a2e9ebfbb85200396f42479d3d53c227 | [
"Unlicense"
] | 66 | 2015-01-07T18:37:30.000Z | 2022-03-14T10:17:11.000Z | src/Ophis/Opcodes.py | cjhurst/Ophis | e53a5557a2e9ebfbb85200396f42479d3d53c227 | [
"Unlicense"
] | 6 | 2015-01-06T01:59:13.000Z | 2019-06-20T03:13:43.000Z | src/Ophis/Opcodes.py | cjhurst/Ophis | e53a5557a2e9ebfbb85200396f42479d3d53c227 | [
"Unlicense"
] | 12 | 2015-01-07T18:37:33.000Z | 2021-11-28T06:36:25.000Z | """Opcodes file.
Tables for the assembly of 6502-family instructions, mapping
opcodes and addressing modes to binary instructions."""
# Copyright 2002-2014 Michael C. Martin and additional contributors.
# You may use, modify, and distribute this file under the MIT
# license: See README for details.
# DO NOT EDIT THIS FILE DIRECTLY.
# This file was automatically generated by gensets.py based on the
# the tables in tools/opcodes. Edit those tables, not these.
# Names of addressing modes
modes = ["Implied",
"Immediate",
"ImmediateLong",
"Zero Page",
"Zero Page, X",
"Zero Page, Y",
"Absolute",
"Absolute, X",
"Absolute, Y",
"(Absolute)",
"(Absolute, X)",
"(Absolute), Y",
"(Absolute), Z",
"(Zero Page)",
"(Zero Page, X)",
"(Zero Page), Y",
"(Zero Page, SP), Y",
"(Zero Page), Z",
"Relative",
"RelativeLong",
"Zero Page, Relative"]
# Lengths of the argument
lengths = [0, 1, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2]
opcodes = {
'adc': [None, 0x69, None, 0x65, 0x75, None, 0x6D, 0x7D,
0x79, None, None, None, None, None, 0x61, 0x71, None, None, None, None, None],
'adc.w': [None, None, None, None, None, None, 0x6D, 0x7D,
0x79, None, None, None, None, None, None, None, None, None, None, None, None],
'and': [None, 0x29, None, 0x25, 0x35, None, 0x2D, 0x3D,
0x39, None, None, None, None, None, 0x21, 0x31, None, None, None, None, None],
'and.w': [None, None, None, None, None, None, 0x2D, 0x3D,
0x39, None, None, None, None, None, None, None, None, None, None, None, None],
'asl': [0x0A, None, None, 0x06, 0x16, None, 0x0E, 0x1E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'asl.w': [None, None, None, None, None, None, 0x0E, 0x1E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'bcc': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x90, None, None],
'bcs': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0xB0, None, None],
'beq': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0xF0, None, None],
'bit': [None, None, None, 0x24, None, None, 0x2C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'bit.w': [None, None, None, None, None, None, 0x2C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'bmi': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x30, None, None],
'bne': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0xD0, None, None],
'bpl': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x10, None, None],
'brk': [0x00, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'bvc': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x50, None, None],
'bvs': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x70, None, None],
'clc': [0x18, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'cld': [0xD8, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'cli': [0x58, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'clv': [0xB8, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'cmp': [None, 0xC9, None, 0xC5, 0xD5, None, 0xCD, 0xDD,
0xD9, None, None, None, None, None, 0xC1, 0xD1, None, None, None, None, None],
'cmp.w': [None, None, None, None, None, None, 0xCD, 0xDD,
0xD9, None, None, None, None, None, None, None, None, None, None, None, None],
'cpx': [None, 0xE0, None, 0xE4, None, None, 0xEC, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'cpx.w': [None, None, None, None, None, None, 0xEC, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'cpy': [None, 0xC0, None, 0xC4, None, None, 0xCC, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'cpy.w': [None, None, None, None, None, None, 0xCC, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dec': [None, None, None, 0xC6, 0xD6, None, 0xCE, 0xDE,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dec.w': [None, None, None, None, None, None, 0xCE, 0xDE,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dex': [0xCA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dey': [0x88, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'eor': [None, 0x49, None, 0x45, 0x55, None, 0x4D, 0x5D,
0x59, None, None, None, None, None, 0x41, 0x51, None, None, None, None, None],
'eor.w': [None, None, None, None, None, None, 0x4D, 0x5D,
0x59, None, None, None, None, None, None, None, None, None, None, None, None],
'inc': [None, None, None, 0xE6, 0xF6, None, 0xEE, 0xFE,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'inc.w': [None, None, None, None, None, None, 0xEE, 0xFE,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'inx': [0xE8, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'iny': [0xC8, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'jmp': [None, None, None, None, None, None, 0x4C, None,
None, 0x6C, None, None, None, None, None, None, None, None, None, None, None],
'jsr': [None, None, None, None, None, None, 0x20, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'lda': [None, 0xA9, None, 0xA5, 0xB5, None, 0xAD, 0xBD,
0xB9, None, None, None, None, None, 0xA1, 0xB1, None, None, None, None, None],
'lda.w': [None, None, None, None, None, None, 0xAD, 0xBD,
0xB9, None, None, None, None, None, None, None, None, None, None, None, None],
'ldx': [None, 0xA2, None, 0xA6, None, 0xB6, 0xAE, None,
0xBE, None, None, None, None, None, None, None, None, None, None, None, None],
'ldx.w': [None, None, None, None, None, None, 0xAE, None,
0xBE, None, None, None, None, None, None, None, None, None, None, None, None],
'ldy': [None, 0xA0, None, 0xA4, 0xB4, None, 0xAC, 0xBC,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'ldy.w': [None, None, None, None, None, None, 0xAC, 0xBC,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'lsr': [0x4A, None, None, 0x46, 0x56, None, 0x4E, 0x5E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'lsr.w': [None, None, None, None, None, None, 0x4E, 0x5E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'nop': [0xEA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'ora': [None, 0x09, None, 0x05, 0x15, None, 0x0D, 0x1D,
0x19, None, None, None, None, None, 0x01, 0x11, None, None, None, None, None],
'ora.w': [None, None, None, None, None, None, 0x0D, 0x1D,
0x19, None, None, None, None, None, None, None, None, None, None, None, None],
'pha': [0x48, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'php': [0x08, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'pla': [0x68, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'plp': [0x28, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rol': [0x2A, None, None, 0x26, 0x36, None, 0x2E, 0x3E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rol.w': [None, None, None, None, None, None, 0x2E, 0x3E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'ror': [0x6A, None, None, 0x66, 0x76, None, 0x6E, 0x7E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'ror.w': [None, None, None, None, None, None, 0x6E, 0x7E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rti': [0x40, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rts': [0x60, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sbc': [None, 0xE9, None, 0xE5, 0xF5, None, 0xED, 0xFD,
0xF9, None, None, None, None, None, 0xE1, 0xF1, None, None, None, None, None],
'sbc.w': [None, None, None, None, None, None, 0xED, 0xFD,
0xF9, None, None, None, None, None, None, None, None, None, None, None, None],
'sec': [0x38, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sed': [0xF8, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sei': [0x78, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sta': [None, None, None, 0x85, 0x95, None, 0x8D, 0x9D,
0x99, None, None, None, None, None, 0x81, 0x91, None, None, None, None, None],
'sta.w': [None, None, None, None, None, None, 0x8D, 0x9D,
0x99, None, None, None, None, None, None, None, None, None, None, None, None],
'stx': [None, None, None, 0x86, None, 0x96, 0x8E, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'stx.w': [None, None, None, None, None, None, 0x8E, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sty': [None, None, None, 0x84, 0x94, None, 0x8C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sty.w': [None, None, None, None, None, None, 0x8C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tax': [0xAA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tay': [0xA8, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tsx': [0xBA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'txa': [0x8A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'txs': [0x9A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tya': [0x98, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
}
undocops = {
'anc': [None, 0x0B, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'ane': [None, 0x8B, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'arr': [None, 0x6B, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'asr': [None, 0x4B, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dcp': [None, None, None, 0xC7, 0xD7, None, 0xCF, 0xDF,
0xDB, None, None, None, None, None, 0xC3, 0xD3, None, None, None, None, None],
'isb': [None, None, None, 0xE7, 0xF7, None, 0xEF, 0xFF,
0xFB, None, None, None, None, None, 0xE3, 0xF3, None, None, None, None, None],
'las': [None, None, None, None, None, None, None, None,
0xBB, None, None, None, None, None, None, None, None, None, None, None, None],
'lax': [None, None, None, 0xA7, None, 0xB7, 0xAF, None,
0xBF, None, None, None, None, None, 0xA3, 0xB3, None, None, None, None, None],
'lxa': [None, 0xAB, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'nop': [0xEA, None, None, 0x04, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rla': [None, None, None, 0x27, 0x37, None, 0x2F, 0x3F,
0x3B, None, None, None, None, None, 0x23, 0x33, None, None, None, None, None],
'rra': [None, None, None, 0x67, 0x77, None, 0x6F, 0x7F,
0x7B, None, None, None, None, None, 0x63, 0x73, None, None, None, None, None],
'sax': [None, None, None, 0x87, None, 0x97, 0x8F, None,
None, None, None, None, None, None, 0x83, None, None, None, None, None, None],
'sbx': [None, 0xCB, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sha': [None, None, None, None, None, None, None, None,
0x9F, None, None, None, None, None, None, 0x93, None, None, None, None, None],
'shs': [None, None, None, None, None, None, None, None,
0x9B, None, None, None, None, None, None, None, None, None, None, None, None],
'shx': [None, None, None, None, None, None, None, None,
0x9E, None, None, None, None, None, None, None, None, None, None, None, None],
'slo': [None, None, None, 0x07, 0x17, None, 0x0F, 0x1F,
0x1B, None, None, None, None, None, 0x03, 0x13, None, None, None, None, None],
'sre': [None, None, None, 0x47, 0x57, None, 0x4F, 0x5F,
0x5B, None, None, None, None, None, 0x43, 0x53, None, None, None, None, None],
}
c02extensions = {
'adc': [None, 0x69, None, 0x65, 0x75, None, 0x6D, 0x7D,
0x79, None, None, None, None, 0x72, 0x61, 0x71, None, None, None, None, None],
'and': [None, 0x29, None, 0x25, 0x35, None, 0x2D, 0x3D,
0x39, None, None, None, None, 0x32, 0x21, 0x31, None, None, None, None, None],
'bbr0': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x0F],
'bbr1': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x1F],
'bbr2': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x2F],
'bbr3': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x3F],
'bbr4': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x4F],
'bbr5': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x5F],
'bbr6': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x6F],
'bbr7': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x7F],
'bbs0': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x8F],
'bbs1': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x9F],
'bbs2': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xAF],
'bbs3': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xBF],
'bbs4': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xCF],
'bbs5': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xDF],
'bbs6': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xEF],
'bbs7': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xFF],
'bit': [None, 0x89, None, 0x24, 0x34, None, 0x2C, 0x3C,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'bra': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x80, None, None],
'cmp': [None, 0xC9, None, 0xC5, 0xD5, None, 0xCD, 0xDD,
0xD9, None, None, None, None, 0xD2, 0xC1, 0xD1, None, None, None, None, None],
'dea': [0x3A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dec': [0x3A, None, None, 0xC6, 0xD6, None, 0xCE, 0xDE,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'eor': [None, 0x49, None, 0x45, 0x55, None, 0x4D, 0x5D,
0x59, None, None, None, None, 0x52, 0x41, 0x51, None, None, None, None, None],
'ina': [0x1A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'inc': [0x1A, None, None, 0xE6, 0xF6, None, 0xEE, 0xFE,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'jmp': [None, None, None, None, None, None, 0x4C, None,
None, 0x6C, 0x7C, None, None, None, None, None, None, None, None, None, None],
'lda': [None, 0xA9, None, 0xA5, 0xB5, None, 0xAD, 0xBD,
0xB9, None, None, None, None, 0xB2, 0xA1, 0xB1, None, None, None, None, None],
'ora': [None, 0x09, None, 0x05, 0x15, None, 0x0D, 0x1D,
0x19, None, None, None, None, 0x12, 0x01, 0x11, None, None, None, None, None],
'phx': [0xDA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'phy': [0x5A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'plx': [0xFA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'ply': [0x7A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb0': [None, None, None, 0x07, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb1': [None, None, None, 0x17, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb2': [None, None, None, 0x27, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb3': [None, None, None, 0x37, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb4': [None, None, None, 0x47, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb5': [None, None, None, 0x57, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb6': [None, None, None, 0x67, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb7': [None, None, None, 0x77, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sbc': [None, 0xE9, None, 0xE5, 0xF5, None, 0xED, 0xFD,
0xF9, None, None, None, None, 0xF2, 0xE1, 0xF1, None, None, None, None, None],
'smb0': [None, None, None, 0x87, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb1': [None, None, None, 0x97, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb2': [None, None, None, 0xA7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb3': [None, None, None, 0xB7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb4': [None, None, None, 0xC7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb5': [None, None, None, 0xD7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb6': [None, None, None, 0xE7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb7': [None, None, None, 0xF7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sta': [None, None, None, 0x85, 0x95, None, 0x8D, 0x9D,
0x99, None, None, None, None, 0x92, 0x81, 0x91, None, None, None, None, None],
'stp': [0xDB, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'stz': [None, None, None, 0x64, 0x74, None, 0x9C, 0x9E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'stz.w': [None, None, None, None, None, None, 0x9C, 0x9E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'trb': [None, None, None, 0x14, None, None, 0x1C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'trb.w': [None, None, None, None, None, None, 0x1C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tsb': [None, None, None, 0x04, None, None, 0x0C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tsb.w': [None, None, None, None, None, None, 0x0C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'wai': [0xCB, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
}
csg4502extensions = {
'adc': [None, 0x69, None, 0x65, 0x75, None, 0x6D, 0x7D,
0x79, None, None, None, None, None, 0x61, 0x71, None, 0x72, None, None, None],
'and': [None, 0x29, None, 0x25, 0x35, None, 0x2D, 0x3D,
0x39, None, None, None, None, None, 0x21, 0x31, None, 0x32, None, None, None],
'asr': [0x43, None, None, None, 0x54, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'asw': [None, None, None, None, None, None, 0xCB, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'bbr0': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x0F],
'bbr1': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x1F],
'bbr2': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x2F],
'bbr3': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x3F],
'bbr4': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x4F],
'bbr5': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x5F],
'bbr6': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x6F],
'bbr7': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x7F],
'bbs0': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x8F],
'bbs1': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0x9F],
'bbs2': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xAF],
'bbs3': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xBF],
'bbs4': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xCF],
'bbs5': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xDF],
'bbs6': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xEF],
'bbs7': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, 0xFF],
'bcc': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x90, 0x93, None],
'bcs': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0xB0, 0xB3, None],
'beq': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0xF0, 0xF3, None],
'bit': [None, 0x89, None, 0x24, 0x34, None, 0x2C, 0x3C,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'bmi': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x30, 0x33, None],
'bne': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0xD0, 0xD3, None],
'bpl': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x10, 0x13, None],
'bra': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x80, 0x83, None],
'bsr': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, 0x63, None],
'bvc': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x50, 0x53, None],
'bvs': [None, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, 0x70, 0x73, None],
'cle': [0x02, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'cmp': [None, 0xC9, None, 0xC5, 0xD5, None, 0xCD, 0xDD,
0xD9, None, None, None, None, None, 0xC1, 0xD1, None, 0xD2, None, None, None],
'cpz': [None, 0xC2, None, 0xD4, None, None, 0xDC, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dea': [0x3A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dec': [0x3A, None, None, 0xC6, 0xD6, None, 0xCE, 0xDE,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dew': [None, None, None, 0xC3, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'dez': [0x3B, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'eom': [0xEA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'eor': [None, 0x49, None, 0x45, 0x55, None, 0x4D, 0x5D,
0x59, None, None, None, None, None, 0x41, 0x51, None, 0x52, None, None, None],
'inc': [0x1A, None, None, 0xE6, 0xF6, None, 0xEE, 0xFE,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'inw': [None, None, None, 0xE3, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'inz': [0x1B, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'jmp': [None, None, None, None, None, None, 0x4C, None,
None, 0x6C, 0x7C, None, None, None, None, None, None, None, None, None, None],
'jsr': [None, None, None, None, None, None, 0x20, None,
None, 0x22, 0x23, None, None, None, None, None, None, None, None, None, None],
'lda': [None, 0xA9, None, 0xA5, 0xB5, None, 0xAD, 0xBD,
0xB9, None, None, None, None, None, 0xA1, 0xB1, 0xE2, 0xB2, None, None, None],
'ldz': [None, 0xA3, None, None, None, None, 0xAB, 0xBB,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'map': [0x5C, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'neg': [0x42, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'ora': [None, 0x09, None, 0x05, 0x15, None, 0x0D, 0x1D,
0x19, None, None, None, None, None, 0x01, 0x11, None, 0x12, None, None, None],
'phw': [None, None, 0xF4, None, None, None, 0xFC, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'phx': [0xDA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'phy': [0x5A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'phz': [0xDB, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'plx': [0xFA, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'ply': [0x7A, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'plz': [0xFB, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb0': [None, None, None, 0x07, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb1': [None, None, None, 0x17, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb2': [None, None, None, 0x27, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb3': [None, None, None, 0x37, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb4': [None, None, None, 0x47, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb5': [None, None, None, 0x57, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb6': [None, None, None, 0x67, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rmb7': [None, None, None, 0x77, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'row': [None, None, None, None, None, None, 0xEB, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'rts': [0x60, 0x62, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sbc': [None, 0xE9, None, 0xE5, 0xF5, None, 0xED, 0xFD,
0xF9, None, None, None, None, None, 0xE1, 0xF1, None, 0xF2, None, None, None],
'see': [0x03, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb0': [None, None, None, 0x87, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb1': [None, None, None, 0x97, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb2': [None, None, None, 0xA7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb3': [None, None, None, 0xB7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb4': [None, None, None, 0xC7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb5': [None, None, None, 0xD7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb6': [None, None, None, 0xE7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'smb7': [None, None, None, 0xF7, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'sta': [None, None, None, 0x85, 0x95, None, 0x8D, 0x9D,
0x99, None, None, None, None, None, 0x81, 0x91, 0x82, 0x92, None, None, None],
'stx': [None, None, None, 0x86, None, 0x96, 0x8E, None,
0x9B, None, None, None, None, None, None, None, None, None, None, None, None],
'sty': [None, None, None, 0x84, 0x94, None, 0x8C, 0x8B,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'stz': [None, None, None, 0x64, 0x74, None, 0x9C, 0x9E,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tab': [0x5B, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'taz': [0x4B, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tba': [0x7B, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'trb': [None, None, None, 0x14, None, None, 0x1C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tsb': [None, None, None, 0x04, None, None, 0x0C, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tsy': [0x0B, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tys': [0x2B, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
'tza': [0x6B, None, None, None, None, None, None, None,
None, None, None, None, None, None, None, None, None, None, None, None, None],
}
| 82.437616 | 108 | 0.496849 | 5,540 | 44,269 | 3.970217 | 0.084657 | 1.44942 | 1.953717 | 2.333621 | 0.921164 | 0.91048 | 0.897204 | 0.859923 | 0.853376 | 0.84592 | 0 | 0.049991 | 0.355644 | 44,269 | 536 | 109 | 82.591418 | 0.721087 | 0.011182 | 0 | 0.608108 | 0 | 0 | 0.025027 | 0 | 0 | 0 | 0.054853 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
87c9d4a4585e5b4469275be037e91f437a768c5a | 27,042 | py | Python | sdk/python/pulumi_snowflake/oauth_integration.py | Hacker0x01/pulumi-snowflake | f6ebcf2c3f73b103a7c2001fae231998ce1323b2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_snowflake/oauth_integration.py | Hacker0x01/pulumi-snowflake | f6ebcf2c3f73b103a7c2001fae231998ce1323b2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_snowflake/oauth_integration.py | Hacker0x01/pulumi-snowflake | f6ebcf2c3f73b103a7c2001fae231998ce1323b2 | [
"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__ = ['OauthIntegrationArgs', 'OauthIntegration']
@pulumi.input_type
class OauthIntegrationArgs:
def __init__(__self__, *,
oauth_client: pulumi.Input[str],
blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
comment: Optional[pulumi.Input[str]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
oauth_issue_refresh_tokens: Optional[pulumi.Input[bool]] = None,
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a OauthIntegration resource.
:param pulumi.Input[str] oauth_client: Specifies the OAuth client type.
:param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
:param pulumi.Input[bool] enabled: Specifies whether this OAuth integration is enabled or disabled.
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
:param pulumi.Input[bool] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
:param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
"""
pulumi.set(__self__, "oauth_client", oauth_client)
if blocked_roles_lists is not None:
pulumi.set(__self__, "blocked_roles_lists", blocked_roles_lists)
if comment is not None:
pulumi.set(__self__, "comment", comment)
if enabled is not None:
pulumi.set(__self__, "enabled", enabled)
if name is not None:
pulumi.set(__self__, "name", name)
if oauth_issue_refresh_tokens is not None:
pulumi.set(__self__, "oauth_issue_refresh_tokens", oauth_issue_refresh_tokens)
if oauth_refresh_token_validity is not None:
pulumi.set(__self__, "oauth_refresh_token_validity", oauth_refresh_token_validity)
if oauth_use_secondary_roles is not None:
pulumi.set(__self__, "oauth_use_secondary_roles", oauth_use_secondary_roles)
@property
@pulumi.getter(name="oauthClient")
def oauth_client(self) -> pulumi.Input[str]:
"""
Specifies the OAuth client type.
"""
return pulumi.get(self, "oauth_client")
@oauth_client.setter
def oauth_client(self, value: pulumi.Input[str]):
pulumi.set(self, "oauth_client", value)
@property
@pulumi.getter(name="blockedRolesLists")
def blocked_roles_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
"""
return pulumi.get(self, "blocked_roles_lists")
@blocked_roles_lists.setter
def blocked_roles_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "blocked_roles_lists", value)
@property
@pulumi.getter
def comment(self) -> Optional[pulumi.Input[str]]:
"""
Specifies a comment for the OAuth integration.
"""
return pulumi.get(self, "comment")
@comment.setter
def comment(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "comment", value)
@property
@pulumi.getter
def enabled(self) -> Optional[pulumi.Input[bool]]:
"""
Specifies whether this OAuth integration is enabled or disabled.
"""
return pulumi.get(self, "enabled")
@enabled.setter
def enabled(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enabled", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="oauthIssueRefreshTokens")
def oauth_issue_refresh_tokens(self) -> Optional[pulumi.Input[bool]]:
"""
Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
"""
return pulumi.get(self, "oauth_issue_refresh_tokens")
@oauth_issue_refresh_tokens.setter
def oauth_issue_refresh_tokens(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "oauth_issue_refresh_tokens", value)
@property
@pulumi.getter(name="oauthRefreshTokenValidity")
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
"""
Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
"""
return pulumi.get(self, "oauth_refresh_token_validity")
@oauth_refresh_token_validity.setter
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "oauth_refresh_token_validity", value)
@property
@pulumi.getter(name="oauthUseSecondaryRoles")
def oauth_use_secondary_roles(self) -> Optional[pulumi.Input[str]]:
"""
Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
"""
return pulumi.get(self, "oauth_use_secondary_roles")
@oauth_use_secondary_roles.setter
def oauth_use_secondary_roles(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "oauth_use_secondary_roles", value)
@pulumi.input_type
class _OauthIntegrationState:
def __init__(__self__, *,
blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
comment: Optional[pulumi.Input[str]] = None,
created_on: Optional[pulumi.Input[str]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
oauth_client: Optional[pulumi.Input[str]] = None,
oauth_issue_refresh_tokens: Optional[pulumi.Input[bool]] = None,
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering OauthIntegration resources.
:param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
:param pulumi.Input[str] created_on: Date and time when the OAuth integration was created.
:param pulumi.Input[bool] enabled: Specifies whether this OAuth integration is enabled or disabled.
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
:param pulumi.Input[str] oauth_client: Specifies the OAuth client type.
:param pulumi.Input[bool] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
:param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
"""
if blocked_roles_lists is not None:
pulumi.set(__self__, "blocked_roles_lists", blocked_roles_lists)
if comment is not None:
pulumi.set(__self__, "comment", comment)
if created_on is not None:
pulumi.set(__self__, "created_on", created_on)
if enabled is not None:
pulumi.set(__self__, "enabled", enabled)
if name is not None:
pulumi.set(__self__, "name", name)
if oauth_client is not None:
pulumi.set(__self__, "oauth_client", oauth_client)
if oauth_issue_refresh_tokens is not None:
pulumi.set(__self__, "oauth_issue_refresh_tokens", oauth_issue_refresh_tokens)
if oauth_refresh_token_validity is not None:
pulumi.set(__self__, "oauth_refresh_token_validity", oauth_refresh_token_validity)
if oauth_use_secondary_roles is not None:
pulumi.set(__self__, "oauth_use_secondary_roles", oauth_use_secondary_roles)
@property
@pulumi.getter(name="blockedRolesLists")
def blocked_roles_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
"""
return pulumi.get(self, "blocked_roles_lists")
@blocked_roles_lists.setter
def blocked_roles_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "blocked_roles_lists", value)
@property
@pulumi.getter
def comment(self) -> Optional[pulumi.Input[str]]:
"""
Specifies a comment for the OAuth integration.
"""
return pulumi.get(self, "comment")
@comment.setter
def comment(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "comment", value)
@property
@pulumi.getter(name="createdOn")
def created_on(self) -> Optional[pulumi.Input[str]]:
"""
Date and time when the OAuth integration was created.
"""
return pulumi.get(self, "created_on")
@created_on.setter
def created_on(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "created_on", value)
@property
@pulumi.getter
def enabled(self) -> Optional[pulumi.Input[bool]]:
"""
Specifies whether this OAuth integration is enabled or disabled.
"""
return pulumi.get(self, "enabled")
@enabled.setter
def enabled(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enabled", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="oauthClient")
def oauth_client(self) -> Optional[pulumi.Input[str]]:
"""
Specifies the OAuth client type.
"""
return pulumi.get(self, "oauth_client")
@oauth_client.setter
def oauth_client(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "oauth_client", value)
@property
@pulumi.getter(name="oauthIssueRefreshTokens")
def oauth_issue_refresh_tokens(self) -> Optional[pulumi.Input[bool]]:
"""
Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
"""
return pulumi.get(self, "oauth_issue_refresh_tokens")
@oauth_issue_refresh_tokens.setter
def oauth_issue_refresh_tokens(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "oauth_issue_refresh_tokens", value)
@property
@pulumi.getter(name="oauthRefreshTokenValidity")
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
"""
Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
"""
return pulumi.get(self, "oauth_refresh_token_validity")
@oauth_refresh_token_validity.setter
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "oauth_refresh_token_validity", value)
@property
@pulumi.getter(name="oauthUseSecondaryRoles")
def oauth_use_secondary_roles(self) -> Optional[pulumi.Input[str]]:
"""
Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
"""
return pulumi.get(self, "oauth_use_secondary_roles")
@oauth_use_secondary_roles.setter
def oauth_use_secondary_roles(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "oauth_use_secondary_roles", value)
class OauthIntegration(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
comment: Optional[pulumi.Input[str]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
oauth_client: Optional[pulumi.Input[str]] = None,
oauth_issue_refresh_tokens: Optional[pulumi.Input[bool]] = None,
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
## Example Usage
```python
import pulumi
import pulumi_snowflake as snowflake
tableau_desktop = snowflake.OauthIntegration("tableauDesktop",
blocked_roles_lists=["SYSADMIN"],
enabled=True,
oauth_client="TABLEAU_DESKTOP",
oauth_issue_refresh_tokens=True,
oauth_refresh_token_validity=3600)
```
## Import
```sh
$ pulumi import snowflake:index/oauthIntegration:OauthIntegration example name
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[Sequence[pulumi.Input[str]]] blocked_roles_lists: List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
:param pulumi.Input[bool] enabled: Specifies whether this OAuth integration is enabled or disabled.
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
:param pulumi.Input[str] oauth_client: Specifies the OAuth client type.
:param pulumi.Input[bool] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
:param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: OauthIntegrationArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
## Example Usage
```python
import pulumi
import pulumi_snowflake as snowflake
tableau_desktop = snowflake.OauthIntegration("tableauDesktop",
blocked_roles_lists=["SYSADMIN"],
enabled=True,
oauth_client="TABLEAU_DESKTOP",
oauth_issue_refresh_tokens=True,
oauth_refresh_token_validity=3600)
```
## Import
```sh
$ pulumi import snowflake:index/oauthIntegration:OauthIntegration example name
```
:param str resource_name: The name of the resource.
:param OauthIntegrationArgs 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(OauthIntegrationArgs, 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,
blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
comment: Optional[pulumi.Input[str]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
oauth_client: Optional[pulumi.Input[str]] = None,
oauth_issue_refresh_tokens: Optional[pulumi.Input[bool]] = None,
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
oauth_use_secondary_roles: 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__ = OauthIntegrationArgs.__new__(OauthIntegrationArgs)
__props__.__dict__["blocked_roles_lists"] = blocked_roles_lists
__props__.__dict__["comment"] = comment
__props__.__dict__["enabled"] = enabled
__props__.__dict__["name"] = name
if oauth_client is None and not opts.urn:
raise TypeError("Missing required property 'oauth_client'")
__props__.__dict__["oauth_client"] = oauth_client
__props__.__dict__["oauth_issue_refresh_tokens"] = oauth_issue_refresh_tokens
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
__props__.__dict__["oauth_use_secondary_roles"] = oauth_use_secondary_roles
__props__.__dict__["created_on"] = None
super(OauthIntegration, __self__).__init__(
'snowflake:index/oauthIntegration:OauthIntegration',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
blocked_roles_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
comment: Optional[pulumi.Input[str]] = None,
created_on: Optional[pulumi.Input[str]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
oauth_client: Optional[pulumi.Input[str]] = None,
oauth_issue_refresh_tokens: Optional[pulumi.Input[bool]] = None,
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
oauth_use_secondary_roles: Optional[pulumi.Input[str]] = None) -> 'OauthIntegration':
"""
Get an existing OauthIntegration 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]]] blocked_roles_lists: List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
:param pulumi.Input[str] comment: Specifies a comment for the OAuth integration.
:param pulumi.Input[str] created_on: Date and time when the OAuth integration was created.
:param pulumi.Input[bool] enabled: Specifies whether this OAuth integration is enabled or disabled.
:param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
:param pulumi.Input[str] oauth_client: Specifies the OAuth client type.
:param pulumi.Input[bool] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
:param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _OauthIntegrationState.__new__(_OauthIntegrationState)
__props__.__dict__["blocked_roles_lists"] = blocked_roles_lists
__props__.__dict__["comment"] = comment
__props__.__dict__["created_on"] = created_on
__props__.__dict__["enabled"] = enabled
__props__.__dict__["name"] = name
__props__.__dict__["oauth_client"] = oauth_client
__props__.__dict__["oauth_issue_refresh_tokens"] = oauth_issue_refresh_tokens
__props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
__props__.__dict__["oauth_use_secondary_roles"] = oauth_use_secondary_roles
return OauthIntegration(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="blockedRolesLists")
def blocked_roles_lists(self) -> pulumi.Output[Optional[Sequence[str]]]:
"""
List of roles that a user cannot explicitly consent to using after authenticating. Do not include ACCOUNTADMIN, ORGADMIN or SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
"""
return pulumi.get(self, "blocked_roles_lists")
@property
@pulumi.getter
def comment(self) -> pulumi.Output[Optional[str]]:
"""
Specifies a comment for the OAuth integration.
"""
return pulumi.get(self, "comment")
@property
@pulumi.getter(name="createdOn")
def created_on(self) -> pulumi.Output[str]:
"""
Date and time when the OAuth integration was created.
"""
return pulumi.get(self, "created_on")
@property
@pulumi.getter
def enabled(self) -> pulumi.Output[Optional[bool]]:
"""
Specifies whether this OAuth integration is enabled or disabled.
"""
return pulumi.get(self, "enabled")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="oauthClient")
def oauth_client(self) -> pulumi.Output[str]:
"""
Specifies the OAuth client type.
"""
return pulumi.get(self, "oauth_client")
@property
@pulumi.getter(name="oauthIssueRefreshTokens")
def oauth_issue_refresh_tokens(self) -> pulumi.Output[Optional[bool]]:
"""
Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired.
"""
return pulumi.get(self, "oauth_issue_refresh_tokens")
@property
@pulumi.getter(name="oauthRefreshTokenValidity")
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[int]]:
"""
Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
"""
return pulumi.get(self, "oauth_refresh_token_validity")
@property
@pulumi.getter(name="oauthUseSecondaryRoles")
def oauth_use_secondary_roles(self) -> pulumi.Output[Optional[str]]:
"""
Specifies whether default secondary roles set in the user properties are activated by default in the session being opened.
"""
return pulumi.get(self, "oauth_use_secondary_roles")
| 49.892989 | 288 | 0.684602 | 3,268 | 27,042 | 5.426867 | 0.064565 | 0.078771 | 0.057626 | 0.051875 | 0.895348 | 0.883338 | 0.871497 | 0.863603 | 0.852777 | 0.844263 | 0 | 0.000431 | 0.227313 | 27,042 | 541 | 289 | 49.985213 | 0.848337 | 0.36288 | 0 | 0.788274 | 1 | 0 | 0.114275 | 0.060838 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162866 | false | 0.003257 | 0.016287 | 0 | 0.276873 | 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 |
87d36a67d69b201f5377d6aa9829620800f49341 | 30,543 | py | Python | Dynamic_HD_Scripts/HD_Plots/testing/test_match_river_mouths.py | ThomasRiddick/DynamicHD | bff378a49ff6c709dc59c2d6835852e1083df20a | [
"BSD-3-Clause"
] | 1 | 2021-08-04T07:51:18.000Z | 2021-08-04T07:51:18.000Z | Dynamic_HD_Scripts/HD_Plots/testing/test_match_river_mouths.py | ThomasRiddick/DynamicHD | bff378a49ff6c709dc59c2d6835852e1083df20a | [
"BSD-3-Clause"
] | 1 | 2022-01-27T22:12:45.000Z | 2022-02-01T10:16:47.000Z | Dynamic_HD_Scripts/HD_Plots/testing/test_match_river_mouths.py | ThomasRiddick/DynamicHD | bff378a49ff6c709dc59c2d6835852e1083df20a | [
"BSD-3-Clause"
] | null | null | null | '''
Unit tests for the match_river_mouth module.
Created on Apr 24, 2016
@author: thomasriddick
'''
import unittest
import numpy as np
from HD_Plots.utilities import match_river_mouths as mtch_rm
class ConflictResolverTests(unittest.TestCase):
params = mtch_rm.Params('testing')
allowed_pairing = (mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,7,params))
disallowed_pairing = (mtch_rm.RiverMouth(1,1,1,5,params),mtch_rm.RiverMouth(1,1,1,2,params))
test_configuration = [(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,4,params))]
test_possible_pairings_for_all_idnums_two_possiblities = [[(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,2,params))],
[(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params))]]
two_possibilities_expected_results = [[(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),None],
[(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,2,params)),None],
[None,None],
[(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params))],
[(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,1,params))],
[None,(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,1,params))],
[None,(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params))]]
test_possible_pairings_for_all_idnums_four_possiblities = [[(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,4,params))],
[(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,4,params))],
[(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,4,params))],
[(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,4,params))]]
test_conflict = [(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params))]
test_conflict_to_resolve = [(mtch_rm.RiverMouth(2,3,701,1,params),mtch_rm.RiverMouth(1,1,702,1,params)),
(mtch_rm.RiverMouth(2,3,701,1,params),mtch_rm.RiverMouth(101,201,100,2,params)),
(mtch_rm.RiverMouth(100,200,99,2,params),mtch_rm.RiverMouth(1,1,702,1,params)),
(mtch_rm.RiverMouth(100,200,99,2,params),mtch_rm.RiverMouth(101,201,100,2,params))]
test_conflicts_to_resolve = [[(mtch_rm.RiverMouth(2,3,701,1,params),mtch_rm.RiverMouth(1,1,702,1,params)),
(mtch_rm.RiverMouth(2,3,701,1,params),mtch_rm.RiverMouth(101,201,100,2,params)),
(mtch_rm.RiverMouth(100,200,99,2,params),mtch_rm.RiverMouth(1,1,702,1,params)),
(mtch_rm.RiverMouth(100,200,99,2,params),mtch_rm.RiverMouth(101,201,100,2,params))],
[(mtch_rm.RiverMouth(2,3,701,3,params),mtch_rm.RiverMouth(1,1,702,3,params)),
(mtch_rm.RiverMouth(2,3,701,3,params),mtch_rm.RiverMouth(101,201,100,4,params)),
(mtch_rm.RiverMouth(100,200,99,4,params),mtch_rm.RiverMouth(1,1,702,3,params)),
(mtch_rm.RiverMouth(100,200,99,4,params),mtch_rm.RiverMouth(101,201,100,4,params))],
[None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None]]
test_conflict_resolution_expected_results = [(mtch_rm.RiverMouth(2,3,701,1,params),mtch_rm.RiverMouth(1,1,702,1,params)),
(mtch_rm.RiverMouth(100,200,99,2,params),mtch_rm.RiverMouth(101,201,100,2,params))]
resolve_conflicts_pairs_expected_results = [(mtch_rm.RiverMouth(2,3,701,1,params),mtch_rm.RiverMouth(1,1,702,1,params)),
(mtch_rm.RiverMouth(100,200,99,2,params),mtch_rm.RiverMouth(101,201,100,2,params)),
(mtch_rm.RiverMouth(2,3,701,3,params),mtch_rm.RiverMouth(1,1,702,3,params)),
(mtch_rm.RiverMouth(100,200,99,4,params),mtch_rm.RiverMouth(101,201,100,4,params))]
test_configuration = [(mtch_rm.RiverMouth(13,-5,135,1,params),mtch_rm.RiverMouth(3,22,133,1,params)),
(mtch_rm.RiverMouth(102,109,340,2,params),mtch_rm.RiverMouth(104,123,280,2,params)),
None,None]
def testIsPairingAllowedInConfiguration(self):
self.assertTrue(mtch_rm.ConflictResolver.is_pairing_allowed_in_configuration(self.allowed_pairing,
self.test_configuration))
self.assertFalse(mtch_rm.ConflictResolver.is_pairing_allowed_in_configuration(self.disallowed_pairing,
self.test_configuration))
def testAddToAllowedConfigurationsTwoPoints(self):
result = mtch_rm.ConflictResolver.\
add_to_allowed_configurations([],0,self.test_possible_pairings_for_all_idnums_two_possiblities)
self.assertEqual(7, len(result), "Not producing correct set of possible configurations for"
" the case of two pairs of river mouths")
for configuration,expected_configuration in zip(result,self.two_possibilities_expected_results):
for item,expectation in zip(configuration,expected_configuration):
if item is None or expectation is None:
self.assertIs(item,None)
else:
self.assertEqual(item[0].get_idnum(),expectation[0].get_idnum(),
"Not producing correct set of possible configurations for"
" the case of two pairs of river mouths. \nProblem is in {0}\n"
"Which should be: {1}\n"
"Configuration: {2}".format(item,expectation,configuration))
self.assertEqual(item[1].get_idnum(),expectation[1].get_idnum(),
"Not producing correct set of possible configurations for"
" the case of two pairs of river mouths. \nProblem is in {0}\n"
"Which should be: {1}\n:"
"Configuration: {2}".format(item,expectation,configuration))
def testAddToAllowedConfigurationsFourPoints(self):
result = mtch_rm.ConflictResolver.\
add_to_allowed_configurations([],0,self.test_possible_pairings_for_all_idnums_four_possiblities)
self.assertEqual(209, len(result), "Not producing correct set of possible configurations for"
" the case of four pairs of river mouths")
def testGeneratePossibleInconflictPairings(self):
result = mtch_rm.ConflictResolver.generate_possible_inconflict_pairings(self.test_conflict)
for configuration,expected_configuration in zip(result,
self.two_possibilities_expected_results):
for item,expectation in zip(configuration,expected_configuration):
if item is None or expectation is None:
self.assertIs(item,None)
else:
self.assertEqual(item[0].get_idnum(),expectation[0].get_idnum(),
"Not producing correct set of possible configurations for"
" the case of two pairs of river mouths. \nProblem is in {0}\n"
"Which should be: {1}\n"
"Configuration: {2}".format(item,expectation,configuration))
self.assertEqual(item[1].get_idnum(),expectation[1].get_idnum(),
"Not producing correct set of possible configurations for"
" the case of two pairs of river mouths. \nProblem is in {0}\n"
"Which should be: {1}\n:"
"Configuration: {2}".format(item,expectation,configuration))
def testEvaulateConfiguration(self):
score = mtch_rm.ConflictResolver.evaulate_configuration(self.test_configuration, self.params)
self.assertAlmostEqual(score,226.692503611,places=7,msg="Not producing correct configuration"
" evaulation in test")
def testResolveConflict(self):
resolved_pairs = mtch_rm.ConflictResolver.\
resolve_conflict(self.test_conflict_to_resolve,self.params)
for item,expectation in zip(resolved_pairs,self.test_conflict_resolution_expected_results):
self.assertEqual(item[0].get_idnum(),expectation[0].get_idnum(),
"Conflict resolution test not producing expected results")
self.assertEqual(item[1].get_idnum(),expectation[1].get_idnum(),
"Conflict resolution test not producing expected results")
def testResolveConflicts(self):
resolved_pairs,unresolved_pairs = mtch_rm.ConflictResolver.\
resolve_conflicts(self.test_conflicts_to_resolve,self.params)
for pair,expectation in zip(resolved_pairs,self.resolve_conflicts_pairs_expected_results):
self.assertEqual(pair[0].get_idnum(),expectation[0].get_idnum(),
"Resolve conflicts not producing expected results")
self.assertEqual(pair[1].get_idnum(),expectation[1].get_idnum(),
"Resolve conflicts not producing expected results")
self.assertEqual(len(unresolved_pairs), 1,"Not correct returning unresolved pairs from "
"conflict resolution")
class MatchingRiverMouthTests(unittest.TestCase):
params = mtch_rm.Params('testing')
river_mouth_outflow_field = np.array([[0, 0,1353, 0, 0],
[1,999,2354, 0, 0],
[0, 0,3450, 450, 0],
[0, 0, 21,1001,1000]])
test_ref_rmouth_field = np.array([[0, 0, 0, 0, 0],
[0,1120, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, 0, 0, 0,1450]])
test_data_rmouth_field = np.array([[0, 0, 0, 0, 0],
[1125,0, 0, 0, 0],
[0, 0, 0,1430, 0],
[0, 0, 0, 0, 0]])
river_mouth_outflow_expected_results = [mtch_rm.RiverMouth(0,2,1353,0,params),
mtch_rm.RiverMouth(1,2,2354,1,params),
mtch_rm.RiverMouth(2,2,3450,2,params),
mtch_rm.RiverMouth(3,3,1001,3,params),
mtch_rm.RiverMouth(3,4,1000,4,params)]
river_mouth_point_outflows_ref = [mtch_rm.RiverMouth(1,2,2354,3,params),
mtch_rm.RiverMouth(2,2,17250,1,params),
mtch_rm.RiverMouth(106,86,1001,2,params),
mtch_rm.RiverMouth(3,4,1000,0,params)]
river_mouth_point_outflows_data = [mtch_rm.RiverMouth(4,14,1000,0,params),
mtch_rm.RiverMouth(2,2,17200,2,params),
mtch_rm.RiverMouth(3,10,277,4,params),
mtch_rm.RiverMouth(1,2,2354,3,params),
mtch_rm.RiverMouth(103,83,1200,1,params)]
expected_candidate_pairs = [(mtch_rm.RiverMouth(2,2,17250,1,params),mtch_rm.RiverMouth(2,2,17200,2,params)),
(mtch_rm.RiverMouth(3,4,1000,0,params),mtch_rm.RiverMouth(3,10,277,4,params)),
(mtch_rm.RiverMouth(1,2,2354,3,params),mtch_rm.RiverMouth(1,2,2354,3,params)),
(mtch_rm.RiverMouth(3,4,1000,0,params),mtch_rm.RiverMouth(1,2,2354,3,params)),
(mtch_rm.RiverMouth(106,86,1001,2,params),mtch_rm.RiverMouth(103,83,1200,1,params))]
expected_matches = [(mtch_rm.RiverMouth(1,1,1120,0,params),mtch_rm.RiverMouth(1,0,1125,0,params)),
(mtch_rm.RiverMouth(3,4,1450,1,params),mtch_rm.RiverMouth(2,3,1430,1,params))]
def testFindRiverMouthPoints(self):
found_river_mouths = mtch_rm.find_rivermouth_points(self.river_mouth_outflow_field,self.params)
self.assertListEqual(found_river_mouths,self.river_mouth_outflow_expected_results)
def testGeneratingCandidatePairs(self):
candidiate_pairs = mtch_rm.generate_candidate_pairs(self.river_mouth_point_outflows_ref,
self.river_mouth_point_outflows_data)
for pair,expected_pair in zip(candidiate_pairs,self.expected_candidate_pairs):
self.assertTupleEqual(pair,expected_pair)
def testGenerateMatches(self):
matches,conflicts = mtch_rm.generate_matches(self.test_ref_rmouth_field,
self.test_data_rmouth_field,
self.params)
for match,expected_match in zip(matches,self.expected_matches):
self.assertEqual(match[0].get_idnum(),expected_match[0].get_idnum(),
"Generating matches from two field is not producing"
" expected results")
self.assertEqual(match[1].get_idnum(),expected_match[1].get_idnum(),
"Generating matches from two field is not producing"
" expected results")
self.assertEqual(len(conflicts),0)
class ConflictCheckerTests(unittest.TestCase):
params = mtch_rm.Params('testing')
conflict_association_test_data = [[(mtch_rm.RiverMouth(1,1,1,11,params),mtch_rm.RiverMouth(1,1,1,10,params)),
(mtch_rm.RiverMouth(1,1,1,11,params),mtch_rm.RiverMouth(1,1,1,11,params))],
[(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params))],
[(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,4,params))],
[(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,3,params))],
[(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,4,params))],
[(mtch_rm.RiverMouth(1,1,1,9,params),mtch_rm.RiverMouth(1,1,1,1,params))],
[(mtch_rm.RiverMouth(1,1,1,8,params),mtch_rm.RiverMouth(1,1,1,9,params)),
(mtch_rm.RiverMouth(1,1,1,8,params),mtch_rm.RiverMouth(1,1,1,6,params))],
[(mtch_rm.RiverMouth(1,1,1,10,params),mtch_rm.RiverMouth(1,1,1,9,params))],
[(mtch_rm.RiverMouth(1,1,1,5,params),mtch_rm.RiverMouth(1,1,1,5,params))],
[(mtch_rm.RiverMouth(1,1,1,6,params),mtch_rm.RiverMouth(1,1,1,5,params))],
[(mtch_rm.RiverMouth(1,1,1,7,params),mtch_rm.RiverMouth(1,1,1,6,params))]]
associated_pairs_expected_results = [[(mtch_rm.RiverMouth(1,1,1,11,params),mtch_rm.RiverMouth(1,1,1,10,params)),
(mtch_rm.RiverMouth(1,1,1,11,params),mtch_rm.RiverMouth(1,1,1,11,params))],
[(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,4,params)),
(mtch_rm.RiverMouth(1,1,1,9,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,4,params))],
[(mtch_rm.RiverMouth(1,1,1,8,params),mtch_rm.RiverMouth(1,1,1,9,params)),
(mtch_rm.RiverMouth(1,1,1,8,params),mtch_rm.RiverMouth(1,1,1,6,params)),
(mtch_rm.RiverMouth(1,1,1,10,params),mtch_rm.RiverMouth(1,1,1,9,params)),
(mtch_rm.RiverMouth(1,1,1,7,params),mtch_rm.RiverMouth(1,1,1,6,params))],
[(mtch_rm.RiverMouth(1,1,1,5,params),mtch_rm.RiverMouth(1,1,1,5,params)),
(mtch_rm.RiverMouth(1,1,1,6,params),mtch_rm.RiverMouth(1,1,1,5,params))]]
conflict_check_pseudo_data = [(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,4,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,5,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,6,params)),
(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,5,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,6,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,7,params),mtch_rm.RiverMouth(1,1,1,8,params)),
(mtch_rm.RiverMouth(1,1,1,8,params),mtch_rm.RiverMouth(1,1,1,8,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,9,params))]
conflict_check_expected_conflicts_index_zero = [[(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,9,params))],
[(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,4,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,5,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,6,params))]]
conflict_check_expected_unconflicted_pairs_index_zero = [(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,5,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,6,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,7,params),mtch_rm.RiverMouth(1,1,1,8,params)),
(mtch_rm.RiverMouth(1,1,1,8,params),mtch_rm.RiverMouth(1,1,1,8,params))]
conflict_check_expected_conflicts_index_one = [[(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,5,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,6,params),mtch_rm.RiverMouth(1,1,1,7,params))],
[(mtch_rm.RiverMouth(1,1,1,7,params),mtch_rm.RiverMouth(1,1,1,8,params)),
(mtch_rm.RiverMouth(1,1,1,8,params),mtch_rm.RiverMouth(1,1,1,8,params))]]
conflict_check_expected_unconflicted_pairs_index_one = [(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,4,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,5,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,6,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,9,params))]
conflict_check_expected_unconflicted_pairs_top_level = [(mtch_rm.RiverMouth(1,1,1,1,params),mtch_rm.RiverMouth(1,1,1,1,params))]
conflict_check_expected_conflicts_top_level = [[(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,2,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,3,params)),
(mtch_rm.RiverMouth(1,1,1,2,params),mtch_rm.RiverMouth(1,1,1,9,params))],
[(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,4,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,5,params)),
(mtch_rm.RiverMouth(1,1,1,3,params),mtch_rm.RiverMouth(1,1,1,6,params))],
[(mtch_rm.RiverMouth(1,1,1,4,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,5,params),mtch_rm.RiverMouth(1,1,1,7,params)),
(mtch_rm.RiverMouth(1,1,1,6,params),mtch_rm.RiverMouth(1,1,1,7,params))],
[(mtch_rm.RiverMouth(1,1,1,7,params),mtch_rm.RiverMouth(1,1,1,8,params)),
(mtch_rm.RiverMouth(1,1,1,8,params),mtch_rm.RiverMouth(1,1,1,8,params))]]
def testAssociateConflicts(self):
associated_pairs = mtch_rm.ConflictChecker.associate_conflicts(self.conflict_association_test_data,0)
for conflict,expected_conflict in zip(associated_pairs,
self.associated_pairs_expected_results):
self.assertEqual(len(conflict),len(expected_conflict))
for pair,expected_pair in zip(conflict,expected_conflict):
self.assertTupleEqual(pair,expected_pair)
def testCheckPairSetForConflicts(self):
#test index 0
conflicts,unconflicted_pairs = mtch_rm.ConflictChecker. \
check_pair_set_for_conflicts(self.conflict_check_pseudo_data,0)
for conflict,expected_conflict in zip(conflicts,
self.conflict_check_expected_conflicts_index_zero):
self.assertEqual(len(conflict),len(expected_conflict))
for pair,expected_pair in zip(conflict,expected_conflict):
self.assertTupleEqual(pair,expected_pair)
self.assertEqual(len(unconflicted_pairs),
len(self.conflict_check_expected_unconflicted_pairs_index_zero))
for unconflicted_pair,expected_unconflicted_pair in \
zip(unconflicted_pairs,
self.conflict_check_expected_unconflicted_pairs_index_zero):
self.assertTupleEqual(unconflicted_pair,expected_unconflicted_pair)
#test index 1
conflicts,unconflicted_pairs = mtch_rm.ConflictChecker. \
check_pair_set_for_conflicts(self.conflict_check_pseudo_data,1)
for conflict,expected_conflict in zip(conflicts,
self.conflict_check_expected_conflicts_index_one):
self.assertEqual(len(conflict),len(expected_conflict))
for pair,expected_pair in zip(conflict,expected_conflict):
self.assertTupleEqual(pair,expected_pair)
self.assertEqual(len(unconflicted_pairs),
len(self.conflict_check_expected_unconflicted_pairs_index_one))
for unconflicted_pair,expected_unconflicted_pair in \
zip(unconflicted_pairs,
self.conflict_check_expected_unconflicted_pairs_index_one):
self.assertTupleEqual(unconflicted_pair,expected_unconflicted_pair)
def testCheckPairSetsForConflicts(self):
conflicts,unconflicted_pairs = mtch_rm.ConflictChecker. \
check_pair_sets_for_conflicts(self.conflict_check_pseudo_data)
self.assertEqual(len(conflicts),len(self.conflict_check_expected_conflicts_top_level))
for conflict,expected_conflict in zip(conflicts,
self.conflict_check_expected_conflicts_top_level):
self.assertEqual(len(conflict),len(expected_conflict))
for pair,expected_pair in zip(conflict,expected_conflict):
self.assertTupleEqual(pair,expected_pair)
self.assertEqual(len(unconflicted_pairs),
len(self.conflict_check_expected_unconflicted_pairs_top_level))
for pair,expected_pair in zip(unconflicted_pairs,
self.conflict_check_expected_unconflicted_pairs_top_level):
self.assertTupleEqual(pair,expected_pair)
if __name__ == "__main__":
unittest.main()
| 79.746736 | 137 | 0.542285 | 3,775 | 30,543 | 4.201854 | 0.05298 | 0.067331 | 0.31068 | 0.385576 | 0.864708 | 0.824171 | 0.802547 | 0.769071 | 0.746627 | 0.72929 | 0 | 0.081219 | 0.334054 | 30,543 | 382 | 138 | 79.955497 | 0.698623 | 0.003831 | 0 | 0.443077 | 0 | 0 | 0.042904 | 0 | 0 | 0 | 0 | 0 | 0.110769 | 1 | 0.04 | false | 0 | 0.009231 | 0 | 0.156923 | 0 | 0 | 0 | 0 | null | 0 | 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 | 8 |
354dd322d3d122a3674cefe35dd4e3736eb70888 | 5,417 | py | Python | tests/neuralnet/test_relu.py | joshuahaddad/OMLT | c7b9cd98561b2679a80b0dd2c147f8580d8cda1a | [
"BSD-3-Clause"
] | 115 | 2021-11-04T03:15:35.000Z | 2022-03-28T19:05:55.000Z | tests/neuralnet/test_relu.py | joshuahaddad/OMLT | c7b9cd98561b2679a80b0dd2c147f8580d8cda1a | [
"BSD-3-Clause"
] | 56 | 2021-11-03T13:59:41.000Z | 2022-03-21T14:01:52.000Z | tests/neuralnet/test_relu.py | joshuahaddad/OMLT | c7b9cd98561b2679a80b0dd2c147f8580d8cda1a | [
"BSD-3-Clause"
] | 17 | 2021-11-04T03:15:23.000Z | 2022-03-24T02:24:15.000Z | import pyomo.environ as pyo
import numpy as np
from omlt.block import OmltBlock
from omlt.io.onnx import load_onnx_neural_network_with_bounds
from omlt.neuralnet import FullSpaceNNFormulation, ReluBigMFormulation, ReluComplementarityFormulation, ReluPartitionFormulation
from omlt.neuralnet.activations import ComplementarityReLUActivation
# TODO: Add tests for single dimensional outputs as well
def test_two_node_bigm(two_node_network_relu):
m = pyo.ConcreteModel()
m.neural_net_block = OmltBlock()
formulation = FullSpaceNNFormulation(two_node_network_relu)
m.neural_net_block.build_formulation(formulation)
m.obj1 = pyo.Objective(expr=m.neural_net_block.outputs[0, 0])
m.neural_net_block.inputs[0].fix(-2)
m.obj1 = pyo.Objective(expr=0)
status = pyo.SolverFactory("cbc").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 10) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 2) < 1e-3
m.neural_net_block.inputs[0].fix(1)
status = pyo.SolverFactory("cbc").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 1) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 0) < 1e-3
def test_two_node_ReluBigMFormulation(two_node_network_relu):
m = pyo.ConcreteModel()
m.neural_net_block = OmltBlock()
formulation = ReluBigMFormulation(two_node_network_relu)
m.neural_net_block.build_formulation(formulation)
m.obj1 = pyo.Objective(expr=m.neural_net_block.outputs[0, 0])
m.neural_net_block.inputs[0].fix(-2)
m.obj1 = pyo.Objective(expr=0)
status = pyo.SolverFactory("cbc").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 10) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 2) < 1e-3
m.neural_net_block.inputs[0].fix(1)
status = pyo.SolverFactory("cbc").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 1) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 0) < 1e-3
def test_two_node_complementarity(two_node_network_relu):
m = pyo.ConcreteModel()
m.neural_net_block = OmltBlock()
formulation = FullSpaceNNFormulation(
two_node_network_relu,
activation_constraints={
"relu": ComplementarityReLUActivation()
}
)
m.neural_net_block.build_formulation(formulation)
m.neural_net_block.inputs[0].fix(-2)
m.obj1 = pyo.Objective(expr=0)
status = pyo.SolverFactory("ipopt").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 10) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 2) < 1e-3
m.neural_net_block.inputs[0].fix(1)
status = pyo.SolverFactory("ipopt").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 1) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 0) < 1e-3
def test_two_node_ReluComplementarityFormulation(two_node_network_relu):
m = pyo.ConcreteModel()
m.neural_net_block = OmltBlock()
formulation = ReluComplementarityFormulation(two_node_network_relu)
m.neural_net_block.build_formulation(formulation)
m.neural_net_block.inputs[0].fix(-2)
m.obj1 = pyo.Objective(expr=0)
status = pyo.SolverFactory("ipopt").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 10) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 2) < 1e-3
m.neural_net_block.inputs[0].fix(1)
status = pyo.SolverFactory("ipopt").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 1) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 0) < 1e-3
def test_two_node_ReluPartitionFormulation(two_node_network_relu):
m = pyo.ConcreteModel()
m.neural_net_block = OmltBlock()
formulation = ReluPartitionFormulation(two_node_network_relu)
m.neural_net_block.build_formulation(formulation)
m.obj1 = pyo.Objective(expr=0)
m.neural_net_block.inputs[0].fix(-2)
status = pyo.SolverFactory("cbc").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 10) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 2) < 1e-3
m.neural_net_block.inputs[0].fix(1)
status = pyo.SolverFactory("cbc").solve(m, tee=False)
assert abs(pyo.value(m.neural_net_block.outputs[0,0]) - 1) < 1e-3
assert abs(pyo.value(m.neural_net_block.outputs[0,1]) - 0) < 1e-3
def test_conv_ReluBigMFormulation(datadir):
net = load_onnx_neural_network_with_bounds(datadir.file('keras_conv_7x7_relu.onnx'))
m = pyo.ConcreteModel()
m.neural_net_block = OmltBlock()
formulation = ReluBigMFormulation(net)
m.neural_net_block.build_formulation(formulation)
m.obj1 = pyo.Objective(expr=0)
# compute expected output for this input
input = np.eye(7, 7).reshape(1, 7, 7)
x = input
for layer in net.layers:
x = layer.eval(x)
output = x
for i in range(7):
for j in range(7):
m.neural_net_block.inputs[0, i, j].fix(input[0, i, j])
status = pyo.SolverFactory("cbc").solve(m, tee=False)
d, r, c = output.shape
for i in range(d):
for j in range(r):
for k in range(c):
expected = output[i, j, k]
actual = pyo.value(m.neural_net_block.outputs[i, j, k])
assert abs(actual - expected) < 1e-3
| 40.729323 | 128 | 0.704449 | 840 | 5,417 | 4.353571 | 0.113095 | 0.08805 | 0.125786 | 0.188679 | 0.807766 | 0.807766 | 0.750068 | 0.741865 | 0.7312 | 0.724091 | 0 | 0.034369 | 0.162082 | 5,417 | 132 | 129 | 41.037879 | 0.771315 | 0.017168 | 0 | 0.632075 | 0 | 0 | 0.012967 | 0.00451 | 0 | 0 | 0 | 0.007576 | 0.198113 | 1 | 0.056604 | false | 0 | 0.056604 | 0 | 0.113208 | 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 |
355c7cb91f9dea8fa34be1ad7add875edd488999 | 5,676 | py | Python | app/modules/passthroughs/resources.py | karenc/houston | 4eaaaf11d61394035e34b55bb847ea7eb4099c61 | [
"Apache-2.0"
] | 6 | 2021-04-06T19:50:52.000Z | 2022-01-19T17:42:33.000Z | app/modules/passthroughs/resources.py | WildMeOrg/houston | 8102229421388e44234c07ee6cb73bf705b6fba0 | [
"Apache-2.0"
] | 491 | 2021-01-20T01:10:00.000Z | 2022-03-31T19:30:48.000Z | app/modules/passthroughs/resources.py | karenc/houston | 4eaaaf11d61394035e34b55bb847ea7eb4099c61 | [
"Apache-2.0"
] | 2 | 2021-03-12T02:33:55.000Z | 2021-03-16T20:18:43.000Z | # -*- coding: utf-8 -*-
# pylint: disable=bad-continuation
"""
RESTful API Passthroughs resources
--------------------------
"""
import logging
from flask import current_app, request
from flask_restx_patched import Resource
from app.extensions.api import Namespace
import json
log = logging.getLogger(__name__) # pylint: disable=invalid-name
edm_pass = Namespace(
'passthroughs/edm', description='EDM Passthroughs'
) # pylint: disable=invalid-name
acm_pass = Namespace(
'passthroughs/acm', description='ACM Passthroughs'
) # pylint: disable=invalid-name
@edm_pass.route('/')
@edm_pass.login_required(oauth_scopes=['passthroughs:read'])
class EDMPassthroughTargets(Resource):
"""
Manipulations with Passthroughs.
"""
def get(self):
"""
List the possible EDM passthrough targets.
"""
targets = current_app.edm.get_target_list()
return targets
@edm_pass.route('/<string:target>/', defaults={'path': None}, doc=False)
@edm_pass.route('/<string:target>/<path:path>')
@edm_pass.login_required(oauth_scopes=['passthroughs:read'])
class EDMPassthroughs(Resource):
r"""
A pass-through allows a GET or POST request to be referred to a registered back-end EDM
CommandLine:
EMAIL='test@localhost'
PASSWORD='test'
TIMESTAMP=$(date '+%Y%m%d-%H%M%S%Z')
curl \
-X POST \
-c cookie.jar \
-F email=${EMAIL} \
-F password=${PASSWORD} \
https://houston.dyn.wildme.io/api/v1/auth/sessions | jq
curl \
-X GET \
-b cookie.jar \
https://houston.dyn.wildme.io/api/v1/users/me | jq
curl \
-X POST \
-b cookie.jar \
-d "{\"site.name\": \"value-updated-${TIMESTAMP}\"}" \
https://houston.dyn.wildme.io/api/v1/passthroughs/edm/default/api/v0/configuration | jq
curl \
-X GET \
-b cookie.jar \
https://houston.dyn.wildme.io/api/v1/passthroughs/edm/default/api/v0/configuration/site.name | jq ".response.value"
"""
def get(self, target, path):
"""
List the possible EDM passthrough targets.
"""
params = {}
params.update(request.args)
params.update(request.form)
response = current_app.edm.request_passthrough(
'passthrough.data', 'get', {'params': params}, path, target
)
return response
def post(self, target, path):
"""
List the possible EDM passthrough targets.
"""
data = {}
data.update(request.args)
data.update(request.form)
try:
data_ = json.loads(request.data)
data.update(data_)
except Exception:
pass
passthrough_kwargs = {'data': data}
files = request.files
if len(files) > 0:
passthrough_kwargs['files'] = files
response = current_app.edm.request_passthrough(
'passthrough.data', 'post', passthrough_kwargs, path, target
)
return response
@acm_pass.route('/')
@acm_pass.login_required(oauth_scopes=['passthroughs:read'])
class ACMPassthroughTargets(Resource):
"""
Manipulations with Passthroughs.
"""
def get(self):
"""
List the possible EDM passthrough targets.
"""
targets = current_app.acm.get_target_list()
return targets
@edm_pass.route('/<string:target>/', defaults={'path': None}, doc=False)
@edm_pass.route('/<string:target>/<path:path>')
@edm_pass.login_required(oauth_scopes=['passthroughs:read'])
class ACMPassthroughs(Resource):
r"""
A pass-through allows a GET or POST request to be referred to a registered back-end EDM
CommandLine:
EMAIL='test@localhost'
PASSWORD='test'
TIMESTAMP=$(date '+%Y%m%d-%H%M%S%Z')
curl \
-X POST \
-c cookie.jar \
-F email=${EMAIL} \
-F password=${PASSWORD} \
https://houston.dyn.wildme.io/api/v1/auth/sessions | jq
curl \
-X GET \
-b cookie.jar \
https://houston.dyn.wildme.io/api/v1/users/me | jq
curl \
-X POST \
-b cookie.jar \
-d "{\"site.name\": \"value-updated-${TIMESTAMP}\"}" \
https://houston.dyn.wildme.io/api/v1/passthroughs/edm/default/api/v0/configuration | jq
curl \
-X GET \
-b cookie.jar \
https://houston.dyn.wildme.io/api/v1/passthroughs/edm/default/api/v0/configuration/site.name | jq ".response.value"
"""
def get(self, target, path):
"""
List the possible EDM passthrough targets.
"""
params = {}
params.update(request.args)
params.update(request.form)
response = current_app.acm.request_passthrough(
'passthrough.data', 'get', {'params': params}, path, target
)
return response
def post(self, target, path):
"""
List the possible EDM passthrough targets.
"""
data = {}
data.update(request.args)
data.update(request.form)
try:
data_ = json.loads(request.data)
data.update(data_)
except Exception:
pass
passthrough_kwargs = {'data': data}
files = request.files
if len(files) > 0:
passthrough_kwargs['files'] = files
response = current_app.acm.request_passthrough(
'passthrough.data', 'post', passthrough_kwargs, path, target
)
return response
| 28.666667 | 127 | 0.578929 | 629 | 5,676 | 5.143084 | 0.198728 | 0.019475 | 0.037094 | 0.051932 | 0.876971 | 0.862133 | 0.842968 | 0.842968 | 0.824111 | 0.808037 | 0 | 0.003702 | 0.286117 | 5,676 | 197 | 128 | 28.812183 | 0.794669 | 0.398872 | 0 | 0.678571 | 0 | 0 | 0.112657 | 0.018555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.380952 | 0.059524 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
3560e5a3424bc5da0d567acc19c12d0abaa4c661 | 1,359 | py | Python | CodeForces/Round553Div2/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 1 | 2018-11-25T04:15:45.000Z | 2018-11-25T04:15:45.000Z | CodeForces/Round553Div2/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | null | null | null | CodeForces/Round553Div2/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 2 | 2018-08-08T13:01:14.000Z | 2018-11-25T12:38:36.000Z | N = int(input())
S = input()
ans = float("inf")
import string
alpha = string.ascii_uppercase
alpha += alpha
for i in range(N - 3):
s = S[i:i + 4]
cnt = 0
tmp = 0
a = alpha.index(s[0])
tar = s[0]
while tar != "A":
a += 1
tmp += 1
tar = alpha[a]
tmp2 = 0
a = alpha.index(s[0])
tar = s[0]
while tar != "A":
a -= 1
tmp2 += 1
tar = alpha[a]
cnt += min(tmp, tmp2)
tmp = 0
a = alpha.index(s[1])
tar = s[1]
while tar != "C":
a += 1
tmp += 1
tar = alpha[a]
tmp2 = 0
a = alpha.index(s[1])
tar = s[1]
while tar != "C":
a -= 1
tmp2 += 1
tar = alpha[a]
cnt += min(tmp, tmp2)
tmp = 0
a = alpha.index(s[2])
tar = s[2]
while tar != "T":
a += 1
tmp += 1
tar = alpha[a]
tmp2 = 0
a = alpha.index(s[2])
tar = s[2]
while tar != "T":
a -= 1
tmp2 += 1
tar = alpha[a]
cnt += min(tmp, tmp2)
tmp = 0
a = alpha.index(s[3])
tar = s[3]
while tar != "G":
a += 1
tmp += 1
tar = alpha[a]
tmp2 = 0
a = alpha.index(s[3])
tar = s[3]
while tar != "G":
a -= 1
tmp2 += 1
tar = alpha[a]
cnt += min(tmp, tmp2)
ans = min(ans, cnt)
print(ans)
| 16.573171 | 30 | 0.400294 | 211 | 1,359 | 2.57346 | 0.156398 | 0.073665 | 0.103131 | 0.176796 | 0.788214 | 0.788214 | 0.782689 | 0.782689 | 0.782689 | 0.782689 | 0 | 0.071151 | 0.431199 | 1,359 | 81 | 31 | 16.777778 | 0.631307 | 0 | 0 | 0.84507 | 0 | 0 | 0.008094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014085 | 0 | 0.014085 | 0.014085 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3565c9696df93a33426e806bfed3a6a7e6e44ca3 | 467 | py | Python | bio/contribute/signals.py | ZuluPro/bio-directory | 4cdd3967e97363f59795d7b0fdb85998029370ff | [
"BSD-2-Clause"
] | null | null | null | bio/contribute/signals.py | ZuluPro/bio-directory | 4cdd3967e97363f59795d7b0fdb85998029370ff | [
"BSD-2-Clause"
] | null | null | null | bio/contribute/signals.py | ZuluPro/bio-directory | 4cdd3967e97363f59795d7b0fdb85998029370ff | [
"BSD-2-Clause"
] | null | null | null | from django import dispatch
vote_plus_answer = dispatch.Signal(providing_args=['instance', 'user'])
vote_minus_answer = dispatch.Signal(providing_args=['instance', 'user'])
unvote_plus_answer = dispatch.Signal(providing_args=['instance', 'user'])
unvote_minus_answer = dispatch.Signal(providing_args=['instance', 'user'])
accepted_answer = dispatch.Signal(providing_args=['instance', 'user'])
unaccepted_answer = dispatch.Signal(providing_args=['instance', 'user'])
| 51.888889 | 74 | 0.783726 | 56 | 467 | 6.25 | 0.285714 | 0.24 | 0.342857 | 0.497143 | 0.857143 | 0.857143 | 0.857143 | 0.6 | 0 | 0 | 0 | 0 | 0.062099 | 467 | 8 | 75 | 58.375 | 0.799087 | 0 | 0 | 0 | 0 | 0 | 0.154176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 7 |
3572f95463b5246143970527f1b192a732dea60e | 6,683 | py | Python | loldib/getratings/models/NA/na_drmundo/na_drmundo_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_drmundo/na_drmundo_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_drmundo/na_drmundo_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_DrMundo_Top_Aatrox(Ratings):
pass
class NA_DrMundo_Top_Ahri(Ratings):
pass
class NA_DrMundo_Top_Akali(Ratings):
pass
class NA_DrMundo_Top_Alistar(Ratings):
pass
class NA_DrMundo_Top_Amumu(Ratings):
pass
class NA_DrMundo_Top_Anivia(Ratings):
pass
class NA_DrMundo_Top_Annie(Ratings):
pass
class NA_DrMundo_Top_Ashe(Ratings):
pass
class NA_DrMundo_Top_AurelionSol(Ratings):
pass
class NA_DrMundo_Top_Azir(Ratings):
pass
class NA_DrMundo_Top_Bard(Ratings):
pass
class NA_DrMundo_Top_Blitzcrank(Ratings):
pass
class NA_DrMundo_Top_Brand(Ratings):
pass
class NA_DrMundo_Top_Braum(Ratings):
pass
class NA_DrMundo_Top_Caitlyn(Ratings):
pass
class NA_DrMundo_Top_Camille(Ratings):
pass
class NA_DrMundo_Top_Cassiopeia(Ratings):
pass
class NA_DrMundo_Top_Chogath(Ratings):
pass
class NA_DrMundo_Top_Corki(Ratings):
pass
class NA_DrMundo_Top_Darius(Ratings):
pass
class NA_DrMundo_Top_Diana(Ratings):
pass
class NA_DrMundo_Top_Draven(Ratings):
pass
class NA_DrMundo_Top_DrMundo(Ratings):
pass
class NA_DrMundo_Top_Ekko(Ratings):
pass
class NA_DrMundo_Top_Elise(Ratings):
pass
class NA_DrMundo_Top_Evelynn(Ratings):
pass
class NA_DrMundo_Top_Ezreal(Ratings):
pass
class NA_DrMundo_Top_Fiddlesticks(Ratings):
pass
class NA_DrMundo_Top_Fiora(Ratings):
pass
class NA_DrMundo_Top_Fizz(Ratings):
pass
class NA_DrMundo_Top_Galio(Ratings):
pass
class NA_DrMundo_Top_Gangplank(Ratings):
pass
class NA_DrMundo_Top_Garen(Ratings):
pass
class NA_DrMundo_Top_Gnar(Ratings):
pass
class NA_DrMundo_Top_Gragas(Ratings):
pass
class NA_DrMundo_Top_Graves(Ratings):
pass
class NA_DrMundo_Top_Hecarim(Ratings):
pass
class NA_DrMundo_Top_Heimerdinger(Ratings):
pass
class NA_DrMundo_Top_Illaoi(Ratings):
pass
class NA_DrMundo_Top_Irelia(Ratings):
pass
class NA_DrMundo_Top_Ivern(Ratings):
pass
class NA_DrMundo_Top_Janna(Ratings):
pass
class NA_DrMundo_Top_JarvanIV(Ratings):
pass
class NA_DrMundo_Top_Jax(Ratings):
pass
class NA_DrMundo_Top_Jayce(Ratings):
pass
class NA_DrMundo_Top_Jhin(Ratings):
pass
class NA_DrMundo_Top_Jinx(Ratings):
pass
class NA_DrMundo_Top_Kalista(Ratings):
pass
class NA_DrMundo_Top_Karma(Ratings):
pass
class NA_DrMundo_Top_Karthus(Ratings):
pass
class NA_DrMundo_Top_Kassadin(Ratings):
pass
class NA_DrMundo_Top_Katarina(Ratings):
pass
class NA_DrMundo_Top_Kayle(Ratings):
pass
class NA_DrMundo_Top_Kayn(Ratings):
pass
class NA_DrMundo_Top_Kennen(Ratings):
pass
class NA_DrMundo_Top_Khazix(Ratings):
pass
class NA_DrMundo_Top_Kindred(Ratings):
pass
class NA_DrMundo_Top_Kled(Ratings):
pass
class NA_DrMundo_Top_KogMaw(Ratings):
pass
class NA_DrMundo_Top_Leblanc(Ratings):
pass
class NA_DrMundo_Top_LeeSin(Ratings):
pass
class NA_DrMundo_Top_Leona(Ratings):
pass
class NA_DrMundo_Top_Lissandra(Ratings):
pass
class NA_DrMundo_Top_Lucian(Ratings):
pass
class NA_DrMundo_Top_Lulu(Ratings):
pass
class NA_DrMundo_Top_Lux(Ratings):
pass
class NA_DrMundo_Top_Malphite(Ratings):
pass
class NA_DrMundo_Top_Malzahar(Ratings):
pass
class NA_DrMundo_Top_Maokai(Ratings):
pass
class NA_DrMundo_Top_MasterYi(Ratings):
pass
class NA_DrMundo_Top_MissFortune(Ratings):
pass
class NA_DrMundo_Top_MonkeyKing(Ratings):
pass
class NA_DrMundo_Top_Mordekaiser(Ratings):
pass
class NA_DrMundo_Top_Morgana(Ratings):
pass
class NA_DrMundo_Top_Nami(Ratings):
pass
class NA_DrMundo_Top_Nasus(Ratings):
pass
class NA_DrMundo_Top_Nautilus(Ratings):
pass
class NA_DrMundo_Top_Nidalee(Ratings):
pass
class NA_DrMundo_Top_Nocturne(Ratings):
pass
class NA_DrMundo_Top_Nunu(Ratings):
pass
class NA_DrMundo_Top_Olaf(Ratings):
pass
class NA_DrMundo_Top_Orianna(Ratings):
pass
class NA_DrMundo_Top_Ornn(Ratings):
pass
class NA_DrMundo_Top_Pantheon(Ratings):
pass
class NA_DrMundo_Top_Poppy(Ratings):
pass
class NA_DrMundo_Top_Quinn(Ratings):
pass
class NA_DrMundo_Top_Rakan(Ratings):
pass
class NA_DrMundo_Top_Rammus(Ratings):
pass
class NA_DrMundo_Top_RekSai(Ratings):
pass
class NA_DrMundo_Top_Renekton(Ratings):
pass
class NA_DrMundo_Top_Rengar(Ratings):
pass
class NA_DrMundo_Top_Riven(Ratings):
pass
class NA_DrMundo_Top_Rumble(Ratings):
pass
class NA_DrMundo_Top_Ryze(Ratings):
pass
class NA_DrMundo_Top_Sejuani(Ratings):
pass
class NA_DrMundo_Top_Shaco(Ratings):
pass
class NA_DrMundo_Top_Shen(Ratings):
pass
class NA_DrMundo_Top_Shyvana(Ratings):
pass
class NA_DrMundo_Top_Singed(Ratings):
pass
class NA_DrMundo_Top_Sion(Ratings):
pass
class NA_DrMundo_Top_Sivir(Ratings):
pass
class NA_DrMundo_Top_Skarner(Ratings):
pass
class NA_DrMundo_Top_Sona(Ratings):
pass
class NA_DrMundo_Top_Soraka(Ratings):
pass
class NA_DrMundo_Top_Swain(Ratings):
pass
class NA_DrMundo_Top_Syndra(Ratings):
pass
class NA_DrMundo_Top_TahmKench(Ratings):
pass
class NA_DrMundo_Top_Taliyah(Ratings):
pass
class NA_DrMundo_Top_Talon(Ratings):
pass
class NA_DrMundo_Top_Taric(Ratings):
pass
class NA_DrMundo_Top_Teemo(Ratings):
pass
class NA_DrMundo_Top_Thresh(Ratings):
pass
class NA_DrMundo_Top_Tristana(Ratings):
pass
class NA_DrMundo_Top_Trundle(Ratings):
pass
class NA_DrMundo_Top_Tryndamere(Ratings):
pass
class NA_DrMundo_Top_TwistedFate(Ratings):
pass
class NA_DrMundo_Top_Twitch(Ratings):
pass
class NA_DrMundo_Top_Udyr(Ratings):
pass
class NA_DrMundo_Top_Urgot(Ratings):
pass
class NA_DrMundo_Top_Varus(Ratings):
pass
class NA_DrMundo_Top_Vayne(Ratings):
pass
class NA_DrMundo_Top_Veigar(Ratings):
pass
class NA_DrMundo_Top_Velkoz(Ratings):
pass
class NA_DrMundo_Top_Vi(Ratings):
pass
class NA_DrMundo_Top_Viktor(Ratings):
pass
class NA_DrMundo_Top_Vladimir(Ratings):
pass
class NA_DrMundo_Top_Volibear(Ratings):
pass
class NA_DrMundo_Top_Warwick(Ratings):
pass
class NA_DrMundo_Top_Xayah(Ratings):
pass
class NA_DrMundo_Top_Xerath(Ratings):
pass
class NA_DrMundo_Top_XinZhao(Ratings):
pass
class NA_DrMundo_Top_Yasuo(Ratings):
pass
class NA_DrMundo_Top_Yorick(Ratings):
pass
class NA_DrMundo_Top_Zac(Ratings):
pass
class NA_DrMundo_Top_Zed(Ratings):
pass
class NA_DrMundo_Top_Ziggs(Ratings):
pass
class NA_DrMundo_Top_Zilean(Ratings):
pass
class NA_DrMundo_Top_Zyra(Ratings):
pass
| 16.026379 | 46 | 0.77151 | 972 | 6,683 | 4.878601 | 0.151235 | 0.203712 | 0.407423 | 0.494728 | 0.808941 | 0.808941 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166243 | 6,683 | 416 | 47 | 16.064904 | 0.851041 | 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 | 1 | 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 | 0 | 0 | 0 | 7 |
35bc5a0786c2b946c5b4742184dd97333a8501ce | 91 | py | Python | apps/pci/optimizers/__init__.py | onap/optf-osdf | 2b9e7f4fca3d510a201283a8561f6ff3424f5fd6 | [
"Apache-2.0"
] | 3 | 2019-04-15T13:33:57.000Z | 2019-10-21T17:19:19.000Z | apps/pci/optimizers/__init__.py | onap/optf-osdf | 2b9e7f4fca3d510a201283a8561f6ff3424f5fd6 | [
"Apache-2.0"
] | null | null | null | apps/pci/optimizers/__init__.py | onap/optf-osdf | 2b9e7f4fca3d510a201283a8561f6ff3424f5fd6 | [
"Apache-2.0"
] | null | null | null | from apps.pci.optimizers.config import configdb
from apps.pci.optimizers.config import cps
| 30.333333 | 47 | 0.846154 | 14 | 91 | 5.5 | 0.571429 | 0.207792 | 0.285714 | 0.545455 | 0.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 48 | 45.5 | 0.927711 | 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 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
35cda7124548d236bb73f0aa74174159447abc97 | 417 | py | Python | stochastic/processes/discrete/__init__.py | zaczw/stochastic | 7de6ec2f9050120adfcffeebc94bfc17ec916150 | [
"MIT"
] | 268 | 2018-01-17T18:45:20.000Z | 2022-03-28T06:05:30.000Z | stochastic/processes/discrete/__init__.py | zaczw/stochastic | 7de6ec2f9050120adfcffeebc94bfc17ec916150 | [
"MIT"
] | 42 | 2018-07-11T02:17:43.000Z | 2021-11-27T03:27:32.000Z | stochastic/processes/discrete/__init__.py | zaczw/stochastic | 7de6ec2f9050120adfcffeebc94bfc17ec916150 | [
"MIT"
] | 56 | 2018-02-20T09:32:50.000Z | 2022-02-15T15:39:37.000Z | from stochastic.processes.discrete.bernoulli import BernoulliProcess
from stochastic.processes.discrete.chinese_restaurant import ChineseRestaurantProcess
from stochastic.processes.discrete.dirichlet import DirichletProcess
from stochastic.processes.discrete.markov_chain import MarkovChain
from stochastic.processes.discrete.moran import MoranProcess
from stochastic.processes.discrete.random_walk import RandomWalk
| 59.571429 | 85 | 0.899281 | 45 | 417 | 8.266667 | 0.444444 | 0.225806 | 0.370968 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057554 | 417 | 6 | 86 | 69.5 | 0.946565 | 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 |
35d9b79aceb97750a6efe9b65ceab336cccdb7cf | 7,425 | py | Python | Aerodynamics/sandbox/functions_sandbox.py | StepLogic/Parametric-Drone-Design-Software | be9c537427f85b08c071c2666712fd32643cd439 | [
"Unlicense"
] | 7 | 2021-03-17T01:23:28.000Z | 2021-05-06T20:41:21.000Z | Aerodynamics/sandbox/functions_sandbox.py | StepLogic/Parametric-Drone-Design-Software | be9c537427f85b08c071c2666712fd32643cd439 | [
"Unlicense"
] | null | null | null | Aerodynamics/sandbox/functions_sandbox.py | StepLogic/Parametric-Drone-Design-Software | be9c537427f85b08c071c2666712fd32643cd439 | [
"Unlicense"
] | null | null | null | import copy
from aerosandbox import *
from Aerodynamics.sandbox.input import create_aircraft
from Aerodynamics.sandbox.vlm_sandbox import f_alpha_vlm, f_beta_vlm, f_p_vlm, f_r_vlm, f_q_vlm
from Utils.maths.math_library import check_if_nan
def f_alpha(x, velocity):
airplane = create_aircraft()
try:
airplane.set_spanwise_paneling_everywhere(8) # Set the resolution of your analysis
opti = cas.Opti()
ap = Casll1( # Set up the AeroProblem
airplane=airplane,
op_point=OperatingPoint(
density=1.225, # kg/m^3
viscosity=1.81e-5, # kg/m-s
velocity=velocity, # m/s070
mach=0, # Freestream mach number
alpha=x, # In degrees
beta=0, # In degrees
p=0, # About the body x-axis, in rad/sec
q=0, # About the body y-axis, in rad/sec
r=0, # About the body z-axis, in rad/sec
),
opti=opti # Pass it an optimization environment to work in
)
p_opts = {}
s_opts = {}
s_opts["mu_strategy"] = "adaptive"
opti.solver('ipopt', p_opts, s_opts)
try:
sol = opti.solve()
except RuntimeError:
sol = opti.debug
ap_sol = copy.deepcopy(ap)
ap_sol.substitute_solution(sol)
values = {"CL": check_if_nan(ap_sol.CL), "CD": check_if_nan(ap_sol.CD), "CY": check_if_nan(ap_sol.CY),
"Cl": check_if_nan(ap_sol.Cl), "Cm": check_if_nan(ap_sol.Cm), "Cn": check_if_nan(ap_sol.Cn)}
except:
values = f_alpha_vlm(x, velocity, airplane)
return values
def f_beta(x, velocity):
airplane = create_aircraft()
try:
airplane.set_spanwise_paneling_everywhere(8) # Set the resolution of your analysis
opti = cas.Opti()
ap = Casll1( # Set up the AeroProblem
airplane=airplane,
op_point=OperatingPoint(
density=1.225, # kg/m^3
viscosity=1.81e-5, # kg/m-s
velocity=velocity, # m/s070
mach=0, # Freestream mach number
alpha=0, # In degrees
beta=x, # In degrees
p=0, # About the body x-axis, in rad/sec
q=0, # About the body y-axis, in rad/sec
r=0, # About the body z-axis, in rad/sec
),
opti=opti # Pass it an optimization environment to work in
)
p_opts = {}
s_opts = {}
s_opts["mu_strategy"] = "adaptive"
opti.solver('ipopt', p_opts, s_opts)
try:
sol = opti.solve()
except RuntimeError:
sol = opti.debug
ap_sol = copy.deepcopy(ap)
ap_sol.substitute_solution(sol)
values = {"CL": check_if_nan(ap_sol.CL), "CD": check_if_nan(ap_sol.CD), "CY": check_if_nan(ap_sol.CY),
"Cl": check_if_nan(ap_sol.Cl), "Cm": check_if_nan(ap_sol.Cm), "Cn": check_if_nan(ap_sol.Cn)}
except:
values = f_beta_vlm(x, velocity, airplane)
return values
def f_p(x, velocity):
airplane = create_aircraft()
try:
airplane.set_spanwise_paneling_everywhere(8) # Set the resolution of your analysis
opti = cas.Opti()
ap = Casll1( # Set up the AeroProblem
airplane=airplane,
op_point=OperatingPoint(
density=1.225, # kg/m^3
viscosity=1.81e-5, # kg/m-s
velocity=velocity, # m/s070
mach=0, # Freestream mach number
alpha=0, # In degrees
beta=0, # In degrees
p=x, # About the body x-axis, in rad/sec
q=0, # About the body y-axis, in rad/sec
r=0, # About the body z-axis, in rad/sec
),
opti=opti # Pass it an optimization environment to work in
)
p_opts = {}
s_opts = {}
s_opts["mu_strategy"] = "adaptive"
opti.solver('ipopt', p_opts, s_opts)
try:
sol = opti.solve()
except RuntimeError:
sol = opti.debug
ap_sol = copy.deepcopy(ap)
ap_sol.substitute_solution(sol)
values = {"CL": check_if_nan(ap_sol.CL), "CD": check_if_nan(ap_sol.CD), "CY": check_if_nan(ap_sol.CY),
"Cl": check_if_nan(ap_sol.Cl), "Cm": check_if_nan(ap_sol.Cm), "Cn": check_if_nan(ap_sol.Cn)}
except:
values = f_p_vlm(x, velocity, airplane)
return values
def f_q(x, velocity):
airplane = create_aircraft()
try:
airplane.set_spanwise_paneling_everywhere(8) # Set the resolution of your analysis
opti = cas.Opti()
ap = Casll1( # Set up the AeroProblem
airplane=airplane,
op_point=OperatingPoint(
density=1.225, # kg/m^3
viscosity=1.81e-5, # kg/m-s
velocity=velocity, # m/s070
mach=0, # Freestream mach number
alpha=0, # In degrees
beta=0, # In degrees
p=0, # About the body x-axis, in rad/sec
q=x, # About the body y-axis, in rad/sec
r=0, # About the body z-axis, in rad/sec
),
opti=opti # Pass it an optimization environment to work in
)
p_opts = {}
s_opts = {}
s_opts["mu_strategy"] = "adaptive"
opti.solver('ipopt', p_opts, s_opts)
try:
sol = opti.solve()
except RuntimeError:
sol = opti.debug
ap_sol = copy.deepcopy(ap)
ap_sol.substitute_solution(sol)
values = {"CL": check_if_nan(ap_sol.CL), "CD": check_if_nan(ap_sol.CD), "CY": check_if_nan(ap_sol.CY),
"Cl": check_if_nan(ap_sol.Cl), "Cm": check_if_nan(ap_sol.Cm), "Cn": check_if_nan(ap_sol.Cn)}
except:
values = f_q_vlm(x, velocity, airplane)
return values
def f_r(x, velocity):
airplane = create_aircraft()
try:
airplane.set_spanwise_paneling_everywhere(8) # Set the resolution of your analysis
opti = cas.Opti()
ap = Casll1( # Set up the AeroProblem
airplane=airplane,
op_point=OperatingPoint(
density=1.225, # kg/m^3
viscosity=1.81e-5, # kg/m-s
velocity=velocity, # m/s070
mach=0, # Freestream mach number
alpha=0, # In degrees
beta=0, # In degrees
p=0, # About the body x-axis, in rad/sec
q=0, # About the body y-axis, in rad/sec
r=x, # About the body z-axis, in rad/sec
),
opti=opti # Pass it an optimization environment to work in
)
p_opts = {}
s_opts = {}
s_opts["mu_strategy"] = "adaptive"
opti.solver('ipopt', p_opts, s_opts)
try:
sol = opti.solve()
except RuntimeError:
sol = opti.debug
ap_sol = copy.deepcopy(ap)
ap_sol.substitute_solution(sol)
values = {"CL": check_if_nan(ap_sol.CL), "CD": check_if_nan(ap_sol.CD), "CY": check_if_nan(ap_sol.CY),
"Cl": check_if_nan(ap_sol.Cl), "Cm": check_if_nan(ap_sol.Cm), "Cn": check_if_nan(ap_sol.Cn)}
except:
values = f_r_vlm(x, velocity, airplane)
return values
| 37.5 | 110 | 0.546128 | 1,007 | 7,425 | 3.838133 | 0.098312 | 0.051746 | 0.080207 | 0.093144 | 0.942044 | 0.942044 | 0.933765 | 0.933765 | 0.896507 | 0.896507 | 0 | 0.019584 | 0.346667 | 7,425 | 197 | 111 | 37.690355 | 0.777159 | 0.184377 | 0 | 0.861111 | 0 | 0 | 0.030025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.083333 | 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 |
35e394fb6ac61b948197c40461baaad0708979ac | 360 | py | Python | backend/app/schemas/__init__.py | kohyamat/monisenforest-docker | 18c8584b29bd0ce26dd3c66dee95269cfdf69790 | [
"MIT"
] | 1 | 2021-09-29T16:00:00.000Z | 2021-09-29T16:00:00.000Z | backend/app/schemas/__init__.py | kohyamat/monisenforest-docker | 18c8584b29bd0ce26dd3c66dee95269cfdf69790 | [
"MIT"
] | null | null | null | backend/app/schemas/__init__.py | kohyamat/monisenforest-docker | 18c8584b29bd0ce26dd3c66dee95269cfdf69790 | [
"MIT"
] | null | null | null | from app.schemas.datafiles import *
from app.schemas.tree_com_summary import *
from app.schemas.tree_com_turnover import *
from app.schemas.tree_sp_summary import *
from app.schemas.tree_sp_turnover import *
from app.schemas.litter_each import *
from app.schemas.litter_annual import *
from app.schemas.seed_each import *
from app.schemas.seed_annual import *
| 36 | 43 | 0.825 | 57 | 360 | 5 | 0.245614 | 0.221053 | 0.442105 | 0.561404 | 0.85614 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 360 | 9 | 44 | 40 | 0.87963 | 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 | 1 | 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 |
57c7df85814aa75f3915a6db42cffeede93eecf2 | 24,635 | py | Python | modules/tests/photons_transport_tests/comms/test_send_single.py | Djelibeybi/photons | bc0aa91771d8e88fd3c691fb58f18cb876f292ec | [
"MIT"
] | 51 | 2020-07-03T08:34:48.000Z | 2022-03-16T10:56:08.000Z | modules/tests/photons_transport_tests/comms/test_send_single.py | delfick/photons | bc0aa91771d8e88fd3c691fb58f18cb876f292ec | [
"MIT"
] | 81 | 2020-07-03T08:13:59.000Z | 2022-03-31T23:02:54.000Z | modules/tests/photons_transport_tests/comms/test_send_single.py | Djelibeybi/photons | bc0aa91771d8e88fd3c691fb58f18cb876f292ec | [
"MIT"
] | 8 | 2020-07-24T23:48:20.000Z | 2021-05-24T17:20:16.000Z | # coding: spec
from photons_app.special import FoundSerials
from photons_app.errors import TimedOut
from photons_app import helpers as hp
from photons_messages import (
DeviceMessages,
CoreMessages,
MultiZoneMessages,
DiscoveryMessages,
Services,
)
from photons_products import Products
from delfick_project.errors_pytest import assertRaises
import pytest
import time
devices = pytest.helpers.mimic()
devices.add("strip")(
"d073d5001337", Products.LCM2_Z, hp.Firmware(2, 80), value_store={"zones_count": 22}
)
@pytest.fixture()
async def sender(final_future):
async with devices.for_test(final_future) as sender:
await FoundSerials().find(sender, timeout=1)
sender.received.clear()
for store in devices.stores.values():
store.clear()
yield sender
@pytest.fixture(autouse=True)
async def reset_devices(sender):
for device in devices:
await device.reset()
devices.store(device).clear()
def assertSent(sender, *expected):
assert len(sender.received) == len(expected)
for i, (g, e) in enumerate(zip(sender.received, expected)):
g = list(g)
e = list(e)
g[-1] = g[-1].as_dict()
e[-1] = e[-1].as_dict()
if g != e:
print(f"{i}:\n\t{g}\n\t{e}")
assert g == e
describe "Sending a single messages":
@pytest.fixture()
def send_single(self, sender):
async def send_single(original, **kwargs):
packet = original.clone()
packet.update(target="d073d5001337", sequence=1, source=2)
return await sender.send_single(original, packet, **kwargs)
return send_single
@pytest.fixture()
def device(self):
return devices["strip"]
describe "happy path":
async it "can send and receive a single message", send_single, device:
original = DeviceMessages.EchoRequest(echoing=b"hi")
result = await send_single(original, timeout=1)
expected = (DeviceMessages.EchoResponse, {"echoing": b"hi"})
pytest.helpers.assertSamePackets(result, expected)
assert devices.store(device) == [
devices.Events.INCOMING(device, device.io["MEMORY"], pkt=original),
devices.Events.OUTGOING(
device,
device.io["MEMORY"],
pkt=CoreMessages.Acknowledgement,
replying_to=original,
),
devices.Events.OUTGOING(
device, device.io["MEMORY"], pkt=expected, replying_to=original
),
]
async it "can get multiple replies", send_single, device:
await device.event(
devices.Events.SET_ZONES, zones=[(i, hp.Color(i, 1, 1, 3500)) for i in range(22)]
)
devices.store(device).clear()
original = MultiZoneMessages.GetColorZones(start_index=0, end_index=255)
expected = [
(
MultiZoneMessages.StateMultiZone,
{
"zones_count": 22,
"zone_index": 0,
"colors": [hp.Color(i, 1, 1, 3500) for i in range(8)],
},
),
(
MultiZoneMessages.StateMultiZone,
{
"zones_count": 22,
"zone_index": 8,
"colors": [hp.Color(i, 1, 1, 3500) for i in range(8, 16)],
},
),
(
MultiZoneMessages.StateMultiZone,
{
"zones_count": 22,
"zone_index": 16,
"colors": [hp.Color(i, 1, 1, 3500) for i in range(16, 22)]
+ [hp.Color(0, 0, 0, 0) for _ in range(22, 24)],
},
),
]
result = await send_single(original, timeout=1)
pytest.helpers.assertSamePackets(result, *expected)
assert devices.store(device) == [
devices.Events.INCOMING(device, device.io["MEMORY"], pkt=original),
devices.Events.OUTGOING(
device,
device.io["MEMORY"],
pkt=CoreMessages.Acknowledgement,
replying_to=original,
),
*[
devices.Events.OUTGOING(
device, device.io["MEMORY"], pkt=ex, replying_to=original
)
for ex in expected
],
]
async it "can get unlimited replies", send_single, device, FakeTime, MockedCallLater:
original = DiscoveryMessages.GetService(ack_required=False)
with FakeTime() as t:
async with MockedCallLater(t):
result = await send_single(original, timeout=1)
assert t.time == 0.1
expected = (
DiscoveryMessages.StateService,
{"service": Services.UDP, "port": device.io["MEMORY"].options.port},
)
pytest.helpers.assertSamePackets(result, expected)
assert devices.store(device) == [
devices.Events.INCOMING(device, device.io["MEMORY"], pkt=original),
devices.Events.OUTGOING(
device, device.io["MEMORY"], pkt=expected, replying_to=original
),
]
describe "timeouts":
async it "can retry until it gets a timeout", send_single, sender, device, FakeTime, MockedCallLater:
original = DeviceMessages.EchoRequest(echoing=b"hi")
with FakeTime() as t:
async with MockedCallLater(t):
with assertRaises(
TimedOut,
"Waiting for reply to a packet",
sent_pkt_type=58,
sequence=1,
source=2,
serial=device.serial,
):
async with device.offline():
await send_single(original, timeout=2)
assert t.time == 2
assertSent(
sender,
*[
(round(at * 0.2, 3), device.serial, original.Payload.__name__, original.payload)
for at in range(int(2 / 0.2))
],
)
async it "can retry until it gets a result", send_single, sender, device, FakeTime, MockedCallLater:
original = DeviceMessages.EchoRequest(echoing=b"hi")
io = device.io["MEMORY"]
with FakeTime() as t:
@io.packet_filter.intercept_process_request
async def intercept(event, Cont):
if time.time() == 0.6:
return True
return None
with intercept:
async with MockedCallLater(t):
result = await send_single(original, timeout=2)
assert t.time == 0.6
expected = (DeviceMessages.EchoResponse, {"echoing": b"hi", "sequence": 3})
pytest.helpers.assertSamePackets(result, expected)
assert devices.store(device) == [
devices.Events.LOST(device, device.io["MEMORY"], pkt=original),
devices.Events.LOST(device, device.io["MEMORY"], pkt=original),
devices.Events.LOST(device, device.io["MEMORY"], pkt=original),
devices.Events.INCOMING(device, device.io["MEMORY"], pkt=original),
devices.Events.OUTGOING(
device,
device.io["MEMORY"],
pkt=CoreMessages.Acknowledgement,
replying_to=original,
),
devices.Events.OUTGOING(
device, device.io["MEMORY"], pkt=expected, replying_to=original
),
]
assertSent(
sender,
*[
(at, device.serial, original.Payload.__name__, original.payload)
for at in [0, 0.2, 0.4, 0.6]
],
)
async it "can give up on getting multiple messages that have a set length", send_single, sender, device, FakeTime, MockedCallLater:
original = MultiZoneMessages.GetColorZones(start_index=0, end_index=255)
io = device.io["MEMORY"]
with FakeTime() as t:
@io.packet_filter.intercept_process_request
async def process_request(event, Cont):
if event | MultiZoneMessages.GetColorZones:
event.set_replies(Cont)
event.handled = False
event._viewers_only = True
return True
else:
raise Cont()
@io.packet_filter.intercept_process_outgoing
async def process_outgoing(reply, req_event, Cont):
if req_event | MultiZoneMessages.GetColorZones:
yield MultiZoneMessages.StateMultiZone.create(
zones_count=22,
zone_index=0,
colors=[hp.Color(i, 1, 1, 3500) for i in range(8)],
**reply,
)
yield MultiZoneMessages.StateMultiZone.create(
zones_count=22,
zone_index=8,
colors=[hp.Color(i, 1, 1, 3500) for i in range(8, 16)],
)
else:
raise Cont()
with process_request, process_outgoing:
async with MockedCallLater(t):
with assertRaises(
TimedOut,
"Waiting for reply to a packet",
sent_pkt_type=502,
sequence=1,
source=2,
serial=device.serial,
):
await send_single(original, timeout=3)
assert t.time == 3
assertSent(
sender,
*[
(round(at * 0.2, 3), device.serial, original.Payload.__name__, original.payload)
for at in range(int(round(3 / 0.2)))
],
)
async it "can retry getting multiple replies till it has all replies", send_single, sender, device, FakeTime, MockedCallLater:
original = MultiZoneMessages.GetColorZones(
start_index=0, end_index=255, ack_required=False
)
io = device.io["MEMORY"]
expected = (
(
MultiZoneMessages.StateMultiZone,
dict(
zones_count=22,
zone_index=0,
colors=[hp.Color(i, 1, 1, 3500) for i in range(8)],
),
),
(
MultiZoneMessages.StateMultiZone,
dict(
zones_count=22,
zone_index=8,
colors=[hp.Color(i, 1, 1, 3500) for i in range(8, 16)],
),
),
(
MultiZoneMessages.StateMultiZone,
dict(
zones_count=22,
zone_index=16,
colors=[hp.Color(i, 1, 1, 3500) for i in range(16, 22)]
+ [hp.Color(0, 0, 0, 0) for _ in range(22, 24)],
),
),
)
reply1 = expected[0][0].create(**expected[0][1])
reply2 = expected[1][0].create(**expected[1][1])
reply3 = expected[2][0].create(**expected[2][1])
with FakeTime() as t:
@io.packet_filter.intercept_process_request
async def process_request(event, Cont):
if event | MultiZoneMessages.GetColorZones:
event.set_replies(Cont)
event.handled = False
event._viewers_only = True
return True
else:
raise Cont()
@io.packet_filter.intercept_process_outgoing
async def process_outgoing(reply, req_event, Cont):
if req_event | MultiZoneMessages.GetColorZones:
yield reply1.clone(overrides=reply)
if time.time() != 2.2:
return
yield reply2.clone(overrides=reply)
yield reply3.clone(overrides=reply)
else:
raise Cont()
with process_request, process_outgoing:
async with MockedCallLater(t):
result = await send_single(original, timeout=3)
assert t.time == 2.2
pytest.helpers.assertSamePackets(result, *expected)
assert devices.store(device) == [
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.OUTGOING(device, io, pkt=reply2, replying_to=original),
devices.Events.OUTGOING(device, io, pkt=reply3, replying_to=original),
]
assertSent(
sender,
*[
(round(at * 0.2, 3), device.serial, original.Payload.__name__, original.payload)
for at in range(1 + int(round(2.2 / 0.2)))
],
)
describe "without retries":
async it "works if we get a response first time", send_single, device:
original = DeviceMessages.EchoRequest(echoing=b"hi")
expected = (DeviceMessages.EchoResponse, {"echoing": b"hi"})
result = await send_single(original, timeout=1, no_retry=True)
pytest.helpers.assertSamePackets(result, expected)
io = device.io["MEMORY"]
assert devices.store(device) == [
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(
device, io, pkt=CoreMessages.Acknowledgement(), replying_to=original
),
devices.Events.OUTGOING(
device, io, pkt=expected[0].create(**expected[1]), replying_to=original
),
]
async it "times out if we don't get a response", send_single, sender, device, FakeTime, MockedCallLater:
original = DeviceMessages.EchoRequest(echoing=b"hi")
with FakeTime() as t:
async with MockedCallLater(t):
with assertRaises(
TimedOut,
"Waiting for reply to a packet",
sent_pkt_type=58,
sequence=1,
source=2,
serial=device.serial,
):
async with device.offline():
await send_single(original, timeout=2, no_retry=True)
assert t.time == 2
assertSent(sender, (0, device.serial, original.Payload.__name__, original.payload))
async it "doesn't wait beyond timeout for known count multi reply messages", send_single, sender, device, FakeTime, MockedCallLater:
original = MultiZoneMessages.GetColorZones(start_index=0, end_index=255)
io = device.io["MEMORY"]
expected = (
(
MultiZoneMessages.StateMultiZone,
dict(
zones_count=22,
zone_index=0,
colors=[hp.Color(i, 1, 1, 3500) for i in range(8)],
),
),
(
MultiZoneMessages.StateMultiZone,
dict(
zones_count=22,
zone_index=8,
colors=[hp.Color(i, 1, 1, 3500) for i in range(8, 16)],
),
),
)
reply1 = expected[0][0].create(**expected[0][1])
reply2 = expected[1][0].create(**expected[1][1])
with FakeTime() as t:
@io.packet_filter.intercept_process_request
async def process_request(event, Cont):
if event | MultiZoneMessages.GetColorZones:
event.set_replies(Cont)
event.handled = False
event._viewers_only = True
return True
else:
raise Cont()
@io.packet_filter.intercept_process_outgoing
async def process_outgoing(reply, req_event, Cont):
if req_event | MultiZoneMessages.GetColorZones:
yield reply1
yield reply2
else:
raise Cont()
with process_request, process_outgoing:
async with MockedCallLater(t):
with assertRaises(
TimedOut,
"Waiting for reply to a packet",
sent_pkt_type=502,
sequence=1,
source=2,
serial=device.serial,
):
await send_single(original, timeout=3, no_retry=True)
assert t.time == 3
assertSent(sender, (0, device.serial, original.Payload.__name__, original.payload))
async it "doesn't wait beyond timeout for unlimited reply messages that get no reply", send_single, sender, device, FakeTime, MockedCallLater:
original = DiscoveryMessages.GetService(ack_required=False)
io = device.io["MEMORY"]
reply1 = DiscoveryMessages.StateService(service=1, port=56700)
reply2 = DiscoveryMessages.StateService(service=2, port=56700)
info = {"m": None}
@io.packet_filter.intercept_process_request
async def process_request(event, Cont):
if event | DiscoveryMessages.GetService:
event.set_replies(Cont)
event.handled = False
event._viewers_only = True
return True
else:
raise Cont()
@io.packet_filter.intercept_process_outgoing
async def process_outgoing(reply, req_event, Cont):
if req_event | DiscoveryMessages.GetService:
await info["m"].resume_after(2)
yield reply1.clone(overrides=reply)
yield reply2.clone(overrides=reply)
else:
raise Cont()
with process_request, process_outgoing, FakeTime() as t:
async with MockedCallLater(t) as m:
info["m"] = m
with assertRaises(
TimedOut,
"Waiting for reply to a packet",
sent_pkt_type=2,
sequence=1,
source=2,
serial=device.serial,
):
assert await send_single(original, timeout=1, no_retry=True) == []
assert t.time == 1
assert devices.store(device) == [
devices.Events.INCOMING(device, io, pkt=original),
]
assertSent(
sender, (0, device.serial, original.Payload.__name__, original.payload)
)
await m.resume_after(1.5)
assert devices.store(device) == [
devices.Events.INCOMING(device, io, pkt=original),
devices.Events.OUTGOING(device, io, pkt=reply1, replying_to=original),
devices.Events.OUTGOING(device, io, pkt=reply2, replying_to=original),
]
async it "does wait beyond timeout for unlimited reply messages that have any replies after timeout", send_single, sender, device, FakeTime, MockedCallLater:
original = DiscoveryMessages.GetService(ack_required=False)
sender.transport_target.gaps.gap_between_results = 0.55
io = device.io["MEMORY"]
reply1 = DiscoveryMessages.StateService(service=1, port=56700)
info = {"m": None}
@io.packet_filter.intercept_process_request
async def process_request(event, Cont):
if event | DiscoveryMessages.GetService:
event.set_replies(Cont)
event.handled = False
event._viewers_only = True
return True
else:
raise Cont()
@io.packet_filter.intercept_process_outgoing
async def process_outgoing(reply, req_event, Cont):
if req_event | DiscoveryMessages.GetService:
await m.resume_after(0.8)
yield reply1.clone(overrides=reply)
else:
raise Cont()
with process_request, process_outgoing, FakeTime() as t:
async with MockedCallLater(t) as m:
info["m"] = m
result = await send_single(original, timeout=1, no_retry=True)
# Waited 0.8 to get that second reply and finish_multi_gap of 0.6
assert t.time == 1.4
pytest.helpers.assertSamePackets(
result,
(
DiscoveryMessages.StateService,
{
"service": Services.UDP,
"port": 56700,
},
),
)
assertSent(
sender, (0, device.serial, original.Payload.__name__, original.payload)
)
| 40.056911 | 165 | 0.495596 | 2,270 | 24,635 | 5.274009 | 0.101762 | 0.036752 | 0.06841 | 0.060558 | 0.819161 | 0.800952 | 0.775727 | 0.765787 | 0.752506 | 0.714751 | 0 | 0.02499 | 0.415222 | 24,635 | 614 | 166 | 40.12215 | 0.806053 | 0.003085 | 0 | 0.684211 | 0 | 0 | 0.045732 | 0 | 0 | 0 | 0 | 0 | 0.081871 | 0 | null | null | 0 | 0.015595 | null | null | 0.001949 | 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 |
57ced9b89e653560d40c04722100015e7300a576 | 165 | py | Python | src/opihiexarata/gui/qtui/__init__.py | psmd-iberutaru/OpihiExarata | f0b595d7712ec68c972a7261e6bacc66410ba8b3 | [
"MIT"
] | null | null | null | src/opihiexarata/gui/qtui/__init__.py | psmd-iberutaru/OpihiExarata | f0b595d7712ec68c972a7261e6bacc66410ba8b3 | [
"MIT"
] | 2 | 2022-03-02T03:37:58.000Z | 2022-03-15T11:05:32.000Z | src/opihiexarata/gui/qtui/__init__.py | psmd-iberutaru/OpihiExarata | f0b595d7712ec68c972a7261e6bacc66410ba8b3 | [
"MIT"
] | null | null | null | """All of the QtUI frameworks."""
from opihiexarata.gui.qtui.qtui_primary import Ui_PrimaryWindow
from opihiexarata.gui.qtui.qtui_selector import Ui_SelectorWindow
| 33 | 65 | 0.836364 | 23 | 165 | 5.826087 | 0.608696 | 0.238806 | 0.283582 | 0.343284 | 0.402985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084848 | 165 | 4 | 66 | 41.25 | 0.887417 | 0.163636 | 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 | 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 |
57ecd6ecd093a638ea900bce72066b19fbaced7f | 836 | py | Python | nmextract.py | ishank-arora/venmo-emoji | 209f53b4f90b9d8737c609e6cd5f16d0f5cf25d4 | [
"MIT"
] | null | null | null | nmextract.py | ishank-arora/venmo-emoji | 209f53b4f90b9d8737c609e6cd5f16d0f5cf25d4 | [
"MIT"
] | null | null | null | nmextract.py | ishank-arora/venmo-emoji | 209f53b4f90b9d8737c609e6cd5f16d0f5cf25d4 | [
"MIT"
] | 1 | 2020-07-21T01:13:49.000Z | 2020-07-21T01:13:49.000Z | import pickle
"""n2 = pickle.load(open("/data/06333/aroraish/textnm1.pkl", "r"))
asd = n2.most_common(1000)
with open("/data/06333/aroraish/nm1.txt", "w") as f2:
index = 1
for a in asd:
f2.write(str(index) + ") " + a[0].encode('utf-8') + " " + str(a[1]) + "\n")
index += 1
"""
n2 = pickle.load(open("/data/06333/aroraish/textnm2.pkl", "r"))
asd = n2.most_common(1000)
with open("/data/06333/aroraish/nm2.txt", "w") as f2:
index = 1
for a in asd:
f2.write(str(index) + ") " + a[0].encode('utf-8') + " " + str(a[1]) + "\n")
index += 1
"""n2 = pickle.load(open("/data/06333/aroraish/textnm3.pkl", "r"))
asd = n2.most_common(1000)
with open("/data/06333/aroraish/nm3.txt", "w") as f2:
index = 1
for a in asd:
f2.write(str(index) + ") " + a[0].encode('utf-8') + " " + str(a[1]) + "\n")
index += 1
"""
| 32.153846 | 81 | 0.566986 | 140 | 836 | 3.364286 | 0.264286 | 0.101911 | 0.165605 | 0.267516 | 0.910828 | 0.910828 | 0.910828 | 0.840764 | 0.840764 | 0.840764 | 0 | 0.10917 | 0.17823 | 836 | 25 | 82 | 33.44 | 0.576419 | 0 | 0 | 0 | 0 | 0 | 0.255245 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 |
57f7fe22588fada47698fc4523874557002a54b1 | 36,857 | py | Python | crawl_chinese_news.py | sillyemperor/mypynotebook | 27a3847764a422fee05590e6d2ef145256f558de | [
"MIT"
] | null | null | null | crawl_chinese_news.py | sillyemperor/mypynotebook | 27a3847764a422fee05590e6d2ef145256f558de | [
"MIT"
] | null | null | null | crawl_chinese_news.py | sillyemperor/mypynotebook | 27a3847764a422fee05590e6d2ef145256f558de | [
"MIT"
] | null | null | null | import requests
import json
# r = requests.get('https://channel.chinanews.com/cns/cjs/fortune.shtml', params={
# 'pager':2, 'pagenum': 8, 't': '2_52'
# }, headers={
# 'Host': 'channel.chinanews.com',
# 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0) Gecko/20100101 Firefox/70.0',
# 'Accept': '*/*',
# 'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
# 'Accept-Encoding': 'gzip, deflate, br',
# 'Connection': 'keep-alive',
# 'Referer': 'https://fortune.chinanews.com/',
# 'Cookie': 'cnsuuid=7b60d551-6bf9-78f1-4505-c478e334a50b11533.552340989321_1568097704609; Hm_lvt_0da10fbf73cda14a786cd75b91f6beab=1572918270; zycna=GeggLIGdjBgBAdpYHfDyNfYE; BAIDU_SSP_lcr=https://cn.bing.com/; __jsluid_s=61061554db42ef7c4853f09508425317; Hm_lpvt_0da10fbf73cda14a786cd75b91f6beab=1572924604',
#
# })
#
# print(r.content)
# s='specialcnsdata = {"docs":[{"pubtime":"2019-11-05 19:51:52","channel":"","img_cns":"http://i2.chinanews.com/simg/2019/191105/108006990.JPG","id":"4-8-8999134","title":"\xe5\xb8\xb8\xe5\xb7\x9e\xe5\x85\xa5\xe9\x80\x89\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xe7\xbb\xbc\xe5\x90\x88\xe6\x94\xb9\xe9\x9d\xa9\xe8\xaf\x95\xe7\x82\xb9\xe5\x9f\x8e\xe5\xb8\x82 \xe8\x8e\xb7\xe5\xa5\x96\xe5\x8a\xb13000\xe4\xb8\x87\xe5\x85\x83","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x91\xe5\xb8\xb8\xe5\xb7\x9e11\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 (\xe5\x94\x90\xe5\xa8\x9f \xe9\xad\x8f\xe4\xbd\xb3\xe6\x96\x87)\\u201c\xe5\xb8\xb8\xe5\xb7\x9e\xe5\xb8\x82\xe6\xad\xa3\xe5\xbc\x8f\xe6\x88\x90\xe4\xb8\xba\xe5\x85\xa8\xe5\x9b\xbd59\xe4\xb8\xaa\xe8\xb4\xa2\xe6\x94\xbf\xe6\x94\xaf\xe6\x8c\x81\xe6\xb7\xb1\xe5\x8c\x96\xe6\xb0\x91\xe8\x90\xa5\xe5\x92\x8c\xe5\xb0\x8f\xe5\xbe\xae\xe4\xbc\x81\xe4\xb8\x9a\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xe7\xbb\xbc\xe5\x90\x88\xe6\x94\xb9\xe9\x9d\xa9\xe8\xaf\x95\xe7\x82\xb9\xe5\x9f\x8e\xe5\xb8\x82\xe4\xb9\x8b\xe4\xb8\x80\xef\xbc\x8c\xe8\x8e\xb7\xe5\xbe\x97\xe4\xb8\xad\xe5\xa4\xae\xe5\xa5\x96\xe5\x8a\xb1\xe8\xb5\x84\xe9\x87\x913000\xe4\xb8\x87\xe5\x85\x83\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe3\x80\x82\\u201d11\xe6\x9c\x885\xe6\x97\xa5\xe4\xb8\x8b\xe5\x8d\x88\xef\xbc\x8c\xe5\xb8\xb8\xe5\xb7\x9e\xe5\xb8\x82\xe6\x94\xbf\xe5\xba\x9c\xe5\x89\xaf\xe7\xa7\x98\xe4\xb9\xa6\xe9\x95\xbf\xe5\x88\x98\xe5\x8d\xab\xe5\x9b\xbd\xe5\x9c\xa8\xe5\xb8\xb8\xe5\xb7\x9e\xe5\xb8\x82\xe5\x85\xa5\xe9\x80\x89\xe8\xb4\xa2\xe6\x94\xbf\xe6\x94\xaf\xe6\x8c\x81\xe6\xb7\xb1\xe5\x8c\x96\xe6\xb0\x91\xe8\x90\xa5\xe5\x92\x8c\xe5\xb0\x8f\xe5\xbe\xae\xe4\xbc\x81\xe4\xb8\x9a\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xe7\xbb\xbc\xe5\x90\x88\xe6\x94\xb9\xe9\x9d\xa9\xe8\xaf\x95\xe7\x82\xb9\xe5\x9f\x8e\xe5\xb8\x82\xe6\x96\xb0\xe9\x97\xbb\xe5\x8f\x91\xe5\xb8\x83\xe4\xbc\x9a\xe4\xb8\x8a\xe5\xa6\x82\xe6\x98\xaf\xe8\xa1\xa8\xe7\xa4\xba\xe3\x80\x82 \xe3\x80\x80\xe3\x80\x80\xe4\xbc\x9a\xe4\xb8\x8a...","url":"http://www.chinanews.com/fortune/2019/11-05/8999134.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8999134.shtml","galleryphoto":"http://i2.chinanews.com/simg/2019/191105/sl_108006990.JPG","content_y":""},{"pubtime":"2019-11-05 18:53:32","channel":"","img_cns":"","id":"4-8-8999083","title":"\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe6\xb1\x87\xe7\x8e\x87\xe6\xb6\xa8\xe7\xa0\xb47 \xe5\x88\x9b\xe4\xb8\x89\xe4\xb8\xaa\xe6\x9c\x88\xe6\x9c\x80\xe9\xab\x98\xe5\x80\xbc","content":"\xe9\x93\xb6\xe8\xa1\x8c\xe5\xb7\xa5\xe4\xbd\x9c\xe4\xba\xba\xe5\x91\x98\xe6\xb8\x85\xe7\x82\xb9\xe8\xb4\xa7\xe5\xb8\x81\xe3\x80\x82\xe4\xb8\xad\xe6\x96\xb0\xe7\xa4\xbe\xe8\xae\xb0\xe8\x80\x85 \xe5\xbc\xa0\xe4\xba\x91 \xe6\x91\x84 \xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xa4\xbe\xe5\x8c\x97\xe4\xba\xac11\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 (\xe5\xa4\x8f\xe5\xae\xbe)\xe5\x9c\xa88\xe6\x9c\x88\xe5\x88\x9d\xe8\xb7\x8c\xe7\xa0\xb47\xe4\xb9\x8b\xe5\x90\x8e\xef\xbc\x8c\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe6\xb1\x87\xe7\x8e\x87\xe4\xbf\x9d\xe6\x8c\x81\xe4\xba\x86\xe4\xb8\x80\xe6\xae\xb5\xe6\x97\xb6\xe9\x97\xb4\xe7\x9a\x84\xe5\x9f\xba\xe6\x9c\xac\xe7\xa8\xb3\xe5\xae\x9a\xef\xbc\x8c\xe4\xba\x8e\xe8\xbf\x91\xe6\x9c\x9f\xe5\x87\xba\xe7\x8e\xb0\xe7\xbc\x93\xe6\x85\xa2\xe4\xb8\x8a\xe6\xb6\xa8\xe3\x80\x8211\xe6\x9c\x885\xe6\x97\xa5\xef\xbc\x8c\xe5\x9c\xa8\xe5\xb2\xb8\xe3\x80\x81\xe7\xa6\xbb\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\xaf\xb9\xe7\xbe\x8e\xe5\x85\x83\xe5\x8d\xb3\xe6\x9c\x9f\xe6\xb1\x87\xe7\x8e\x87\xe5\x8f\x8c\xe5\x8f\x8c\xe6\xb6\xa8\xe7\xa0\xb47\xef\xbc\x8c\xe5\x88\x9b\xe4\xb8\x8b\xe4\xb8\x89\xe4\xb8\xaa\xe6\x9c\x88\xe6\x9d\xa5\xe6\x9c\x80\xe9\xab\x98\xe5\x80\xbc\xe3\x80\x82 \xe3\x80\x80\xe3\x80\x80\xe5\xbd\x93\xe5\xa4\xa9\xe5\xa4\x96\xe6\xb1\x87\xe5\xb8\x82\xe5\x9c\xba\xe4\xb8\x8a\xef\xbc\x8c\xe5\x9c\xa8\xe5\xb2\xb8\xe3\x80\x81\xe7\xa6\xbb\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\xaf\xb9\xe7\xbe\x8e\xe5\x85\x83\xe5\x8d\xb3\xe6\x9c\x9f\xe6\xb1\x87\xe7\x8e\x87\xe4\xb8\x80\xe8\xb7\xaf\xe9\xa3\x99\xe5\x8d\x87\xef\xbc\x8c\xe6\x88\xaa\xe8\x87\xb3\xe5\x8c\x97...","url":"http://www.chinanews.com/fortune/2019/11-05/8999083.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8999083.shtml","galleryphoto":"http://i2.chinanews.com/simg/smimg/2019/09/25/cb1a1b529f404fe2ac4e2a6e0d6c518e.jpg","content_y":""},{"pubtime":"2019-11-05 17:01:24","channel":"","img_cns":"","id":"4-8-8998984","title":"\xe5\x88\x9b\xe4\xb8\x89\xe4\xb8\xaa\xe6\x9c\x88\xe6\x96\xb0\xe9\xab\x98\xef\xbc\x81\xe7\xa6\xbb\xe5\xb2\xb8\xe3\x80\x81\xe5\x9c\xa8\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\x8f\x8c\xe5\x8f\x8c\xe5\x8d\x87\xe7\xa0\xb47.00\xe5\x85\xb3\xe5\x8f\xa3","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbb\x8f\xe7\xba\xac\xe5\xae\xa2\xe6\x88\xb7\xe7\xab\xaf11\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 5\xe6\x97\xa5\xe5\x8d\x88\xe5\x90\x8e\xef\xbc\x8c\xe7\xa6\xbb\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\x85\x91\xe7\xbe\x8e\xe5\x85\x83\xe6\x8c\x81\xe7\xbb\xad\xe6\x8b\x89\xe6\xb6\xa8\xef\xbc\x8c\xe5\x8d\x87\xe7\xa0\xb47.00\xe6\x95\xb4\xe6\x95\xb0\xe5\x85\xb3\xe5\x8f\xa3\xef\xbc\x8c\xe5\x88\x9b8\xe6\x9c\x885\xe6\x97\xa5\xe4\xbb\xa5\xe6\x9d\xa5\xe6\x96\xb0\xe9\xab\x98\xef\xbc\x8c\xe6\x97\xa5\xe5\x86\x85\xe6\xb6\xa8\xe9\x80\xbe300\xe4\xb8\xaa\xe5\x9f\xba\xe7\x82\xb9\xe3\x80\x82\xe6\x88\xaa\xe8\x87\xb316\xe6\x97\xb620\xe5\x88\x86\xef\xbc\x8c\xe6\x8a\xa57.0070\xe3\x80\x82 \xe3\x80\x80\xe3\x80\x80\xe7\xbe\x8e\xe5\x85\x83\xe5\x85\x91\xe7\xa6\xbb\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe8\xb5\xb0\xe5\x8a\xbf \xe6\x9d\xa5\xe6\xba\x90\xef\xbc\x9aWind \xe3\x80\x80\xe3\x80\x80\xe4\xb8\x8e\xe6\xad\xa4\xe5\x90\x8c\xe6\x97\xb6\xef\xbc\x8c\xe5\x9c\xa8\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\x85\x91\xe7\xbe\x8e\xe5\x85\x83\xe5\x90\x8c\xe6\xa0\xb7\xe5\x8d\x87\xe7\xa0\xb47.00\xe6\x95\xb4\xe6\x95\xb0\xe5\x85\xb3\xe5\x8f\xa3\xef\xbc\x8c\xe6\x88\xaa\xe8\x87\xb316\xe6\x97\xb620\xe5\x88\x86\xe6\x8a\xa57.0016\xef\xbc\x8c...","url":"http://www.chinanews.com/fortune/2019/11-05/8998984.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998984.shtml","galleryphoto":"http://i2.chinanews.com/simg/smimg/2017/04/27/2a0d2e2ed3ea422cbc5cf4845e178aa0.jpg","content_y":""},{"pubtime":"2019-11-05 15:43:52","channel":"","img_cns":"","id":"4-8-8998844","title":"\xe7\xa7\x91\xe5\x88\x9b\xe6\x9d\xbf\xe5\x85\xac\xe5\x8f\xb8\xe4\xb8\x89\xe5\xad\xa3\xe6\x8a\xa5\xe4\xb8\x9a\xe7\xbb\xa9\xe5\x88\x86\xe5\x8c\x96 10\xe5\xae\xb6\xe5\x85\xac\xe5\x8f\xb8\xe5\x87\x80\xe5\x88\xa9\xe5\xa2\x9e\xe9\x80\x9f\xe8\xb6\x85\xe8\xbf\x87100%","content":"\xe3\x80\x80\xe3\x80\x80\xe7\xbe\x8a\xe5\x9f\x8e\xe6\x99\x9a\xe6\x8a\xa5\xe8\xae\xb0\xe8\x80\x85 \xe6\x88\xb4\xe6\x9b\xbc\xe6\x9b\xbc \xe3\x80\x80\xe3\x80\x80\xe4\xbb\x8e\xe9\xa6\x96\xe6\x89\xb925\xe5\xae\xb6\xe7\xa7\x91\xe5\x88\x9b\xe6\x9d\xbf\xe4\xbc\x81\xe4\xb8\x9a\xef\xbc\x8c\xe5\x88\xb0\xe6\x88\xaa\xe8\x87\xb311\xe6\x9c\x88\xe5\x88\x9d\xe5\xb7\xb2\xe7\xbb\x8f\xe6\x89\xa9\xe5\xae\xb9\xe8\x87\xb341\xe5\xae\xb6\xef\xbc\x8c\xe7\x9b\xae\xe5\x89\x8d\xe5\x9d\x87\xe5\xb7\xb2\xe7\xbb\x8f\xe4\xba\xa4\xe5\x87\xba\xe4\xb8\x89\xe5\xad\xa3\xe5\xba\xa6\xe6\x88\x90\xe7\xbb\xa9\xe5\x8d\x95\xef\xbc\x8c41\xe5\xae\xb6\xe7\xa7\x91\xe5\x88\x9b\xe6\x9d\xbf\xe5\x90\x88\xe8\xae\xa1\xe5\xae\x9e\xe7\x8e\xb0\xe8\x90\xa5\xe6\x94\xb6691.88\xe4\xba\xbf\xe5\x85\x83\xef\xbc\x8c\xe5\x90\x8c\xe6\xaf\x94\xe5\xa2\x9e\xe9\x95\xbf13.60%\xef\xbc\x8c\xe5\xbd\x92\xe6\xaf\x8d\xe5\x87\x80\xe5\x88\xa9\xe6\xb6\xa686.02\xe4\xba\xbf\xe5\x85\x83\xef\xbc\x8c\xe5\x90\x8c\xe6\xaf\x94\xe5\xa2\x9e\xe9\x95\xbf41%\xe3\x80\x82\xe4\xb8\x8d\xe8\xbf\x87\xe6\x88\x90\xe7\xbb\xa9\xe5\x8d\x95\xe4\xb9\x9f\xe5\x8f\x8d\xe6\x98\xa0\xe5\x87\xba\xe7\xa7\x91\xe5\x88\x9b\xe6\x9d\xbf\xe4\xbc\x81\xe4\xb8\x9a\xe7\x9a\x84\xe5\x88\x86\xe5\x8c\x96\xe6\x98\x8e\xe6\x98\xbe\xef\xbc\x8c\xe4\xbb\x8e\xe5\xa2\x9e\xe9\x80\x9f\xe6\x9d\xa5\xe7\x9c\x8b\xef\xbc\x8c\xe6\x80\xbb\xe5\x85\xb1\xe6\x9c\x8926\xe5\xae\xb6\xe5\x85\xac\xe5\x8f\xb8\xe5\xae\x9e\xe7\x8e\xb0\xe5\x8f\x8c\xe4\xbd\x8d\xe6\x95\xb0...","url":"http://www.chinanews.com/fortune/2019/11-05/8998844.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998844.shtml","galleryphoto":"http://www.chinanews.com/fortune/2019/11-05/U564P4T8D8998844F19930DT20191105154352.jpg","content_y":""},{"pubtime":"2019-11-05 11:39:36","channel":"","img_cns":"","id":"4-8-8998553","title":"\xe5\xb7\xa5\xe8\xa1\x8c\xe8\x81\x9a\xe8\xb7\xa8\xe5\xa2\x83\xe9\x87\x91\xe8\x9e\x8d\xe4\xb9\x8b\xe5\x8a\xbf \xe5\x88\x9b\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x98\xe8\xb4\xa8\xe6\x9c\x8d\xe5\x8a\xa1\xe5\x93\x81\xe7\x89\x8c","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x9111\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 11\xe6\x9c\x885\xe6\x97\xa5\xe8\x87\xb310\xe6\x97\xa5\xef\xbc\x8c\xe7\xac\xac\xe4\xba\x8c\xe5\xb1\x8a\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\xe5\xb0\x86\xe5\x9c\xa8\xe4\xb8\x8a\xe6\xb5\xb7\xe5\x9b\xbd\xe5\xae\xb6\xe4\xbc\x9a\xe8\xae\xae\xe4\xb8\xad\xe5\xbf\x83\xe9\x9a\x86\xe9\x87\x8d\xe4\xb8\xbe\xe5\x8a\x9e\xe3\x80\x82\xe6\x9c\xac\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe8\xa7\x84\xe6\xa8\xa1\xe5\xb0\x86\xe8\xb6\x85\xe5\x87\xba\xe7\xac\xac\xe4\xb8\x80\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\xe5\x90\x8c\xe6\x9c\x9f\xe6\xb0\xb4\xe5\xb9\xb3\xe3\x80\x82\xe4\xb8\xad\xe5\x9b\xbd\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe8\x87\xaa\xe9\xa6\x96\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe4\xbb\xa5\xe6\x9d\xa5\xef\xbc\x8c\xe8\x87\xb4\xe5\x8a\x9b\xe4\xba\x8e\xe4\xb8\xba\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe6\x8f\x90\xe4\xbe\x9b\xe5\x85\xa8\xe6\x96\xb9\xe4\xbd\x8d\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xef\xbc\x8c\xe6\x8c\x81\xe7\xbb\xad\xe6\x8f\x90\xe5\x8d\x87\xe6\x9c\x8d\xe5\x8a\xa1\xe5\xb9\xbf\xe5\xba\xa6\xe5\x92\x8c\xe6\xb7\xb1\xe5\xba\xa6\xe3\x80\x82 \xe3\x80\x80\xe3\x80\x80\xe4\xbb\x8a\xe5\xb9\xb49\xe6\x9c\x885\xe6\x97\xa5\xef\xbc\x8c\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe4\xb8\x8e\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe5\xb1\x80\xe7\xad\xbe\xe7\xbd\xb2\xe5\x90\x88\xe4\xbd\x9c\xe6\xa1\x86\xe6\x9e\xb6\xe5\x8d\x8f\xe8\xae\xae\xef\xbc\x8c...","url":"http://www.chinanews.com/fortune/2019/11-05/8998553.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998553.shtml","galleryphoto":"http://www.chinanews.com/fortune/2019/11-05/U846P4T8D8998553F19930DT20191105112016.jpg","content_y":""},{"pubtime":"2019-11-05 11:37:48","channel":"","img_cns":"","id":"4-8-8998544","title":"\xe5\xb7\xa5\xe8\xa1\x8c\xe5\x90\x88\xe9\x9b\x86\xe5\x9b\xa2\xe4\xb8\x8a\xe4\xb8\x8b\xe4\xb9\x8b\xe5\x8a\x9b \xe5\x8f\x91\xe6\x8c\xa5\xe5\x85\xa8\xe7\x90\x83\xe5\x8c\x96\xe6\x9c\x8d\xe5\x8a\xa1\xe8\x83\xbd\xe6\x95\x88","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x9111\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 2019\xe5\xb9\xb411\xe6\x9c\x885\xe6\x97\xa5\xe8\x87\xb310\xe6\x97\xa5\xef\xbc\x8c\xe7\xac\xac\xe4\xba\x8c\xe5\xb1\x8a\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\xe5\xb0\x86\xe5\x9c\xa8\xe4\xb8\x8a\xe6\xb5\xb7\xe5\x9b\xbd\xe5\xae\xb6\xe4\xbc\x9a\xe8\xae\xae\xe4\xb8\xad\xe5\xbf\x83\xe9\x9a\x86\xe9\x87\x8d\xe4\xb8\xbe\xe5\x8a\x9e\xe3\x80\x82\xe6\x9c\xac\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe8\xa7\x84\xe6\xa8\xa1\xe5\xb0\x86\xe8\xb6\x85\xe5\x87\xba\xe7\xac\xac\xe4\xb8\x80\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\xe5\x90\x8c\xe6\x9c\x9f\xe6\xb0\xb4\xe5\xb9\xb3\xe3\x80\x82\xe4\xb8\xad\xe5\x9b\xbd\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe8\x87\xaa\xe9\xa6\x96\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe4\xbb\xa5\xe6\x9d\xa5\xef\xbc\x8c\xe8\x87\xb4\xe5\x8a\x9b\xe4\xba\x8e\xe4\xb8\xba\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe6\x8f\x90\xe4\xbe\x9b\xe5\x85\xa8\xe6\x96\xb9\xe4\xbd\x8d\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xef\xbc\x8c\xe6\x8c\x81\xe7\xbb\xad\xe6\x8f\x90\xe5\x8d\x87\xe6\x9c\x8d\xe5\x8a\xa1\xe5\xb9\xbf\xe5\xba\xa6\xe5\x92\x8c\xe6\xb7\xb1\xe5\xba\xa6\xe3\x80\x82\xe4\xbb\x8a\xe5\xb9\xb49\xe6\x9c\x885\xe6\x97\xa5\xef\xbc\x8c\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe4\xb8\x8e\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe5\xb1\x80\xe7\xad\xbe\xe7\xbd\xb2\xe5\x90\x88\xe4\xbd\x9c\xe6\xa1\x86\xe6\x9e\xb6\xe5\x8d\x8f...","url":"http://www.chinanews.com/fortune/2019/11-05/8998544.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998544.shtml","galleryphoto":"http://www.chinanews.com/fortune/2019/11-05/U846P4T8D8998544F19930DT20191105111749.jpg","content_y":""},{"pubtime":"2019-11-05 11:36:36","channel":"","img_cns":"","id":"4-8-8998550","title":"\xe5\xb7\xa5\xe8\xa1\x8c\xe6\x89\xac\xe6\xb8\xa0\xe9\x81\x93\xe7\xbd\x91\xe7\xbb\x9c\xe4\xb9\x8b\xe9\x95\xbf \xe4\xbf\x9d\xe9\x9a\x9c\xe5\xb1\x95\xe4\xbc\x9a\xe4\xbc\x98\xe8\xb4\xa8\xe6\x9c\x8d\xe5\x8a\xa1","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x9111\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 \xe4\xb8\xad\xe5\x9b\xbd\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe8\x87\xaa\xe9\xa6\x96\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe4\xbb\xa5\xe6\x9d\xa5\xef\xbc\x8c\xe8\x87\xb4\xe5\x8a\x9b\xe4\xba\x8e\xe4\xb8\xba\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe6\x8f\x90\xe4\xbe\x9b\xe5\x85\xa8\xe6\x96\xb9\xe4\xbd\x8d\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xef\xbc\x8c\xe6\x8c\x81\xe7\xbb\xad\xe6\x8f\x90\xe5\x8d\x87\xe6\x9c\x8d\xe5\x8a\xa1\xe5\xb9\xbf\xe5\xba\xa6\xe5\x92\x8c\xe6\xb7\xb1\xe5\xba\xa6\xe3\x80\x82\xe4\xbb\x8a\xe5\xb9\xb49\xe6\x9c\x885\xe6\x97\xa5\xef\xbc\x8c\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe4\xb8\x8e\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe5\xb1\x80\xe7\xad\xbe\xe7\xbd\xb2\xe5\x90\x88\xe4\xbd\x9c\xe6\xa1\x86\xe6\x9e\xb6\xe5\x8d\x8f\xe8\xae\xae\xef\xbc\x8c\xe6\x88\x90\xe4\xb8\xba\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\\u201c\xe5\xa2\x83\xe5\xa4\x96\xe6\x8b\x9b\xe5\x95\x86\xe5\x90\x88\xe4\xbd\x9c\xe4\xbc\x99\xe4\xbc\xb4\\u201d\xe3\x80\x82\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe5\xb0\x86\xe5\xbb\xb6\xe7\xbb\xad\xe6\x9c\x8d\xe5\x8a\xa1\xe9\xa6\x96\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe7\x9a\x84\xe7\xb2\xbe\xe7\xa5\x9e\xe9\xa3\x8e\xe8\xb2\x8c\xe5\x92\x8c\xe4\xb8\x93\xe4\xb8\x9a\xe6\xb0\xb4\xe5\xb9\xb3\xef\xbc\x8c\xe5\x80\x9f\xe5\x8a\xa9\xe5\xb9\xbf\xe6\xb3\x9b\xe7\x9a\x84\xe5\x85\xa8\xe7\x90\x83\xe5\xb8\x83\xe5\xb1\x80\xe3\x80\x81\xe9\x9b\x84\xe5\x8e\x9a\xe7\x9a\x84\xe5\xae\xa2\xe6\x88\xb7\xe5\x9f\xba...","url":"http://www.chinanews.com/fortune/2019/11-05/8998550.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998550.shtml","galleryphoto":"http://i2.chinanews.com/simg/smimg/2017/12/11/e4d787f0b0fe46f6b06cddfd5f7bb133.jpg","content_y":""},{"pubtime":"2019-11-05 11:17:01","channel":"","img_cns":"","id":"4-8-8998439","title":"\xe5\x85\xb4\xe4\xb8\x9a\xe9\x93\xb6\xe8\xa1\x8c\xe8\xb4\xa2\xe5\xaf\x8c\xe9\x94\x80\xe5\x94\xae\xe8\x83\xbd\xe5\x8a\x9b\xe6\x8f\x90\xe5\x8d\x87 \xe9\x94\x80\xe9\x87\x8f\xe8\xbe\xbe4.2\xe4\xb8\x87\xe4\xba\xbf\xe5\x85\x83","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x9111\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 \xe8\xbf\x91\xe6\x9c\x9f\xef\xbc\x8c\xe5\x85\xb4\xe4\xb8\x9a\xe9\x93\xb6\xe8\xa1\x8c\xe9\x94\x80\xe5\x94\xae\xe7\x9a\x84\xe8\xb4\xa2\xe5\xaf\x8c\xe4\xba\xa7\xe5\x93\x81\\u201c\xe7\x88\x86\xe6\xac\xbe\\u201d\xe9\xa2\x91\xe7\x8e\xb0\xe3\x80\x8210\xe6\x9c\x8828\xe6\x97\xa5\xe8\x87\xb310\xe6\x9c\x8831\xe6\x97\xa5\xe6\xb1\x87\xe6\xb7\xbb\xe5\xaf\x8c\xe7\xa8\xb3\xe5\x81\xa5\xe5\xa2\x9e\xe9\x95\xbf\xe6\xb7\xb7\xe5\x90\x88\xe5\x9f\xba\xe9\x87\x91\xe9\xa6\x96\xe5\x8f\x91\xef\xbc\x8c\xe5\x85\xb4\xe4\xb8\x9a\xe9\x93\xb6\xe8\xa1\x8c\xe4\xbb\x85\xe7\x94\xa8\xe4\xb8\x8d\xe5\x88\xb04\xe5\xa4\xa9\xe6\x97\xb6\xe9\x97\xb4\xe4\xbe\xbf\xe5\x8a\xb2\xe9\x94\x80100\xe4\xba\xbf\xe5\x85\x83\xef\xbc\x8c\xe5\x8d\xa0\xe8\xaf\xa5\xe4\xba\xa7\xe5\x93\x81\xe6\x80\xbb\xe5\x8b\x9f\xe9\x9b\x86\xe8\xa7\x84\xe6\xa8\xa1\xe7\x9a\x84\xe4\xb8\x83\xe6\x88\x90\xe4\xbb\xa5\xe4\xb8\x8a\xef\xbc\x9b\xe5\x90\x8c\xe6\x9c\x9f\xef\xbc\x8c\xe5\x85\xb4\xe4\xb8\x9a\xe9\x93\xb6\xe8\xa1\x8c\xe6\x8e\xa8\xe5\x87\xba\xe9\xa6\x96\xe6\xac\xbe\xe5\x9b\xba\xe5\xae\x9a\xe6\x94\xb6\xe7\x9b\x8a\xe5\xa2\x9e\xe5\xbc\xba\xe5\x9e\x8b\xe5\x87\x80\xe5\x80\xbc\xe7\x90\x86\xe8\xb4\xa2\xe4\xba\xa7\xe5\x93\x81---\xe7\xa8\xb3\xe5\x88\xa9\xe7\x9d\xbf\xe7\x9b\x88-\xe5\xb9\xb4\xe5\xb9\xb4\xe5\x8d\x87\xe4\xba\xa7\xe5\x93\x81\xef\xbc\x8c\xe8\xae\xa4\xe8\xb4\xad\xe6\x9c\x9f\xe5\x86\x85\xe5\xae\x9e\xe7\x8e\xb0\xe9\x94\x80\xe9\x87\x8f73.5\xe4\xba\xbf\xe5\x85\x83\xef\xbc\x8c...","url":"http://www.chinanews.com/fortune/2019/11-05/8998439.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998439.shtml","galleryphoto":"http://www.chinanews.com/fortune/2019/11-05/U846P4T8D8998439F19930DT20191105101824.jpg","content_y":""}],"docList":[{"pubtime":"2019-11-05 19:51:52","channel":"","img_cns":"http://i2.chinanews.com/simg/2019/191105/108006990.JPG","id":"4-8-8999134","title":"\xe5\xb8\xb8\xe5\xb7\x9e\xe5\x85\xa5\xe9\x80\x89\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xe7\xbb\xbc\xe5\x90\x88\xe6\x94\xb9\xe9\x9d\xa9\xe8\xaf\x95\xe7\x82\xb9\xe5\x9f\x8e\xe5\xb8\x82 \xe8\x8e\xb7\xe5\xa5\x96\xe5\x8a\xb13000\xe4\xb8\x87\xe5\x85\x83","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x91\xe5\xb8\xb8\xe5\xb7\x9e11\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 (\xe5\x94\x90\xe5\xa8\x9f \xe9\xad\x8f\xe4\xbd\xb3\xe6\x96\x87)\\u201c\xe5\xb8\xb8\xe5\xb7\x9e\xe5\xb8\x82\xe6\xad\xa3\xe5\xbc\x8f\xe6\x88\x90\xe4\xb8\xba\xe5\x85\xa8\xe5\x9b\xbd59\xe4\xb8\xaa\xe8\xb4\xa2\xe6\x94\xbf\xe6\x94\xaf\xe6\x8c\x81\xe6\xb7\xb1\xe5\x8c\x96\xe6\xb0\x91\xe8\x90\xa5\xe5\x92\x8c\xe5\xb0\x8f\xe5\xbe\xae\xe4\xbc\x81\xe4\xb8\x9a\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xe7\xbb\xbc\xe5\x90\x88\xe6\x94\xb9\xe9\x9d\xa9\xe8\xaf\x95\xe7\x82\xb9\xe5\x9f\x8e\xe5\xb8\x82\xe4\xb9\x8b\xe4\xb8\x80\xef\xbc\x8c\xe8\x8e\xb7\xe5\xbe\x97\xe4\xb8\xad\xe5\xa4\xae\xe5\xa5\x96\xe5\x8a\xb1\xe8\xb5\x84\xe9\x87\x913000\xe4\xb8\x87\xe5\x85\x83\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe3\x80\x82\\u201d11\xe6\x9c\x885\xe6\x97\xa5\xe4\xb8\x8b\xe5\x8d\x88\xef\xbc\x8c\xe5\xb8\xb8\xe5\xb7\x9e\xe5\xb8\x82\xe6\x94\xbf\xe5\xba\x9c\xe5\x89\xaf\xe7\xa7\x98\xe4\xb9\xa6\xe9\x95\xbf\xe5\x88\x98\xe5\x8d\xab\xe5\x9b\xbd\xe5\x9c\xa8\xe5\xb8\xb8\xe5\xb7\x9e\xe5\xb8\x82\xe5\x85\xa5\xe9\x80\x89\xe8\xb4\xa2\xe6\x94\xbf\xe6\x94\xaf\xe6\x8c\x81\xe6\xb7\xb1\xe5\x8c\x96\xe6\xb0\x91\xe8\x90\xa5\xe5\x92\x8c\xe5\xb0\x8f\xe5\xbe\xae\xe4\xbc\x81\xe4\xb8\x9a\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xe7\xbb\xbc\xe5\x90\x88\xe6\x94\xb9\xe9\x9d\xa9\xe8\xaf\x95\xe7\x82\xb9\xe5\x9f\x8e\xe5\xb8\x82\xe6\x96\xb0\xe9\x97\xbb\xe5\x8f\x91\xe5\xb8\x83\xe4\xbc\x9a\xe4\xb8\x8a\xe5\xa6\x82\xe6\x98\xaf\xe8\xa1\xa8\xe7\xa4\xba\xe3\x80\x82 \xe3\x80\x80\xe3\x80\x80\xe4\xbc\x9a\xe4\xb8\x8a...","url":"http://www.chinanews.com/fortune/2019/11-05/8999134.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8999134.shtml","galleryphoto":"http://i2.chinanews.com/simg/2019/191105/sl_108006990.JPG","content_y":""},{"pubtime":"2019-11-05 18:53:32","channel":"","img_cns":"","id":"4-8-8999083","title":"\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe6\xb1\x87\xe7\x8e\x87\xe6\xb6\xa8\xe7\xa0\xb47 \xe5\x88\x9b\xe4\xb8\x89\xe4\xb8\xaa\xe6\x9c\x88\xe6\x9c\x80\xe9\xab\x98\xe5\x80\xbc","content":"\xe9\x93\xb6\xe8\xa1\x8c\xe5\xb7\xa5\xe4\xbd\x9c\xe4\xba\xba\xe5\x91\x98\xe6\xb8\x85\xe7\x82\xb9\xe8\xb4\xa7\xe5\xb8\x81\xe3\x80\x82\xe4\xb8\xad\xe6\x96\xb0\xe7\xa4\xbe\xe8\xae\xb0\xe8\x80\x85 \xe5\xbc\xa0\xe4\xba\x91 \xe6\x91\x84 \xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xa4\xbe\xe5\x8c\x97\xe4\xba\xac11\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 (\xe5\xa4\x8f\xe5\xae\xbe)\xe5\x9c\xa88\xe6\x9c\x88\xe5\x88\x9d\xe8\xb7\x8c\xe7\xa0\xb47\xe4\xb9\x8b\xe5\x90\x8e\xef\xbc\x8c\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe6\xb1\x87\xe7\x8e\x87\xe4\xbf\x9d\xe6\x8c\x81\xe4\xba\x86\xe4\xb8\x80\xe6\xae\xb5\xe6\x97\xb6\xe9\x97\xb4\xe7\x9a\x84\xe5\x9f\xba\xe6\x9c\xac\xe7\xa8\xb3\xe5\xae\x9a\xef\xbc\x8c\xe4\xba\x8e\xe8\xbf\x91\xe6\x9c\x9f\xe5\x87\xba\xe7\x8e\xb0\xe7\xbc\x93\xe6\x85\xa2\xe4\xb8\x8a\xe6\xb6\xa8\xe3\x80\x8211\xe6\x9c\x885\xe6\x97\xa5\xef\xbc\x8c\xe5\x9c\xa8\xe5\xb2\xb8\xe3\x80\x81\xe7\xa6\xbb\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\xaf\xb9\xe7\xbe\x8e\xe5\x85\x83\xe5\x8d\xb3\xe6\x9c\x9f\xe6\xb1\x87\xe7\x8e\x87\xe5\x8f\x8c\xe5\x8f\x8c\xe6\xb6\xa8\xe7\xa0\xb47\xef\xbc\x8c\xe5\x88\x9b\xe4\xb8\x8b\xe4\xb8\x89\xe4\xb8\xaa\xe6\x9c\x88\xe6\x9d\xa5\xe6\x9c\x80\xe9\xab\x98\xe5\x80\xbc\xe3\x80\x82 \xe3\x80\x80\xe3\x80\x80\xe5\xbd\x93\xe5\xa4\xa9\xe5\xa4\x96\xe6\xb1\x87\xe5\xb8\x82\xe5\x9c\xba\xe4\xb8\x8a\xef\xbc\x8c\xe5\x9c\xa8\xe5\xb2\xb8\xe3\x80\x81\xe7\xa6\xbb\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\xaf\xb9\xe7\xbe\x8e\xe5\x85\x83\xe5\x8d\xb3\xe6\x9c\x9f\xe6\xb1\x87\xe7\x8e\x87\xe4\xb8\x80\xe8\xb7\xaf\xe9\xa3\x99\xe5\x8d\x87\xef\xbc\x8c\xe6\x88\xaa\xe8\x87\xb3\xe5\x8c\x97...","url":"http://www.chinanews.com/fortune/2019/11-05/8999083.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8999083.shtml","galleryphoto":"http://i2.chinanews.com/simg/smimg/2019/09/25/cb1a1b529f404fe2ac4e2a6e0d6c518e.jpg","content_y":""},{"pubtime":"2019-11-05 17:01:24","channel":"","img_cns":"","id":"4-8-8998984","title":"\xe5\x88\x9b\xe4\xb8\x89\xe4\xb8\xaa\xe6\x9c\x88\xe6\x96\xb0\xe9\xab\x98\xef\xbc\x81\xe7\xa6\xbb\xe5\xb2\xb8\xe3\x80\x81\xe5\x9c\xa8\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\x8f\x8c\xe5\x8f\x8c\xe5\x8d\x87\xe7\xa0\xb47.00\xe5\x85\xb3\xe5\x8f\xa3","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbb\x8f\xe7\xba\xac\xe5\xae\xa2\xe6\x88\xb7\xe7\xab\xaf11\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 5\xe6\x97\xa5\xe5\x8d\x88\xe5\x90\x8e\xef\xbc\x8c\xe7\xa6\xbb\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\x85\x91\xe7\xbe\x8e\xe5\x85\x83\xe6\x8c\x81\xe7\xbb\xad\xe6\x8b\x89\xe6\xb6\xa8\xef\xbc\x8c\xe5\x8d\x87\xe7\xa0\xb47.00\xe6\x95\xb4\xe6\x95\xb0\xe5\x85\xb3\xe5\x8f\xa3\xef\xbc\x8c\xe5\x88\x9b8\xe6\x9c\x885\xe6\x97\xa5\xe4\xbb\xa5\xe6\x9d\xa5\xe6\x96\xb0\xe9\xab\x98\xef\xbc\x8c\xe6\x97\xa5\xe5\x86\x85\xe6\xb6\xa8\xe9\x80\xbe300\xe4\xb8\xaa\xe5\x9f\xba\xe7\x82\xb9\xe3\x80\x82\xe6\x88\xaa\xe8\x87\xb316\xe6\x97\xb620\xe5\x88\x86\xef\xbc\x8c\xe6\x8a\xa57.0070\xe3\x80\x82 \xe3\x80\x80\xe3\x80\x80\xe7\xbe\x8e\xe5\x85\x83\xe5\x85\x91\xe7\xa6\xbb\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe8\xb5\xb0\xe5\x8a\xbf \xe6\x9d\xa5\xe6\xba\x90\xef\xbc\x9aWind \xe3\x80\x80\xe3\x80\x80\xe4\xb8\x8e\xe6\xad\xa4\xe5\x90\x8c\xe6\x97\xb6\xef\xbc\x8c\xe5\x9c\xa8\xe5\xb2\xb8\xe4\xba\xba\xe6\xb0\x91\xe5\xb8\x81\xe5\x85\x91\xe7\xbe\x8e\xe5\x85\x83\xe5\x90\x8c\xe6\xa0\xb7\xe5\x8d\x87\xe7\xa0\xb47.00\xe6\x95\xb4\xe6\x95\xb0\xe5\x85\xb3\xe5\x8f\xa3\xef\xbc\x8c\xe6\x88\xaa\xe8\x87\xb316\xe6\x97\xb620\xe5\x88\x86\xe6\x8a\xa57.0016\xef\xbc\x8c...","url":"http://www.chinanews.com/fortune/2019/11-05/8998984.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998984.shtml","galleryphoto":"http://i2.chinanews.com/simg/smimg/2017/04/27/2a0d2e2ed3ea422cbc5cf4845e178aa0.jpg","content_y":""},{"pubtime":"2019-11-05 15:43:52","channel":"","img_cns":"","id":"4-8-8998844","title":"\xe7\xa7\x91\xe5\x88\x9b\xe6\x9d\xbf\xe5\x85\xac\xe5\x8f\xb8\xe4\xb8\x89\xe5\xad\xa3\xe6\x8a\xa5\xe4\xb8\x9a\xe7\xbb\xa9\xe5\x88\x86\xe5\x8c\x96 10\xe5\xae\xb6\xe5\x85\xac\xe5\x8f\xb8\xe5\x87\x80\xe5\x88\xa9\xe5\xa2\x9e\xe9\x80\x9f\xe8\xb6\x85\xe8\xbf\x87100%","content":"\xe3\x80\x80\xe3\x80\x80\xe7\xbe\x8a\xe5\x9f\x8e\xe6\x99\x9a\xe6\x8a\xa5\xe8\xae\xb0\xe8\x80\x85 \xe6\x88\xb4\xe6\x9b\xbc\xe6\x9b\xbc \xe3\x80\x80\xe3\x80\x80\xe4\xbb\x8e\xe9\xa6\x96\xe6\x89\xb925\xe5\xae\xb6\xe7\xa7\x91\xe5\x88\x9b\xe6\x9d\xbf\xe4\xbc\x81\xe4\xb8\x9a\xef\xbc\x8c\xe5\x88\xb0\xe6\x88\xaa\xe8\x87\xb311\xe6\x9c\x88\xe5\x88\x9d\xe5\xb7\xb2\xe7\xbb\x8f\xe6\x89\xa9\xe5\xae\xb9\xe8\x87\xb341\xe5\xae\xb6\xef\xbc\x8c\xe7\x9b\xae\xe5\x89\x8d\xe5\x9d\x87\xe5\xb7\xb2\xe7\xbb\x8f\xe4\xba\xa4\xe5\x87\xba\xe4\xb8\x89\xe5\xad\xa3\xe5\xba\xa6\xe6\x88\x90\xe7\xbb\xa9\xe5\x8d\x95\xef\xbc\x8c41\xe5\xae\xb6\xe7\xa7\x91\xe5\x88\x9b\xe6\x9d\xbf\xe5\x90\x88\xe8\xae\xa1\xe5\xae\x9e\xe7\x8e\xb0\xe8\x90\xa5\xe6\x94\xb6691.88\xe4\xba\xbf\xe5\x85\x83\xef\xbc\x8c\xe5\x90\x8c\xe6\xaf\x94\xe5\xa2\x9e\xe9\x95\xbf13.60%\xef\xbc\x8c\xe5\xbd\x92\xe6\xaf\x8d\xe5\x87\x80\xe5\x88\xa9\xe6\xb6\xa686.02\xe4\xba\xbf\xe5\x85\x83\xef\xbc\x8c\xe5\x90\x8c\xe6\xaf\x94\xe5\xa2\x9e\xe9\x95\xbf41%\xe3\x80\x82\xe4\xb8\x8d\xe8\xbf\x87\xe6\x88\x90\xe7\xbb\xa9\xe5\x8d\x95\xe4\xb9\x9f\xe5\x8f\x8d\xe6\x98\xa0\xe5\x87\xba\xe7\xa7\x91\xe5\x88\x9b\xe6\x9d\xbf\xe4\xbc\x81\xe4\xb8\x9a\xe7\x9a\x84\xe5\x88\x86\xe5\x8c\x96\xe6\x98\x8e\xe6\x98\xbe\xef\xbc\x8c\xe4\xbb\x8e\xe5\xa2\x9e\xe9\x80\x9f\xe6\x9d\xa5\xe7\x9c\x8b\xef\xbc\x8c\xe6\x80\xbb\xe5\x85\xb1\xe6\x9c\x8926\xe5\xae\xb6\xe5\x85\xac\xe5\x8f\xb8\xe5\xae\x9e\xe7\x8e\xb0\xe5\x8f\x8c\xe4\xbd\x8d\xe6\x95\xb0...","url":"http://www.chinanews.com/fortune/2019/11-05/8998844.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998844.shtml","galleryphoto":"http://www.chinanews.com/fortune/2019/11-05/U564P4T8D8998844F19930DT20191105154352.jpg","content_y":""},{"pubtime":"2019-11-05 11:39:36","channel":"","img_cns":"","id":"4-8-8998553","title":"\xe5\xb7\xa5\xe8\xa1\x8c\xe8\x81\x9a\xe8\xb7\xa8\xe5\xa2\x83\xe9\x87\x91\xe8\x9e\x8d\xe4\xb9\x8b\xe5\x8a\xbf \xe5\x88\x9b\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x98\xe8\xb4\xa8\xe6\x9c\x8d\xe5\x8a\xa1\xe5\x93\x81\xe7\x89\x8c","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x9111\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 11\xe6\x9c\x885\xe6\x97\xa5\xe8\x87\xb310\xe6\x97\xa5\xef\xbc\x8c\xe7\xac\xac\xe4\xba\x8c\xe5\xb1\x8a\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\xe5\xb0\x86\xe5\x9c\xa8\xe4\xb8\x8a\xe6\xb5\xb7\xe5\x9b\xbd\xe5\xae\xb6\xe4\xbc\x9a\xe8\xae\xae\xe4\xb8\xad\xe5\xbf\x83\xe9\x9a\x86\xe9\x87\x8d\xe4\xb8\xbe\xe5\x8a\x9e\xe3\x80\x82\xe6\x9c\xac\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe8\xa7\x84\xe6\xa8\xa1\xe5\xb0\x86\xe8\xb6\x85\xe5\x87\xba\xe7\xac\xac\xe4\xb8\x80\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\xe5\x90\x8c\xe6\x9c\x9f\xe6\xb0\xb4\xe5\xb9\xb3\xe3\x80\x82\xe4\xb8\xad\xe5\x9b\xbd\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe8\x87\xaa\xe9\xa6\x96\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe4\xbb\xa5\xe6\x9d\xa5\xef\xbc\x8c\xe8\x87\xb4\xe5\x8a\x9b\xe4\xba\x8e\xe4\xb8\xba\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe6\x8f\x90\xe4\xbe\x9b\xe5\x85\xa8\xe6\x96\xb9\xe4\xbd\x8d\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xef\xbc\x8c\xe6\x8c\x81\xe7\xbb\xad\xe6\x8f\x90\xe5\x8d\x87\xe6\x9c\x8d\xe5\x8a\xa1\xe5\xb9\xbf\xe5\xba\xa6\xe5\x92\x8c\xe6\xb7\xb1\xe5\xba\xa6\xe3\x80\x82 \xe3\x80\x80\xe3\x80\x80\xe4\xbb\x8a\xe5\xb9\xb49\xe6\x9c\x885\xe6\x97\xa5\xef\xbc\x8c\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe4\xb8\x8e\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe5\xb1\x80\xe7\xad\xbe\xe7\xbd\xb2\xe5\x90\x88\xe4\xbd\x9c\xe6\xa1\x86\xe6\x9e\xb6\xe5\x8d\x8f\xe8\xae\xae\xef\xbc\x8c...","url":"http://www.chinanews.com/fortune/2019/11-05/8998553.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998553.shtml","galleryphoto":"http://www.chinanews.com/fortune/2019/11-05/U846P4T8D8998553F19930DT20191105112016.jpg","content_y":""},{"pubtime":"2019-11-05 11:37:48","channel":"","img_cns":"","id":"4-8-8998544","title":"\xe5\xb7\xa5\xe8\xa1\x8c\xe5\x90\x88\xe9\x9b\x86\xe5\x9b\xa2\xe4\xb8\x8a\xe4\xb8\x8b\xe4\xb9\x8b\xe5\x8a\x9b \xe5\x8f\x91\xe6\x8c\xa5\xe5\x85\xa8\xe7\x90\x83\xe5\x8c\x96\xe6\x9c\x8d\xe5\x8a\xa1\xe8\x83\xbd\xe6\x95\x88","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x9111\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 2019\xe5\xb9\xb411\xe6\x9c\x885\xe6\x97\xa5\xe8\x87\xb310\xe6\x97\xa5\xef\xbc\x8c\xe7\xac\xac\xe4\xba\x8c\xe5\xb1\x8a\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\xe5\xb0\x86\xe5\x9c\xa8\xe4\xb8\x8a\xe6\xb5\xb7\xe5\x9b\xbd\xe5\xae\xb6\xe4\xbc\x9a\xe8\xae\xae\xe4\xb8\xad\xe5\xbf\x83\xe9\x9a\x86\xe9\x87\x8d\xe4\xb8\xbe\xe5\x8a\x9e\xe3\x80\x82\xe6\x9c\xac\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe8\xa7\x84\xe6\xa8\xa1\xe5\xb0\x86\xe8\xb6\x85\xe5\x87\xba\xe7\xac\xac\xe4\xb8\x80\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\xe5\x90\x8c\xe6\x9c\x9f\xe6\xb0\xb4\xe5\xb9\xb3\xe3\x80\x82\xe4\xb8\xad\xe5\x9b\xbd\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe8\x87\xaa\xe9\xa6\x96\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe4\xbb\xa5\xe6\x9d\xa5\xef\xbc\x8c\xe8\x87\xb4\xe5\x8a\x9b\xe4\xba\x8e\xe4\xb8\xba\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe6\x8f\x90\xe4\xbe\x9b\xe5\x85\xa8\xe6\x96\xb9\xe4\xbd\x8d\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xef\xbc\x8c\xe6\x8c\x81\xe7\xbb\xad\xe6\x8f\x90\xe5\x8d\x87\xe6\x9c\x8d\xe5\x8a\xa1\xe5\xb9\xbf\xe5\xba\xa6\xe5\x92\x8c\xe6\xb7\xb1\xe5\xba\xa6\xe3\x80\x82\xe4\xbb\x8a\xe5\xb9\xb49\xe6\x9c\x885\xe6\x97\xa5\xef\xbc\x8c\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe4\xb8\x8e\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe5\xb1\x80\xe7\xad\xbe\xe7\xbd\xb2\xe5\x90\x88\xe4\xbd\x9c\xe6\xa1\x86\xe6\x9e\xb6\xe5\x8d\x8f...","url":"http://www.chinanews.com/fortune/2019/11-05/8998544.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998544.shtml","galleryphoto":"http://www.chinanews.com/fortune/2019/11-05/U846P4T8D8998544F19930DT20191105111749.jpg","content_y":""},{"pubtime":"2019-11-05 11:36:36","channel":"","img_cns":"","id":"4-8-8998550","title":"\xe5\xb7\xa5\xe8\xa1\x8c\xe6\x89\xac\xe6\xb8\xa0\xe9\x81\x93\xe7\xbd\x91\xe7\xbb\x9c\xe4\xb9\x8b\xe9\x95\xbf \xe4\xbf\x9d\xe9\x9a\x9c\xe5\xb1\x95\xe4\xbc\x9a\xe4\xbc\x98\xe8\xb4\xa8\xe6\x9c\x8d\xe5\x8a\xa1","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x9111\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 \xe4\xb8\xad\xe5\x9b\xbd\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe8\x87\xaa\xe9\xa6\x96\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe4\xbb\xa5\xe6\x9d\xa5\xef\xbc\x8c\xe8\x87\xb4\xe5\x8a\x9b\xe4\xba\x8e\xe4\xb8\xba\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe6\x8f\x90\xe4\xbe\x9b\xe5\x85\xa8\xe6\x96\xb9\xe4\xbd\x8d\xe9\x87\x91\xe8\x9e\x8d\xe6\x9c\x8d\xe5\x8a\xa1\xef\xbc\x8c\xe6\x8c\x81\xe7\xbb\xad\xe6\x8f\x90\xe5\x8d\x87\xe6\x9c\x8d\xe5\x8a\xa1\xe5\xb9\xbf\xe5\xba\xa6\xe5\x92\x8c\xe6\xb7\xb1\xe5\xba\xa6\xe3\x80\x82\xe4\xbb\x8a\xe5\xb9\xb49\xe6\x9c\x885\xe6\x97\xa5\xef\xbc\x8c\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe4\xb8\x8e\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe5\xb1\x80\xe7\xad\xbe\xe7\xbd\xb2\xe5\x90\x88\xe4\xbd\x9c\xe6\xa1\x86\xe6\x9e\xb6\xe5\x8d\x8f\xe8\xae\xae\xef\xbc\x8c\xe6\x88\x90\xe4\xb8\xba\xe4\xb8\xad\xe5\x9b\xbd\xe5\x9b\xbd\xe9\x99\x85\xe8\xbf\x9b\xe5\x8f\xa3\xe5\x8d\x9a\xe8\xa7\x88\xe4\xbc\x9a\\u201c\xe5\xa2\x83\xe5\xa4\x96\xe6\x8b\x9b\xe5\x95\x86\xe5\x90\x88\xe4\xbd\x9c\xe4\xbc\x99\xe4\xbc\xb4\\u201d\xe3\x80\x82\xe5\xb7\xa5\xe5\x95\x86\xe9\x93\xb6\xe8\xa1\x8c\xe5\xb0\x86\xe5\xbb\xb6\xe7\xbb\xad\xe6\x9c\x8d\xe5\x8a\xa1\xe9\xa6\x96\xe5\xb1\x8a\xe8\xbf\x9b\xe5\x8d\x9a\xe4\xbc\x9a\xe7\x9a\x84\xe7\xb2\xbe\xe7\xa5\x9e\xe9\xa3\x8e\xe8\xb2\x8c\xe5\x92\x8c\xe4\xb8\x93\xe4\xb8\x9a\xe6\xb0\xb4\xe5\xb9\xb3\xef\xbc\x8c\xe5\x80\x9f\xe5\x8a\xa9\xe5\xb9\xbf\xe6\xb3\x9b\xe7\x9a\x84\xe5\x85\xa8\xe7\x90\x83\xe5\xb8\x83\xe5\xb1\x80\xe3\x80\x81\xe9\x9b\x84\xe5\x8e\x9a\xe7\x9a\x84\xe5\xae\xa2\xe6\x88\xb7\xe5\x9f\xba...","url":"http://www.chinanews.com/fortune/2019/11-05/8998550.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998550.shtml","galleryphoto":"http://i2.chinanews.com/simg/smimg/2017/12/11/e4d787f0b0fe46f6b06cddfd5f7bb133.jpg","content_y":""},{"pubtime":"2019-11-05 11:17:01","channel":"","img_cns":"","id":"4-8-8998439","title":"\xe5\x85\xb4\xe4\xb8\x9a\xe9\x93\xb6\xe8\xa1\x8c\xe8\xb4\xa2\xe5\xaf\x8c\xe9\x94\x80\xe5\x94\xae\xe8\x83\xbd\xe5\x8a\x9b\xe6\x8f\x90\xe5\x8d\x87 \xe9\x94\x80\xe9\x87\x8f\xe8\xbe\xbe4.2\xe4\xb8\x87\xe4\xba\xbf\xe5\x85\x83","content":"\xe3\x80\x80\xe3\x80\x80\xe4\xb8\xad\xe6\x96\xb0\xe7\xbd\x9111\xe6\x9c\x885\xe6\x97\xa5\xe7\x94\xb5 \xe8\xbf\x91\xe6\x9c\x9f\xef\xbc\x8c\xe5\x85\xb4\xe4\xb8\x9a\xe9\x93\xb6\xe8\xa1\x8c\xe9\x94\x80\xe5\x94\xae\xe7\x9a\x84\xe8\xb4\xa2\xe5\xaf\x8c\xe4\xba\xa7\xe5\x93\x81\\u201c\xe7\x88\x86\xe6\xac\xbe\\u201d\xe9\xa2\x91\xe7\x8e\xb0\xe3\x80\x8210\xe6\x9c\x8828\xe6\x97\xa5\xe8\x87\xb310\xe6\x9c\x8831\xe6\x97\xa5\xe6\xb1\x87\xe6\xb7\xbb\xe5\xaf\x8c\xe7\xa8\xb3\xe5\x81\xa5\xe5\xa2\x9e\xe9\x95\xbf\xe6\xb7\xb7\xe5\x90\x88\xe5\x9f\xba\xe9\x87\x91\xe9\xa6\x96\xe5\x8f\x91\xef\xbc\x8c\xe5\x85\xb4\xe4\xb8\x9a\xe9\x93\xb6\xe8\xa1\x8c\xe4\xbb\x85\xe7\x94\xa8\xe4\xb8\x8d\xe5\x88\xb04\xe5\xa4\xa9\xe6\x97\xb6\xe9\x97\xb4\xe4\xbe\xbf\xe5\x8a\xb2\xe9\x94\x80100\xe4\xba\xbf\xe5\x85\x83\xef\xbc\x8c\xe5\x8d\xa0\xe8\xaf\xa5\xe4\xba\xa7\xe5\x93\x81\xe6\x80\xbb\xe5\x8b\x9f\xe9\x9b\x86\xe8\xa7\x84\xe6\xa8\xa1\xe7\x9a\x84\xe4\xb8\x83\xe6\x88\x90\xe4\xbb\xa5\xe4\xb8\x8a\xef\xbc\x9b\xe5\x90\x8c\xe6\x9c\x9f\xef\xbc\x8c\xe5\x85\xb4\xe4\xb8\x9a\xe9\x93\xb6\xe8\xa1\x8c\xe6\x8e\xa8\xe5\x87\xba\xe9\xa6\x96\xe6\xac\xbe\xe5\x9b\xba\xe5\xae\x9a\xe6\x94\xb6\xe7\x9b\x8a\xe5\xa2\x9e\xe5\xbc\xba\xe5\x9e\x8b\xe5\x87\x80\xe5\x80\xbc\xe7\x90\x86\xe8\xb4\xa2\xe4\xba\xa7\xe5\x93\x81---\xe7\xa8\xb3\xe5\x88\xa9\xe7\x9d\xbf\xe7\x9b\x88-\xe5\xb9\xb4\xe5\xb9\xb4\xe5\x8d\x87\xe4\xba\xa7\xe5\x93\x81\xef\xbc\x8c\xe8\xae\xa4\xe8\xb4\xad\xe6\x9c\x9f\xe5\x86\x85\xe5\xae\x9e\xe7\x8e\xb0\xe9\x94\x80\xe9\x87\x8f73.5\xe4\xba\xbf\xe5\x85\x83\xef\xbc\x8c...","url":"http://www.chinanews.com/fortune/2019/11-05/8998439.shtml","source_url":"http://www.chinanews.com/m/fortune/2019/11-05/8998439.shtml","galleryphoto":"http://www.chinanews.com/fortune/2019/11-05/U846P4T8D8998439F19930DT20191105101824.jpg","content_y":""}],"currentpage":2,"totalpages":100,"pagenum":8};\nnewslist = specialcnsdata;\n'
def proc_resp(s):
ss = s.split('\n')
jo = json.loads(ss[0][len('specialcnsdata = '):-1])
for i in jo['docs']:
print(i['url'])
import random
import time
pages = list(range(1, 101))
random.shuffle(pages)
print(pages)
for i in pages:
# r = requests.get('https://channel.chinanews.com/cns/cjs/fortune.shtml', params={
# r = requests.get('https://channel.chinanews.com/cns/cjs/yl.shtml', params={
r = requests.get('https://channel.chinanews.com/cns/cjs/ty.shtml', params={
'pager':i, 'pagenum': 9, 't': '7_9'
}, headers={
'Host': 'channel.chinanews.com',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0) Gecko/20100101 Firefox/70.0',
'Accept': '*/*',
'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
'Accept-Encoding': 'gzip, deflate, br',
'Connection': 'keep-alive',
'Referer': 'https://fortune.chinanews.com/',
'Cookie': 'cnsuuid=7b60d551-6bf9-78f1-4505-c478e334a50b11533.552340989321_1568097704609; Hm_lvt_0da10fbf73cda14a786cd75b91f6beab=1572918270; zycna=GeggLIGdjBgBAdpYHfDyNfYE; BAIDU_SSP_lcr=https://cn.bing.com/; __jsluid_s=61061554db42ef7c4853f09508425317; Hm_lpvt_0da10fbf73cda14a786cd75b91f6beab=1573110566',
})
if r.status_code != 200:
print(r.content)
else:
proc_resp(r.content.decode())
sleep = random.randrange(1, 3)
# print('wait', sleep)
time.sleep(sleep)
| 624.694915 | 34,479 | 0.737336 | 8,253 | 36,857 | 3.283776 | 0.036108 | 0.032766 | 0.02856 | 0.028043 | 0.983469 | 0.983469 | 0.983469 | 0.983469 | 0.983469 | 0.983469 | 0 | 0.260013 | 0.011612 | 36,857 | 58 | 34,480 | 635.465517 | 0.483928 | 0.963046 | 0 | 0 | 0 | 0.096774 | 0.504471 | 0.248882 | 0 | 1 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.129032 | 0 | 0.16129 | 0.096774 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
57fb0f68c3319a037c56fee7fbfbe3d698f3a2ce | 18,304 | py | Python | pyflux/gas/tests/gasreg_tests_poisson.py | ThomasHoppe/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 2,091 | 2016-04-01T02:52:10.000Z | 2022-03-29T11:38:15.000Z | pyflux/gas/tests/gasreg_tests_poisson.py | EricSchles/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 160 | 2016-04-26T14:52:18.000Z | 2022-03-15T02:09:07.000Z | pyflux/gas/tests/gasreg_tests_poisson.py | EricSchles/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 264 | 2016-05-02T14:03:31.000Z | 2022-03-29T07:48:20.000Z | import numpy as np
import pandas as pd
import pyflux as pf
# Set up some data to use for the tests
countdata = np.random.poisson(3,500)
x1 = np.random.normal(0,1,500)
x2 = np.random.normal(0,1,500)
data = pd.DataFrame([countdata,x1,x2]).T
data.columns = ['y', 'x1', 'x2']
x1_oos = np.random.normal(0,1,30)
x2_oos = np.random.normal(0,1,30)
countdata_oos = np.random.poisson(3,30)
data_oos = pd.DataFrame([countdata_oos,x1_oos,x2_oos]).T
data_oos.columns = ['y', 'x1', 'x2']
def test_normal_no_terms():
"""
Tests the length of the latent variable vector for an GASReg model
with no AR or MA terms, and tests that the values are not nan
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit()
assert(len(model.latent_variables.z_list) == 2)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test_normal_bbvi():
"""
Tests an GASReg model estimated with BBVI, and tests that the latent variable
vector length is correct, and that value are not nan
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('BBVI',iterations=100)
assert(len(model.latent_variables.z_list) == 2)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test_normal_bbvi_mini_batch():
"""
Tests an ARIMA model estimated with BBVI and that the length of the latent variable
list is correct, and that the estimated latent variables are not nan
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('BBVI',iterations=100, mini_batch=32)
assert(len(model.latent_variables.z_list) == 2)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test_normal_bbvi_elbo():
"""
Tests that the ELBO increases
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI',iterations=200, record_elbo=True, map_start=False)
assert(x.elbo_records[-1]>x.elbo_records[0])
def test_normal_bbvi_mini_batch_elbo():
"""
Tests that the ELBO increases
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI',iterations=200, mini_batch=32, record_elbo=True, map_start=False)
assert(x.elbo_records[-1]>x.elbo_records[0])
def test_normal_mh():
"""
Tests an GASReg model estimated with Metropolis-Hastings, and tests that the latent variable
vector length is correct, and that value are not nan
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('M-H',nsims=300)
assert(len(model.latent_variables.z_list) == 2)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test_normal_laplace():
"""
Tests an GASReg model estimated with Laplace approximation, and tests that the latent variable
vector length is correct, and that value are not nan
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('Laplace')
assert(len(model.latent_variables.z_list) == 2)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test_normal_pml():
"""
Tests an GASReg model estimated with PML, and tests that the latent variable
vector length is correct, and that value are not nan
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('PML')
assert(len(model.latent_variables.z_list) == 2)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test_normal_predict_length():
"""
Tests that the length of the predict dataframe is equal to no of steps h
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit()
x.summary()
assert(model.predict(h=5, oos_data=data_oos).shape[0] == 5)
def test_normal_predict_is_length():
"""
Tests that the length of the predict IS dataframe is equal to no of steps h
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit()
assert(model.predict_is(h=5).shape[0] == 5)
def test_normal_predict_nans():
"""
Tests that the predictions are not NaNs
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit()
x.summary()
assert(len(model.predict(h=5, oos_data=data_oos).values[np.isnan(model.predict(h=5,
oos_data=data_oos).values)]) == 0)
def test_normal_predict_is_nans():
"""
Tests that the predictions in-sample are not NaNs
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit()
x.summary()
assert(len(model.predict_is(h=5).values[np.isnan(model.predict_is(h=5).values)]) == 0)
def test_predict_intervals():
"""
Tests prediction intervals are ordered correctly
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit()
predictions = model.predict(h=10, oos_data=data_oos, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values >= predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values >= predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values >= predictions['1% Prediction Interval'].values))
def test_predict_is_intervals():
"""
Tests prediction intervals are ordered correctly
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit()
predictions = model.predict_is(h=10, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values >= predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values >= predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values >= predictions['1% Prediction Interval'].values))
def test_predict_intervals_bbvi():
"""
Tests prediction intervals are ordered correctly
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('BBVI', iterations=100)
predictions = model.predict(h=10, oos_data=data_oos, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values >= predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values >= predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values >= predictions['1% Prediction Interval'].values))
def test_predict_is_intervals_bbvi():
"""
Tests prediction intervals are ordered correctly
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('BBVI', iterations=100)
predictions = model.predict_is(h=10, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values >= predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values >= predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values >= predictions['1% Prediction Interval'].values))
def test_predict_intervals_mh():
"""
Tests prediction intervals are ordered correctly
"""
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('M-H', nsims=400)
predictions = model.predict(h=10, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values > predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values > predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values > predictions['1% Prediction Interval'].values))
"""
def test_predict_is_intervals_mh():
"""
Tests prediction intervals are ordered correctly
"""
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('M-H', nsims=400)
predictions = model.predict_is(h=10, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values > predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values > predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values > predictions['1% Prediction Interval'].values))
"""
def test_sample_model():
"""
Tests sampling function
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('BBVI', iterations=100)
sample = model.sample(nsims=100)
assert(sample.shape[0]==100)
assert(sample.shape[1]==len(data))
def test_ppc():
"""
Tests PPC value
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('BBVI', iterations=100)
p_value = model.ppc()
assert(0.0 <= p_value <= 1.0)
## Try more than one predictor
def test2_normal_no_terms():
"""
Tests the length of the latent variable vector for an GASReg model
with no AR or MA terms, and two predictors, and tests that the values
are not nan
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit()
assert(len(model.latent_variables.z_list) == 3)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test2_normal_bbvi():
"""
Tests an GASReg model estimated with BBVI, with multiple predictors, and
tests that the latent variable vector length is correct, and that value are not nan
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI',iterations=100)
assert(len(model.latent_variables.z_list) == 3)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test2_normal_bbvi_mini_batch():
"""
Tests an ARIMA model estimated with BBVI and that the length of the latent variable
list is correct, and that the estimated latent variables are not nan
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI',iterations=100, mini_batch=32)
assert(len(model.latent_variables.z_list) == 3)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test2_normal_bbvi_elbo():
"""
Tests that the ELBO increases
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI',iterations=100, record_elbo=True, map_start=False)
assert(x.elbo_records[-1]>x.elbo_records[0])
def test2_normal_bbvi_mini_batch_elbo():
"""
Tests that the ELBO increases
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI',iterations=100, mini_batch=32, record_elbo=True, map_start=False)
assert(x.elbo_records[-1]>x.elbo_records[0])
def test2_normal_mh():
"""
Tests an GASReg model estimated with MEtropolis-Hastings, with multiple predictors, and
tests that the latent variable vector length is correct, and that value are not nan
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('M-H',nsims=300)
assert(len(model.latent_variables.z_list) == 3)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test2_normal_normal():
"""
Tests an GASReg model estimated with Laplace, with multiple predictors, and
tests that the latent variable vector length is correct, and that value are not nan
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('Laplace')
assert(len(model.latent_variables.z_list) == 3)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test2_normal_pml():
"""
Tests an GASReg model estimated with PML, with multiple predictors, and
tests that the latent variable vector length is correct, and that value are not nan
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('PML')
assert(len(model.latent_variables.z_list) == 3)
lvs = np.array([i.value for i in model.latent_variables.z_list])
assert(len(lvs[np.isnan(lvs)]) == 0)
def test2_normal_predict_length():
"""
Tests that the length of the predict dataframe is equal to no of steps h
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit()
x.summary()
assert(model.predict(h=5, oos_data=data_oos).shape[0] == 5)
def test2_normal_predict_is_length():
"""
Tests that the length of the predict IS dataframe is equal to no of steps h
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit()
assert(model.predict_is(h=5).shape[0] == 5)
def test2_normal_predict_nans():
"""
Tests that the predictions are not NaNs
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit()
x.summary()
assert(len(model.predict(h=5, oos_data=data_oos).values[np.isnan(model.predict(h=5,
oos_data=data_oos).values)]) == 0)
def test2_normal_predict_is_nans():
"""
Tests that the predictions in-sample are not NaNs
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit()
x.summary()
assert(len(model.predict_is(h=5).values[np.isnan(model.predict_is(h=5).values)]) == 0)
def test2_predict_intervals():
"""
Tests prediction intervals are ordered correctly
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit()
predictions = model.predict(h=10, oos_data=data_oos, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values >= predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values >= predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values >= predictions['1% Prediction Interval'].values))
def test2_predict_is_intervals():
"""
Tests prediction intervals are ordered correctly
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit()
predictions = model.predict_is(h=10, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values >= predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values >= predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values >= predictions['1% Prediction Interval'].values))
def test2_predict_intervals_bbvi():
"""
Tests prediction intervals are ordered correctly
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI', iterations=100)
predictions = model.predict(h=10, oos_data=data_oos, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values >= predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values >= predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values >= predictions['1% Prediction Interval'].values))
def test2_predict_is_intervals_bbvi():
"""
Tests prediction intervals are ordered correctly
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI', iterations=100)
predictions = model.predict_is(h=10, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values >= predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values >= predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values >= predictions['1% Prediction Interval'].values))
def test2_predict_intervals_mh():
"""
Tests prediction intervals are ordered correctly
"""
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('M-H', nsims=400)
predictions = model.predict(h=10, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values > predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values > predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values > predictions['1% Prediction Interval'].values))
"""
def test2_predict_is_intervals_mh():
"""
Tests prediction intervals are ordered correctly
"""
"""
model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Poisson())
x = model.fit('M-H', nsims=400)
predictions = model.predict_is(h=10, intervals=True)
assert(np.all(predictions['99% Prediction Interval'].values > predictions['95% Prediction Interval'].values))
assert(np.all(predictions['95% Prediction Interval'].values > predictions['5% Prediction Interval'].values))
assert(np.all(predictions['5% Prediction Interval'].values > predictions['1% Prediction Interval'].values))
"""
def test2_sample_model():
"""
Tests sampling function
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI', iterations=100)
sample = model.sample(nsims=100)
assert(sample.shape[0]==100)
assert(sample.shape[1]==len(data))
def test2_ppc():
"""
Tests PPC value
"""
model = pf.GASReg(formula="y ~ x1 + x2", data=data, family=pf.Poisson())
x = model.fit('BBVI', iterations=100)
p_value = model.ppc()
assert(0.0 <= p_value <= 1.0)
| 41.411765 | 114 | 0.677338 | 2,628 | 18,304 | 4.630137 | 0.050228 | 0.106509 | 0.142012 | 0.065746 | 0.972715 | 0.971154 | 0.968031 | 0.956854 | 0.956854 | 0.94502 | 0 | 0.026573 | 0.171438 | 18,304 | 441 | 115 | 41.505669 | 0.775748 | 0.170509 | 0 | 0.744395 | 0 | 0 | 0.120109 | 0 | 0 | 0 | 0 | 0 | 0.295964 | 1 | 0.179372 | false | 0 | 0.013453 | 0 | 0.192825 | 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 |
17f45c9786ce4d30012c312742c4f0d61a27d757 | 7,727 | py | Python | tests/api/endpoints/admin/test_upload_links.py | MJochim/seahub | 66fcc6772511d43346a2980613576c5fdb4c4945 | [
"Apache-2.0"
] | null | null | null | tests/api/endpoints/admin/test_upload_links.py | MJochim/seahub | 66fcc6772511d43346a2980613576c5fdb4c4945 | [
"Apache-2.0"
] | null | null | null | tests/api/endpoints/admin/test_upload_links.py | MJochim/seahub | 66fcc6772511d43346a2980613576c5fdb4c4945 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import json
from tests.common.utils import randstring, upload_file_test
from django.core.urlresolvers import reverse
from seahub.test_utils import BaseTestCase
from seahub.share.models import UploadLinkShare
try:
from seahub.settings import LOCAL_PRO_DEV_ENV
except ImportError:
LOCAL_PRO_DEV_ENV = False
class AdminUploadLinksTest(BaseTestCase):
def setUp(self):
self.repo_id = self.repo.id
self.folder_path= self.folder
self.invalid_token = '00000000000000000000'
def tearDown(self):
self.remove_repo()
def _add_upload_link(self, password=None):
fs = UploadLinkShare.objects.create_upload_link_share(
self.user.username, self.repo.id, self.folder_path, password, None)
return fs.token
def _remove_upload_link(self, token):
link = UploadLinkShare.objects.get(token=token)
link.delete()
def test_get_share_links(self):
self.login_as(self.admin)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-links')
resp = self.client.get(url)
self.assertEqual(200, resp.status_code)
self._remove_upload_link(token)
def test_get_share_links_with_invalid_permission(self):
self.login_as(self.user)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-links')
resp = self.client.get(url)
self.assertEqual(403, resp.status_code)
self._remove_upload_link(token)
class AdminUploadLinkTest(BaseTestCase):
def setUp(self):
self.repo_id = self.repo.id
self.folder_path= self.folder
self.invalid_token = '00000000000000000000'
def tearDown(self):
self.remove_repo()
def _add_upload_link(self, password=None):
fs = UploadLinkShare.objects.create_upload_link_share(
self.user.username, self.repo.id, self.folder_path, password, None)
return fs.token
def _remove_upload_link(self, token):
link = UploadLinkShare.objects.get(token=token)
link.delete()
def test_get_upload_link_info(self):
self.login_as(self.admin)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-link', args=[token])
resp = self.client.get(url)
self.assertEqual(200, resp.status_code)
json_resp = json.loads(resp.content)
assert json_resp['token'] == token
self._remove_upload_link(token)
def test_get_upload_link_info_with_invalid_permission(self):
self.login_as(self.user)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-link', args=[token])
resp = self.client.get(url)
self.assertEqual(403, resp.status_code)
self._remove_upload_link(token)
def test_get_upload_link_info_with_invalid_token(self):
self.login_as(self.admin)
url = reverse('api-v2.1-admin-upload-link',
args=[self.invalid_token])
resp = self.client.get(url)
self.assertEqual(404, resp.status_code)
def test_can_delete_upload_link_by_token(self):
self.login_as(self.admin)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-link', args=[token])
resp = self.client.delete(url)
self.assertEqual(200, resp.status_code)
def test_delete_upload_link_with_invalid_permission(self):
self.login_as(self.user)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-link', args=[token])
resp = self.client.delete(url)
self.assertEqual(403, resp.status_code)
self._remove_upload_link(token)
class AdminUploadLinkUploadTest(BaseTestCase):
def setUp(self):
self.repo_id = self.repo.id
self.folder_path= self.folder
self.invalid_token = '00000000000000000000'
def tearDown(self):
self.remove_repo()
def _add_upload_link(self, password=None):
fs = UploadLinkShare.objects.create_upload_link_share(
self.user.username, self.repo.id, self.folder_path, password, None)
return fs.token
def _remove_upload_link(self, token):
link = UploadLinkShare.objects.get(token=token)
link.delete()
def test_upload(self):
self.login_as(self.admin)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-link-upload', args=[token])
resp = self.client.get(url)
self.assertEqual(200, resp.status_code)
json_resp = json.loads(resp.content)
assert '8082' in json_resp['upload_link']
assert 'upload' in json_resp['upload_link']
# test upload file via `upload_link`
upload_file_test(json_resp['upload_link'])
self._remove_upload_link(token)
def test_upload_with_invalid_permission(self):
self.login_as(self.user)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-link-upload', args=[token])
resp = self.client.get(url)
self.assertEqual(403, resp.status_code)
self._remove_upload_link(token)
def test_get_upload_link_info_with_invalid_token(self):
self.login_as(self.admin)
url = reverse('api-v2.1-admin-upload-link-upload',
args=[self.invalid_token])
resp = self.client.get(url)
self.assertEqual(404, resp.status_code)
class AdminUploadLinkCheckPasswordTest(BaseTestCase):
def setUp(self):
self.repo_id = self.repo.id
self.folder_path= self.folder
self.invalid_token = '00000000000000000000'
def tearDown(self):
self.remove_repo()
def _add_upload_link(self, password=None):
fs = UploadLinkShare.objects.create_upload_link_share(
self.user.username, self.repo.id, self.folder_path, password, None)
return fs.token
def _remove_upload_link(self, token):
link = UploadLinkShare.objects.get(token=token)
link.delete()
def test_check_password(self):
self.login_as(self.admin)
password = randstring(10)
token = self._add_upload_link(password)
url = reverse('api-v2.1-admin-upload-link-check-password', args=[token])
resp = self.client.post(url, {'password': password})
self.assertEqual(200, resp.status_code)
self._remove_upload_link(token)
def test_invalid_password(self):
self.login_as(self.admin)
password = randstring(10)
token = self._add_upload_link(password)
url = reverse('api-v2.1-admin-upload-link-check-password', args=[token])
# assert password is valid
resp = self.client.post(url, {'password': password})
self.assertEqual(200, resp.status_code)
# assert password is invalid
resp = self.client.post(url, {'password': 'invalid_password'})
self.assertEqual(403, resp.status_code)
self._remove_upload_link(token)
def test_check_password_with_invalid_permission(self):
self.login_as(self.user)
token = self._add_upload_link()
url = reverse('api-v2.1-admin-upload-link-check-password', args=[token])
resp = self.client.post(url, {'password': 'invalid_password'})
self.assertEqual(403, resp.status_code)
self._remove_upload_link(token)
def test_check_password_with_invalid_token(self):
self.login_as(self.admin)
url = reverse('api-v2.1-admin-upload-link-check-password',
args=[self.invalid_token])
resp = self.client.post(url, {'password': 'invalid_password'})
self.assertEqual(404, resp.status_code)
| 30.784861 | 83 | 0.665847 | 997 | 7,727 | 4.919759 | 0.09328 | 0.11213 | 0.039755 | 0.042813 | 0.883996 | 0.868909 | 0.862589 | 0.849337 | 0.849337 | 0.849337 | 0 | 0.027023 | 0.224149 | 7,727 | 250 | 84 | 30.908 | 0.791159 | 0.013977 | 0 | 0.810651 | 0 | 0 | 0.087099 | 0.058723 | 0 | 0 | 0 | 0 | 0.106509 | 1 | 0.177515 | false | 0.153846 | 0.04142 | 0 | 0.266272 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
17ff918cd7e259ffdad653e156b8be11533a631d | 11,060 | py | Python | tests/acceptance/test_services.py | barryib/gitlabform | c07b434bd50706ad69e69b37a7eb39230a4414f5 | [
"MIT"
] | null | null | null | tests/acceptance/test_services.py | barryib/gitlabform | c07b434bd50706ad69e69b37a7eb39230a4414f5 | [
"MIT"
] | null | null | null | tests/acceptance/test_services.py | barryib/gitlabform | c07b434bd50706ad69e69b37a7eb39230a4414f5 | [
"MIT"
] | null | null | null | import pytest
from gitlabform.gitlab.core import NotFoundException
from tests.acceptance import run_gitlabform
@pytest.fixture(scope="function")
def services(request, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
services = ["asana", "slack", "redmine", "jira", "mattermost"]
def fin():
# disable test integrations
for service in services:
gitlab.delete_service(group_and_project_name, service)
request.addfinalizer(fin)
return services # provide fixture value
class TestServices:
# we use "other_project" here on purpose because if we would reuse the "project"
# then we could end up with running this test after another, and a service created
# and then deleted is a different entity in GitLab than a never created one (!).
# the first one exists but has "active" field set to False, the other throws 404
def test__if_they_are_not_set_by_default(self, gitlab, group, other_project):
group_and_project_name = f"{group}/{other_project}"
for service_name in ["asana", "slack", "redmine", "jira"]:
with pytest.raises(NotFoundException):
gitlab.get_service(group_and_project_name, service_name)
def test__if_delete_works(self, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
config_services = f"""
projects_and_groups:
{group_and_project_name}:
services:
jira:
url: http://foo.bar.com
username: foo
password: bar
active: true
commit_events: true
asana:
api_key: foo
push_events: true
slack:
webhook: http://foo.bar.com
push_events: true
redmine:
new_issue_url: http://foo.bar.com
project_url: http://foo.bar.com
issues_url: http://foo.bar.com
push_events: true
"""
run_gitlabform(config_services, group_and_project_name)
for service_name in ["jira", "asana", "slack", "redmine"]:
service = gitlab.get_service(group_and_project_name, service_name)
assert service["active"] is True
config_services_delete = f"""
projects_and_groups:
{group_and_project_name}:
services:
jira:
delete: true
slack:
delete: true
"""
run_gitlabform(config_services_delete, group_and_project_name)
for service_name in ["jira", "slack"]:
service = gitlab.get_service(group_and_project_name, service_name)
assert service["active"] is False
def test__if_push_events_true_works(self, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
config_service_push_events_true = f"""
projects_and_groups:
{group_and_project_name}:
services:
asana:
api_key: foo
push_events: true
slack:
webhook: http://foo.bar.com
push_events: true
redmine:
new_issue_url: http://foo.bar.com
project_url: http://foo.bar.com
issues_url: http://foo.bar.com
push_events: true
"""
run_gitlabform(config_service_push_events_true, group_and_project_name)
services = []
for service_name in ["asana", "slack", "redmine"]:
service = gitlab.get_service(group_and_project_name, service_name)
services.append(service)
assert all([service["active"] for service in services]) is True
assert all([service["push_events"] for service in services]) is True
def test__if_push_events_false_works(self, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
config_service_push_events_false = f"""
projects_and_groups:
{group_and_project_name}:
services:
asana:
api_key: foo
push_events: false # changed
slack:
webhook: http://foo.bar.com
push_events: false # changed
redmine:
new_issue_url: http://foo.bar.com
project_url: http://foo.bar.com
issues_url: http://foo.bar.com
push_events: false # changed
"""
run_gitlabform(config_service_push_events_false, group_and_project_name)
services = []
for service_name in ["asana", "slack", "redmine"]:
service = gitlab.get_service(group_and_project_name, service_name)
services.append(service)
assert all([service["active"] for service in services]) is True
assert all([service["push_events"] for service in services]) is False
def test__if_push_events_change_works(self, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
config_service_push_events_true = f"""
projects_and_groups:
{group_and_project_name}:
services:
asana:
api_key: foo
push_events: true
slack:
webhook: http://foo.bar.com
push_events: true
redmine:
new_issue_url: http://foo.bar.com
project_url: http://foo.bar.com
issues_url: http://foo.bar.com
push_events: true
"""
run_gitlabform(config_service_push_events_true, group_and_project_name)
services = []
for service_name in ["asana", "slack", "redmine"]:
service = gitlab.get_service(group_and_project_name, service_name)
services.append(service)
assert all([service["active"] for service in services]) is True
assert all([service["push_events"] for service in services]) is True
config_service_push_events_false = f"""
projects_and_groups:
{group_and_project_name}:
services:
asana:
api_key: foo
push_events: false # changed
slack:
webhook: http://foo.bar.com
push_events: false # changed
redmine:
new_issue_url: http://foo.bar.com
project_url: http://foo.bar.com
issues_url: http://foo.bar.com
push_events: false # changed
"""
run_gitlabform(config_service_push_events_false, group_and_project_name)
services = []
for service_name in ["asana", "slack", "redmine"]:
service = gitlab.get_service(group_and_project_name, service_name)
services.append(service)
assert all([service["active"] for service in services]) is True
assert all([service["push_events"] for service in services]) is False
def test__if_jira_commit_events_true_works(self, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
config_service_jira_commit_events_true = f"""
projects_and_groups:
{group_and_project_name}:
services:
jira:
url: http://foo.bar.com
username: foo
password: bar
active: true
commit_events: true
"""
run_gitlabform(config_service_jira_commit_events_true, group_and_project_name)
service = gitlab.get_service(group_and_project_name, "jira")
assert service["active"] is True
assert service["commit_events"] is True
def test__if_jira_commit_events_false_works(self, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
config_service_jira_commit_events_false = f"""
projects_and_groups:
{group_and_project_name}:
services:
jira:
url: http://foo.bar.com
username: foo
password: bar
active: true
commit_events: false
"""
run_gitlabform(config_service_jira_commit_events_false, group_and_project_name)
service = gitlab.get_service(group_and_project_name, "jira")
assert service["active"] is True
assert service["commit_events"] is False
def test__if_change_works(self, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
config_service_jira_commit_events_true = f"""
projects_and_groups:
{group_and_project_name}:
services:
jira:
url: http://foo.bar.com
username: foo
password: bar
active: true
commit_events: true
"""
run_gitlabform(config_service_jira_commit_events_true, group_and_project_name)
service = gitlab.get_service(group_and_project_name, "jira")
assert service["active"] is True
assert service["commit_events"] is True
config_service_jira_commit_events_false = f"""
projects_and_groups:
{group_and_project_name}:
services:
jira:
url: http://foo.bar.com
username: foo
password: bar
active: true
commit_events: false
"""
run_gitlabform(config_service_jira_commit_events_false, group_and_project_name)
service = gitlab.get_service(group_and_project_name, "jira")
assert service["active"] is True
assert service["commit_events"] is False
def test__mattermost_confidential_issues_events(self, gitlab, group, project):
group_and_project_name = f"{group}/{project}"
config_service_mattermost_confidential_issues_events = f"""
projects_and_groups:
{group_and_project_name}:
services:
mattermost:
active: true
webhook: https://mattermost.com/hooks/xxx
username: gitlab
merge_requests_events: true
merge_request_channel: "merge-requests"
push_events: false
issues_events: false
confidential_issues_events: false # this was not supposed to work according to #70
tag_push_events: false
note_events: false
confidential_note_events: false
pipeline_events: false
wiki_page_events: false
branches_to_be_notified: "all"
"""
run_gitlabform(
config_service_mattermost_confidential_issues_events, group_and_project_name
)
service = gitlab.get_service(group_and_project_name, "mattermost")
assert service["confidential_issues_events"] is False
| 35.677419 | 98 | 0.593671 | 1,233 | 11,060 | 4.989457 | 0.108678 | 0.058518 | 0.10972 | 0.138979 | 0.80868 | 0.799252 | 0.776008 | 0.760891 | 0.760891 | 0.73342 | 0 | 0.00067 | 0.325407 | 11,060 | 309 | 99 | 35.79288 | 0.823884 | 0.033002 | 0 | 0.792 | 0 | 0 | 0.494012 | 0.041542 | 0 | 0 | 0 | 0 | 0.076 | 1 | 0.044 | false | 0.02 | 0.012 | 0 | 0.064 | 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 |
aa423d12b010376ff5ddcb8d960b04c5c5799c31 | 27,679 | py | Python | multilabelstratifier/tests/conftest.py | crypdick/multilabel-stratifier | 7d3e8afe40ca5cc5eaf262e020663d08c75c3419 | [
"BSD-2-Clause"
] | 1 | 2021-09-04T00:15:40.000Z | 2021-09-04T00:15:40.000Z | multilabelstratifier/tests/conftest.py | crypdick/multilabel-stratifier | 7d3e8afe40ca5cc5eaf262e020663d08c75c3419 | [
"BSD-2-Clause"
] | null | null | null | multilabelstratifier/tests/conftest.py | crypdick/multilabel-stratifier | 7d3e8afe40ca5cc5eaf262e020663d08c75c3419 | [
"BSD-2-Clause"
] | null | null | null | """
An example of output space which has enough evidence for 3 folds to contain a balanced label and label pair
stratification but can also illustrate poor stratification behavior.
"""
import numpy as np
import pytest
@pytest.fixture
def fixture_y():
return np.array(
[
[1, 0, 0],
[1, 0, 0],
[0, 1, 0],
[0, 1, 1],
[1, 1, 0],
[1, 0, 1],
]
)
@pytest.fixture
def fixture_folds():
"""
the structure is as follows:
(
folds,
example distribution given equal division expectation,
label distribution,
label pair distribution,
no of folds without label evidence,
no of fold-label pairs without evidence,
no of folds without label pairs evidence,
no of fold-labelpair pairs without evidence,
percentage of labels without evidence per fold,
percentage of label pairs without evidence per fold
)
fold that deliver well-balanced stratification of single-label evidence
but fails with label pair evidence in one fold
"""
return [
(
[[1, 2, 5], [0, 3, 4]], # folds
0.0, # ED
0.25, # LD
0.25, # LDP
0,
0,
2,
3,
[0.0, 0.0],
[0.33333333333333337, 0.16666666666666663],
)
]
@pytest.fixture
def fixture_x():
return [
[5.0, 1.0, 0.0, 0.0, 4.0, 2.0, 2.0, 1.0, 3.0, 3.0, 4.0, 2.0, 1.0, 6.0, 2.0, 1.0, 5.0, 4.0, 2.0, 4.0],
[2.0, 2.0, 1.0, 2.0, 2.0, 2.0, 6.0, 1.0, 2.0, 3.0, 2.0, 2.0, 2.0, 2.0, 2.0, 1.0, 2.0, 4.0, 2.0, 6.0],
[0.0, 2.0, 0.0, 4.0, 1.0, 2.0, 5.0, 3.0, 1.0, 4.0, 3.0, 2.0, 2.0, 1.0, 2.0, 2.0, 3.0, 4.0, 1.0, 4.0],
[4.0, 2.0, 6.0, 2.0, 4.0, 2.0, 1.0, 1.0, 2.0, 2.0, 5.0, 1.0, 3.0, 1.0, 4.0, 1.0, 2.0, 4.0, 1.0, 2.0],
[3.0, 2.0, 1.0, 0.0, 5.0, 1.0, 3.0, 5.0, 2.0, 0.0, 1.0, 0.0, 0.0, 3.0, 2.0, 1.0, 3.0, 2.0, 2.0, 3.0],
[8.0, 3.0, 1.0, 2.0, 4.0, 4.0, 2.0, 7.0, 4.0, 5.0, 1.0, 1.0, 3.0, 1.0, 3.0, 6.0, 7.0, 1.0, 5.0, 5.0],
[5.0, 1.0, 1.0, 4.0, 5.0, 3.0, 4.0, 2.0, 1.0, 0.0, 1.0, 0.0, 2.0, 4.0, 3.0, 1.0, 4.0, 4.0, 2.0, 4.0],
[3.0, 0.0, 2.0, 1.0, 6.0, 2.0, 1.0, 9.0, 3.0, 1.0, 2.0, 2.0, 0.0, 3.0, 2.0, 1.0, 0.0, 0.0, 2.0, 4.0],
[1.0, 1.0, 0.0, 3.0, 3.0, 3.0, 2.0, 5.0, 1.0, 1.0, 3.0, 0.0, 0.0, 2.0, 3.0, 3.0, 4.0, 3.0, 1.0, 2.0],
[1.0, 1.0, 4.0, 4.0, 5.0, 4.0, 3.0, 5.0, 0.0, 0.0, 2.0, 2.0, 3.0, 4.0, 2.0, 2.0, 6.0, 2.0, 3.0, 1.0],
[4.0, 2.0, 2.0, 3.0, 1.0, 6.0, 4.0, 7.0, 0.0, 4.0, 1.0, 2.0, 2.0, 5.0, 2.0, 4.0, 3.0, 1.0, 1.0, 2.0],
[0.0, 5.0, 0.0, 5.0, 3.0, 5.0, 3.0, 4.0, 0.0, 2.0, 0.0, 2.0, 1.0, 2.0, 1.0, 4.0, 7.0, 2.0, 7.0, 3.0],
[5.0, 1.0, 2.0, 1.0, 1.0, 6.0, 1.0, 6.0, 3.0, 2.0, 3.0, 1.0, 2.0, 5.0, 3.0, 5.0, 3.0, 2.0, 4.0, 3.0],
[1.0, 2.0, 3.0, 4.0, 3.0, 3.0, 2.0, 8.0, 3.0, 1.0, 2.0, 1.0, 2.0, 4.0, 4.0, 1.0, 4.0, 1.0, 3.0, 1.0],
[3.0, 3.0, 2.0, 1.0, 2.0, 2.0, 6.0, 2.0, 1.0, 3.0, 3.0, 2.0, 1.0, 0.0, 1.0, 3.0, 4.0, 2.0, 2.0, 2.0],
[2.0, 5.0, 2.0, 4.0, 2.0, 0.0, 2.0, 1.0, 7.0, 2.0, 3.0, 0.0, 1.0, 2.0, 2.0, 1.0, 1.0, 2.0, 3.0, 2.0],
[0.0, 7.0, 2.0, 4.0, 1.0, 0.0, 5.0, 3.0, 2.0, 3.0, 2.0, 2.0, 2.0, 2.0, 4.0, 3.0, 1.0, 4.0, 2.0, 3.0],
[3.0, 3.0, 5.0, 4.0, 7.0, 4.0, 1.0, 1.0, 5.0, 1.0, 0.0, 0.0, 2.0, 5.0, 4.0, 3.0, 4.0, 2.0, 3.0, 4.0],
[5.0, 3.0, 1.0, 2.0, 5.0, 1.0, 3.0, 6.0, 3.0, 1.0, 5.0, 0.0, 1.0, 6.0, 3.0, 1.0, 2.0, 3.0, 1.0, 1.0],
[3.0, 3.0, 0.0, 4.0, 4.0, 2.0, 1.0, 1.0, 0.0, 3.0, 0.0, 5.0, 5.0, 10.0, 5.0, 1.0, 2.0, 2.0, 1.0, 2.0],
[6.0, 2.0, 2.0, 1.0, 2.0, 5.0, 2.0, 3.0, 1.0, 3.0, 0.0, 3.0, 0.0, 2.0, 2.0, 5.0, 1.0, 0.0, 4.0, 4.0],
[4.0, 1.0, 1.0, 1.0, 2.0, 0.0, 2.0, 0.0, 2.0, 1.0, 3.0, 0.0, 0.0, 3.0, 3.0, 2.0, 0.0, 2.0, 2.0, 1.0],
[0.0, 5.0, 5.0, 1.0, 0.0, 4.0, 6.0, 3.0, 2.0, 1.0, 1.0, 0.0, 0.0, 2.0, 1.0, 1.0, 1.0, 7.0, 1.0, 2.0],
[6.0, 1.0, 3.0, 2.0, 4.0, 0.0, 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 3.0, 2.0, 3.0, 0.0, 1.0, 4.0, 2.0, 7.0],
[4.0, 2.0, 2.0, 3.0, 2.0, 2.0, 5.0, 5.0, 2.0, 2.0, 4.0, 0.0, 1.0, 2.0, 3.0, 1.0, 3.0, 2.0, 2.0, 3.0],
[2.0, 0.0, 3.0, 2.0, 2.0, 5.0, 1.0, 0.0, 2.0, 2.0, 3.0, 1.0, 2.0, 2.0, 3.0, 0.0, 4.0, 0.0, 3.0, 1.0],
[1.0, 1.0, 3.0, 2.0, 7.0, 6.0, 5.0, 4.0, 0.0, 2.0, 5.0, 1.0, 0.0, 5.0, 5.0, 1.0, 4.0, 2.0, 2.0, 0.0],
[4.0, 1.0, 4.0, 2.0, 4.0, 3.0, 2.0, 0.0, 3.0, 2.0, 2.0, 0.0, 1.0, 2.0, 0.0, 2.0, 4.0, 1.0, 1.0, 4.0],
[1.0, 0.0, 1.0, 1.0, 2.0, 3.0, 5.0, 6.0, 3.0, 3.0, 2.0, 2.0, 1.0, 5.0, 0.0, 1.0, 2.0, 2.0, 4.0, 2.0],
[0.0, 4.0, 2.0, 3.0, 6.0, 3.0, 5.0, 2.0, 2.0, 3.0, 2.0, 2.0, 2.0, 4.0, 2.0, 2.0, 3.0, 1.0, 0.0, 3.0],
[7.0, 4.0, 3.0, 0.0, 6.0, 3.0, 3.0, 4.0, 2.0, 0.0, 3.0, 0.0, 1.0, 1.0, 1.0, 2.0, 0.0, 2.0, 3.0, 2.0],
[7.0, 3.0, 1.0, 1.0, 0.0, 0.0, 1.0, 2.0, 6.0, 0.0, 3.0, 0.0, 1.0, 5.0, 2.0, 6.0, 3.0, 0.0, 5.0, 1.0],
[3.0, 4.0, 2.0, 3.0, 2.0, 0.0, 3.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 5.0, 4.0, 0.0, 4.0, 7.0, 3.0, 2.0],
[3.0, 3.0, 1.0, 4.0, 2.0, 5.0, 3.0, 3.0, 0.0, 2.0, 1.0, 0.0, 0.0, 4.0, 1.0, 1.0, 1.0, 1.0, 3.0, 4.0],
[2.0, 2.0, 1.0, 1.0, 5.0, 2.0, 2.0, 3.0, 4.0, 1.0, 1.0, 1.0, 1.0, 5.0, 2.0, 3.0, 2.0, 0.0, 3.0, 1.0],
[6.0, 3.0, 2.0, 3.0, 6.0, 0.0, 3.0, 2.0, 1.0, 4.0, 1.0, 2.0, 1.0, 2.0, 4.0, 1.0, 2.0, 0.0, 1.0, 3.0],
[5.0, 1.0, 2.0, 2.0, 3.0, 3.0, 2.0, 5.0, 0.0, 2.0, 3.0, 1.0, 0.0, 3.0, 1.0, 5.0, 6.0, 1.0, 3.0, 5.0],
[6.0, 4.0, 2.0, 0.0, 3.0, 0.0, 6.0, 2.0, 6.0, 1.0, 7.0, 2.0, 4.0, 0.0, 3.0, 0.0, 3.0, 1.0, 3.0, 5.0],
[3.0, 8.0, 2.0, 0.0, 2.0, 2.0, 4.0, 2.0, 2.0, 3.0, 3.0, 1.0, 3.0, 6.0, 2.0, 0.0, 5.0, 2.0, 0.0, 4.0],
[4.0, 2.0, 2.0, 3.0, 2.0, 2.0, 3.0, 2.0, 2.0, 2.0, 2.0, 1.0, 0.0, 5.0, 2.0, 2.0, 0.0, 2.0, 4.0, 3.0],
[4.0, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 2.0, 2.0, 4.0, 3.0, 0.0, 2.0, 7.0, 6.0, 0.0, 0.0, 1.0, 2.0, 1.0],
[2.0, 2.0, 0.0, 5.0, 6.0, 3.0, 3.0, 1.0, 0.0, 4.0, 0.0, 1.0, 6.0, 2.0, 1.0, 5.0, 7.0, 1.0, 0.0, 3.0],
[1.0, 3.0, 2.0, 2.0, 0.0, 1.0, 4.0, 5.0, 0.0, 0.0, 2.0, 1.0, 0.0, 1.0, 0.0, 3.0, 2.0, 5.0, 5.0, 2.0],
[3.0, 5.0, 2.0, 4.0, 3.0, 2.0, 1.0, 5.0, 3.0, 2.0, 0.0, 2.0, 0.0, 3.0, 4.0, 3.0, 4.0, 2.0, 8.0, 5.0],
[5.0, 2.0, 4.0, 3.0, 8.0, 2.0, 6.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 3.0, 3.0, 2.0, 1.0, 2.0, 5.0],
[5.0, 3.0, 2.0, 3.0, 6.0, 1.0, 4.0, 1.0, 1.0, 0.0, 1.0, 2.0, 1.0, 3.0, 3.0, 2.0, 2.0, 1.0, 3.0, 2.0],
[2.0, 2.0, 3.0, 2.0, 3.0, 3.0, 4.0, 5.0, 0.0, 2.0, 4.0, 0.0, 1.0, 6.0, 4.0, 4.0, 3.0, 4.0, 3.0, 0.0],
[2.0, 1.0, 2.0, 3.0, 3.0, 6.0, 4.0, 1.0, 1.0, 5.0, 2.0, 0.0, 0.0, 1.0, 3.0, 1.0, 4.0, 1.0, 3.0, 1.0],
[5.0, 3.0, 4.0, 2.0, 0.0, 1.0, 0.0, 1.0, 5.0, 4.0, 3.0, 1.0, 1.0, 2.0, 4.0, 2.0, 0.0, 2.0, 3.0, 0.0],
[3.0, 5.0, 3.0, 1.0, 5.0, 5.0, 3.0, 3.0, 1.0, 0.0, 6.0, 2.0, 1.0, 3.0, 8.0, 2.0, 2.0, 1.0, 3.0, 3.0],
[4.0, 9.0, 4.0, 3.0, 6.0, 2.0, 2.0, 2.0, 4.0, 2.0, 8.0, 1.0, 1.0, 4.0, 1.0, 0.0, 0.0, 3.0, 2.0, 1.0],
[4.0, 6.0, 1.0, 0.0, 2.0, 1.0, 3.0, 2.0, 3.0, 1.0, 5.0, 2.0, 1.0, 4.0, 2.0, 0.0, 1.0, 1.0, 1.0, 8.0],
[4.0, 1.0, 1.0, 2.0, 8.0, 4.0, 2.0, 1.0, 5.0, 1.0, 5.0, 0.0, 0.0, 4.0, 2.0, 0.0, 1.0, 0.0, 3.0, 1.0],
[2.0, 6.0, 1.0, 3.0, 2.0, 5.0, 6.0, 0.0, 2.0, 3.0, 4.0, 1.0, 2.0, 7.0, 2.0, 0.0, 2.0, 5.0, 3.0, 5.0],
[7.0, 4.0, 2.0, 1.0, 1.0, 3.0, 1.0, 5.0, 5.0, 2.0, 4.0, 0.0, 1.0, 4.0, 3.0, 1.0, 0.0, 0.0, 2.0, 5.0],
[6.0, 2.0, 0.0, 1.0, 3.0, 1.0, 0.0, 1.0, 3.0, 2.0, 3.0, 2.0, 3.0, 2.0, 4.0, 2.0, 1.0, 1.0, 2.0, 1.0],
[4.0, 3.0, 3.0, 2.0, 2.0, 3.0, 1.0, 3.0, 3.0, 0.0, 3.0, 2.0, 2.0, 1.0, 4.0, 1.0, 0.0, 2.0, 4.0, 3.0],
[2.0, 1.0, 1.0, 2.0, 5.0, 6.0, 1.0, 1.0, 7.0, 6.0, 4.0, 0.0, 0.0, 3.0, 3.0, 1.0, 0.0, 0.0, 2.0, 0.0],
[2.0, 7.0, 3.0, 2.0, 1.0, 4.0, 1.0, 5.0, 3.0, 2.0, 1.0, 0.0, 3.0, 2.0, 2.0, 2.0, 3.0, 0.0, 2.0, 2.0],
[5.0, 0.0, 2.0, 3.0, 1.0, 3.0, 5.0, 4.0, 0.0, 2.0, 2.0, 0.0, 2.0, 2.0, 1.0, 4.0, 2.0, 3.0, 3.0, 0.0],
[2.0, 1.0, 1.0, 0.0, 3.0, 2.0, 3.0, 3.0, 2.0, 1.0, 3.0, 1.0, 2.0, 4.0, 3.0, 3.0, 4.0, 2.0, 2.0, 4.0],
[0.0, 2.0, 4.0, 2.0, 2.0, 3.0, 4.0, 2.0, 0.0, 2.0, 0.0, 0.0, 1.0, 4.0, 3.0, 6.0, 5.0, 1.0, 6.0, 2.0],
[4.0, 3.0, 3.0, 2.0, 1.0, 4.0, 5.0, 1.0, 0.0, 2.0, 1.0, 3.0, 1.0, 3.0, 1.0, 1.0, 3.0, 2.0, 0.0, 0.0],
[5.0, 3.0, 1.0, 1.0, 3.0, 1.0, 1.0, 2.0, 3.0, 3.0, 3.0, 3.0, 0.0, 2.0, 1.0, 3.0, 2.0, 1.0, 1.0, 4.0],
[5.0, 5.0, 4.0, 1.0, 2.0, 4.0, 2.0, 2.0, 3.0, 1.0, 2.0, 0.0, 1.0, 7.0, 5.0, 3.0, 2.0, 2.0, 4.0, 4.0],
[1.0, 4.0, 0.0, 1.0, 5.0, 1.0, 1.0, 3.0, 0.0, 0.0, 1.0, 1.0, 1.0, 4.0, 4.0, 1.0, 2.0, 2.0, 3.0, 3.0],
[2.0, 2.0, 2.0, 0.0, 2.0, 3.0, 2.0, 4.0, 1.0, 3.0, 3.0, 3.0, 2.0, 2.0, 2.0, 2.0, 3.0, 2.0, 3.0, 3.0],
[6.0, 0.0, 1.0, 0.0, 1.0, 1.0, 4.0, 2.0, 2.0, 2.0, 3.0, 1.0, 3.0, 5.0, 8.0, 5.0, 1.0, 4.0, 1.0, 4.0],
[4.0, 2.0, 0.0, 1.0, 6.0, 3.0, 2.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 5.0, 2.0, 0.0, 4.0, 2.0, 4.0, 2.0],
[1.0, 1.0, 2.0, 2.0, 1.0, 0.0, 2.0, 2.0, 3.0, 0.0, 0.0, 0.0, 3.0, 4.0, 3.0, 1.0, 4.0, 1.0, 3.0, 4.0],
[3.0, 3.0, 0.0, 5.0, 5.0, 1.0, 0.0, 2.0, 4.0, 1.0, 4.0, 1.0, 1.0, 8.0, 2.0, 1.0, 4.0, 1.0, 3.0, 4.0],
[2.0, 1.0, 4.0, 4.0, 3.0, 3.0, 5.0, 2.0, 0.0, 1.0, 2.0, 1.0, 0.0, 7.0, 1.0, 3.0, 1.0, 10.0, 4.0, 4.0],
[3.0, 1.0, 3.0, 3.0, 1.0, 2.0, 4.0, 9.0, 0.0, 2.0, 0.0, 0.0, 0.0, 3.0, 2.0, 3.0, 4.0, 1.0, 3.0, 3.0],
[3.0, 2.0, 3.0, 0.0, 5.0, 0.0, 2.0, 5.0, 1.0, 1.0, 3.0, 1.0, 0.0, 1.0, 1.0, 4.0, 2.0, 0.0, 1.0, 2.0],
[2.0, 1.0, 1.0, 3.0, 3.0, 3.0, 3.0, 2.0, 2.0, 1.0, 5.0, 1.0, 2.0, 2.0, 11.0, 2.0, 0.0, 4.0, 1.0, 1.0],
[3.0, 3.0, 2.0, 2.0, 0.0, 1.0, 3.0, 3.0, 5.0, 1.0, 4.0, 0.0, 3.0, 5.0, 4.0, 1.0, 2.0, 1.0, 3.0, 4.0],
[3.0, 3.0, 3.0, 2.0, 4.0, 3.0, 4.0, 1.0, 5.0, 0.0, 3.0, 0.0, 1.0, 3.0, 8.0, 1.0, 1.0, 1.0, 2.0, 1.0],
[5.0, 4.0, 1.0, 3.0, 1.0, 4.0, 2.0, 0.0, 2.0, 2.0, 2.0, 0.0, 3.0, 4.0, 3.0, 3.0, 5.0, 3.0, 5.0, 3.0],
[7.0, 6.0, 2.0, 3.0, 7.0, 2.0, 0.0, 1.0, 7.0, 0.0, 2.0, 1.0, 1.0, 5.0, 3.0, 1.0, 0.0, 0.0, 0.0, 4.0],
[7.0, 3.0, 1.0, 2.0, 6.0, 2.0, 0.0, 5.0, 5.0, 8.0, 4.0, 1.0, 0.0, 6.0, 7.0, 0.0, 0.0, 1.0, 1.0, 0.0],
[2.0, 3.0, 2.0, 3.0, 3.0, 3.0, 1.0, 0.0, 3.0, 1.0, 2.0, 1.0, 1.0, 2.0, 3.0, 3.0, 4.0, 3.0, 3.0, 2.0],
[6.0, 0.0, 5.0, 5.0, 2.0, 4.0, 2.0, 2.0, 0.0, 0.0, 1.0, 4.0, 1.0, 5.0, 2.0, 8.0, 1.0, 0.0, 1.0, 3.0],
[4.0, 3.0, 1.0, 3.0, 4.0, 3.0, 2.0, 4.0, 1.0, 1.0, 3.0, 0.0, 1.0, 10.0, 7.0, 2.0, 1.0, 3.0, 2.0, 1.0],
[5.0, 0.0, 2.0, 4.0, 2.0, 0.0, 5.0, 1.0, 0.0, 2.0, 3.0, 1.0, 1.0, 3.0, 3.0, 8.0, 2.0, 4.0, 1.0, 2.0],
[3.0, 2.0, 3.0, 1.0, 2.0, 5.0, 1.0, 2.0, 2.0, 0.0, 2.0, 1.0, 1.0, 4.0, 4.0, 5.0, 3.0, 0.0, 5.0, 3.0],
[7.0, 1.0, 2.0, 5.0, 1.0, 0.0, 5.0, 2.0, 1.0, 3.0, 0.0, 7.0, 3.0, 3.0, 1.0, 3.0, 2.0, 1.0, 1.0, 3.0],
[2.0, 0.0, 1.0, 3.0, 3.0, 3.0, 10.0, 4.0, 0.0, 4.0, 4.0, 0.0, 1.0, 3.0, 0.0, 4.0, 2.0, 6.0, 6.0, 2.0],
[6.0, 4.0, 0.0, 3.0, 1.0, 2.0, 1.0, 2.0, 3.0, 2.0, 2.0, 1.0, 0.0, 6.0, 7.0, 0.0, 1.0, 1.0, 1.0, 1.0],
[5.0, 3.0, 3.0, 2.0, 4.0, 0.0, 3.0, 3.0, 4.0, 1.0, 2.0, 2.0, 1.0, 5.0, 3.0, 3.0, 3.0, 1.0, 3.0, 1.0],
[9.0, 4.0, 3.0, 2.0, 2.0, 1.0, 5.0, 4.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 2.0, 3.0, 5.0, 5.0, 3.0, 4.0],
[6.0, 4.0, 0.0, 2.0, 4.0, 3.0, 6.0, 1.0, 2.0, 3.0, 1.0, 0.0, 4.0, 2.0, 0.0, 0.0, 0.0, 4.0, 1.0, 2.0],
[1.0, 5.0, 0.0, 1.0, 6.0, 1.0, 0.0, 2.0, 3.0, 1.0, 3.0, 0.0, 0.0, 4.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0],
[2.0, 2.0, 3.0, 3.0, 2.0, 1.0, 4.0, 2.0, 2.0, 0.0, 4.0, 3.0, 2.0, 3.0, 2.0, 3.0, 4.0, 0.0, 0.0, 1.0],
[3.0, 3.0, 4.0, 4.0, 1.0, 8.0, 3.0, 3.0, 0.0, 2.0, 2.0, 2.0, 2.0, 2.0, 1.0, 6.0, 2.0, 2.0, 3.0, 1.0],
[2.0, 0.0, 3.0, 2.0, 0.0, 3.0, 4.0, 3.0, 1.0, 3.0, 2.0, 1.0, 0.0, 4.0, 0.0, 1.0, 2.0, 1.0, 6.0, 3.0],
[3.0, 4.0, 4.0, 2.0, 3.0, 2.0, 5.0, 0.0, 0.0, 1.0, 3.0, 1.0, 0.0, 3.0, 2.0, 1.0, 4.0, 6.0, 3.0, 0.0],
[5.0, 2.0, 1.0, 2.0, 1.0, 2.0, 4.0, 5.0, 2.0, 1.0, 0.0, 1.0, 3.0, 2.0, 2.0, 2.0, 1.0, 4.0, 2.0, 4.0],
[4.0, 3.0, 3.0, 3.0, 4.0, 1.0, 1.0, 3.0, 2.0, 1.0, 4.0, 2.0, 2.0, 6.0, 5.0, 5.0, 4.0, 1.0, 3.0, 0.0],
[4.0, 3.0, 2.0, 2.0, 1.0, 2.0, 0.0, 6.0, 3.0, 1.0, 4.0, 1.0, 2.0, 8.0, 5.0, 7.0, 3.0, 4.0, 3.0, 2.0],
[4.0, 2.0, 2.0, 0.0, 3.0, 1.0, 2.0, 1.0, 0.0, 1.0, 4.0, 0.0, 1.0, 2.0, 2.0, 0.0, 4.0, 2.0, 2.0, 1.0],
[0.0, 1.0, 2.0, 4.0, 1.0, 3.0, 4.0, 4.0, 3.0, 5.0, 1.0, 0.0, 3.0, 1.0, 4.0, 3.0, 6.0, 0.0, 2.0, 4.0],
[1.0, 1.0, 0.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 6.0, 3.0, 3.0, 1.0, 3.0, 2.0, 5.0, 0.0, 2.0, 2.0],
[0.0, 2.0, 1.0, 7.0, 2.0, 2.0, 7.0, 0.0, 5.0, 2.0, 1.0, 0.0, 1.0, 6.0, 0.0, 6.0, 4.0, 2.0, 1.0, 8.0],
[0.0, 6.0, 4.0, 2.0, 3.0, 0.0, 3.0, 1.0, 3.0, 3.0, 2.0, 0.0, 4.0, 7.0, 0.0, 4.0, 2.0, 0.0, 2.0, 6.0],
[1.0, 4.0, 2.0, 5.0, 2.0, 2.0, 3.0, 4.0, 6.0, 3.0, 0.0, 0.0, 2.0, 0.0, 5.0, 5.0, 3.0, 1.0, 2.0, 4.0],
[2.0, 3.0, 0.0, 3.0, 7.0, 3.0, 1.0, 2.0, 4.0, 3.0, 3.0, 0.0, 3.0, 2.0, 0.0, 4.0, 3.0, 4.0, 5.0, 2.0],
[0.0, 1.0, 5.0, 2.0, 3.0, 2.0, 5.0, 2.0, 7.0, 3.0, 5.0, 0.0, 0.0, 4.0, 2.0, 2.0, 2.0, 4.0, 5.0, 2.0],
[5.0, 2.0, 1.0, 2.0, 2.0, 1.0, 3.0, 6.0, 4.0, 0.0, 3.0, 0.0, 6.0, 4.0, 2.0, 1.0, 2.0, 4.0, 1.0, 6.0],
[0.0, 5.0, 0.0, 2.0, 0.0, 1.0, 2.0, 6.0, 4.0, 2.0, 2.0, 0.0, 2.0, 3.0, 1.0, 2.0, 1.0, 0.0, 5.0, 6.0],
[1.0, 4.0, 1.0, 3.0, 1.0, 0.0, 4.0, 3.0, 4.0, 2.0, 4.0, 0.0, 6.0, 3.0, 3.0, 6.0, 4.0, 3.0, 0.0, 2.0],
[0.0, 1.0, 5.0, 2.0, 4.0, 0.0, 4.0, 2.0, 2.0, 0.0, 2.0, 1.0, 2.0, 3.0, 3.0, 4.0, 5.0, 2.0, 0.0, 12.0],
[1.0, 3.0, 1.0, 2.0, 3.0, 2.0, 6.0, 2.0, 2.0, 2.0, 3.0, 0.0, 3.0, 4.0, 6.0, 4.0, 6.0, 0.0, 3.0, 8.0],
[1.0, 1.0, 0.0, 5.0, 3.0, 4.0, 6.0, 0.0, 2.0, 1.0, 0.0, 1.0, 1.0, 2.0, 4.0, 2.0, 3.0, 0.0, 4.0, 4.0],
[1.0, 2.0, 1.0, 5.0, 2.0, 1.0, 4.0, 1.0, 5.0, 2.0, 0.0, 0.0, 2.0, 6.0, 2.0, 4.0, 5.0, 3.0, 3.0, 2.0],
[1.0, 3.0, 1.0, 6.0, 0.0, 2.0, 6.0, 2.0, 2.0, 1.0, 0.0, 0.0, 1.0, 2.0, 6.0, 4.0, 6.0, 0.0, 3.0, 2.0],
[3.0, 1.0, 1.0, 4.0, 2.0, 1.0, 4.0, 3.0, 1.0, 0.0, 2.0, 1.0, 1.0, 2.0, 2.0, 0.0, 4.0, 2.0, 3.0, 4.0],
[0.0, 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 4.0, 8.0, 4.0, 1.0, 0.0, 4.0, 3.0, 7.0, 4.0, 7.0, 0.0, 4.0, 1.0],
[0.0, 4.0, 3.0, 3.0, 3.0, 0.0, 8.0, 0.0, 1.0, 2.0, 2.0, 1.0, 4.0, 2.0, 5.0, 7.0, 2.0, 3.0, 3.0, 4.0],
[2.0, 1.0, 0.0, 4.0, 0.0, 2.0, 1.0, 5.0, 6.0, 0.0, 2.0, 1.0, 6.0, 0.0, 5.0, 2.0, 6.0, 0.0, 1.0, 1.0],
[0.0, 2.0, 1.0, 2.0, 0.0, 2.0, 3.0, 1.0, 7.0, 2.0, 1.0, 0.0, 2.0, 3.0, 2.0, 2.0, 3.0, 3.0, 7.0, 3.0],
[0.0, 1.0, 2.0, 4.0, 1.0, 0.0, 7.0, 6.0, 6.0, 1.0, 5.0, 2.0, 3.0, 1.0, 5.0, 5.0, 3.0, 3.0, 1.0, 5.0],
[0.0, 2.0, 1.0, 7.0, 2.0, 0.0, 4.0, 1.0, 4.0, 2.0, 3.0, 0.0, 1.0, 4.0, 3.0, 2.0, 1.0, 2.0, 2.0, 5.0],
[1.0, 2.0, 0.0, 3.0, 3.0, 1.0, 2.0, 2.0, 4.0, 1.0, 5.0, 0.0, 1.0, 0.0, 3.0, 6.0, 3.0, 1.0, 2.0, 3.0],
[4.0, 1.0, 0.0, 5.0, 3.0, 3.0, 4.0, 1.0, 9.0, 5.0, 3.0, 0.0, 2.0, 1.0, 8.0, 1.0, 4.0, 0.0, 6.0, 3.0],
[1.0, 1.0, 3.0, 3.0, 4.0, 1.0, 3.0, 1.0, 3.0, 7.0, 1.0, 0.0, 2.0, 3.0, 1.0, 2.0, 2.0, 5.0, 3.0, 3.0],
[0.0, 0.0, 2.0, 1.0, 2.0, 1.0, 2.0, 2.0, 2.0, 0.0, 1.0, 1.0, 3.0, 2.0, 8.0, 1.0, 6.0, 1.0, 3.0, 4.0],
[0.0, 4.0, 2.0, 0.0, 2.0, 2.0, 1.0, 0.0, 3.0, 6.0, 3.0, 0.0, 0.0, 2.0, 0.0, 1.0, 1.0, 3.0, 5.0, 4.0],
[1.0, 5.0, 0.0, 1.0, 1.0, 1.0, 1.0, 3.0, 3.0, 0.0, 6.0, 2.0, 4.0, 2.0, 2.0, 3.0, 5.0, 1.0, 0.0, 3.0],
[2.0, 3.0, 1.0, 0.0, 2.0, 0.0, 1.0, 5.0, 4.0, 2.0, 4.0, 1.0, 4.0, 3.0, 6.0, 0.0, 3.0, 2.0, 2.0, 3.0],
[1.0, 2.0, 0.0, 2.0, 1.0, 2.0, 3.0, 1.0, 4.0, 1.0, 2.0, 0.0, 2.0, 8.0, 0.0, 1.0, 2.0, 1.0, 4.0, 1.0],
[0.0, 4.0, 2.0, 3.0, 0.0, 1.0, 2.0, 4.0, 4.0, 2.0, 2.0, 0.0, 1.0, 0.0, 5.0, 5.0, 3.0, 1.0, 4.0, 3.0],
[2.0, 3.0, 2.0, 3.0, 1.0, 1.0, 2.0, 3.0, 4.0, 2.0, 4.0, 0.0, 1.0, 3.0, 1.0, 6.0, 2.0, 1.0, 2.0, 6.0],
[3.0, 4.0, 0.0, 2.0, 1.0, 0.0, 0.0, 6.0, 2.0, 0.0, 4.0, 3.0, 4.0, 0.0, 3.0, 7.0, 4.0, 0.0, 0.0, 5.0],
[1.0, 0.0, 0.0, 4.0, 2.0, 2.0, 3.0, 5.0, 2.0, 6.0, 0.0, 0.0, 4.0, 3.0, 3.0, 2.0, 3.0, 2.0, 5.0, 3.0],
[0.0, 3.0, 2.0, 0.0, 0.0, 1.0, 3.0, 3.0, 5.0, 2.0, 2.0, 1.0, 1.0, 1.0, 2.0, 1.0, 6.0, 1.0, 3.0, 4.0],
[2.0, 0.0, 2.0, 3.0, 1.0, 1.0, 1.0, 2.0, 6.0, 3.0, 2.0, 0.0, 2.0, 2.0, 6.0, 7.0, 5.0, 2.0, 2.0, 6.0],
[1.0, 1.0, 1.0, 6.0, 2.0, 3.0, 3.0, 2.0, 2.0, 2.0, 0.0, 1.0, 3.0, 0.0, 3.0, 6.0, 3.0, 2.0, 2.0, 4.0],
[3.0, 3.0, 1.0, 2.0, 3.0, 1.0, 3.0, 6.0, 3.0, 1.0, 1.0, 2.0, 7.0, 2.0, 6.0, 3.0, 1.0, 3.0, 3.0, 1.0],
[3.0, 0.0, 1.0, 1.0, 0.0, 1.0, 5.0, 1.0, 4.0, 0.0, 3.0, 0.0, 4.0, 3.0, 1.0, 7.0, 2.0, 2.0, 3.0, 7.0],
[0.0, 5.0, 1.0, 4.0, 0.0, 3.0, 7.0, 2.0, 6.0, 3.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 3.0, 0.0, 4.0, 7.0],
[1.0, 2.0, 0.0, 5.0, 5.0, 1.0, 0.0, 0.0, 6.0, 3.0, 0.0, 0.0, 1.0, 3.0, 2.0, 4.0, 5.0, 6.0, 3.0, 3.0],
[1.0, 2.0, 4.0, 1.0, 0.0, 2.0, 6.0, 4.0, 3.0, 0.0, 2.0, 1.0, 3.0, 0.0, 2.0, 2.0, 6.0, 0.0, 4.0, 1.0],
[1.0, 1.0, 1.0, 3.0, 0.0, 0.0, 3.0, 0.0, 2.0, 2.0, 3.0, 1.0, 2.0, 1.0, 5.0, 2.0, 5.0, 3.0, 6.0, 5.0],
[1.0, 0.0, 2.0, 4.0, 0.0, 4.0, 5.0, 4.0, 2.0, 3.0, 1.0, 0.0, 2.0, 6.0, 6.0, 5.0, 5.0, 0.0, 4.0, 3.0],
[2.0, 2.0, 0.0, 3.0, 1.0, 1.0, 2.0, 2.0, 1.0, 1.0, 3.0, 1.0, 6.0, 2.0, 7.0, 6.0, 6.0, 3.0, 3.0, 1.0],
[0.0, 5.0, 2.0, 4.0, 1.0, 3.0, 3.0, 1.0, 1.0, 1.0, 0.0, 0.0, 5.0, 3.0, 6.0, 2.0, 3.0, 2.0, 5.0, 5.0],
[0.0, 4.0, 1.0, 5.0, 2.0, 0.0, 4.0, 2.0, 0.0, 3.0, 0.0, 2.0, 2.0, 4.0, 1.0, 5.0, 3.0, 1.0, 2.0, 3.0],
[2.0, 1.0, 0.0, 2.0, 3.0, 1.0, 1.0, 1.0, 10.0, 4.0, 1.0, 0.0, 1.0, 7.0, 0.0, 2.0, 4.0, 2.0, 1.0, 3.0],
[0.0, 6.0, 2.0, 1.0, 3.0, 0.0, 1.0, 1.0, 5.0, 2.0, 1.0, 0.0, 4.0, 3.0, 1.0, 2.0, 4.0, 4.0, 0.0, 5.0],
[3.0, 0.0, 1.0, 3.0, 4.0, 1.0, 2.0, 1.0, 7.0, 3.0, 1.0, 0.0, 1.0, 3.0, 3.0, 4.0, 3.0, 2.0, 6.0, 6.0],
[1.0, 2.0, 1.0, 5.0, 1.0, 1.0, 1.0, 1.0, 4.0, 4.0, 2.0, 1.0, 3.0, 0.0, 2.0, 3.0, 7.0, 0.0, 2.0, 5.0],
[0.0, 0.0, 1.0, 7.0, 0.0, 2.0, 4.0, 3.0, 2.0, 0.0, 1.0, 0.0, 1.0, 7.0, 5.0, 3.0, 3.0, 3.0, 3.0, 3.0],
[0.0, 1.0, 1.0, 2.0, 1.0, 1.0, 2.0, 5.0, 5.0, 3.0, 3.0, 2.0, 5.0, 0.0, 3.0, 5.0, 2.0, 0.0, 4.0, 2.0],
[5.0, 1.0, 2.0, 7.0, 1.0, 0.0, 4.0, 4.0, 1.0, 1.0, 2.0, 1.0, 0.0, 1.0, 2.0, 2.0, 3.0, 0.0, 5.0, 4.0],
[0.0, 2.0, 4.0, 3.0, 2.0, 0.0, 5.0, 3.0, 4.0, 2.0, 3.0, 3.0, 4.0, 3.0, 2.0, 5.0, 7.0, 1.0, 2.0, 5.0],
[1.0, 3.0, 1.0, 0.0, 6.0, 2.0, 1.0, 2.0, 3.0, 3.0, 1.0, 0.0, 2.0, 1.0, 3.0, 1.0, 2.0, 4.0, 7.0, 2.0],
[1.0, 3.0, 3.0, 1.0, 0.0, 2.0, 1.0, 2.0, 6.0, 2.0, 0.0, 1.0, 4.0, 1.0, 9.0, 5.0, 3.0, 0.0, 1.0, 11.0],
[0.0, 6.0, 0.0, 0.0, 3.0, 2.0, 1.0, 4.0, 1.0, 0.0, 4.0, 1.0, 6.0, 3.0, 2.0, 4.0, 3.0, 0.0, 0.0, 4.0],
[0.0, 0.0, 2.0, 5.0, 1.0, 2.0, 3.0, 3.0, 4.0, 1.0, 0.0, 0.0, 1.0, 5.0, 3.0, 2.0, 10.0, 1.0, 7.0, 4.0],
[2.0, 0.0, 2.0, 0.0, 2.0, 2.0, 2.0, 2.0, 3.0, 3.0, 0.0, 0.0, 4.0, 0.0, 3.0, 3.0, 3.0, 1.0, 2.0, 2.0],
[0.0, 3.0, 1.0, 1.0, 1.0, 3.0, 3.0, 4.0, 2.0, 2.0, 1.0, 1.0, 3.0, 2.0, 3.0, 5.0, 7.0, 2.0, 5.0, 3.0],
[1.0, 3.0, 0.0, 6.0, 1.0, 1.0, 6.0, 1.0, 4.0, 1.0, 2.0, 3.0, 9.0, 2.0, 3.0, 10.0, 2.0, 1.0, 0.0, 2.0],
[2.0, 6.0, 3.0, 3.0, 1.0, 0.0, 4.0, 1.0, 3.0, 3.0, 2.0, 1.0, 5.0, 1.0, 4.0, 1.0, 2.0, 0.0, 1.0, 3.0],
[1.0, 0.0, 0.0, 4.0, 2.0, 2.0, 1.0, 3.0, 1.0, 0.0, 4.0, 0.0, 3.0, 2.0, 2.0, 5.0, 3.0, 3.0, 2.0, 2.0],
[3.0, 2.0, 1.0, 3.0, 1.0, 1.0, 1.0, 2.0, 1.0, 3.0, 2.0, 1.0, 3.0, 4.0, 2.0, 3.0, 5.0, 3.0, 4.0, 3.0],
[1.0, 5.0, 2.0, 5.0, 3.0, 4.0, 0.0, 3.0, 3.0, 2.0, 0.0, 0.0, 1.0, 2.0, 1.0, 3.0, 5.0, 1.0, 4.0, 7.0],
[0.0, 1.0, 2.0, 4.0, 0.0, 2.0, 3.0, 2.0, 3.0, 3.0, 0.0, 0.0, 2.0, 2.0, 3.0, 1.0, 4.0, 0.0, 5.0, 3.0],
[2.0, 1.0, 1.0, 3.0, 0.0, 1.0, 3.0, 1.0, 2.0, 1.0, 1.0, 0.0, 2.0, 2.0, 5.0, 3.0, 3.0, 1.0, 6.0, 5.0],
[0.0, 6.0, 0.0, 3.0, 2.0, 1.0, 3.0, 6.0, 3.0, 0.0, 1.0, 4.0, 6.0, 0.0, 7.0, 6.0, 1.0, 0.0, 0.0, 2.0],
[3.0, 5.0, 0.0, 4.0, 1.0, 1.0, 4.0, 2.0, 3.0, 2.0, 4.0, 0.0, 2.0, 4.0, 2.0, 2.0, 3.0, 0.0, 2.0, 3.0],
[1.0, 1.0, 2.0, 4.0, 1.0, 2.0, 2.0, 2.0, 5.0, 3.0, 0.0, 0.0, 1.0, 5.0, 4.0, 7.0, 6.0, 1.0, 2.0, 10.0],
[2.0, 4.0, 0.0, 3.0, 2.0, 2.0, 0.0, 2.0, 3.0, 3.0, 2.0, 2.0, 5.0, 5.0, 1.0, 0.0, 1.0, 0.0, 2.0, 7.0],
[2.0, 0.0, 2.0, 5.0, 1.0, 1.0, 2.0, 0.0, 2.0, 1.0, 3.0, 0.0, 4.0, 4.0, 3.0, 2.0, 1.0, 2.0, 4.0, 7.0],
[3.0, 0.0, 2.0, 3.0, 0.0, 2.0, 3.0, 1.0, 9.0, 1.0, 1.0, 1.0, 1.0, 2.0, 1.0, 3.0, 2.0, 5.0, 6.0, 3.0],
[3.0, 0.0, 1.0, 5.0, 0.0, 1.0, 4.0, 1.0, 5.0, 3.0, 3.0, 0.0, 2.0, 1.0, 1.0, 3.0, 8.0, 2.0, 4.0, 3.0],
[1.0, 2.0, 0.0, 0.0, 2.0, 3.0, 0.0, 3.0, 3.0, 3.0, 1.0, 0.0, 6.0, 2.0, 3.0, 3.0, 1.0, 4.0, 3.0, 8.0],
[4.0, 5.0, 1.0, 4.0, 2.0, 2.0, 1.0, 1.0, 3.0, 3.0, 1.0, 0.0, 5.0, 2.0, 2.0, 1.0, 2.0, 4.0, 1.0, 5.0],
[1.0, 1.0, 2.0, 1.0, 1.0, 5.0, 2.0, 1.0, 2.0, 0.0, 5.0, 0.0, 2.0, 1.0, 0.0, 5.0, 2.0, 2.0, 3.0, 6.0],
[3.0, 1.0, 2.0, 3.0, 2.0, 3.0, 1.0, 1.0, 7.0, 0.0, 0.0, 0.0, 4.0, 1.0, 2.0, 2.0, 4.0, 0.0, 2.0, 5.0],
[4.0, 6.0, 1.0, 1.0, 1.0, 0.0, 4.0, 3.0, 4.0, 0.0, 7.0, 3.0, 4.0, 3.0, 5.0, 6.0, 3.0, 1.0, 0.0, 2.0],
[1.0, 0.0, 4.0, 7.0, 4.0, 1.0, 2.0, 1.0, 4.0, 2.0, 2.0, 1.0, 2.0, 1.0, 1.0, 3.0, 1.0, 1.0, 2.0, 3.0],
[0.0, 3.0, 1.0, 3.0, 1.0, 0.0, 4.0, 0.0, 3.0, 2.0, 1.0, 1.0, 1.0, 3.0, 3.0, 3.0, 3.0, 4.0, 3.0, 3.0],
[2.0, 6.0, 5.0, 2.0, 0.0, 0.0, 4.0, 6.0, 10.0, 1.0, 2.0, 2.0, 5.0, 3.0, 2.0, 1.0, 3.0, 4.0, 2.0, 1.0],
[4.0, 0.0, 2.0, 2.0, 2.0, 0.0, 3.0, 0.0, 7.0, 6.0, 1.0, 0.0, 3.0, 5.0, 1.0, 5.0, 2.0, 3.0, 0.0, 8.0],
[3.0, 8.0, 1.0, 0.0, 2.0, 3.0, 3.0, 2.0, 4.0, 1.0, 4.0, 2.0, 4.0, 0.0, 3.0, 7.0, 5.0, 0.0, 0.0, 4.0],
[0.0, 0.0, 4.0, 3.0, 3.0, 3.0, 1.0, 2.0, 3.0, 3.0, 2.0, 0.0, 3.0, 3.0, 5.0, 4.0, 3.0, 2.0, 0.0, 5.0],
[6.0, 0.0, 1.0, 3.0, 1.0, 4.0, 1.0, 5.0, 6.0, 1.0, 2.0, 1.0, 3.0, 2.0, 5.0, 3.0, 7.0, 2.0, 5.0, 4.0],
[1.0, 1.0, 2.0, 1.0, 5.0, 1.0, 4.0, 2.0, 8.0, 2.0, 3.0, 0.0, 4.0, 3.0, 1.0, 3.0, 2.0, 1.0, 0.0, 2.0],
[3.0, 5.0, 0.0, 1.0, 1.0, 0.0, 4.0, 3.0, 1.0, 0.0, 6.0, 0.0, 9.0, 2.0, 2.0, 2.0, 4.0, 3.0, 0.0, 7.0],
[0.0, 0.0, 2.0, 8.0, 5.0, 1.0, 3.0, 2.0, 4.0, 3.0, 2.0, 0.0, 1.0, 3.0, 3.0, 3.0, 2.0, 1.0, 2.0, 6.0],
[0.0, 2.0, 1.0, 3.0, 0.0, 0.0, 3.0, 4.0, 5.0, 1.0, 0.0, 0.0, 2.0, 4.0, 2.0, 2.0, 6.0, 3.0, 7.0, 6.0],
[2.0, 9.0, 0.0, 1.0, 5.0, 1.0, 2.0, 1.0, 6.0, 3.0, 1.0, 1.0, 1.0, 3.0, 2.0, 6.0, 3.0, 1.0, 3.0, 2.0],
[1.0, 0.0, 0.0, 2.0, 0.0, 0.0, 3.0, 3.0, 5.0, 2.0, 3.0, 1.0, 0.0, 6.0, 2.0, 5.0, 2.0, 4.0, 4.0, 4.0],
[1.0, 3.0, 4.0, 5.0, 2.0, 4.0, 3.0, 2.0, 1.0, 2.0, 0.0, 0.0, 2.0, 3.0, 3.0, 4.0, 5.0, 2.0, 4.0, 10.0],
[0.0, 1.0, 3.0, 2.0, 2.0, 5.0, 1.0, 2.0, 3.0, 2.0, 0.0, 0.0, 3.0, 1.0, 2.0, 2.0, 6.0, 0.0, 3.0, 4.0],
[1.0, 1.0, 0.0, 1.0, 6.0, 1.0, 2.0, 1.0, 4.0, 7.0, 2.0, 1.0, 1.0, 2.0, 4.0, 0.0, 3.0, 2.0, 7.0, 4.0],
[0.0, 3.0, 2.0, 2.0, 2.0, 1.0, 0.0, 1.0, 2.0, 2.0, 6.0, 2.0, 2.0, 3.0, 4.0, 2.0, 6.0, 4.0, 5.0, 6.0],
[2.0, 1.0, 1.0, 3.0, 0.0, 3.0, 0.0, 0.0, 2.0, 1.0, 0.0, 0.0, 1.0, 2.0, 0.0, 5.0, 3.0, 0.0, 3.0, 3.0],
[2.0, 0.0, 1.0, 3.0, 5.0, 3.0, 0.0, 1.0, 5.0, 2.0, 1.0, 0.0, 1.0, 3.0, 3.0, 0.0, 2.0, 4.0, 7.0, 6.0],
[0.0, 1.0, 0.0, 2.0, 3.0, 2.0, 3.0, 0.0, 3.0, 3.0, 1.0, 0.0, 3.0, 4.0, 3.0, 3.0, 8.0, 5.0, 4.0, 4.0],
]
EXAMPLE_y = [
[1, 1, 1, 1, 1],
[0, 0, 0, 1, 1],
[1, 0, 0, 0, 1],
[0, 0, 1, 0, 1],
[1, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[1, 0, 0, 1, 0],
[1, 0, 1, 1, 0],
[0, 0, 0, 1, 0],
[1, 0, 0, 0, 0],
[1, 0, 0, 0, 1],
[1, 0, 0, 1, 0],
[1, 0, 0, 1, 0],
[0, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[1, 1, 1, 0, 1],
[1, 1, 0, 1, 1],
[1, 0, 1, 0, 1],
[0, 0, 1, 1, 0],
[0, 0, 0, 0, 1],
[1, 0, 0, 0, 0],
[0, 0, 1, 1, 0],
[0, 0, 0, 1, 0],
[0, 0, 1, 1, 1],
[1, 0, 1, 1, 0],
[1, 0, 0, 0, 0],
[1, 0, 1, 1, 1],
[1, 1, 1, 1, 1],
[0, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[1, 0, 1, 0, 0],
[0, 0, 0, 1, 1],
[0, 0, 0, 1, 0],
[1, 0, 1, 0, 0],
[1, 0, 0, 0, 1],
[1, 0, 0, 0, 0],
[1, 1, 1, 0, 1],
[0, 1, 0, 1, 0],
[1, 0, 1, 1, 1],
[0, 0, 1, 0, 0],
[0, 0, 0, 0, 1],
[0, 0, 0, 1, 0],
[1, 0, 1, 1, 1],
[1, 0, 1, 0, 1],
[1, 0, 1, 1, 1],
[0, 0, 0, 1, 0],
[1, 0, 0, 0, 1],
[1, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[0, 0, 1, 1, 0],
[0, 0, 1, 0, 1],
[0, 0, 1, 1, 0],
[0, 1, 0, 1, 0],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[1, 1, 1, 1, 1],
[0, 0, 1, 0, 0],
[1, 1, 1, 1, 1],
[1, 0, 0, 0, 0],
[1, 0, 0, 0, 0],
[1, 0, 0, 1, 0],
[0, 0, 0, 1, 1],
[1, 0, 1, 0, 0],
[1, 0, 1, 1, 0],
[0, 0, 1, 1, 0],
[1, 0, 1, 0, 1],
[0, 0, 1, 1, 1],
[0, 0, 1, 1, 0],
[1, 0, 1, 0, 1],
[1, 1, 1, 1, 1],
[0, 0, 0, 1, 0],
[1, 0, 0, 1, 0],
[1, 1, 1, 1, 1],
[0, 0, 1, 0, 1],
[0, 0, 1, 1, 0],
[0, 0, 1, 1, 0],
[1, 0, 0, 1, 0],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[1, 0, 1, 1, 0],
[1, 0, 0, 0, 0],
[0, 0, 1, 1, 0],
[0, 0, 0, 1, 1],
[1, 0, 0, 0, 0],
[0, 0, 0, 0, 1],
[0, 0, 0, 1, 0],
[0, 0, 1, 0, 0],
[1, 0, 1, 0, 0],
[1, 0, 0, 1, 1],
[1, 1, 1, 1, 1],
[0, 0, 1, 1, 0],
[1, 0, 1, 1, 1],
[1, 0, 0, 0, 0],
[1, 0, 0, 1, 0],
[1, 0, 0, 1, 0],
[1, 0, 0, 1, 1],
[1, 0, 1, 1, 0],
[1, 0, 1, 1, 0],
[1, 0, 1, 1, 0],
[1, 1, 1, 1, 1],
[0, 0, 0, 1, 1],
[1, 0, 0, 0, 1],
[0, 0, 1, 0, 1],
[1, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[1, 0, 0, 1, 0],
[1, 0, 1, 1, 0],
[0, 0, 0, 1, 0],
[1, 0, 0, 0, 0],
[1, 0, 0, 0, 1],
[1, 0, 0, 1, 0],
[1, 0, 0, 1, 0],
[0, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[1, 1, 1, 0, 1],
[1, 1, 0, 1, 1],
[1, 0, 1, 0, 1],
[0, 0, 1, 1, 0],
[0, 0, 0, 0, 1],
[1, 0, 0, 0, 0],
[0, 0, 1, 1, 0],
[0, 0, 0, 1, 0],
[0, 0, 1, 1, 1],
[1, 0, 1, 1, 0],
[1, 0, 0, 0, 0],
[1, 0, 1, 1, 1],
[1, 1, 1, 1, 1],
[0, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[1, 0, 1, 0, 0],
[0, 0, 0, 1, 1],
[0, 0, 0, 1, 0],
[1, 0, 1, 0, 0],
[1, 0, 0, 0, 1],
[1, 0, 0, 0, 0],
[1, 1, 1, 0, 1],
[0, 1, 0, 1, 0],
[1, 0, 1, 1, 1],
[0, 0, 1, 0, 0],
[0, 0, 0, 0, 1],
[0, 0, 0, 1, 0],
[1, 0, 1, 1, 1],
[1, 0, 1, 0, 1],
[1, 0, 1, 1, 1],
[0, 0, 0, 1, 0],
[1, 0, 0, 0, 1],
[1, 0, 1, 1, 1],
[1, 0, 1, 1, 1],
[0, 0, 1, 1, 0],
[0, 0, 1, 0, 1],
[0, 0, 1, 1, 0],
[0, 1, 0, 1, 0],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[1, 1, 1, 1, 1],
[0, 0, 1, 0, 0],
[1, 1, 1, 1, 1],
[1, 0, 0, 0, 0],
[1, 0, 0, 0, 0],
[1, 0, 0, 1, 0],
[0, 0, 0, 1, 1],
[1, 0, 1, 0, 0],
[1, 0, 1, 1, 0],
[0, 0, 1, 1, 0],
[1, 0, 1, 0, 1],
[0, 0, 1, 1, 1],
[0, 0, 1, 1, 0],
[1, 0, 1, 0, 1],
[1, 1, 1, 1, 1],
[0, 0, 0, 1, 0],
[1, 0, 0, 1, 0],
[1, 1, 1, 1, 1],
[0, 0, 1, 0, 1],
[0, 0, 1, 1, 0],
[0, 0, 1, 1, 0],
[1, 0, 0, 1, 0],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[1, 0, 1, 1, 0],
[1, 0, 0, 0, 0],
[0, 0, 1, 1, 0],
[0, 0, 0, 1, 1],
[1, 0, 0, 0, 0],
[0, 0, 0, 0, 1],
[0, 0, 0, 1, 0],
[0, 0, 1, 0, 0],
[1, 0, 1, 0, 0],
[1, 0, 0, 1, 1],
[1, 1, 1, 1, 1],
[0, 0, 1, 1, 0],
[1, 0, 1, 1, 1],
[1, 0, 0, 0, 0],
[1, 0, 0, 1, 0],
[1, 0, 0, 1, 0],
[1, 0, 0, 1, 1],
[1, 0, 1, 1, 0],
[1, 0, 1, 1, 0],
[1, 0, 1, 1, 0],
]
| 59.143162 | 110 | 0.354782 | 9,180 | 27,679 | 1.069281 | 0.008715 | 0.289731 | 0.294621 | 0.08965 | 0.9239 | 0.916157 | 0.915546 | 0.892624 | 0.892624 | 0.750815 | 0 | 0.460346 | 0.286607 | 27,679 | 467 | 111 | 59.269807 | 0.036767 | 0.026591 | 0 | 0.483945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006881 | false | 0 | 0.004587 | 0.004587 | 0.018349 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
3520736e8c67d29e31dab5705441e64ac0ccbf42 | 142 | py | Python | rlsuite/utils/__init__.py | christopher-wolff/lab | 3e26beb30bfb88fef79558a8c1584ddb6c1843e9 | [
"MIT"
] | 2 | 2019-03-28T16:47:50.000Z | 2019-04-08T04:50:50.000Z | rlsuite/utils/__init__.py | christopher-wolff/rlsuite | 3e26beb30bfb88fef79558a8c1584ddb6c1843e9 | [
"MIT"
] | null | null | null | rlsuite/utils/__init__.py | christopher-wolff/rlsuite | 3e26beb30bfb88fef79558a8c1584ddb6c1843e9 | [
"MIT"
] | null | null | null | from .loading import load_data
from .logging_ import Logger
from .plotting import display_frames_as_gif
from .plotting import plot_experiment
| 28.4 | 43 | 0.859155 | 21 | 142 | 5.52381 | 0.666667 | 0.206897 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 4 | 44 | 35.5 | 0.920635 | 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 |
105e3195ad1ab4386fe9c6a75b5c68c427d40d6c | 9,645 | py | Python | test_report.py | CAG-ru/report_parser | b0d962e0c488c04dd8d7ef84d42d52068d85fe44 | [
"Apache-2.0"
] | null | null | null | test_report.py | CAG-ru/report_parser | b0d962e0c488c04dd8d7ef84d42d52068d85fe44 | [
"Apache-2.0"
] | null | null | null | test_report.py | CAG-ru/report_parser | b0d962e0c488c04dd8d7ef84d42d52068d85fe44 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import unittest
from pandas import DataFrame
from report_parser.report import Report, Text
test_folder = 'test_data/'
class TestValidHTML(unittest.TestCase):
"""Тестирование парсинга файла с расширением HTML"""
@classmethod
def setUpClass(cls):
"""Set up for class"""
print("setUpClass TestValidHTML")
print("==========")
def setUp(self):
"""Set up for test"""
print("Set up for [" + self.shortDescription() + "]")
self.report = Report(test_folder + 'valid_data.html')
self.report.parse()
self.texts = list(self.report.texts())
self.tables = list(self.report.tables())
self.text = self.texts[0]
self.table = self.tables[0]
def test_text_data_type_html(self):
"""Тип возвращаемого текста"""
self.assertIsInstance(self.text, Text)
def test_table_text_data_type_html(self):
"""Тип возвращаемой таблицы"""
self.assertIsInstance(self.table, DataFrame)
def test_number_of_texts_html(self):
"""Количество объектов типа Text"""
self.assertEqual(len(self.texts), 1)
def test_number_of_tables_html(self):
"""Количество объектов типа DataFrame"""
self.assertEqual(len(self.tables), 1)
def test_table_shape_rows_html(self):
"""Количество строк в итоговой таблице типа DataFrame"""
self.assertEqual(self.table.shape[0], 3)
def test_table_shape_cols_html(self):
"""Количество столбцов в итоговой таблице типа DataFrame"""
self.assertEqual(self.table.shape[1], 3)
def test_table_parse_colspan_html(self):
"""Содержимое ячеек первой колонки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[:, 0]).nunique(), 1)
def test_table_parse_rowspan_html(self):
"""Содержимое ячеек второй и третьей колонок первой строки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[0, 1:3]).nunique(), 1)
def tearDown(self):
"""Tear down for test"""
print("Tear down for [" + self.shortDescription() + "]")
print('')
@classmethod
def tearDownClass(cls):
"""Tear down for class"""
print("==========")
print("tearDownClass TestValidHTML")
class TestValidDOCX(unittest.TestCase):
"""Тестирование парсинга файла с расширением DOCX"""
@classmethod
def setUpClass(cls):
"""Set up for class"""
print("setUpClass TestValidDOCX")
print("==========")
def setUp(self):
"""Set up for test"""
print("Set up for [" + self.shortDescription() + "]")
self.report = Report(test_folder + 'valid_data.docx')
self.report.parse()
self.texts = list(self.report.texts())
self.tables = list(self.report.tables())
self.text = self.texts[0]
self.table = self.tables[0]
def test_text_data_type_docx(self):
"""Тип возвращаемого текста"""
self.assertIsInstance(self.text, Text)
def test_table_text_data_type_docx(self):
"""Тип возвращаемой таблицы"""
self.assertIsInstance(self.table, DataFrame)
def test_number_of_texts_docx(self):
"""Количество объектов типа Text"""
self.assertEqual(len(self.texts), 1)
def test_number_of_tables_docx(self):
"""Количество объектов типа DataFrame"""
self.assertEqual(len(self.tables), 1)
def test_table_shape_rows_docx(self):
"""Количество строк в итоговой таблице типа DataFrame"""
self.assertEqual(self.table.shape[0], 13)
def test_table_shape_cols_docx(self):
"""Количество столбцов в итоговой таблице типа DataFrame"""
self.assertEqual(self.table.shape[1], 6)
def test_table_parse_colspan_first_docx(self):
"""Содержимое ячеек первой колонки в строках с первой по вторую таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[0:2, 0]).nunique(), 1)
def test_table_parse_colspan_second_docx(self):
"""Содержимое ячеек второй колонки в строках с первой по вторую таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[0:2, 1]).nunique(), 1)
def test_table_parse_rowspan_docx(self):
"""Содержимое ячеек в колонках с третьей по седьмую первой строки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[0, 2:6]).nunique(), 1)
def tearDown(self):
"""Tear down for test"""
print("Tear down for [" + self.shortDescription() + "]")
print('')
@classmethod
def tearDownClass(cls):
"""Tear down for class"""
print("==========")
print("tearDownClass TestValidDOCX")
class TestValidXLSX(unittest.TestCase):
"""Тестирование парсинга файла с расширением XLSX"""
@classmethod
def setUpClass(cls):
"""Set up for class"""
print("setUpClass TestValidXLSX")
print("==========")
def setUp(self):
"""Set up for test"""
print("Set up for [" + self.shortDescription() + "]")
self.report = Report(test_folder + 'valid_data.xlsx')
self.report.parse()
self.texts = list(self.report.texts())
self.tables = list(self.report.tables())
self.table = self.tables[0]
def test_table_text_data_type_xlsx(self):
"""Тип возвращаемой таблицы"""
self.assertIsInstance(self.table, DataFrame)
def test_number_of_texts_xlsx(self):
"""Количество объектов типа Text"""
self.assertEqual(len(self.texts), 0)
def test_number_of_tables_xlsx(self):
"""Количество объектов типа DataFrame"""
self.assertEqual(len(self.tables), 1)
def test_table_shape_rows_xlsx(self):
"""Количество строк в итоговой таблице типа DataFrame"""
self.assertEqual(self.table.shape[0], 27)
def test_table_shape_cols_xlsx(self):
"""Количество столбцов в итоговой таблице типа DataFrame"""
self.assertEqual(self.table.shape[1], 13)
def test_table_parse_colspan_xlsx(self):
"""Содержимое ячеек первой строки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[0, :]).nunique(), 1)
def test_table_parse_rowspan_xlsx(self):
"""Содержимое ячеек первой колонки в строках с пятой по двадцать шестую таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[5:, 0]).nunique(), 1)
def test_table_parse_rows_xlsx(self):
"""Содержимое ячеек с четвертой по седьмую второй строки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[1, 3:7]).nunique(), 1)
def tearDown(self):
"""Tear down for test"""
print("Tear down for [" + self.shortDescription() + "]")
print('')
@classmethod
def tearDownClass(cls):
"""Tear down for class"""
print("==========")
print("tearDownClass TestValidXLSX")
class TestValidXLS(unittest.TestCase):
"""Тестирование парсинга файла с расширением XLS"""
@classmethod
def setUpClass(cls):
"""Set up for class"""
print("setUpClass TestValidXLS")
print("==========")
def setUp(self):
"""Set up for test"""
print("Set up for [" + self.shortDescription() + "]")
self.report = Report(test_folder + 'valid_data.xls')
self.report.parse()
self.texts = list(self.report.texts())
self.tables = list(self.report.tables())
self.table = self.tables[0]
def test_table_text_data_type_xls(self):
"""Тип возвращаемой таблицы"""
self.assertIsInstance(self.table, DataFrame)
def test_number_of_texts_xls(self):
"""Количество объектов типа Text"""
self.assertEqual(len(self.texts), 0)
def test_number_of_tables_xls(self):
"""Количество объектов типа DataFrame"""
self.assertEqual(len(self.tables), 1)
def test_table_shape_rows_xls(self):
"""Количество строк в итоговой таблице типа DataFrame"""
self.assertEqual(self.table.shape[0], 11)
def test_table_shape_cols_xls(self):
"""Количество столбцов в итоговой таблице типа DataFrame"""
self.assertEqual(self.table.shape[1], 13)
def test_table_parse_colspan_xls(self):
"""Содержимое ячеек первой строки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[0, :]).nunique(), 1)
def test_table_parse_colspan_new_xls(self):
"""Содержимое ячеек второй строки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[1, :]).nunique(), 1)
def test_table_parse_rowspan_xls(self):
"""Содержимое ячеек c третьей по шестую четвертой строки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[3, 3:7]).nunique(), 1)
def test_table_parse_rowspan_new_xls(self):
"""Содержимое ячеек c седьмую по девятую четвертой строки таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[3, 7:10]).nunique(), 1)
def test_table_parse_rowspan_newspan_xls(self):
"""Содержимое ячеек в первой колонке в строках с седьмой по девятую таблицы типа DataFrame одинаковое"""
self.assertEqual((self.table.iloc[6:9, 0]).nunique(), 1)
def tearDown(self):
"""Tear down for test"""
print("Tear down for [" + self.shortDescription() + "]")
print('')
@classmethod
def tearDownClass(cls):
"""Tear down for class"""
print("==========")
print("tearDownClass TestValidXLS")
if __name__ == '__main__':
unittest.main()
| 35.072727 | 116 | 0.646345 | 1,159 | 9,645 | 5.233822 | 0.102675 | 0.040389 | 0.049456 | 0.083086 | 0.884273 | 0.838114 | 0.835476 | 0.785691 | 0.757501 | 0.738378 | 0 | 0.010651 | 0.221255 | 9,645 | 274 | 117 | 35.20073 | 0.796964 | 0.252048 | 0 | 0.519481 | 0 | 0 | 0.068464 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 1 | 0.331169 | false | 0 | 0.019481 | 0 | 0.376623 | 0.181818 | 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 |
109e3b5c3c96935000506e0ce4525e0b6e67f887 | 5,471 | py | Python | tests/unit/networks/conftest.py | DoctorJohn/hcloud-python | fad870790a19621fd130fd28d564a8d6ba7a566c | [
"MIT"
] | 156 | 2019-02-21T09:19:07.000Z | 2022-03-14T12:19:23.000Z | tests/unit/networks/conftest.py | DoctorJohn/hcloud-python | fad870790a19621fd130fd28d564a8d6ba7a566c | [
"MIT"
] | 69 | 2018-12-20T16:05:30.000Z | 2022-03-28T21:06:31.000Z | tests/unit/networks/conftest.py | DoctorJohn/hcloud-python | fad870790a19621fd130fd28d564a8d6ba7a566c | [
"MIT"
] | 37 | 2019-02-22T08:32:07.000Z | 2022-02-02T12:42:45.000Z | import pytest
@pytest.fixture()
def network_response():
return {
"network": {
"id": 1,
"name": "mynet",
"created": "2016-01-30T23:50:11+00:00",
"ip_range": "10.0.0.0/16",
"subnets": [
{
"type": "cloud",
"ip_range": "10.0.1.0/24",
"network_zone": "eu-central",
"gateway": "10.0.0.1",
},
{
"type": "vswitch",
"ip_range": "10.0.3.0/24",
"network_zone": "eu-central",
"gateway": "10.0.3.1",
},
],
"routes": [{"destination": "10.100.1.0/24", "gateway": "10.0.1.1"}],
"servers": [42],
"protection": {"delete": False},
"labels": {},
}
}
@pytest.fixture()
def two_networks_response():
return {
"networks": [
{
"id": 1,
"name": "mynet",
"created": "2016-01-30T23:50:11+00:00",
"ip_range": "10.0.0.0/16",
"subnets": [
{
"type": "cloud",
"ip_range": "10.0.1.0/24",
"network_zone": "eu-central",
"gateway": "10.0.0.1",
},
{
"type": "vswitch",
"ip_range": "10.0.3.0/24",
"network_zone": "eu-central",
"gateway": "10.0.3.1",
},
],
"routes": [{"destination": "10.100.1.0/24", "gateway": "10.0.1.1"}],
"servers": [42],
"protection": {"delete": False},
"labels": {},
},
{
"id": 2,
"name": "myanothernet",
"created": "2016-01-30T23:50:11+00:00",
"ip_range": "12.0.0.0/8",
"subnets": [
{
"type": "cloud",
"ip_range": "12.0.1.0/24",
"network_zone": "eu-central",
"gateway": "12.0.0.1",
}
],
"routes": [{"destination": "12.100.1.0/24", "gateway": "12.0.1.1"}],
"servers": [45],
"protection": {"delete": False},
"labels": {},
},
]
}
@pytest.fixture()
def one_network_response():
return {
"networks": [
{
"id": 1,
"name": "mynet",
"created": "2016-01-30T23:50:11+00:00",
"ip_range": "10.0.0.0/16",
"subnets": [
{
"type": "cloud",
"ip_range": "10.0.1.0/24",
"network_zone": "eu-central",
"gateway": "10.0.0.1",
},
{
"type": "vswitch",
"ip_range": "10.0.3.0/24",
"network_zone": "eu-central",
"gateway": "10.0.3.1",
},
],
"routes": [{"destination": "10.100.1.0/24", "gateway": "10.0.1.1"}],
"servers": [42],
"protection": {"delete": False},
"labels": {},
}
]
}
@pytest.fixture()
def network_create_response():
return {
"network": {
"id": 4711,
"name": "mynet",
"ip_range": "10.0.0.0/16",
"subnets": [
{
"type": "cloud",
"ip_range": "10.0.1.0/24",
"network_zone": "eu-central",
"gateway": "10.0.0.1",
}
],
"routes": [{"destination": "10.100.1.0/24", "gateway": "10.0.1.1"}],
"servers": [42],
"protection": {"delete": False},
"labels": {},
"created": "2016-01-30T23:50:00+00:00",
}
}
@pytest.fixture()
def response_update_network():
return {
"network": {
"id": 4711,
"name": "new-name",
"ip_range": "10.0.0.0/16",
"subnets": [
{
"type": "cloud",
"ip_range": "10.0.1.0/24",
"network_zone": "eu-central",
"gateway": "10.0.0.1",
}
],
"routes": [{"destination": "10.100.1.0/24", "gateway": "10.0.1.1"}],
"servers": [42],
"protection": {"delete": False},
"labels": {},
"created": "2016-01-30T23:50:00+00:00",
}
}
@pytest.fixture()
def response_get_actions():
return {
"actions": [
{
"id": 13,
"command": "add_subnet",
"status": "success",
"progress": 100,
"started": "2016-01-30T23:55:00+00:00",
"finished": "2016-01-30T23:56:00+00:00",
"resources": [{"id": 4711, "type": "network"}],
"error": {"code": "action_failed", "message": "Action failed"},
}
]
}
| 30.394444 | 84 | 0.331384 | 477 | 5,471 | 3.72327 | 0.15304 | 0.043919 | 0.065878 | 0.073198 | 0.800676 | 0.74268 | 0.74268 | 0.718468 | 0.718468 | 0.70045 | 0 | 0.146011 | 0.486748 | 5,471 | 179 | 85 | 30.564246 | 0.486467 | 0 | 0 | 0.628743 | 0 | 0 | 0.305429 | 0.036556 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035928 | true | 0 | 0.005988 | 0.035928 | 0.077844 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5e083ac6aa90911113dfd09f2a1b93b2cf39f2bc | 528 | py | Python | Aula07-cores-no-terminal/aula07-1.py | rafaelbarretomg/Curso-Python-3 | 7e772cbaf4c1e1bf7f1a9fb2925ec2e0eecf2998 | [
"MIT"
] | null | null | null | Aula07-cores-no-terminal/aula07-1.py | rafaelbarretomg/Curso-Python-3 | 7e772cbaf4c1e1bf7f1a9fb2925ec2e0eecf2998 | [
"MIT"
] | null | null | null | Aula07-cores-no-terminal/aula07-1.py | rafaelbarretomg/Curso-Python-3 | 7e772cbaf4c1e1bf7f1a9fb2925ec2e0eecf2998 | [
"MIT"
] | null | null | null | # Cores no terminal
# \033[0;33;44m (0 = style, 33 = text, 44 = back)
# style 0 = none 1 = bold 4 - underline 7 = negative(contrario do fundo)
# text 30 31 32 33 34 35 36 37 (cores)
# back 40 41 42 43 44 45 46 47 (cores)
print('\033[1;31;43mOla, Mundo!\033[m')
print('\033[4;31;43mOla, Mundo!\033[m')
print('\033[4;30;45mOla, Mundo!\033[m')
print('\033[37mOla, Mundo!\033[m')
print('\033[30mOla, Mundo!\033[m')
print('\033[7;30mOla, Mundo!\033[m')
print('\033[4;33;40mOla, Mundo!\033[m')
print('\033[7;33;40mOla, Mundo!\033[m') | 40.615385 | 73 | 0.647727 | 104 | 528 | 3.288462 | 0.413462 | 0.187135 | 0.210526 | 0.28655 | 0.517544 | 0.345029 | 0.152047 | 0.152047 | 0 | 0 | 0 | 0.281046 | 0.130682 | 528 | 13 | 74 | 40.615385 | 0.464052 | 0.399621 | 0 | 0 | 0 | 0 | 0.727564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
5e2ec432218e02d3ab7a9fc3f9e3a74e38ed3767 | 9,274 | py | Python | cs188_reinforcement/submission_autograder.py | bo-yang/rl-exercise | d4ad5fb2b5652512def60f64f179e5b96833651f | [
"MIT"
] | 3 | 2021-06-17T07:34:16.000Z | 2022-02-21T16:45:27.000Z | cs188_reinforcement/submission_autograder.py | bo-yang/rl-exercise | d4ad5fb2b5652512def60f64f179e5b96833651f | [
"MIT"
] | null | null | null | cs188_reinforcement/submission_autograder.py | bo-yang/rl-exercise | d4ad5fb2b5652512def60f64f179e5b96833651f | [
"MIT"
] | 1 | 2020-10-01T14:32:04.000Z | 2020-10-01T14:32:04.000Z | # submission_autograder.py
# ------------------------
# Licensing Information: You are free to use or extend these projects for
# educational purposes provided that (1) you do not distribute or publish
# solutions, (2) you retain this notice, and (3) you provide clear
# attribution to UC Berkeley, including a link to http://ai.berkeley.edu.
#
# Attribution Information: The Pacman AI projects were developed at UC Berkeley.
# The core projects and autograders were primarily created by John DeNero
# (denero@cs.berkeley.edu) and Dan Klein (klein@cs.berkeley.edu).
# Student side autograding was added by Brad Miller, Nick Hay, and
# Pieter Abbeel (pabbeel@cs.berkeley.edu).
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from codecs import open
"""
CS 188 Local Submission Autograder
Written by the CS 188 Staff
==============================================================================
_____ _ _
/ ____| | | |
| (___ | |_ ___ _ __ | |
\___ \| __/ _ \| '_ \| |
____) | || (_) | |_) |_|
|_____/ \__\___/| .__/(_)
| |
|_|
Modifying or tampering with this file is a violation of course policy.
If you're having trouble running the autograder, please contact the staff.
==============================================================================
"""
import bz2, base64
exec(bz2.decompress(base64.b64decode('QlpoOTFBWSZTWflTBpYAOUhfgHAQfv///3////7////6YBy8ObfbD3VDqN1wAK7aswkse7DbwHz7uAu9wD6AAAB7fVgkBYzJQUpSrg2gzrqdKgOTWct0tjdvvhJIRkJpgECDSnlP1NTMJT9TT0psyCnqb1Q0yAGCYNNCDQgQU9U9pklPKeU8o8mTBR6g09QeUPUAAABqn5ImkmmTIZNNNGg00ANDQGgAAAYjIAk0SkkImU9NQMEBmoNANADRoGgAAA0EkUp6jTyhoGgAaaNGmg0eiBoaDQDNRoAGgkSCAE0CBM1TxpJmhU20p+TUxqeoJoyAaGIwT4/APnPsAaMWfZZfvslWf9JYMfwr2pFPvtn8trFU/8sqiqiCxSI/2WoAokZ8bJ7vwd7cWKkUUU+w1ncUDeX4kkyHfesMm+R3p5RlSrBgMUdT3JvtC8QGMZiJJqksQJ164kTdJU1K/bVcgNMmI7vy+XcwI7dIWpE+3DIGDiiht0qrGoC+fS+mAiyyIpL3q3XooZrH3yllBKdvV37neXPdrba1zOpxA8+Gp4B6ECGYYaKjEQWSKKosVBWIKgIg22IbGxtX/bs+C+C4Y5DV/rP4wQHlPokd/b3y+NpFWttX3Nw++B8q9FvjWOr/871s611bgqOUHYzNAIbktw8HqUmBmqqqqqqyB5aocgVGCOrwuyrLQvz+d4eF5SpdZjxzyWMFYgxKW1ZrNEc6zkXpOSNmu3JsNaU92q9xc3wft/V+Q6e3xe8ZbfV9Cuf3N2gY4+jNRLVajvbdFbThreNAf9kLxxamC18rKLRjbBsBuJTOekrdAtVoWZX3VqVV8ZOYGM3obC6u2RnZeCwChIJM/YwuMqW28F3Oi6zrzE9mmOgx3uG202Mypw9p/FYSXD3EBQ8cd5k8OG7DUL76tvgLSnPkopMoFEh4xv4vWBiOM0QEohKE/CtqQKPkBpWbik4QSKEICQCQQQ3IGtL2xd+d1YO7ayC5Ks1SOkrjM3mdafm4XE6HQhZrA2TK1dIelKtvWW1tjQpK3Ya6Kxj1p2ZecCw3zxj4Dd8R9odJqozuoenL4a3vPMepx4bZuB+TrH9nhsvCnVi8w/RkZe0/CQzuyfRx/D6sbsg4C7uVeMgHRJ22+Pkl08fkjIWtB29h5dKyqwBxnpcilhHbhdla/dlx53zflQV9zm8/c9rXEGYZMbHU7D0W7m+zW08fDavhlgcZ0txJndWpkS1cbFqni3PyPOLG89NlNvx3nqmNrNJyg4ne6MqNRMZFZ5uDi6DhDQHOGZRDYlE4Te9wBHhlp/r7+f9fXT46it1jHTLZDaGPyp2si/gqU5+nfKTGTxDhvnrcik5jpEQRKXAkVHNgVhHp7s8gcota+DXvbX5W0QpIJCAqqBSlqFjifZFa+WvwcqpC/gbhgPKkTZGWygCjj1N3CaxMrJaSqvnTvkydA9lSYW7lVVcOrFQVV+t8TEqrApQlkSToAUBEgsm4LxYSF5td2KZlQ29OHCajGiKKh4glhE1o4ZsJILfUirGTGizFgrMSJ2ajWovL3dt7gi1xAqpDgtYATBA4rFVkaHd3CM80UBbk+QpVjWQyDy6s+SgiwC4ner3BymFfKjpUKl040pllv0G3u0POMcdPZP3V5AsnyXR9355imGot5V3QO74qZeWMj8zMAaWCiWvCKJmZsLkMRKsh33UZibKqkiqqswpWGQR03N+OoFsi7Ilj4XfQWk6ZaYfOQzDfJgPQUFbp6ijUI9te4sBQ9p5KKmRSUp46U83p396Otn9XPPvbYoHNAQ/PptRn2n2XMQcxjKl3xlQW0H659LjIUIDNS3HXQeHdIYWTahjlsMdsafSwLSq/YdMyu875Ys1eTDzGvE4uCMc5qfDLxEBzu7c8c5QQAWU9lGeubVTirwJy75ETH08h9kOvLKaDA0vN7w6Hj2sZLpbqTWnB46x078pw2snsXhSIdP73Z+nfqTryYlsahjyIe7KSk1FkU7PCs9nRZ3VSNiikWDU5sVCeN4EiZHIfOtSkdWvoLhvM8KwcsMfHnTIbavObRk8H7flhLa7SuMyYXqQUMn5ps9U4r9PWKWWWlXkcSCi8gtF3Ck8K885KWdhWJtFUISKzCs136eTRLSM6NmiaHUPm7A7L0vnMkvft1yx0c+scGHw6M3Hxm7UuCXDsi2iFw3eBiTfTpheyCiKVPEYs5euE2EDORVccLkHLM2sb9aUrLTuVf1xK9Aa/jYlgBLnxdmYMulXOU8bll20qikzoAiv2IwiyK7PTNH16UlowwExtRdh2WzMPpZGg1BbowrYvQmstroB8x3YxSUVNi4jeqaAzV+ez3PoED4zIhVdW+Ycgtxzz0lmt08brtGkutxdrq9XxuG8RHGGG33EpKCWuXLh2YWJUQiD4paIQV1UIdl99BznzHt8HfP1ucyWx0MZ0mzbQID4g4GTPXYIgfDeF8pjc4/AZ5zp+N/5l9APQVMra5jbkuX3CqSoNNt/kGjsHZbhP4o+qHfvAy+6rAGwF24abrVYeF6Uayeae2rdrnfwjtaXW+qcI2yNs0RVY8ltc8e8NbB8CYs9lJBB4U7dlsYqHFBQipDtvicHF8C2bZUpJWZAacNbXpL7IyiwnS2daRm9MHY3nMQ2RACyRL6g61LzV/L6SPYfORiTkBql5D9oxgNEknJDhTape9mSM9rDTVG0Qjs+UgEXQe5XST+Pq937sbrgPXohtQImwXpYZY2GXf9vpj7vKZ7PXd6FEj6uWW84Fbs1pTuDax54jeJb3IPrzim1vyeLhnROdxYF/bKRbeejcaHKUyvAFZy0Vb10k8pFngSNVWpXYTdUYKDwFoev37ILEcaXZyjMqGpFi1W9nGtCl6nqtG/a22d6nUiCK2VJJQPkFkWL3ypE+WYwRG6yzM4kMU0iLkKkthKlQbG5zR3qtmtW7sMRCQI6PDt/H9Xq55H3bzo2dISDMgcTG5QQ2ogr9SClmeXrqGLts6rgYUwYWocdbaPGlYbFpMHPUXKVvI1vNs0LaMt5XNoVahsxAZBKtImaSWhkB5TqVU4q01+bYZzFKHFRpLlaDh8tlVKhQSVaOgasbJA2gxpNZsdVNUKN01USk2gi2DhpDY7kd7bRIhzO7jOMwMrlBAkCKkZJXfoich53K6BIEajh3+035t+migSBGd2SRBtoEgQ9SCjlYMEaBIEYccUCQIgtM/53Sml2cqBIEfmgSBHpQJAjp/D6fyQJAi647vu3ePvgaPKJOPTE5uIZOEnPDeO7bPbsdJW0ojW0VtybFSoM0QhoyBrvxrke6NHCXa+WPbYzHETq0o1E1xYmVsiTMUi0hUTCUmLIj+Reh5Y+YpkFzZRDJFlk0KFCVGGLIaeIzpS0oGaJZIU0stepbrsK01BRZqCaBUajZg0C2Kz3n3vi3seFAtqiATYDR/L1cbfyHs5dqBIEaVl2//CQhWNIASp0oxrSBIEYGJAz/SBIEO7TXtoEgRSysLMg6mRI0lhCIUK9N1CIeJSKLGBIPl3i0AzgCQp6S0t7XH3OvbsDhrXn0Otr7Pkij7nlcsfHxvVt9bwPC5vcRYOVo5zVa134bIHCcoiqqqqq2ttg1o1JQYIqojFJ/w5MetXaLfg13T+95nVpHriwPh8LX3MFPPH1io191Nx1yYxtNLommoYd6Q7Q6TKsKwr1lmSpUVaKhbR8p4dYiSvYPZDemdfDW93L2L8G3xo+8PVY/AwaESBIhYTC1nuKkFCk5swJoqk3ZmgLLwiXYr6VU43XseHnJ8eul5XTnJ4+DPTwgstpWenJOL3Xvg/N9T/WBIEPn+RD3fa/Z+gEWNL9r6LoNbtqVkWmUp0b3Otzc6NhlKN0u1zsXM1nZ3PLG5bLrGsLGRixtGGEwqFKtZDQppLq1oomEPXhTuzbQdLbaVGsIDay5zUrZVFAuEwU1YIKDMDIa+AxoIKVAeJilApiwlKA8I2tLTZslLBYwHFCsEUGUxiYO7hWmgjJPPX14EgQ9ej6KII+wLrM2jhMhs2VMI3U0xtsOtqDvTJSdYNpT3DENpYDoI+I0a2GCyIJZYd0FXm2xlbKENPjGICIGA6EBxpBGQO5XGIJEAPDHKVhRKVenQYhUmDhIrxhREhKUoCCLIFSBP3oEgQu883wNnNqUaY2MlwlutWO7qfi7Z8WDvKjr25dtetHKKFjnnEWaxuubpbZWhRWI61o0FiiXGB2KBSPL0lLgq1otrYIluoJqK0UAtDZaiMgoMppiDMEMcERYVFvDpKRYmKFBirEKZwXBxZ1aLbZ0HTDECk0C2pVxMGMDS/q2o4Nt2MI/Qz887YPNz2bQycj5Wmbm/n/8dQtAmpIJRBF73+HdKUyp+fc7FBuBEVUIaaufO0hq18feHZZ61gRjMHihp1/P0o8KA+vb9jmSZmJ4yD98/q+N2sFC+gLXxBREhGA3yhE0mgzF2DRCjdw/0M5w1cMUa8Xgf5zXlll9sPZGnO1FwfyDY5HzWew2Jj2IOFZMCY2MUEXr/TIWiOIOSL05j8VwXWSixH3srSZPMC9FJxTD5/sCRoTtS3zAJ26nAkICIIddLe5pT2DpOc4VY8qgw60CQIwRac7sRh1J+gjHTBhauoJQ6rJA2foZdkD0YcJAF5hVgMrkmMdbJY4fNnE3xGd21LA55m0LSCWwrKo0cO3voQEln5IEgRSqS2B+4vNMwOZVKpaOZ22pwBqAieug4D9IUOtjtePUCLDzAdAK5HQxqQlDUBjVHNHY4qVVoYTSx/bKXBAZbXTySuuV4aMN2pxPwve7S+FN8dEEmA+7EIaW1Y/Oeyxo4XzmqqFuCWKv2bEnGrnBgy9uZELjEgV9hhL4oEgRtl2zLH2O/kmRE4WTg7qNuH/UX31QUdKqSFKG2gaukRYh07+aBIEc+pdi6ela/m+XcidDpQGIjkhubjmIJiYkaAdhtE6CDw4WznfmMNlPHLCxg2HZVCzRS442B10LGkuWMADkY7rlXZXFo8U16sp3/bbvTZs5hoDN00OgdX8x+xJUxelnAWo4ZSWHh7Lk08iQp8WCFsFSYRDN1Pld3ASqkOz0VMSTtAmsOIFQ7mgrPS3gnAEjhlSoKIHCdgBAlIkPY1xhs2q1Jha5LXKYkyCwhKq1BrOaU0pC/u5pZ03WwGSU/7ErrkSS5V3TijseMlhIKejQDoQdff5iMBJFECQI2yFfv2D0apjHapE/UnhSByaePl2460WIcHlyJ2zazF5bQ94182yKKTnsLyErEGX4zSxzTVTvGenPZPuSlKU1BQiCMkbLFMKojhlfaLeA6F+58sYR2lJOQhg3FCNaD4FbDNh9/ZW/W6/+xIn4CMF5Fpp2ImtgXShc98NAZS+s0MTBIUUBGNiUUqSF9BF8gDA/aT76gBZYoMOItOgYynam6EdaXiJJoYhsTF18LpJS/wZ7eXgb7PdOJ/pixof6svAmnj0lQ+sWgbECQIoinecrjLuVkl5VIUGJVLZMn0Sj2EkTTtsIJIXqQwbHijhmOiDAquzCCSqrG/RrDaCGBDdkGykQwG02trAGBpOD5IaZ9SWtigUCgblF2OjcReA+IoMjeM9mt50IEgRuPJpM2kJEJjIv0mEP2MCAoRBGe59XpKqxlfUgSBF6gESIfl1YcTeImnLskP40CQIcdLwxGTHfvRJ8IhrBH0Z8PVX7epIv0EZ9Kx46BvG2/AaD3tLS8NkFTO7203J2AYJV8E2cy0/K97QNiCaaXtaVQQaAFgJagW41qVMoNaj8XVI6PI4LJcp9CMqr8xmRBnRLpciWI6jGmQOm2/fuyy9NoJYlqLIzGhtNsQMbGmh+YFD/iDKxGiQdb7jh2+gWHPU5lGRSjEPpvePBgGrcFxUlRhzJa5pqqISMrWffjW0JHJBkCzzd6BIETy74pSDrf7kCQIpUGLNyHkwbyTVU5w1OpCyVDPRwqV3g5PZP8hkj9o8OlNB5P6GZDwxfWqT1+ZxYlMeeFfZdlqAKWo/0n3JIiSYpQESEmlKCMkvnNSlF46AIkxSyAiSBilBGQ8J5F8OOgIhSlARkARARJIHTl8OOARhKBSkBGkJjQMGgU7bn9iNmKIDrMhsODEGjSPHsuRUQU+boMijI0QINuJEq1Bcxvo39dc5xaRYGbA2wQLdKOsiDZbytaPVfntIO7NGNIlwMKmwyZmozS+GyANUQjhQPAsvkU0mS0cKRpRESAn0YHizPWyD7PGSRtoscowAnqocogvhQ2kDSYH3oEgRBI6GNMYbHrjvrdwMTHdkS618IqGaOlLEBiu0vQdVp91oTeIgisk2Z/LHe+kwXyPp/r/F8BE/HCoJ9KSjFYIoiKoiwtLcOK0v0i8ap92BWJ+J8vsE3zfImxIP+VUMhJrBADMEIFRbPpSvZhyyqeI32QXRJgFYfCHxZxRgcWBoBSUZ9XjfbE5IImQG6I9iNb+sUdQD5882yGQXDK1c1sqUxY2FgMhEkPggcwZCsvysJ0jHw+zASBHQE7Xe32Pxh+qBIEa0s+b5DzugDleEwwz+Uy48zVLuZmFYkSOkEe4E5BzxodTHBj9Zo9VruhcYUtWBsaR1zpGxgNiREoSPklQOq2R1L9cYqIJ7FgUu6O3Vjrmp7YMgVBRg9E4SQ0pw9HmFOFjJEhBMinPSHJpnkkbGIdavLrSXfNCAGa8/XZjXAOCPpaNe7xPPsF3MPGEdJHspTkgSBHhJW+fevk1uSU8cRkN9XJsrvZuqtG/fkTMLRY8EQjJsZCS97Ywx9aUW32dAFyMgKL59ON1hmJL8XvnnUg+KBIESoIlhbY4xkCIY83ERDebIL2rnKpMkEJMRrZdK5AkCLICrUQpIPtSXxZhigL+QBO25YPIZJDtA6Mp1KRdEF6MfEWYqdWK4pWomdoey9ZKmUJJdzv6M66gww50lOZRMqCUHma1RQeCYAwA1ttQF3PzVMHrhxtxwD/aA2BICAteYBm2nh7Pz2kyjbqIqiPDxK4V/rF61DqAxA99JWnMb3RUKDacoBv5Fn42YULo5CrsieJnHEqmNRt9CJhRNRfCLiI0W4KVgqiXAM7Uo756gRWTiAq96BIEWwSx0wWNQkKxKzdyfY56re3FoxjFIIVVqM+vK7mOdtEXBoohvQFiyCcfA/hRZzw0VApVOGGQDMqsulK3LYst5vj4DnwbLzcLZaDYmhSIQDDQiNIhhE3CI7WlA3RaBy4SnyQh5RjBUn8pWiVqXgVPNA2ZFy4C5Z8tKoNeIRSrlads2CstNZ5FSBxMGhnvS322OQ9/xUfKp6ZYhCnh5wF63iYLI1N69YJwzprK+SJ70/UKT629vgB7vYD7hlrnk9qQCrANJnw5KkKiGeShOsDad0HvKIQ8+xg+7TIKXYAEmFqTAwYyaS6Wu4rXBGlOhdMcNssuIxyDJkwyCdBfAuxwNkINMWvHu0xIG5xPIVEh3MmiQNFwiB1+pAkCOs7jqRNLF3IfDM0bZm0GSUiN8TH2CNbU5ABCsrNCzKFLZtQJAiqcN0ySmswW20e5QPaIdr/AN4QDNs0636oCE8puaDpNAepH74Hb4EV2ZkiBupbZIAPQFgHmlXtdfCOA9fLhd1DMLivSjux7DSPm02iAuMFr03a38ka6IEgQ5z0+rJ9qb32c3piUcs54eROWIwmvVjSmZ/BKxHX1pVLryEqCyuCWpUltQJAjce7GEhdbI1IEgQw4OPecztW560dZ7vOwT2YHoLPN0MwqfXZ9Z2P0PPb2J5+CBIEPaH1dSKGH2VhmvwMhqEcS9pPlclmbUCQIwyC+IeNgywmN4s5oUHtDsubhozIoZJY5VLc8ldNG/CEToODBhAN/i7kinChIfKmDSw')))
| 220.809524 | 7,870 | 0.915031 | 340 | 9,274 | 24.797059 | 0.847059 | 0.005219 | 0.004626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126933 | 0.030731 | 9,274 | 41 | 7,871 | 226.195122 | 0.810991 | 0.074941 | 0 | 0 | 0 | 0.25 | 0.98206 | 0.98206 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
eab422f6c9fe855f2fd0ab351f27892a6ecdacbb | 80 | py | Python | modules/dbnd/src/dbnd/_core/task/__init__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 224 | 2020-01-02T10:46:37.000Z | 2022-03-02T13:54:08.000Z | modules/dbnd/src/dbnd/_core/task/__init__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 16 | 2020-03-11T09:37:58.000Z | 2022-01-26T10:22:08.000Z | modules/dbnd/src/dbnd/_core/task/__init__.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 24 | 2020-03-24T13:53:50.000Z | 2022-03-22T11:55:18.000Z | from dbnd._core.task.config import Config
from dbnd._core.task.task import Task
| 26.666667 | 41 | 0.825 | 14 | 80 | 4.571429 | 0.428571 | 0.25 | 0.375 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 42 | 40 | 0.888889 | 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 | 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 | 0 | 0 | 0 | 7 |
ead8cad1d968249dfe9d5a5bacd26c3e96327175 | 64 | py | Python | agency/algo/awac/__init__.py | jackharmer/agency | 5a78dd23e14c44c4076e49ea44b83ab1697e51c8 | [
"MIT"
] | 2 | 2022-03-30T19:51:42.000Z | 2022-03-30T20:05:39.000Z | agency/algo/awac/__init__.py | jackharmer/agency | 5a78dd23e14c44c4076e49ea44b83ab1697e51c8 | [
"MIT"
] | null | null | null | agency/algo/awac/__init__.py | jackharmer/agency | 5a78dd23e14c44c4076e49ea44b83ab1697e51c8 | [
"MIT"
] | null | null | null | import agency.algo.awac.trainer
import agency.algo.awac.network
| 21.333333 | 31 | 0.84375 | 10 | 64 | 5.4 | 0.6 | 0.444444 | 0.592593 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 2 | 32 | 32 | 0.9 | 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 | 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 |
d8040cfb5bd14369b678e7ec335c6ec4ba6af8d2 | 8,241 | py | Python | st2tests/integration/mistral/test_wiring_rerun.py | magiceses/st2 | a048ba92a8a1a5d272f277bf8fab0951df903306 | [
"Apache-2.0"
] | null | null | null | st2tests/integration/mistral/test_wiring_rerun.py | magiceses/st2 | a048ba92a8a1a5d272f277bf8fab0951df903306 | [
"Apache-2.0"
] | 2 | 2020-03-04T08:33:36.000Z | 2020-03-04T08:34:14.000Z | st2tests/integration/mistral/test_wiring_rerun.py | magiceses/st2 | a048ba92a8a1a5d272f277bf8fab0951df903306 | [
"Apache-2.0"
] | null | null | null | # Licensed to the StackStorm, Inc ('StackStorm') 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 os
import shutil
import tempfile
from integration.mistral import base
class RerunWiringTest(base.TestWorkflowExecution):
temp_dir_path = None
def setUp(self):
super(RerunWiringTest, self).setUp()
# Create temporary directory used by the tests
_, self.temp_dir_path = tempfile.mkstemp()
os.chmod(self.temp_dir_path, 0755) # nosec
def tearDown(self):
if self.temp_dir_path and os.path.exists(self.temp_dir_path):
if os.path.isdir(self.temp_dir_path):
shutil.rmtree(self.temp_dir_path)
else:
os.remove(self.temp_dir_path)
def test_rerun(self):
path = self.temp_dir_path
with open(path, 'w') as f:
f.write('1')
execution = self._execute_workflow('examples.mistral-test-rerun', {'tempfile': path})
execution = self._wait_for_completion(execution)
self._assert_failure(execution)
orig_st2_ex_id = execution.id
orig_wf_ex_id = execution.context['mistral']['execution_id']
with open(path, 'w') as f:
f.write('0')
execution = self.st2client.liveactions.re_run(orig_st2_ex_id)
self.assertNotEqual(execution.id, orig_st2_ex_id)
execution = self._wait_for_completion(execution)
self._assert_success(execution, num_tasks=1)
self.assertNotEqual(execution.context['mistral']['execution_id'], orig_wf_ex_id)
def test_rerun_task(self):
path = self.temp_dir_path
with open(path, 'w') as f:
f.write('1')
execution = self._execute_workflow('examples.mistral-test-rerun', {'tempfile': path})
execution = self._wait_for_completion(execution)
self._assert_failure(execution)
orig_st2_ex_id = execution.id
orig_wf_ex_id = execution.context['mistral']['execution_id']
with open(path, 'w') as f:
f.write('0')
execution = self.st2client.liveactions.re_run(orig_st2_ex_id, tasks=['task1'])
self.assertNotEqual(execution.id, orig_st2_ex_id)
execution = self._wait_for_completion(execution)
self._assert_success(execution, num_tasks=1)
self.assertEqual(execution.context['mistral']['execution_id'], orig_wf_ex_id)
def test_rerun_subflow_task(self):
path = self.temp_dir_path
with open(path, 'w') as f:
f.write('1')
workflow_name = 'examples.mistral-test-rerun-subflow'
execution = self._execute_workflow(workflow_name, {'tempfile': path})
execution = self._wait_for_completion(execution)
self._assert_failure(execution)
orig_st2_ex_id = execution.id
orig_wf_ex_id = execution.context['mistral']['execution_id']
with open(path, 'w') as f:
f.write('0')
execution = self.st2client.liveactions.re_run(orig_st2_ex_id, tasks=['task1.task1'])
self.assertNotEqual(execution.id, orig_st2_ex_id)
execution = self._wait_for_completion(execution)
self._assert_success(execution, num_tasks=1)
self.assertEqual(execution.context['mistral']['execution_id'], orig_wf_ex_id)
def test_rerun_and_reset_with_items_task(self):
path = self.temp_dir_path
with open(path, 'w') as f:
f.write('1')
execution = self._execute_workflow(
'examples.mistral-test-rerun-with-items',
{'tempfile': path}
)
execution = self._wait_for_completion(execution)
self._assert_failure(execution)
orig_st2_ex_id = execution.id
orig_wf_ex_id = execution.context['mistral']['execution_id']
with open(path, 'w') as f:
f.write('0')
execution = self.st2client.liveactions.re_run(orig_st2_ex_id, tasks=['task1'])
self.assertNotEqual(execution.id, orig_st2_ex_id)
execution = self._wait_for_completion(execution)
self._assert_success(execution, num_tasks=1)
self.assertEqual(execution.context['mistral']['execution_id'], orig_wf_ex_id)
children = self.st2client.liveactions.get_property(execution.id, 'children')
self.assertEqual(len(children), 4)
def test_rerun_and_resume_with_items_task(self):
path = self.temp_dir_path
with open(path, 'w') as f:
f.write('1')
execution = self._execute_workflow(
'examples.mistral-test-rerun-with-items',
{'tempfile': path}
)
execution = self._wait_for_completion(execution)
self._assert_failure(execution)
orig_st2_ex_id = execution.id
orig_wf_ex_id = execution.context['mistral']['execution_id']
with open(path, 'w') as f:
f.write('0')
execution = self.st2client.liveactions.re_run(
orig_st2_ex_id,
tasks=['task1'],
no_reset=['task1']
)
self.assertNotEqual(execution.id, orig_st2_ex_id)
execution = self._wait_for_completion(execution)
self._assert_success(execution, num_tasks=1)
self.assertEqual(execution.context['mistral']['execution_id'], orig_wf_ex_id)
children = self.st2client.liveactions.get_property(execution.id, 'children')
self.assertEqual(len(children), 2)
def test_rerun_subflow_and_reset_with_items_task(self):
path = self.temp_dir_path
with open(path, 'w') as f:
f.write('1')
execution = self._execute_workflow(
'examples.mistral-test-rerun-subflow-with-items',
{'tempfile': path}
)
execution = self._wait_for_completion(execution)
self._assert_failure(execution)
orig_st2_ex_id = execution.id
orig_wf_ex_id = execution.context['mistral']['execution_id']
with open(path, 'w') as f:
f.write('0')
execution = self.st2client.liveactions.re_run(orig_st2_ex_id, tasks=['task1.task1'])
self.assertNotEqual(execution.id, orig_st2_ex_id)
execution = self._wait_for_completion(execution)
self._assert_success(execution, num_tasks=1)
self.assertEqual(execution.context['mistral']['execution_id'], orig_wf_ex_id)
children = self.st2client.liveactions.get_property(execution.id, 'children')
self.assertEqual(len(children), 4)
def test_rerun_subflow_and_resume_with_items_task(self):
path = self.temp_dir_path
with open(path, 'w') as f:
f.write('1')
execution = self._execute_workflow(
'examples.mistral-test-rerun-subflow-with-items',
{'tempfile': path}
)
execution = self._wait_for_completion(execution)
self._assert_failure(execution)
orig_st2_ex_id = execution.id
orig_wf_ex_id = execution.context['mistral']['execution_id']
with open(path, 'w') as f:
f.write('0')
execution = self.st2client.liveactions.re_run(
orig_st2_ex_id,
tasks=['task1.task1'],
no_reset=['task1.task1']
)
self.assertNotEqual(execution.id, orig_st2_ex_id)
execution = self._wait_for_completion(execution)
self._assert_success(execution, num_tasks=1)
self.assertEqual(execution.context['mistral']['execution_id'], orig_wf_ex_id)
children = self.st2client.liveactions.get_property(execution.id, 'children')
self.assertEqual(len(children), 2)
| 35.830435 | 93 | 0.660842 | 1,049 | 8,241 | 4.917064 | 0.143947 | 0.105855 | 0.036642 | 0.044785 | 0.784413 | 0.773362 | 0.773362 | 0.773362 | 0.773362 | 0.773362 | 0 | 0.012164 | 0.231889 | 8,241 | 229 | 94 | 35.9869 | 0.802686 | 0.097197 | 0 | 0.764331 | 0 | 0 | 0.094706 | 0.034622 | 0 | 0 | 0 | 0 | 0.203822 | 0 | null | null | 0 | 0.025478 | 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 |
dc76f862055888c76675d50c0f02fff6d485774e | 2,823 | py | Python | radicals/OHRadO=M.py | Reaction-Space-Explorer/reac-space-exp | 02c91247d9ee5107cbf9fa113e87edaf4bd392b0 | [
"BSD-3-Clause"
] | 4 | 2020-06-27T23:08:41.000Z | 2022-01-09T16:20:48.000Z | radicals/OHRadO=M.py | sahilrajiv/reac-space-exp | 52f4b4eab755bd4a6830d838828c958149567396 | [
"BSD-3-Clause"
] | 15 | 2020-07-27T23:14:32.000Z | 2022-03-12T00:59:20.000Z | radicals/OHRadO=M.py | sahilrajiv/reac-space-exp | 52f4b4eab755bd4a6830d838828c958149567396 | [
"BSD-3-Clause"
] | 3 | 2020-06-27T23:08:46.000Z | 2021-04-20T09:29:33.000Z | include("common.py")
#Reacion de OH con moleculas de O=M
def hydroxylOMGen():
def ohom(r, root, offset):
#For OH. + O=O -> OH-O.=O
rCopy = r.clone()
rCopy.name += ", OH. + O=O"
rCopy.left.extend([
'node [ id %d label "O." ]' % (offset),
'node [ id %d label "O" ]' % (offset+1),
])
rCopy.context.extend([
'node [ id %d label "H" ]' % (root),
'node [ id %d label "O" ]' % (offset+2),
'edge [ source %d target %d label "-" ]' % (root, offset),
'edge [ source %d target %d label "=" ]' % (offset+1, offset+2),
])
rCopy.right.extend([
'node [ id %d label "O" ]' % (offset),
'node [ id %d label "O." ]' % (offset+1),
'edge [ source %d target %d label "-" ]' % (offset, offset+1),
])
yield rCopy
#For OH. + C=O -> OH-C.=O
rCopy = r.clone()
rCopy.name += ", OH. + C=O"
rCopy.left.extend([
'node [ id %d label "O." ]' % (offset),
'node [ id %d label "C" ]' % (offset+1),
])
rCopy.context.extend([
'node [ id %d label "H" ]' % (root),
'node [ id %d label "O" ]' % (offset+2),
'edge [ source %d target %d label "-" ]' % (root, offset),
'edge [ source %d target %d label "=" ]' % (offset+1, offset+2),
])
rCopy.right.extend([
'node [ id %d label "O" ]' % (offset),
'node [ id %d label "C." ]' % (offset+1),
'edge [ source %d target %d label "-" ]' % (offset, offset+1),
])
yield rCopy
#For OH. + N=O -> OH-N.=O
rCopy = r.clone()
rCopy.name += ", OH. + N=O"
rCopy.left.extend([
'node [ id %d label "O." ]' % (offset),
'node [ id %d label "N" ]' % (offset+1),
])
rCopy.context.extend([
'node [ id %d label "H" ]' % (root),
'node [ id %d label "O" ]' % (offset+2),
'edge [ source %d target %d label "-" ]' % (root, offset),
'edge [ source %d target %d label "=" ]' % (offset+1, offset+2),
])
rCopy.right.extend([
'node [ id %d label "O" ]' % (offset),
'node [ id %d label "N." ]' % (offset+1),
'edge [ source %d target %d label "-" ]' % (offset, offset+1),
])
yield rCopy
#For OH. + S=O -> OH-S.=O
rCopy = r.clone()
rCopy.name += ", OH. + S=O"
rCopy.left.extend([
'node [ id %d label "O." ]' % (offset),
'node [ id %d label "S" ]' % (offset+1),
])
rCopy.context.extend([
'node [ id %d label "H" ]' % (root),
'node [ id %d label "O" ]' % (offset+2),
'edge [ source %d target %d label "-" ]' % (root, offset),
'edge [ source %d target %d label "=" ]' % (offset+1, offset+2),
])
rCopy.right.extend([
'node [ id %d label "O" ]' % (offset),
'node [ id %d label "S." ]' % (offset+1),
'edge [ source %d target %d label "-" ]' % (offset, offset+1),
])
yield rCopy
r = RuleGen("OHRadOM")
for r in ohom(r, 0, 1):
yield r.loadRule()
ohradom = [a for a in hydroxylOMGen()]
| 23.139344 | 66 | 0.497697 | 405 | 2,823 | 3.469136 | 0.108642 | 0.153737 | 0.119573 | 0.204982 | 0.876157 | 0.876157 | 0.876157 | 0.810676 | 0.810676 | 0.810676 | 0 | 0.012609 | 0.269571 | 2,823 | 121 | 67 | 23.330579 | 0.668768 | 0.047113 | 0 | 0.759494 | 0 | 0 | 0.409836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025316 | false | 0 | 0 | 0 | 0.025316 | 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 |
dc83f37f796f377b94713877bbb2b64d2f4289c0 | 42 | py | Python | __init__.py | qrefine/qrefine | 016cac07a39e032c07f34384065dbd4756fe85f8 | [
"Apache-2.0"
] | 17 | 2016-01-13T02:22:26.000Z | 2021-04-03T18:58:43.000Z | __init__.py | qrefine/qrefine | 016cac07a39e032c07f34384065dbd4756fe85f8 | [
"Apache-2.0"
] | 78 | 2015-12-23T12:03:38.000Z | 2022-01-28T18:13:21.000Z | __init__.py | qrefine/qrefine | 016cac07a39e032c07f34384065dbd4756fe85f8 | [
"Apache-2.0"
] | 11 | 2017-04-04T04:10:25.000Z | 2021-04-13T08:54:54.000Z | __version__=" b'v1.0-225-gb2b3f6-dirty' " | 42 | 42 | 0.714286 | 7 | 42 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0.071429 | 42 | 1 | 42 | 42 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0.651163 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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 |
f4dc5929309e51960630ed6a187ebc492246b2f4 | 7,374 | py | Python | tests/unit/model/test_user_repostiory.py | marcosricardoss/flask-restful-skeleton | 59792c25189d2b3ee7a09d5167ced7835ce1819b | [
"Unlicense",
"MIT"
] | 10 | 2019-06-26T02:14:44.000Z | 2022-03-29T12:55:21.000Z | tests/unit/model/test_user_repostiory.py | marcosricardoss/flask-docker-boilerplate | 5f0fead79e2c38e7231d8570ce64389620940a20 | [
"MIT"
] | 3 | 2019-12-26T17:28:44.000Z | 2020-03-10T19:35:07.000Z | tests/unit/model/test_user_repostiory.py | marcosricardoss/flask-docker-boilerplate | 5f0fead79e2c38e7231d8570ce64389620940a20 | [
"MIT"
] | 4 | 2020-04-23T06:30:18.000Z | 2021-12-07T18:07:39.000Z | """Tests for the UserRepository class"""
import sqlalchemy
from alchemy_mock.mocking import UnifiedAlchemyMagicMock
from werkzeug.security import check_password_hash, generate_password_hash
from ...util import get_unique_username
def test_create_new_user_repository(app):
"""
GIVEN the UserRepository class
WHEN a new UserRepository is created
THEN check the UserRepository and the SQLAlchemy session instances
"""
from app.model import UserRepository
user_repository = UserRepository()
assert isinstance(user_repository, UserRepository)
assert isinstance(user_repository.session,
sqlalchemy.orm.scoping.scoped_session)
def test_the_get_by_username_method_of_user_repository(app):
"""
GIVEN the UserRepository class
WHEN the method get_by_username(username) is called
THEN check the user object returned
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
username = get_unique_username()
password = '123'
user = User(username=username, password=password)
user_repository.session.add(user)
user_repository.session.commit()
result = user_repository.get_by_username(username)
assert result.username == username
assert result.password == password
assert result.serialize() == {'id': str(user.id), 'username': username}
assert str(result) == '<User %r>' % (username)
def test_the_save_method_of_user_repository(app):
"""
GIVEN the UserRepository class
WHEN the method get_by_username(username) is called
THEN check session method calls and user data
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
username = get_unique_username()
password = '123'
user = User(username=username, password=password)
user_repository.save(user)
user_repository.session.add.assert_called_once_with(user)
user_repository.session.commit.assert_called_once_with()
assert user.username == username
assert check_password_hash(user.password, password)
assert user.serialize() == {'id': str(user.id), 'username': username}
assert str(user) == '<User %r>' % (username)
def test_the_update_method_of_user_repository(app):
"""
GIVEN the UserRepository class
WHEN the method update(user) is called
THEN check session method calls and user data
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
user = User(username=get_unique_username(), password="123")
user_repository.session.add(user)
user_repository.session.commit()
# updating
username_edited = get_unique_username()
user.password = "1234"
user.username = username_edited
user_repository.update(user)
# user_repository.session.commit.assert_called_once_with()
assert check_password_hash(user.password, "1234")
assert user.username == username_edited
assert user.serialize() == {'id': str(user.id),
'username': username_edited}
assert str(user) == '<User %r>' % (username_edited)
def test_the_authenticate_method_of_user_repository(app):
"""
GIVEN the UserRepository class
WHEN the method authenticate(username, password) is called
THEN check the method returning
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
user = User(username=get_unique_username(),
password=generate_password_hash("123"))
user_repository.session.add(user)
user_repository.session.commit()
# correct data
result = user_repository.authenticate(user.username, "123")
assert result
# wrong password
result = user_repository.authenticate(user.username, "1234")
assert not result
# wrong username
result = user_repository.authenticate("wrong_username", "123")
assert result
def test_the_is_invalid_method_of_user_repository_with_corrent_data(app):
"""
GIVEN the UserRepository class
WHEN the method is_invalid(user) is called with a valid user
THEN check return True
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
username = get_unique_username()
password = '123'
user = User(username=username, password=password)
is_invalid = user_repository.is_invalid(user)
assert not is_invalid
def test_the_is_invalid_method_of_user_repository_with_corrent_data_of_existent_user(app):
"""
GIVEN the UserRepository class
WHEN the method is_invalid(user) is called with a valid user
THEN check return True
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
user = User()
user.id = 1
user.username = 'test'
user.password = '123'
user_repository.session.add(user)
user_repository.session.commit()
# update
user.username = 'test_edited'
user.password = '1234'
is_invalid = user_repository.is_invalid(user)
assert not is_invalid
def test_the_is_invalid_method_of_user_repository_with_username_already_in_use(app):
"""
GIVEN the UserRepository class
WHEN the method is_invalid(user) is called with a invalid user
THEN check return True
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
user = User()
user.id = 1
user.username = 'test'
user.password = '123'
user_repository.session.add(user)
user_repository.session.commit()
user = User()
user.username = 'test'
is_invalid = user_repository.is_invalid(user)
assert is_invalid
assert {"username": "is already in use."} in is_invalid
def test_the_is_invalid_method_of_user_repository_missing_password(app):
"""
GIVEN the UserRepository class
WHEN the method is_invalid(user) is called with a invalid user
THEN check return false
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
user = User(username="test")
is_invalid = user_repository.is_invalid(user)
assert is_invalid
assert {"password": "must be filled"} in is_invalid
def test_the_is_invalid_method_of_user_repository_missing_username(app):
"""
GIVEN the UserRepository class
WHEN the method is_invalid(user) is called with a invalid user
THEN check return false
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
user = User(password="123")
is_invalid = user_repository.is_invalid(user)
assert is_invalid
assert {"username": "must be filled"} in is_invalid
def test_the_is_invalid_method_of_user_repository_with_invalid_password(app):
"""
GIVEN the UserRepository class
WHEN the method is_invalid(user) is called with a invalid user
THEN check return false
"""
from app.model import UserRepository, User
user_repository = UserRepository()
user_repository.session = UnifiedAlchemyMagicMock()
user = User(password="12")
is_invalid = user_repository.is_invalid(user)
assert is_invalid
assert {"password": "minimum length of 3 characters"} in is_invalid
| 28.917647 | 90 | 0.76051 | 932 | 7,374 | 5.784335 | 0.098712 | 0.153218 | 0.093489 | 0.051011 | 0.794843 | 0.790577 | 0.742348 | 0.723428 | 0.714524 | 0.679837 | 0 | 0.008189 | 0.155411 | 7,374 | 254 | 91 | 29.031496 | 0.857418 | 0.199756 | 0 | 0.569231 | 1 | 0 | 0.044367 | 0 | 0 | 0 | 0 | 0 | 0.223077 | 1 | 0.084615 | false | 0.169231 | 0.115385 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
5203a45ae96f557917776d9c8304126e66e7b299 | 10,305 | py | Python | sutils/configparse/test_cfgtypes.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | sutils/configparse/test_cfgtypes.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | sutils/configparse/test_cfgtypes.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | import unittest
from . import cfgtypes
class TestIntType(unittest.TestCase):
def test_empty(self):
self.assertRaises(ValueError, cfgtypes.IntType, "")
def test_positive(self):
self.assertEqual(cfgtypes.IntType("1").value(), 1)
def test_negative(self):
self.assertEqual(cfgtypes.IntType("-1").value(), -1)
def test_nonint(self):
self.assertRaises(ValueError, cfgtypes.IntType, "1.1")
def test_nonnumeric(self):
self.assertRaises(ValueError, cfgtypes.IntType, "a")
class TestBoolType(unittest.TestCase):
def test_empty(self):
self.assertRaises(ValueError, cfgtypes.BoolType, "")
def test_true_upper(self):
self.assertEqual(cfgtypes.BoolType("True").value(), True)
def test_true_lower(self):
self.assertEqual(cfgtypes.BoolType("true").value(), True)
def test_true_caps(self):
self.assertEqual(cfgtypes.BoolType("TRUE").value(), True)
def test_false_upper(self):
self.assertEqual(cfgtypes.BoolType("False").value(), False)
def test_false_lower(self):
self.assertEqual(cfgtypes.BoolType("false").value(), False)
def test_false_caps(self):
self.assertEqual(cfgtypes.BoolType("FALSE").value(), False)
def test_true_1(self):
self.assertEqual(cfgtypes.BoolType("1").value(), True)
def test_false_0(self):
self.assertEqual(cfgtypes.BoolType("0").value(), False)
def test_false_3(self):
self.assertEqual(cfgtypes.BoolType("3").value(), False)
def test_false_abc(self):
self.assertEqual(cfgtypes.BoolType("abc").value(), False)
class TestFloatType(unittest.TestCase):
def test_empty_raises_valueerror(self):
self.assertRaises(ValueError, cfgtypes.FloatType, "")
def test_nonnumeric_char_raises_valueerror(self):
self.assertRaises(ValueError, cfgtypes.FloatType, "a")
def test_nonnumeric_string_raises_valueerror(self):
self.assertRaises(ValueError, cfgtypes.FloatType, "abc")
def test_complex_raises_valueerror(self):
self.assertRaises(ValueError, cfgtypes.FloatType, "1j")
def test_negative_int(self):
self.assertEqual(cfgtypes.FloatType("-1").value(), -1)
def test_int(self):
self.assertEqual(cfgtypes.FloatType("1").value(), 1)
def test_decimal(self):
self.assertEqual(cfgtypes.FloatType("4.15").value(), 4.15)
def test_cut_decimal(self):
self.assertEqual(cfgtypes.FloatType("2.").value(), 2.)
def test_trailing_decimal(self):
self.assertEqual(cfgtypes.FloatType(".3").value(), .3)
def test_negative_decimal(self):
self.assertEqual(cfgtypes.FloatType("-4.15").value(), -4.15)
def test_negative_cut_decimal(self):
self.assertEqual(cfgtypes.FloatType("-2.").value(), -2.)
def test_negative_trailing_decimal(self):
self.assertEqual(cfgtypes.FloatType("-.3").value(), -.3)
class TestRealType(unittest.TestCase):
def test_int(self):
self.assertEqual(cfgtypes.RealType("2").value(), 2)
def test_float(self):
self.assertEqual(cfgtypes.RealType("2.2").value(), 2.2)
def test_neg_int(self):
self.assertEqual(cfgtypes.RealType("-2").value(), -2)
def test_neg_float(self):
self.assertEqual(cfgtypes.RealType("-2.2").value(), -2.2)
def test_int_cast_to_int(self):
self.assertEqual(type(cfgtypes.RealType("2").value()), int)
def test_float_cast_to_float(self):
self.assertEqual(type(cfgtypes.RealType("2.2").value()), float)
def test_neg_int_cast_to_int(self):
self.assertEqual(type(cfgtypes.RealType("-2").value()), int)
def test_neg_float_cast_to_float(self):
self.assertEqual(type(cfgtypes.RealType("-2.2").value()), float)
def test_complex_raises_valueerror(self):
self.assertRaises(ValueError, cfgtypes.RealType, "2j")
def test_nonnumeric_raises_valueerror(self):
self.assertRaises(ValueError, cfgtypes.RealType, "abc")
class TestNumericType(unittest.TestCase):
def test_int(self):
self.assertEqual(cfgtypes.NumericType("2").value(), 2)
def test_float(self):
self.assertEqual(cfgtypes.NumericType("2.2").value(), 2.2)
def test_complex(self):
self.assertEqual(cfgtypes.NumericType("2j").value(), 2j)
def test_neg_int(self):
self.assertEqual(cfgtypes.NumericType("-2").value(), -2)
def test_neg_float(self):
self.assertEqual(cfgtypes.NumericType("-2.2").value(), -2.2)
def test_neg_complex(self):
self.assertEqual(cfgtypes.NumericType("-2j").value(), -2j)
def test_int_cast_to_int(self):
self.assertEqual(type(cfgtypes.NumericType("2").value()), int)
def test_float_cast_to_float(self):
self.assertEqual(type(cfgtypes.NumericType("2.2").value()), float)
def test_complex_cast_to_complex(self):
self.assertEqual(type(cfgtypes.NumericType("2j").value()), complex)
def test_neg_int_cast_to_int(self):
self.assertEqual(type(cfgtypes.NumericType("-2").value()), int)
def test_neg_float_cast_to_float(self):
self.assertEqual(type(cfgtypes.NumericType("-2.2").value()), float)
def test_neg_complex_cast_to_complex(self):
self.assertEqual(type(cfgtypes.NumericType("-2j").value()), complex)
def test_nonnumeric_raises_valueerror(self):
self.assertRaises(ValueError, cfgtypes.NumericType, "abc")
class TestStringType(unittest.TestCase):
pass
class TestPathType(unittest.TestCase):
pass
class TestListType(unittest.TestCase):
# this is a base type, it is tested with the derived types
pass
class TestStringListType(unittest.TestCase):
def test_single_item_is_len_1_list(self):
self.assertEqual(len(cfgtypes.StringListType("1")), 1)
def test_single_item_is_in_list(self):
self.assertEqual(cfgtypes.StringListType("1").value(), ["1"])
def test_comma_separator_without_spaces_len(self):
self.assertEqual(len(cfgtypes.StringListType("1,2,3,4")), 4)
def test_comma_separator_without_spaces(self):
self.assertEqual(cfgtypes.StringListType("1,2,3,4").value(), ["1", "2", "3", "4"])
def test_comma_separator_with_spaces_len(self):
self.assertEqual(len(cfgtypes.StringListType("1, 2, 3, 4")), 4)
def test_comma_separator_with_spaces(self):
self.assertEqual(cfgtypes.StringListType("1, 2, 3, 4").value(), ["1", "2", "3", "4"])
def test_comma_separator_with_more_spaces_len(self):
self.assertEqual(len(cfgtypes.StringListType("1 , 2 , 3 , 4")), 4)
def test_comma_separator_with_more_spaces(self):
self.assertEqual(cfgtypes.StringListType("1 , 2 , 3 , 4").value(), ["1", "2", "3", "4"])
def test_single_word_is_len_1_list(self):
self.assertEqual(len(cfgtypes.StringListType("word")), 1)
def test_single_word_is_in_list(self):
self.assertEqual(cfgtypes.StringListType("word").value(), ["word"])
def test_words_comma_separator_without_spaces_len(self):
self.assertEqual(len(cfgtypes.StringListType("word1,word2,word3,word4")), 4)
def test_words_comma_separator_without_spaces(self):
self.assertEqual(cfgtypes.StringListType("word1,word2,word3,word4").value(), ["word1", "word2", "word3", "word4"])
def test_words_comma_separator_with_spaces_len(self):
self.assertEqual(len(cfgtypes.StringListType("word1, word2, word3, word4")), 4)
def test_words_comma_separator_with_spaces(self):
self.assertEqual(cfgtypes.StringListType("word1, word2, word3, word4").value(), ["word1", "word2", "word3", "word4"])
def test_words_comma_separator_with_more_spaces_len(self):
self.assertEqual(len(cfgtypes.StringListType("word1 , word2 , word3 , word4")), 4)
def test_words_comma_separator_with_more_spaces(self):
self.assertEqual(cfgtypes.StringListType("word1 , word2 , word3 , word4").value(), ["word1", "word2", "word3", "word4"])
class TestIntListType(unittest.TestCase):
def test_single_item_is_len_1_list(self):
self.assertEqual(len(cfgtypes.IntListType("1")), 1)
def test_single_item_is_in_list(self):
self.assertEqual(cfgtypes.IntListType("1").value(), [1])
def test_comma_separator_without_spaces_len(self):
self.assertEqual(len(cfgtypes.IntListType("1,2,3,4")), 4)
def test_comma_separator_without_spaces(self):
self.assertEqual(cfgtypes.IntListType("1,2,3,4").value(), [1, 2, 3, 4])
def test_comma_separator_with_spaces_len(self):
self.assertEqual(len(cfgtypes.IntListType("1, 2, 3, 4")), 4)
def test_comma_separator_with_spaces(self):
self.assertEqual(cfgtypes.IntListType("1, 2, 3, 4").value(), [1, 2, 3, 4])
def test_comma_separator_with_more_spaces_len(self):
self.assertEqual(len(cfgtypes.IntListType("1 , 2 , 3 , 4")), 4)
def test_comma_separator_with_more_spaces(self):
self.assertEqual(cfgtypes.IntListType("1 , 2 , 3 , 4").value(), [1, 2, 3, 4])
class TestBoolListType(unittest.TestCase):
def test_single_item_is_len_1_list(self):
self.assertEqual(len(cfgtypes.BoolListType("1")), 1)
def test_single_item_is_in_list(self):
self.assertEqual(cfgtypes.BoolListType("1").value(), [True])
def test_comma_separator_without_spaces_len(self):
self.assertEqual(len(cfgtypes.BoolListType("True,False,0,1")), 4)
def test_comma_separator_without_spaces(self):
self.assertEqual(cfgtypes.BoolListType("True,False,0,1").value(), [True, False, False, True])
def test_comma_separator_with_spaces_len(self):
self.assertEqual(len(cfgtypes.BoolListType("True, False, 0, 1")), 4)
def test_comma_separator_with_spaces(self):
self.assertEqual(cfgtypes.BoolListType("True, False, 0, 1").value(), [True, False, False, True])
def test_comma_separator_with_more_spaces_len(self):
self.assertEqual(len(cfgtypes.BoolListType("True , False , 0 , 1")), 4)
def test_comma_separator_with_more_spaces(self):
self.assertEqual(cfgtypes.BoolListType("True , False , 0 , 1").value(), [True, False, False, True])
| 37.609489 | 129 | 0.683746 | 1,306 | 10,305 | 5.172282 | 0.069678 | 0.08601 | 0.202517 | 0.183864 | 0.916062 | 0.873427 | 0.851517 | 0.847668 | 0.805329 | 0.797483 | 0 | 0.026698 | 0.171276 | 10,305 | 273 | 130 | 37.747253 | 0.764286 | 0.005434 | 0 | 0.406593 | 0 | 0 | 0.058846 | 0.004489 | 0 | 0 | 0 | 0 | 0.456044 | 1 | 0.456044 | false | 0.016484 | 0.010989 | 0 | 0.527473 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 11 |
5e7b958b2b5601b4494cf86a1739c8004bc33fa6 | 90 | py | Python | deepface/attribute_prediction/__init__.py | MatheusAD95/fg2020-faceunderstanding | 95a3d04f68c2c3207137a9f3b9fb3f8e2134fe8e | [
"MIT"
] | null | null | null | deepface/attribute_prediction/__init__.py | MatheusAD95/fg2020-faceunderstanding | 95a3d04f68c2c3207137a9f3b9fb3f8e2134fe8e | [
"MIT"
] | null | null | null | deepface/attribute_prediction/__init__.py | MatheusAD95/fg2020-faceunderstanding | 95a3d04f68c2c3207137a9f3b9fb3f8e2134fe8e | [
"MIT"
] | null | null | null | # from .pls_analysis import pls_analysis
from .pls_analysis import PLSAttributeClassifier
| 30 | 48 | 0.866667 | 11 | 90 | 6.818182 | 0.454545 | 0.44 | 0.4 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 2 | 49 | 45 | 0.925926 | 0.422222 | 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 | 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 | 0 | 0 | 0 | 7 |
5e84d5b73f3714772a654a2e18bcf56c2022ebe5 | 65,063 | py | Python | legacy/draft.py | andreagalle/pigcasso | e9b60fb595ba6bd2c402a5b4b16665d4d41fa748 | [
"MIT"
] | null | null | null | legacy/draft.py | andreagalle/pigcasso | e9b60fb595ba6bd2c402a5b4b16665d4d41fa748 | [
"MIT"
] | 4 | 2020-06-13T09:17:15.000Z | 2020-06-17T16:26:03.000Z | legacy/draft.py | andreagalle/pigcasso | e9b60fb595ba6bd2c402a5b4b16665d4d41fa748 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import vtk
import os
import numpy as np
import matplotlib.pyplot as plt
import modTurb as mod
from vtk.util.numpy_support import vtk_to_numpy
def getOutputVTKwithPointDataFromFile(fileName):
"""
Uses the correct VTK reader to obtain a VTK output object so that one can
work with the data in *fileName*.
NOTE : the cell data are transfered to the nodes.
Parameters
----------
fileName : string
The .vt* file to open
Returns
-------
data_outVTK : VTK output object from a VTK reader
VTK output object associated to the file type of *fileName*
"""
# function display
print '---- DAEPy::getOutputVTKwithPointDataFromFile ----'
# test if the file exists
print '--> Reading', fileName
if not os.path.isfile(fileName):
raise ValueError("Error : file does not exists")
extension = os.path.splitext(fileName)[-1]
if extension == '.vtu':
reader = vtk.vtkXMLUnstructuredGridReader()
elif extension == '.pvtu':
reader = vtk.vtkXMLPUnstructuredGridReader()
elif extension == '.vtp':
reader = vtk.vtkXMLPolyDataReader()
elif extension == '.vtm':
# TODO : To check
reader = vtk.vtkXMLMultiBlockDataReader()
reader = vtk.MergeBlocks(reader)
else:
raise ValueError("Error: unknown extension of file "+fileName)
reader.SetFileName(fileName)
reader.Update()
data_outVTK = reader.GetOutput()
# All the data are transfered to the nodes
c2p = vtk.vtkCellDataToPointData()
c2p.SetInputData(data_outVTK)
c2p.Update()
data_outVTK = c2p.GetOutput()
# list the fields available
n_fields = data_outVTK.GetPointData().GetNumberOfArrays()
print '--> Available:', n_fields, 'fields'
for i in range(n_fields):
print ' -', data_outVTK.GetPointData().GetArrayName(i)
print ''
return data_outVTK
def writeDataToFile(data, fileName):
if not hasattr(data, 'GetClassName'):
raise ValueError('data is not a vtk data obj')
if data.GetClassName() == 'vtkUnstructuredGrid':
writer = vtk.vtkXMLUnstructuredGridWriter()
else:
raise ValueError('data format not implemented')
writer.SetInputData(data)
writer.SetFileName(fileName)
writer.Write()
def getArrayFromPointData(data_outVTK, field_name):
"""
The string list *field_name* command the data contained in the VTK output object *data_outVTK*
that are going to be stored the returned array.
WARNING : USE ONLY FOR POINTS DATA, for cell data, use getArrayFromCellData()
Parameters
----------
field_name : list of string
The fields names, which would be for this BE :
Returns
-------
coord : numpy array
data_arr : numpy array
"""
# function display
print '---- DAEPy::getArrayFromPointData ----'
coord = np.array(
[data_outVTK.GetPoint(i) for i in range(data_outVTK.GetNumberOfPoints())],
dtype=np.float32)
print '--> extract fields', [f for f in field_name]
data_arr = [vtk_to_numpy(data_outVTK.GetPointData().GetArray(f)) for f in field_name]
print ''
return [coord] + data_arr
def getArrayFromCellData(data_outVTK, field_name):
"""
The string list *field_name* command the data contained in the VTK output object *data_outVTK*
that are going to be stored the returned array.
WARNING : USE ONLY FOR CELL DATA, for point data, use getArrayFromPointData()
Parameters
----------
field_name : list of string
The fields names, which would be for this BE :
Returns
-------
coord : numpy array
data_arr : numpy array
"""
# function display
print '---- DAEPy::getArrayFromCellData ----'
print 'FUNCTION NOT TESTED YET ---- TO DEBUG'
coord = np.array(
[data_outVTK.GetCell(i) for i in range(data_outVTK.GetNumberOfCells())],
dtype=np.float32)
print '--> extract fields', [f for f in field_name]
data_arr = [vtk_to_numpy(data_outVTK.GetCellData().GetArray(f)) for f in field_name]
print ''
return [coord] + data_arr
def getSlice(data_outVTK, orig, nor):
"""
Defines the plane normal to the vector *nor* that contains the point *orig*
and then extract the data from the reader *reader*. The dimension of the data
returned is reduced by one (a 2D data field gives a 1D data filed).
Parameters
----------
data_outVTK : VTK output object from a VTK reader
VTK output object associated to the file we want to extract a slice of data.
orig : tuple(3)
A point element of the plane used to slice the data.
normal : tuple(3)
A vector normal to the plane used to slice the data.
Returns
-------
slice_outVTK : VTK output object from a VTK reader
Returned data are still not in an array form, but a VTK output object
is returned where the data are stored.
"""
#function display
print '---- DAEPy::getSlice ----'
# Plane of the Slice
plane = vtk.vtkPlane()
plane.SetOrigin(orig)
plane.SetNormal(nor)
print '--> normal used to slice: ', nor
# Cutter plane
planeCut = vtk.vtkCutter()
planeCut.SetInputData(data_outVTK)
planeCut.SetCutFunction(plane)
# Make the slice
planeCut.Update()
slice_outVTK = planeCut.GetOutput()
print ''
return slice_outVTK
def getLine(data_outVTK, orig, n1, n2):
"""
Uses twice the getSlice() function to extract the line defined with the point *orig*
and the vector normal to the plane defined with *n1* and *n2*.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
VTK output object associated to the file we want to extract a slice of data.
orig : tuple(3)
A point element of the line where to extract the data.
n1 : tuple(3)
A vector normal to the line where to extract the data.
n2 : tuple(3)
A vector normal to the line where to extract the data.
Returns
-------
line_outVTK : VTK output object from a VTK reader
Returned data are still not in an array form, but a VTK output object
is returned where the data are stored.
"""
# function display
print '---- DAEPy::getLine ----'
# stop execution if data not consistent with the method
if data_outVTK.GetCell(0).GetNumberOfPoints() < 4:
raise ValueError("Error: cells in data from VTK output object are not 3D cells, be sure the data used here are 3D.")
# Double slicing
print '--> 1st slicing...'
dataSlice1 = getSlice(data_outVTK, orig, n1)
print '--> 2nd slicing...'
dataSlice2 = getSlice(dataSlice1, orig, n2)
print ''
return dataSlice2
def getLineTangentialVector(line_outVTK, x_perc, cord_choice):
"""
Compute the tangential vector at point X0 to the line meshed in the 1D file *wall_outVTK*.
We define a cord L of the line in the *line_outVTK* file thanks to the maximum distant
between two cells center in the *cord_choice* direction. Then, the coordinates of the cell center
and the cell tangential vector from the cell at *x_perc* percent of this cord are returned.
WARNING : the data in the VTK output object *line_outVTK* must be 1D, meaning that the cells
in it are defined with only 2 points (not 4 or 8 points), so that the tangential
vector definition is not ambiguous.
Parameters
----------
line_outVTK : VTK output object from a VTK reader
The cell in this file are 1D cell, meaning they should be defined with only 2 points.
We test the CellType of the first cell to check if we have 1D cells.
x_perc : float
Gives the percentage of the cord where we want to select a cell
cord_choice : int
Gives the direction (0->x, 1->y, 2->z), to use to define the cord of the line.
Returns
-------
ori_out : tuple(3)
Coordinates of the cell center that defined the returned tangential vector.
nor_out : tuple(3)
Coordinates of the tangential vector.
"""
# function display
print '---- DAEPy::getLineTangentialVector ----'
# stop execution if data not consistent with the method see VTK_file_format.pdf for a list of cell type
if line_outVTK.GetCellType(0) > 4:
raise ValueError("Error: cells in data from VTK output object are not 1D cells, be sure the data are 1D or sliced from a 2D data set.")
# number of cell
n_cell = line_outVTK.GetNumberOfCells()
# we extract the boundary of each 2D cell to compute the tangential vector
a = np.array([line_outVTK.GetCell(i).GetPoints().GetPoint(0) for i in range(n_cell)])
b = np.array([line_outVTK.GetCell(i).GetPoints().GetPoint(1) for i in range(n_cell)])
tangent_vector = b-a
# centers of cells
Centers = (a+b)/2
# compute the max and min value of the cell centers in the chosen direction
dMin = min(Centers[:, cord_choice])
dMax = max(Centers[:, cord_choice])
Coord = dMin + x_perc*(dMax-dMin)
iMin = (abs(Centers[:, cord_choice]-Coord)).argmin()
tangent_vector = tangent_vector[iMin]/np.linalg.norm(tangent_vector[iMin])
orig = Centers[iMin]
print '--> Coordinates of the point selected: ', orig
print ''
return [orig, tangent_vector]
def getCommonFieldAndWallSlice(data_outVTK, wall_outVTK, orig, nor):
"""
This function uses simple slicing function, yet it assures the user to work
with consistent field and wall data in *data_outVTK* and *wall_outVTK*.
WARNING : in a standard use, this function is conceived to sliced a 3D field
and a 2D wall field.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
The field data, normally a (huge) 3D field
wall_outVTK : VTK output object from a VTK reader
The wall data associated to the field data
orig : tuple(3)
A point element of the plane used to slice the data.
nor : tuple(3)
A vector normal to the plane used to slice the data.
Returns
-------
dataSl_outVTK : VTK output object from a VTK reader
Returned data are still not in an array form, but a VTK output object
is returned where the data are stored.
wallSl_outVTK : VTK output object from a VTK reader
Returned data are still not in an array form, but a VTK output object
is returned where the data are stored.
"""
# function display
print '---- DAEPy::getCommonFieldAndWallSlice ----'
# slice the data with the same plane
print '--> Field and Wall slicing'
dataSl_outVTK = getSlice(data_outVTK, orig, nor)
wallSl_outVTK = getSlice(wall_outVTK, orig, nor)
# function output
print ''
return [dataSl_outVTK, wallSl_outVTK]
def getScalarCoord(Vcoords, dir):
"""
This function gives a parametric description of the points in *Vcoords*.
The parameter *dir* is used to gives the reference direction to describe the points.
Parameters
----------
Vcoords : vector of tuple(3)
A list of points on the same line.
Returns
-------
X_off : vector of float
A vector of float that can gives the distance to the original points in *Vcoords*.
"""
# function display
print '---- DAEPy::getScalarCoord ----'
X = Vcoords[:,dir]
V_off = Vcoords - Vcoords[X.argsort()[0],:]
X_off = [np.linalg.norm(V_off[i,:]) for i in range(len(V_off[:,0]))]
# function output
print ''
return X_off
def getSkinFrictionAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None):
"""
Parameters
----------
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
Cf : float
The skin friction coefficient.
Utau : float
The shear velocity.
"""
# function display
print '---- DAEPy::getSkinFrictionAtPosition ----'
# test if the field U_AVG is present
if data_outVTK.GetPointData().HasArray('U_AVG')!=1:
raise ValueError("Error : field U_AVG not present")
# test if the field RHO_AVG is present
if data_outVTK.GetPointData().HasArray('RHO_AVG')!=1:
raise ValueError("Error : field RHO_AVG not present")
# test if the field MU_LAM_AVG is present
if data_outVTK.GetPointData().HasArray('MU_LAM_AVG')!=1:
raise ValueError("Error : field MU_LAM_AVG not present")
# test if the field TauWallAvg is present
if wall_outVTK.GetPointData().HasArray('TauWallAvg')!=1:
raise ValueError("Error : field TauWallAvg not present")
# stop execution if data not consistent with the method see VTK_file_format.pdf for a list of cell type
if (wall_outVTK.GetCellType(0) > 4):
raise ValueError("Error: cells in data from wall VTK output object are not 1D cells, be sure the data are 1D or sliced from a 2D data set.")
# TODO : Find a way to bound data1D (or output of getArrayFromPointData) to a certain length
# Could be usefull when post-processing data in very large domain (airfoil cases for example)
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
wall1D = getSlice(wall_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, Mu, Rho, U] = getArrayFromPointData(data1D, ['MU_LAM_AVG','RHO_AVG','U_AVG'])
Ut = np.sum(U*vec_tan, axis=1)
# extract the shear stress
[_, Tw] = getArrayFromPointData(wall1D, ['TauWallAvg'])
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
y_coo = y_coo[id_sort]
Rho = Rho[id_sort]
Ut = Ut[id_sort]
Mu = Mu[id_sort]
# Automatic definition of the external (free stream) velocity based on the extracted velocity if Uext = None
if Uinf == None:
# Uinf = Ut[-1]
Uinf = np.mean(Ut[-20:-1])
# Automatic definition of the external (free stream) density based on the extracted density if RhoExt = None
if Rhoinf == None:
# Rhoinf = Rho[-1]
Rhoinf = np.mean(Rho[-20:-1])
Cf = np.sqrt(Tw[0,0]**2+Tw[0,1]**2+Tw[0,2]**2)/(0.5*Rhoinf*Uinf**2)
Utau = np.sqrt(np.sqrt(Tw[0,0]**2+Tw[0,1]**2+Tw[0,2]**2)/Rho[0])
Tw = np.sqrt(Tw[0,0]**2+Tw[0,1]**2+Tw[0,2]**2)
# [_, _, _, dudy, Tw] = mod.getStressAtPosition(data_outVTK, wall_outVTK, x_perc, cord_choice, Uinf, Rhoinf)
# Utau = np.sqrt(dudy[4]/Rho[0])
Yplus = ((y_coo[1]-y_coo[0])*Rho[0]*Utau)/Mu[0]
# function output
print ''
return [ori, Cf, Utau, Yplus, Tw]
def getReynoldsAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None, Muinf=None):
"""
Gives the Reynolds number based on theboundary layer thickness :math:`\delta`, displacement :math:`\delta^*`
and momentum :math:`\\theta` thickness in x0.
How is define x0 : let C be the curve in the 3D space described by the 1D cells
in *wall_outVTK*. The cells center are denoted with Xc_i. The curve C is include in
a cubic box of bounds Xmin, Xmax, Ymin, Ymax, Zmin, Zmax. Depending on the *cord_choice*
value choice, we look for the cell of C which center coordinates Xc_i[cord_choice] is
the closest from (Xmin + x_perc*(Xmax-Xmin)).
This definition is based on an intelligent choice for the reference axis.
Example 2D si *cord_choice*=0 and x_perc=0.6, the curve is between the 2 o :
Ymax _________________________ __o
/ |
_______,---X~~~~¨ |
Ymin ___ o___/ | |
| | |
| | |
| | |
| | |
Xmin THE CELL Xmax
Parameters
----------
data_outVTK : VTK output object from a VTK reader
This field data MUST fulfill 2 conditions:
- contain the field "U_AVG",
- contain the field "RHO_AVG",
- represent a 2D field data, as we want to extract a 1D velocity
profile from it.
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity, default value is the farthest point from the wall at x_perc.
Rhoinf : float
(optional) Free stream velocity, default value is the farthest point from the wall at x_perc.
Muinf : float
(optional) Free stream viscosity, default value is the farthest point from the wall at x_perc.
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
ReD : vector of floats
Reynolds number based on the BL thickness.
ReDS : vector of floats
Reynolds number based on the compressible BL displacement thickness.
ReO : vector of floats
Reynolds number based on the compressible BL momentum thickness.
ReT : vector of floats
Reynolds number based on the shear velocity and BL thickness.
"""
# function display
print '---- DAEPy::getReynoldsAtPosition ----'
# test if the field MU_LAM_AVG is present
if data_outVTK.GetPointData().HasArray('MU_LAM_AVG')!=1:
raise ValueError("Error : field MU_LAM_AVG not present")
# test if the field RHO_AVG is present
if data_outVTK.GetPointData().HasArray('RHO_AVG')!=1:
raise ValueError("Error : field RHO_AVG not present")
# test if the field U_AVG is present
if data_outVTK.GetPointData().HasArray('U_AVG')!=1:
raise ValueError("Error : field U_AVG not present")
# stop execution if data not consistent with the method see VTK_file_format.pdf for a list of cell type
if (wall_outVTK.GetCellType(0) > 4):
raise ValueError("Error: cells in data from wall VTK output object are not 1D cells, be sure the data are 1D or sliced from a 2D data set.")
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, Mu, Rho, U] = getArrayFromPointData(data1D, ['MU_LAM_AVG','RHO_AVG','U_AVG'])
Ut = np.sum(U*vec_tan, axis=1)
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
# sort cordinates along the line orthogonal to the wall
y_coo = y_coo[id_sort]
# sort the other quantities according to the coordinates y_coo. Velocity at the wall Ut[0] is
# set to 0 to respect no slip condition
Mu = Mu[id_sort]
Rho = Rho[id_sort]
Ut = Ut[id_sort] ; Ut[0] = 0
# Automatic definition of the external (free stream) viscosity based on the extracted viscosity if Muinf = None
if Muinf == None:
Muinf = np.mean(Mu[-20:-1])
# Muinf = Mu[-1]
# Automatic definition of the external (free stream) density based on the extracted density if Rhoinf = None
if Rhoinf == None:
Rhoinf = np.mean(Rho[-20:-1])
# Rhoinf = Rho[-1]
# Automatic definition of the external (free stream) velocity based on the extracted density if Uinf = None
if Uinf == None:
Uinf = np.mean(Ut[-20:-1])
# Uinf = Ut[-1]
[_, delta, deltaS, theta] = getDeltaAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf)
[_, Cf, Utau, _, _] = getSkinFrictionAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf)
ReD = Rhoinf*Uinf*delta/Muinf
ReDS = Rhoinf*Uinf*deltaS/Muinf
ReO = Rhoinf*Uinf*theta/Muinf
ReT = Rho[0]*Utau*delta/Mu[0]
# function output
print ''
return [ori, ReD, ReDS, ReO, ReT]
def getIncDeltaAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None):
"""
Gives the boundary layer thickness :math:`\delta`, displacement :math:`\delta^*` and
momentum :math:`\\theta` thickness in x0.
How is define x0 : let C be the curve in the 3D space described by the 1D cells
in *wall_outVTK*. The cells center are denoted with Xc_i. The curve C is include in
a cubic box of bounds Xmin, Xmax, Ymin, Ymax, Zmin, Zmax. Depending on the *cord_choice*
value choice, we look for the cell of C which center coordinates Xc_i[cord_choice] is
the closest from (Xmin + x_perc*(Xmax-Xmin)).
This definition is based on an intelligent choice for the reference axis.
Example 2D si *cord_choice*=0 and x_perc=0.6, the curve is between the 2 o :
Ymax _________________________ __o
/ |
_______,---X~~~~¨ |
Ymin ___ o___/ | |
| | |
| | |
| | |
| | |
Xmin THE CELL Xmax
Regarding the calculation of the displacement :math:`\delta^*` and momentum :math:`\theta` thickness,
the compressible flow definition based on the mass flow rate is used:
.. math:: \delta^* = \int_{0}^{\infty } \\left(1 - \\frac{\\rho (y) u(y) }{\\rho_0 u_0 } \\right) \\mathrm{d}y
and
.. math:: \\theta = \int_{0}^{\infty } \\frac{\\rho (y) u(y) }{\\rho_0 u_0 } \\left(1 - \\frac{u(y) }{u_0 } \\right) \\mathrm{d}y
Where :math:`\\rho_0` and :math:`u_0` are the density and velocity in the '*free stream*' outside the boundary layer, and :math:`y` is the coordinate normal to the wall.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
This field data MUST fulfill 2 conditions:
- contain the field "U_AVG",
- contain the field "RHO_AVG",
- represent a 2D field data, as we want to extract a 1D velocity
profile from it.
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity, default value is the farthest point from the wall at x_perc.
Rhoinf : float
(optional) Free stream velocity, default value is the farthest point from the wall at x_perc.
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
delta : float
The boundary layer thickness.
deltaS : float
The compressible boundary layer displacement thickness.
theta : float
The compressible boundary layer momentum thickness.
"""
# function display
print '---- DAEPy::getIncDeltaAtPosition ----'
# test if the field U_AVG is present
if data_outVTK.GetPointData().HasArray('U_AVG')!=1:
raise ValueError("Error : field U_AVG not present")
# stop execution if data not consistent with the method see VTK_file_format.pdf for a list of cell type
if (wall_outVTK.GetCellType(0) > 4):
raise ValueError("Error: cells in data from wall VTK output object are not 1D cells, be sure the data are 1D or sliced from a 2D data set.")
# TODO : Find a way to bound data1D (or output of getArrayFromPointData) to a certain length
# Could be usefull when post-processing data in very large domain (airfoil cases for example)
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, U] = getArrayFromPointData(data1D, ['U_AVG'])
Ut = np.sum(U*vec_tan, axis=1)
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
# sort cordinates along the line orthogonal to the wall
y_coo = y_coo[id_sort]
# sort the other quantities according to the coordinates y_coo. Velocity at the wall Ut[0] is
# set to 0 to respect no slip condition
Ut = Ut[id_sort]; Ut[0] = 0
# Automatic definition of the external (free stream) velocity based on the extracted velocity if Uinf = None
if Uinf == None:
Uinf = np.mean(Ut[-20:-1])
# Uinf = Ut[-1]
# find the index of the 2 points around 99% of Uext
ordre = abs(Ut-0.99*Uinf).argsort()[0:2]
ordre = np.sort(ordre)
# compute the BL thickness using a simple linear model
xa = y_coo[ordre[0]]
ua = Ut[ordre[0]]
xb = y_coo[ordre[1]]
ub = Ut[ordre[1]]
tau = (ub-ua)/(xb-xa)
delta = xa + (Uinf*0.99-ua)/tau
# theta = np.trapz((Rho[0:ordre[1]]*Ut[0:ordre[1]])/(Rhoinf*Uinf)*(1-Ut[0:ordre[1]]/(Uinf)),y_coo[0:ordre[1]])
# deltaS = np.trapz((1-(Rho[0:ordre[1]]*Ut[0:ordre[1]])/(Rhoinf*Uinf)),y_coo[0:ordre[1]])
theta1 = np.trapz((Ut[0:ordre[0]+1])/(Uinf)*(1-Ut[0:ordre[0]+1]/(Uinf)),y_coo[0:ordre[0]+1])
theta2 = np.trapz((Ut[0:ordre[1]+1])/(Uinf)*(1-Ut[0:ordre[1]+1]/(Uinf)),y_coo[0:ordre[1]+1])
tau = (theta2-theta1)/(xb-xa)
theta = theta1 + (delta-xa)*tau
deltaS1 = np.trapz((1-(Ut[0:ordre[0]+1])/(Uinf)),y_coo[0:ordre[0]+1])
deltaS2 = np.trapz((1-(Ut[0:ordre[1]+1])/(Uinf)),y_coo[0:ordre[1]+1])
tau = (deltaS2-deltaS1)/(xb-xa)
deltaS = deltaS1 + (delta-xa)*tau
# print ordre
# print y_coo
# theta = np.trapz((Rho*Ut)/(Rhoinf*Uinf)*(1-Ut/(Uinf)),y_coo)
# deltaS = np.trapz((1-(Rho*Ut)/(Rhoinf*Uinf)),y_coo)
# fig = plt.figure(figsize=(10, 6))
# ax = fig.add_subplot(111)
# ax.plot(Ut,y_coo,'b-')
# ax.plot(Ut[ordre[0]],y_coo[ordre[0]],'gs')
# ax.plot(Ut[ordre[1]],y_coo[ordre[1]],'ks')
# ax.plot(Uinf*0.99,delta,'rs')
# ax.set_title(r'$x = %1.5f \/-\/ \theta_{i} = %1.6f \/-\/ \delta^{*} = %1.6f$'%(ori[0],theta,deltaS),y=1.02)
# plt.show()
# function output
print ''
return [ori, delta, deltaS, theta]
def getDeltaAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None):
"""
Gives the boundary layer thickness :math:`\delta`, displacement :math:`\delta^*` and
momentum :math:`\\theta` thickness in x0.
How is define x0 : let C be the curve in the 3D space described by the 1D cells
in *wall_outVTK*. The cells center are denoted with Xc_i. The curve C is include in
a cubic box of bounds Xmin, Xmax, Ymin, Ymax, Zmin, Zmax. Depending on the *cord_choice*
value choice, we look for the cell of C which center coordinates Xc_i[cord_choice] is
the closest from (Xmin + x_perc*(Xmax-Xmin)).
This definition is based on an intelligent choice for the reference axis.
Example 2D si *cord_choice*=0 and x_perc=0.6, the curve is between the 2 o :
Ymax _________________________ __o
/ |
_______,---X~~~~¨ |
Ymin ___ o___/ | |
| | |
| | |
| | |
| | |
Xmin THE CELL Xmax
Regarding the calculation of the displacement :math:`\delta^*` and momentum :math:`\theta` thickness,
the compressible flow definition based on the mass flow rate is used:
.. math:: \delta^* = \int_{0}^{\infty } \\left(1 - \\frac{\\rho (y) u(y) }{\\rho_0 u_0 } \\right) \\mathrm{d}y
and
.. math:: \\theta = \int_{0}^{\infty } \\frac{\\rho (y) u(y) }{\\rho_0 u_0 } \\left(1 - \\frac{u(y) }{u_0 } \\right) \\mathrm{d}y
Where :math:`\\rho_0` and :math:`u_0` are the density and velocity in the '*free stream*' outside the boundary layer, and :math:`y` is the coordinate normal to the wall.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
This field data MUST fulfill 2 conditions:
- contain the field "U_AVG",
- contain the field "RHO_AVG",
- represent a 2D field data, as we want to extract a 1D velocity
profile from it.
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity, default value is the farthest point from the wall at x_perc.
Rhoinf : float
(optional) Free stream velocity, default value is the farthest point from the wall at x_perc.
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
delta : float
The boundary layer thickness.
deltaS : float
The compressible boundary layer displacement thickness.
theta : float
The compressible boundary layer momentum thickness.
"""
# function display
print '---- DAEPy::getDeltaAtPosition ----'
# test if the field U_AVG is present
if data_outVTK.GetPointData().HasArray('U_AVG')!=1:
raise ValueError("Error : field U_AVG not present")
# test if the field RHO_AVG is present
if data_outVTK.GetPointData().HasArray('RHO_AVG')!=1:
raise ValueError("Error : field RHO_AVG not present")
# stop execution if data not consistent with the method see VTK_file_format.pdf for a list of cell type
if (wall_outVTK.GetCellType(0) > 4):
raise ValueError("Error: cells in data from wall VTK output object are not 1D cells, be sure the data are 1D or sliced from a 2D data set.")
# TODO : Find a way to bound data1D (or output of getArrayFromPointData) to a certain length
# Could be usefull when post-processing data in very large domain (airfoil cases for example)
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, U, Rho] = getArrayFromPointData(data1D, ['U_AVG','RHO_AVG'])
Ut = np.sum(U*vec_tan, axis=1)
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
# sort cordinates along the line orthogonal to the wall
y_coo = y_coo[id_sort]
# sort the other quantities according to the coordinates y_coo. Velocity at the wall Ut[0] is
# set to 0 to respect no slip condition
Ut = Ut[id_sort]; Ut[0] = 0
Rho = Rho[id_sort]
# Automatic definition of the external (free stream) velocity based on the extracted velocity if Uinf = None
if Uinf == None:
Uinf = np.mean(Ut[-20:-1])
# Uinf = Ut[-1]
# Automatic definition of the external (free stream) density based on the extracted density if Rhoinf = None
if Rhoinf == None:
Rhoinf = np.mean(Rho[-20:-1])
# Rhoinf = Rho[-1]
# find the index of the 2 points around 99% of Uext
ordre = abs(Ut-0.99*Uinf).argsort()[0:2]
ordre = np.sort(ordre)
# compute the BL thickness using a simple linear model
xa = y_coo[ordre[0]]
ua = Ut[ordre[0]]
xb = y_coo[ordre[1]]
ub = Ut[ordre[1]]
tau = (ub-ua)/(xb-xa)
delta = xa + (Uinf*0.99-ua)/tau
# theta = np.trapz((Rho[0:ordre[1]]*Ut[0:ordre[1]])/(Rhoinf*Uinf)*(1-Ut[0:ordre[1]]/(Uinf)),y_coo[0:ordre[1]])
# deltaS = np.trapz((1-(Rho[0:ordre[1]]*Ut[0:ordre[1]])/(Rhoinf*Uinf)),y_coo[0:ordre[1]])
theta1 = np.trapz((Rho[0:ordre[0]+1]*Ut[0:ordre[0]+1])/(Rhoinf*Uinf)*(1-Ut[0:ordre[0]+1]/(Uinf)),y_coo[0:ordre[0]+1])
theta2 = np.trapz((Rho[0:ordre[1]+1]*Ut[0:ordre[1]+1])/(Rhoinf*Uinf)*(1-Ut[0:ordre[1]+1]/(Uinf)),y_coo[0:ordre[1]+1])
tau = (theta2-theta1)/(xb-xa)
theta = theta1 + (delta-xa)*tau
deltaS1 = np.trapz((1-(Rho[0:ordre[0]+1]*Ut[0:ordre[0]+1])/(Rhoinf*Uinf)),y_coo[0:ordre[0]+1])
deltaS2 = np.trapz((1-(Rho[0:ordre[1]+1]*Ut[0:ordre[1]+1])/(Rhoinf*Uinf)),y_coo[0:ordre[1]+1])
tau = (deltaS2-deltaS1)/(xb-xa)
deltaS = deltaS1 + (delta-xa)*tau
# theta = np.trapz((Rho*Ut)/(Rhoinf*Uinf)*(1-Ut/(Uinf)),y_coo)
# deltaS = np.trapz((1-(Rho*Ut)/(Rhoinf*Uinf)),y_coo)
# fig = plt.figure(figsize=(10, 6))
# ax = fig.add_subplot(111)
# ax.plot(Ut,y_coo,'b-')
# ax.plot(Ut[ordre[0]],y_coo[ordre[0]],'gs')
# ax.plot(Ut[ordre[1]],y_coo[ordre[1]],'ks')
# ax.plot(Uinf*0.99,delta,'rs')
# ax.set_title(r'$x = %1.5f \/-\/ \theta_{i} = %1.6f \/-\/ \delta^{*} = %1.6f$'%(ori[0],theta,deltaS),y=1.02)
# plt.show()
# function output
print ''
return [ori, delta, deltaS, theta]
def getReynoldsBetweenPosition(data_outVTK, wall_outVTK, cord_choice, x_p0, x_p1, Npts, Uinf=None, Rhoinf=None, Muinf=None):
"""
Compute the boundary layer thickness for *Npts* equally distributed between the 2 position
defined thanks to *x_p0*, *x_p1* and *cord_choice*. See the documentation of the function
getDeltaAtPosition() for more information.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
This field data MUST fulfill 2 conditions:
- contain the field "U_AVG",
- represent a 2D field data, as we want to extract a 1D velocity
profile from it.
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector()
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_p0, x_p1 : float between 0 and 1
gives the bound of the line where to compute the BL thickness.
Npts: integer
Number of points where to compute delta wanted.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Muinf : float
(optional) Free stream viscosity
Returns
-------
pos : vector of tuple(3)
the coordinates of the points where delta have been computed.
ReD : vector of floats
Reynolds number based on the BL thickness at the *Npts* different points.
ReDS : vector of floats
Reynolds number based on the compressible BL displacement thickness at the *Npts* different points.
ReO : vector of floats
Reynolds number based on the compressible BL momentum thickness at the *Npts* different points.
ReT : vector of floats
Reynolds number based on BL thickness and shear velocity at the *Npts* different points.
"""
# function display
print '---- DAEPy::getReynoldsBetweenPosition ----'
ReD = np.zeros(Npts)
ReO = np.zeros(Npts)
ReDS = np.zeros(Npts)
ReT = np.zeros(Npts)
pos = np.zeros((Npts, 3))
for i in range(Npts):
x_p_temp = x_p0 + (x_p1-x_p0)/(Npts-1)*i
[pos[i,:], ReD[i], ReDS[i], ReO[i], ReT[i]] = getReynoldsAtPosition(data_outVTK, wall_outVTK, cord_choice, x_p_temp, Uinf, Rhoinf, Muinf)
return [pos, ReD, ReDS, ReO, ReT]
def getSkinFrictionBetweenPosition(data_outVTK, wall_outVTK, cord_choice, x_p0, x_p1, Npts, Uinf=None, Rhoinf=None):
"""
Compute the boundary layer thickness for *Npts* equally distributed between the 2 position
defined thanks to *x_p0*, *x_p1* and *cord_choice*. See the documentation of the function
getDeltaAtPosition() for more information.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
This field data MUST fulfill 2 conditions:
- contain the field "U_AVG",
- represent a 2D field data, as we want to extract a 1D velocity
profile from it.
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector()
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_p0, x_p1 : float between 0 and 1
gives the bound of the line where to compute the BL thickness.
Npts: integer
Number of points where to compute delta wanted.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Returns
-------
pos : vector of tuple(3)
the coordinates of the points where delta have been computed.
Cf : vector of floats
Skin friction coefficient at the *Npts* different points.
Utau : vector of floats
Shear velocity at the *Npts* different points.
"""
# function display
print '---- DAEPy::getSkinFrictionBetweenPosition ----'
Cf = np.zeros(Npts)
Utau = np.zeros(Npts)
Yplus = np.zeros(Npts)
Tw = np.zeros(Npts)
pos = np.zeros((Npts, 3))
for i in range(Npts):
x_p_temp = x_p0 + (x_p1-x_p0)/(Npts-1)*i
[pos[i,:], Cf[i], Utau[i], Yplus[i], Tw[i]] = getSkinFrictionAtPosition(data_outVTK, wall_outVTK, cord_choice, x_p_temp, Uinf, Rhoinf)
return [pos, Cf, Utau, Yplus, Tw]
def getDeltaBetweenPosition(data_outVTK, wall_outVTK, cord_choice, x_p0, x_p1, Npts, Uinf=None, Rhoinf=None):
"""
Compute the boundary layer thickness for *Npts* equally distributed between the 2 position
defined thanks to *x_p0*, *x_p1* and *cord_choice*. See the documentation of the function
getDeltaAtPosition() for more information.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
This field data MUST fulfill 2 conditions:
- contain the field "U_AVG",
- represent a 2D field data, as we want to extract a 1D velocity
profile from it.
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector()
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_p0, x_p1 : float between 0 and 1
gives the bound of the line where to compute the BL thickness.
Npts: integer
Number of points where to compute delta wanted.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Returns
-------
pos : vector of tuple(3)
the coordinates of the points where delta have been computed.
delta : vector of floats
The BL thickness at the *Npts* different points.
deltaS : vector of floats
The compressible BL displacement thickness at the *Npts* different points.
theta : vector of floats
The compressible BL momentum thickness at the *Npts* different points.
"""
# function display
print '---- DAEPy::getDeltaBetweenPosition ----'
delta = np.zeros(Npts)
deltaS = np.zeros(Npts)
theta = np.zeros(Npts)
pos = np.zeros((Npts, 3))
for i in range(Npts):
x_p_temp = x_p0 + (x_p1-x_p0)/(Npts-1)*i
[pos[i,:], delta[i], deltaS[i], theta[i]] = getDeltaAtPosition(data_outVTK, wall_outVTK, cord_choice, x_p_temp, Uinf, Rhoinf)
return [pos, delta, deltaS, theta]
def getIncDeltaBetweenPosition(data_outVTK, wall_outVTK, cord_choice, x_p0, x_p1, Npts, Uinf=None, Rhoinf=None):
"""
Compute the boundary layer thickness for *Npts* equally distributed between the 2 position
defined thanks to *x_p0*, *x_p1* and *cord_choice*. See the documentation of the function
getDeltaAtPosition() for more information.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
This field data MUST fulfill 2 conditions:
- contain the field "U_AVG",
- represent a 2D field data, as we want to extract a 1D velocity
profile from it.
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector()
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_p0, x_p1 : float between 0 and 1
gives the bound of the line where to compute the BL thickness.
Npts: integer
Number of points where to compute delta wanted.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Returns
-------
pos : vector of tuple(3)
the coordinates of the points where delta have been computed.
delta : vector of floats
The BL thickness at the *Npts* different points.
deltaS : vector of floats
The compressible BL displacement thickness at the *Npts* different points.
theta : vector of floats
The compressible BL momentum thickness at the *Npts* different points.
"""
# function display
print '---- DAEPy::getDeltaBetweenPosition ----'
delta = np.zeros(Npts)
deltaS = np.zeros(Npts)
theta = np.zeros(Npts)
pos = np.zeros((Npts, 3))
for i in range(Npts):
x_p_temp = x_p0 + (x_p1-x_p0)/(Npts-1)*i
[pos[i,:], delta[i], deltaS[i], theta[i]] = getIncDeltaAtPosition(data_outVTK, wall_outVTK, cord_choice, x_p_temp, Uinf, Rhoinf)
return [pos, delta, deltaS, theta]
def getVelocityAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None):
"""
Parameters
----------
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
y_coo : vector of floats
wall normal coordinates at x_perc.
yp : vector of floats
dimensionless wall normal coordinates at x_perc.
Ut : vector of floats
tangential velocity along y_coo coordinates.
Up : vector of floats
dimensionless tangential velocity along y_coo coordinates.
"""
# function display
print '---- DAEPy::getVelocityAtPosition ----'
# test if the field RHO_AVG is present
if data_outVTK.GetPointData().HasArray('RHO_AVG')!=1:
raise ValueError("Error : field RHO_AVG not present")
# test if the field U_AVG is present
if data_outVTK.GetPointData().HasArray('U_AVG')!=1:
raise ValueError("Error : field U_AVG not present")
# test if the field MU_LAM_AVG is present
if data_outVTK.GetPointData().HasArray('MU_LAM_AVG')!=1:
raise ValueError("Error : field MU_LAM_AVG not present")
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, Rho, U, Mu] = getArrayFromPointData(data1D, ['RHO_AVG','U_AVG','MU_LAM_AVG'])
Ut = np.sum(U*vec_tan, axis=1)
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
# sort cordinates along the line orthogonal to the wall
y_coo = y_coo[id_sort]
# sort the other quantities according to the coordinates y_coo. Velocity at the wall Ut[0] is
# set to 0 to respect no slip condition
Mu = Mu[id_sort]
Rho = Rho[id_sort]
Ut = Ut[id_sort] ; Ut[0] = 0
[_, Cf, Utau, _, _] = getSkinFrictionAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf)
Up = Ut/Utau
yp = y_coo*Utau*Rho[0]/Mu[0]
# function output
print ''
return [ori, y_coo, yp, Ut, Up]
def getVanDriestIIAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None, Muinf=None, Tinf=None):
"""
Parameters
----------
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Muinf : float
(optional) Free stream viscosity
Tinf : float
(optional) Free stream temperature
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
Cfi : float
incompressible skin friction coefficient (using Van Driest II transformation) at position.
ReOi : float
incompressible Reynolds theta (using Van Driest II transformation) at position.
ReT : float
Reynolds tau based on shear stress velocity at position.
"""
# function display
print '---- DAEPy::getVanDriestIIAtPosition ----'
# test if the field T_AVG is present
if data_outVTK.GetPointData().HasArray('T_AVG')!=1:
raise ValueError("Error : field T_AVG not present")
# test if the field MU_LAM_AVG is present
if data_outVTK.GetPointData().HasArray('MU_LAM_AVG')!=1:
raise ValueError("Error : field MU_LAM_AVG not present")
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, T, Mu] = getArrayFromPointData(data1D, ['T_AVG','MU_LAM_AVG'])
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
# sort cordinates along the line orthogonal to the wall
y_coo = y_coo[id_sort]
# sort the other quantities according to the coordinates y_coo. Velocity at the wall Ut[0] is
# set to 0 to respect no slip condition
T = T[id_sort]
Mu = Mu[id_sort]
# Automatic definition of the external (free stream) viscosity based on the extracted viscosity if Uinf = None
if Muinf == None:
Muinf = np.mean(Mu[-10:-1])
# Muinf = Mu[-1]
# Automatic definition of the external (free stream) temperature based on the extracted temperature if Tinf = None
if Tinf == None:
Tinf = np.mean(T[-10:-1])
# Tinf = T[-1]
[ori, ReD, ReDS, ReO, ReT] = getReynoldsAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf, Muinf)
[_, Cf, Utau, _, _] = getSkinFrictionAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf)
# Compute the Van Driest II incompressible Reynolds theta
ReOi = ReO*(Muinf/Mu[0])
# Compute the Van Driest II incompressible skin friction parameters
alpha = (T[0]/Tinf - 1)/(np.sqrt(T[0]/Tinf*(T[0]/Tinf - 1)))
Fc = (T[0]/Tinf - 1)/(np.arcsin(alpha)**2)
# Compute the Van Driest II incompressible skin friction coefficient
Cfi = Fc*Cf
# function output
print ''
return [ori, Cfi, ReOi, ReT]
def getVanDriestIIBetweenPosition(data_outVTK, wall_outVTK, cord_choice, x_p0, x_p1, Npts, Uinf=None, Rhoinf=None, Muinf=None, Tinf=None):
"""
Compute the Van Driest II transformation of the Skin friction coefficient and Reynolds theta
for *Npts* equally distributed between the 2 position defined thanks to *x_p0*, *x_p1* and *cord_choice*.
See the documentation of the function getVanDriestIIAtPosition() for more information.
Parameters
----------
data_outVTK : VTK output object from a VTK reader
This field data MUST fulfill 2 conditions:
- contain the field "U_AVG",
- represent a 2D field data, as we want to extract a 1D velocity
profile from it.
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector()
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_p0, x_p1 : float between 0 and 1
gives the bound of the line where to compute the BL thickness.
Npts: integer
Number of points where to compute delta wanted.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Muinf : float
(optional) Free stream viscosity
Tinf : float
(optional) Free stream temperature
Returns
-------
pos : vector of tuple(3)
the coordinates of the points where delta have been computed.
Cfi : vector of floats
incompressible skin friction coefficient (using Van Driest II transformation) at the *Npts* different points.
ReOi : vector of floats
incompressible Reynolds theta (using Van Driest II transformation) at the *Npts* different points.
ReT : vector of floats
Reynolds tau based on shear stress velocity.
"""
# function display
print '---- DAEPy::getVanDriestIIBetweenPosition ----'
Cfi = np.zeros(Npts)
ReOi = np.zeros(Npts)
ReT = np.zeros(Npts)
pos = np.zeros((Npts, 3))
for i in range(Npts):
x_p_temp = x_p0 + (x_p1-x_p0)/(Npts-1)*i
[pos[i,:], Cfi[i], ReOi[i], ReT[i]] = getVanDriestIIAtPosition(data_outVTK, wall_outVTK, cord_choice, x_p_temp, Uinf, Rhoinf, Muinf, Tinf)
return [pos, Cfi, ReOi, ReT]
def getVanDriestVelocityAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None, Muinf=None, Tinf=None):
"""
Parameters
----------
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Muinf : float
(optional) Free stream viscosity
Tinf : float
(optional) Free stream temperature
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
yp : vector of floats
dimensionless wall normal coordinates at x_perc.
Uvd : vector of floats
dimensionless Van Driest velocity along yp coordinates.
"""
# function display
print '---- DAEPy::getVanDriestVelocityAtPosition ----'
# test if the field T_AVG is present
if data_outVTK.GetPointData().HasArray('T_AVG')!=1:
raise ValueError("Error : field T_AVG not present")
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, T] = getArrayFromPointData(data1D, ['T_AVG'])
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
# sort cordinates along the line orthogonal to the wall
y_coo = y_coo[id_sort]
# sort the other quantities according to the coordinates y_coo. Velocity at the wall Ut[0] is
# set to 0 to respect no slip condition
T = T[id_sort]
[ori, y_coo, yp, Ut, Up] = getVelocityAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf)
[_, Cf, Utau, _, _] = getSkinFrictionAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf)
# Van Driest I Transformation parameters
cp = 1005.25
Prt = 0.9
C1 = 1.0
Gamma = 1.4
# Adiabatic case H = 0
H = 0
# Compute Van Driest I coefficients
Mt = Utau/(np.sqrt((1.4-1.0)*cp*T[0]))
R = Mt*np.sqrt((Gamma-1.)*Prt/2)
D = np.sqrt(C1 + (R**2)*(H**2))
# Compute the Van Driest I velocity
Uvd = 1/R*(np.arcsin(R*(Up+H)/D)-np.arcsin(R*H/D))
# function output
print ''
return [ori, yp, Uvd]
def getRMSAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None):
"""
Parameters
----------
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
yp : vector of floats
dimensionless wall normal coordinates at x_perc.
Urms : vector of floats (3 components)
normalised (using Utau) Reynolds stress tensor components : Rxx, Ryy, Rzz
Urey : vector of floats (3 components)
normalised (using Utau) Reynolds stress tensor components : Ryz, Rzx, Rxy
scaling : vector of floats
Density correction factor sqrt(Rho/Rho[0])
"""
# function display
print '---- DAEPy::getRMSAtPosition ----'
# test if the field RHO_AVG is present
if data_outVTK.GetPointData().HasArray('RHO_AVG')!=1:
raise ValueError("Error : field RHO_AVG not present")
# test if the field MU_LAM_AVG is present
if data_outVTK.GetPointData().HasArray('MU_LAM_AVG')!=1:
raise ValueError("Error : field MU_LAM_AVG not present")
# test if the field U_RMS is present
if data_outVTK.GetPointData().HasArray('U_RMS')!=1:
raise ValueError("Error : field U_RMS not present")
# test if the field U_REY is present
if data_outVTK.GetPointData().HasArray('U_REY')!=1:
raise ValueError("Error : field U_REY not present")
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, Urms, Urey, Rho, Mu] = getArrayFromPointData(data1D, ['U_RMS','U_REY','RHO_AVG','MU_LAM_AVG'])
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
# sort cordinates along the line orthogonal to the wall
y_coo = y_coo[id_sort]
Rho = Rho[id_sort]
Mu = Mu[id_sort]
[_, Cf, Utau, _, _] = getSkinFrictionAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf)
# sort the RMS and REY quantities according to the coordinates y_coo. Normalisation using Utau is also performed
Urms = Urms[id_sort]**2/Utau**2
Urey = np.abs(Urey[id_sort])/Utau**2
yp = y_coo*Utau*Rho[0]/Mu[0]
# Compute scaling factor for comparison with incompressible data
scaling = np.sqrt(Rho/Rho[0])
# function output
print ''
return [ori, yp, Urms.T, Urey.T, scaling]
def getRMSBetweenPosition(data_outVTK, wall_outVTK, cord_choice, x_p0, x_p1, Npts, Uinf=None, Rhoinf=None, Muinf=None, Tinf=None):
"""
"""
# function display
print '---- DAEPy::getRMSBetweenPosition ----'
Cfi = np.zeros(Npts)
ReOi = np.zeros(Npts)
ReT = np.zeros(Npts)
pos = np.zeros((Npts, 3))
Urms = np.zeros((Npts, 3))
Urey = np.zeros((Npts, 3))
for i in range(Npts):
x_p_temp = x_p0 + (x_p1-x_p0)/(Npts-1)*i
[pos[i,:], Cfi[i], ReOi[i], ReT[i]] = getVanDriestIIAtPosition(data_outVTK, wall_outVTK, cord_choice, x_p_temp, Uinf, Rhoinf, Muinf, Tinf)
return [pos, Cfi, ReOi, ReT]
def getInnerScalingAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf=None, Rhoinf=None):
"""
Parameters
----------
wall_outVTK : VTK output object from a VTK reader
This field is supposed to describe a curve with 1D cell type, like in getLineTangentialVector().
cord_choice : integer, 0, 1 or 2
Gives the axis that is going to be used to define the point where the velocity
profile is extracted. Convention :
- 0 = x axis
- 1 = y axis
- 2 = z axis
x_perc : float between 0 and 1
Gives the percentage of the relative cord along the axis defined with cord_d.
Uinf : float
(optional) Free stream velocity
Rhoinf : float
(optional) Free stream density
Returns
-------
ori : tuple(3)
The point coordinates of the point at the wall where we extract the data.
yp : vector of floats
dimensionless wall normal coordinates at x_perc.
Urms : vector of floats (3 components)
normalised (using Utau) Reynolds stress tensor components : Rxx, Ryy, Rzz
Urey : vector of floats (3 components)
normalised (using Utau) Reynolds stress tensor components : Ryz, Rzx, Rxy
scaling : vector of floats
Density correction factor sqrt(Rho/Rho[0])
"""
# function display
print '---- DAEPy::getRMSAtPosition ----'
# test if the field RHO_AVG is present
if data_outVTK.GetPointData().HasArray('RHO_AVG')!=1:
raise ValueError("Error : field RHO_AVG not present")
# test if the field MU_LAM_AVG is present
if data_outVTK.GetPointData().HasArray('MU_LAM_AVG')!=1:
raise ValueError("Error : field MU_LAM_AVG not present")
# test if the field U_RMS is present
if data_outVTK.GetPointData().HasArray('U_RMS')!=1:
raise ValueError("Error : field U_RMS not present")
# test if the field U_REY is present
if data_outVTK.GetPointData().HasArray('U_REY')!=1:
raise ValueError("Error : field U_REY not present")
# get the vector used to slice the field data
[ori, vec_tan] = getLineTangentialVector(wall_outVTK, x_perc, cord_choice)
# slice the 2D field data using the tangential vector to the wall
data1D = getSlice(data_outVTK, ori, vec_tan)
# extract the tangential velocity
[Vcoords, Rho, Prms, Rhorms, Rhoavg, Tavg, Trms, T, Mu, U] = getArrayFromPointData(data1D, ['RHO','P_RMS','RHO_RMS','RHO_AVG','T_AVG','T_RMS','T','MU_LAM_AVG','U_AVG'])
Ut = np.sum(U*vec_tan, axis=1)
# define a new scalar coordinates along the line orthogonal to the wall
y_coo = np.array(getScalarCoord(Vcoords, 1))
id_sort = y_coo.argsort()
# sort cordinates along the line orthogonal to the wall
y_coo = y_coo[id_sort]
Rho = Rho[id_sort]
Rhorms = Rhorms[id_sort]
Rhoavg = Rhoavg[id_sort]
Prms = Prms[id_sort]
Tavg = Tavg[id_sort]
Trms = Trms[id_sort]
T = T[id_sort]
Mu = Mu[id_sort]
Ut = Ut[id_sort]
# Automatic definition of the external (free stream) velocity based on the extracted velocity if Uext = None
if Uinf == None:
# Uinf = Ut[-1]
Uinf = np.mean(Ut[-35:-1])
# Automatic definition of the external (free stream) density based on the extracted density if RhoExt = None
if Rhoinf == None:
Rhoinf = Rhoavg[-1]
# Rhoinf = np.mean(Rho[-35:-1])
[_, Cf, Utau, _, _] = getSkinFrictionAtPosition(data_outVTK, wall_outVTK, cord_choice, x_perc, Uinf, Rhoinf)
scaling = np.sqrt(Rhoavg/Rhoavg[0])
Tw = (Rho*T-Rhorms*Trms)/Rhoavg
Mtau = Utau/np.sqrt((1.4*287.2142857*Tw[0]))
prmsp = Prms/(Cf*(0.5*Rhoinf*Uinf**2))
rhormsp = Rhorms/(1.4*Rhoavg[0]*Mtau**2)
yp = y_coo*Utau*Rhoavg[0]/Mu[0]
# function output
print ''
return [ori, yp, Mtau, prmsp, rhormsp, scaling]
def fctTemp():
"""
Descritpion...
.. math:: X(e^{j\omega } ) = x(n)e^{ - j\omega n}
The value of :math:`\omega` and :math:`\\theta` is larger than 5.
.. math::
x(n) * y(n) \Leftrightarrow X(e^{j\omega } )Y(e^{j\omega } )\\
another equation here
Parameters
----------
Returns
-------
"""
# function display
print '---- DAEPy::fctTemp ----'
print '--> Some comments...'
# function output
print ''
return [] | 33.52035 | 173 | 0.639626 | 9,294 | 65,063 | 4.380461 | 0.062836 | 0.024317 | 0.018054 | 0.020338 | 0.818456 | 0.799101 | 0.788023 | 0.781023 | 0.767415 | 0.761962 | 0 | 0.017334 | 0.263176 | 65,063 | 1,941 | 174 | 33.52035 | 0.831831 | 0.149947 | 0 | 0.533191 | 0 | 0.012848 | 0.132354 | 0.02622 | 0 | 0 | 0 | 0.002061 | 0 | 0 | null | null | 0 | 0.012848 | null | null | 0.115632 | 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 |
5ea013ebe009a9502ce597f33fe69a1cf2c43a5d | 15,404 | py | Python | sdk/python/pulumi_alicloud/ram/login_profile.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/ram/login_profile.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/ram/login_profile.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # 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__ = ['LoginProfileArgs', 'LoginProfile']
@pulumi.input_type
class LoginProfileArgs:
def __init__(__self__, *,
password: pulumi.Input[str],
user_name: pulumi.Input[str],
mfa_bind_required: Optional[pulumi.Input[bool]] = None,
password_reset_required: Optional[pulumi.Input[bool]] = None):
"""
The set of arguments for constructing a LoginProfile resource.
:param pulumi.Input[str] password: Password of the RAM user.
:param pulumi.Input[str] user_name: Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
:param pulumi.Input[bool] mfa_bind_required: This parameter indicates whether the MFA needs to be bind when the user first logs in. Default value is `false`.
:param pulumi.Input[bool] password_reset_required: This parameter indicates whether the password needs to be reset when the user first logs in. Default value is `false`.
"""
pulumi.set(__self__, "password", password)
pulumi.set(__self__, "user_name", user_name)
if mfa_bind_required is not None:
pulumi.set(__self__, "mfa_bind_required", mfa_bind_required)
if password_reset_required is not None:
pulumi.set(__self__, "password_reset_required", password_reset_required)
@property
@pulumi.getter
def password(self) -> pulumi.Input[str]:
"""
Password of the RAM user.
"""
return pulumi.get(self, "password")
@password.setter
def password(self, value: pulumi.Input[str]):
pulumi.set(self, "password", value)
@property
@pulumi.getter(name="userName")
def user_name(self) -> pulumi.Input[str]:
"""
Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
"""
return pulumi.get(self, "user_name")
@user_name.setter
def user_name(self, value: pulumi.Input[str]):
pulumi.set(self, "user_name", value)
@property
@pulumi.getter(name="mfaBindRequired")
def mfa_bind_required(self) -> Optional[pulumi.Input[bool]]:
"""
This parameter indicates whether the MFA needs to be bind when the user first logs in. Default value is `false`.
"""
return pulumi.get(self, "mfa_bind_required")
@mfa_bind_required.setter
def mfa_bind_required(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "mfa_bind_required", value)
@property
@pulumi.getter(name="passwordResetRequired")
def password_reset_required(self) -> Optional[pulumi.Input[bool]]:
"""
This parameter indicates whether the password needs to be reset when the user first logs in. Default value is `false`.
"""
return pulumi.get(self, "password_reset_required")
@password_reset_required.setter
def password_reset_required(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "password_reset_required", value)
@pulumi.input_type
class _LoginProfileState:
def __init__(__self__, *,
mfa_bind_required: Optional[pulumi.Input[bool]] = None,
password: Optional[pulumi.Input[str]] = None,
password_reset_required: Optional[pulumi.Input[bool]] = None,
user_name: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering LoginProfile resources.
:param pulumi.Input[bool] mfa_bind_required: This parameter indicates whether the MFA needs to be bind when the user first logs in. Default value is `false`.
:param pulumi.Input[str] password: Password of the RAM user.
:param pulumi.Input[bool] password_reset_required: This parameter indicates whether the password needs to be reset when the user first logs in. Default value is `false`.
:param pulumi.Input[str] user_name: Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
"""
if mfa_bind_required is not None:
pulumi.set(__self__, "mfa_bind_required", mfa_bind_required)
if password is not None:
pulumi.set(__self__, "password", password)
if password_reset_required is not None:
pulumi.set(__self__, "password_reset_required", password_reset_required)
if user_name is not None:
pulumi.set(__self__, "user_name", user_name)
@property
@pulumi.getter(name="mfaBindRequired")
def mfa_bind_required(self) -> Optional[pulumi.Input[bool]]:
"""
This parameter indicates whether the MFA needs to be bind when the user first logs in. Default value is `false`.
"""
return pulumi.get(self, "mfa_bind_required")
@mfa_bind_required.setter
def mfa_bind_required(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "mfa_bind_required", value)
@property
@pulumi.getter
def password(self) -> Optional[pulumi.Input[str]]:
"""
Password of the RAM user.
"""
return pulumi.get(self, "password")
@password.setter
def password(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "password", value)
@property
@pulumi.getter(name="passwordResetRequired")
def password_reset_required(self) -> Optional[pulumi.Input[bool]]:
"""
This parameter indicates whether the password needs to be reset when the user first logs in. Default value is `false`.
"""
return pulumi.get(self, "password_reset_required")
@password_reset_required.setter
def password_reset_required(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "password_reset_required", value)
@property
@pulumi.getter(name="userName")
def user_name(self) -> Optional[pulumi.Input[str]]:
"""
Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
"""
return pulumi.get(self, "user_name")
@user_name.setter
def user_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "user_name", value)
class LoginProfile(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
mfa_bind_required: Optional[pulumi.Input[bool]] = None,
password: Optional[pulumi.Input[str]] = None,
password_reset_required: Optional[pulumi.Input[bool]] = None,
user_name: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
Provides a RAM User Login Profile resource.
## Example Usage
```python
import pulumi
import pulumi_alicloud as alicloud
# Create a RAM login profile.
user = alicloud.ram.User("user",
display_name="user_display_name",
mobile="86-18688888888",
email="hello.uuu@aaa.com",
comments="yoyoyo",
force=True)
profile = alicloud.ram.LoginProfile("profile",
user_name=user.name,
password="Yourpassword1234")
```
## Import
RAM login profile can be imported using the id or user name, e.g.
```sh
$ pulumi import alicloud:ram/loginProfile:LoginProfile example my-login
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] mfa_bind_required: This parameter indicates whether the MFA needs to be bind when the user first logs in. Default value is `false`.
:param pulumi.Input[str] password: Password of the RAM user.
:param pulumi.Input[bool] password_reset_required: This parameter indicates whether the password needs to be reset when the user first logs in. Default value is `false`.
:param pulumi.Input[str] user_name: Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: LoginProfileArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Provides a RAM User Login Profile resource.
## Example Usage
```python
import pulumi
import pulumi_alicloud as alicloud
# Create a RAM login profile.
user = alicloud.ram.User("user",
display_name="user_display_name",
mobile="86-18688888888",
email="hello.uuu@aaa.com",
comments="yoyoyo",
force=True)
profile = alicloud.ram.LoginProfile("profile",
user_name=user.name,
password="Yourpassword1234")
```
## Import
RAM login profile can be imported using the id or user name, e.g.
```sh
$ pulumi import alicloud:ram/loginProfile:LoginProfile example my-login
```
:param str resource_name: The name of the resource.
:param LoginProfileArgs 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(LoginProfileArgs, 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,
mfa_bind_required: Optional[pulumi.Input[bool]] = None,
password: Optional[pulumi.Input[str]] = None,
password_reset_required: Optional[pulumi.Input[bool]] = None,
user_name: 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__ = LoginProfileArgs.__new__(LoginProfileArgs)
__props__.__dict__["mfa_bind_required"] = mfa_bind_required
if password is None and not opts.urn:
raise TypeError("Missing required property 'password'")
__props__.__dict__["password"] = password
__props__.__dict__["password_reset_required"] = password_reset_required
if user_name is None and not opts.urn:
raise TypeError("Missing required property 'user_name'")
__props__.__dict__["user_name"] = user_name
super(LoginProfile, __self__).__init__(
'alicloud:ram/loginProfile:LoginProfile',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
mfa_bind_required: Optional[pulumi.Input[bool]] = None,
password: Optional[pulumi.Input[str]] = None,
password_reset_required: Optional[pulumi.Input[bool]] = None,
user_name: Optional[pulumi.Input[str]] = None) -> 'LoginProfile':
"""
Get an existing LoginProfile 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[bool] mfa_bind_required: This parameter indicates whether the MFA needs to be bind when the user first logs in. Default value is `false`.
:param pulumi.Input[str] password: Password of the RAM user.
:param pulumi.Input[bool] password_reset_required: This parameter indicates whether the password needs to be reset when the user first logs in. Default value is `false`.
:param pulumi.Input[str] user_name: Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _LoginProfileState.__new__(_LoginProfileState)
__props__.__dict__["mfa_bind_required"] = mfa_bind_required
__props__.__dict__["password"] = password
__props__.__dict__["password_reset_required"] = password_reset_required
__props__.__dict__["user_name"] = user_name
return LoginProfile(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="mfaBindRequired")
def mfa_bind_required(self) -> pulumi.Output[Optional[bool]]:
"""
This parameter indicates whether the MFA needs to be bind when the user first logs in. Default value is `false`.
"""
return pulumi.get(self, "mfa_bind_required")
@property
@pulumi.getter
def password(self) -> pulumi.Output[str]:
"""
Password of the RAM user.
"""
return pulumi.get(self, "password")
@property
@pulumi.getter(name="passwordResetRequired")
def password_reset_required(self) -> pulumi.Output[Optional[bool]]:
"""
This parameter indicates whether the password needs to be reset when the user first logs in. Default value is `false`.
"""
return pulumi.get(self, "password_reset_required")
@property
@pulumi.getter(name="userName")
def user_name(self) -> pulumi.Output[str]:
"""
Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
"""
return pulumi.get(self, "user_name")
| 44.909621 | 225 | 0.653467 | 1,887 | 15,404 | 5.114997 | 0.096979 | 0.063821 | 0.048177 | 0.042893 | 0.831019 | 0.808019 | 0.800559 | 0.783465 | 0.765334 | 0.741712 | 0 | 0.004862 | 0.252207 | 15,404 | 342 | 226 | 45.040936 | 0.833058 | 0.383861 | 0 | 0.645714 | 1 | 0 | 0.111124 | 0.035914 | 0 | 0 | 0 | 0 | 0 | 1 | 0.154286 | false | 0.291429 | 0.028571 | 0 | 0.274286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
5ebb0ccf19a63d504baa5a5725e580b196198107 | 217 | py | Python | networkx_mod/algorithms/operators/__init__.py | movingpictures83/MATria | d3dbd0d15e00dbc26db39ace0663868180fdc471 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | networkx_mod/algorithms/operators/__init__.py | movingpictures83/MATria | d3dbd0d15e00dbc26db39ace0663868180fdc471 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | networkx_mod/algorithms/operators/__init__.py | movingpictures83/MATria | d3dbd0d15e00dbc26db39ace0663868180fdc471 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | from networkx_mod.algorithms.operators.all import *
from networkx_mod.algorithms.operators.binary import *
from networkx_mod.algorithms.operators.product import *
from networkx_mod.algorithms.operators.unary import *
| 43.4 | 55 | 0.852535 | 28 | 217 | 6.464286 | 0.357143 | 0.265193 | 0.331492 | 0.552486 | 0.850829 | 0.662983 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073733 | 217 | 4 | 56 | 54.25 | 0.900498 | 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 | 1 | 1 | 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 | 0 | 0 | 0 | 8 |
5ecbff70419958bad01b9fb552cbbb512d9f75ae | 18,111 | py | Python | phr/ubigeo/api/views.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | phr/ubigeo/api/views.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | phr/ubigeo/api/views.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | # coding=utf-8
from rest_framework.generics import ListAPIView, get_object_or_404
from rest_framework.response import Response
from rest_framework.views import APIView
from phr.common.drf_custom import LargeResultsSetPagination
from phr.ubigeo.api.serializers import (
DetalleUbigeoContinenteSerializer, DetalleUbigeoDepartamentoSerializer, DetalleUbigeoDistritoSerializer,
DetalleUbigeoLocalidadSerializer, DetalleUbigeoPaisSerializer, DetalleUbigeoProvinciaSerializer,
ListaUbigeoContienteSerializer, ListaUbigeoDepartamentoSerializer, ListaUbigeoDistritoSerializer,
ListaUbigeoLocalidadSerializer, ListaUbigeoPaisSerializer, ListaUbigeoProvinciaSerializer,
)
from phr.ubigeo.models import (
UbigeoContinente, UbigeoDepartamento, UbigeoDistrito, UbigeoLocalidad, UbigeoPais, UbigeoProvincia,
)
class ListaUbigeoContinenteAPI(ListAPIView):
serializer_class = ListaUbigeoContienteSerializer
pagination_class = LargeResultsSetPagination
def get_queryset(self):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
return UbigeoContinente.objects.all()
def provider_reniec(self):
return UbigeoContinente.objects.all()
class ListaUbigeoPaisAPI(ListAPIView):
serializer_class = ListaUbigeoPaisSerializer
pagination_class = LargeResultsSetPagination
def get_queryset(self):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_inei_continente=self.kwargs.get('cod_continente', ''))
return UbigeoPais.objects.filter(continente=continente).order_by('ubigeo_pais')
def provider_reniec(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente', ''))
return UbigeoPais.objects.filter(continente=continente).order_by('ubigeo_pais')
class ListaUbigeoDepartamentoAPI(ListAPIView):
serializer_class = ListaUbigeoDepartamentoSerializer
pagination_class = LargeResultsSetPagination
def get_queryset(self):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_inei_continente=self.kwargs.get('cod_continente', ''))
pais = get_object_or_404(UbigeoPais, cod_ubigeo_inei_pais=self.kwargs.get('cod_pais', ''),
continente=continente)
return UbigeoDepartamento.objects.filter(continente=continente, pais=pais).order_by(
'cod_ubigeo_inei_departamento')
def provider_reniec(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente', ''))
pais = get_object_or_404(UbigeoPais, cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais', ''),
continente=continente)
return UbigeoDepartamento.objects.filter(continente=continente, pais=pais).order_by(
'cod_ubigeo_reniec_departamento')
class ListaUbigeoProvinciaAPI(ListAPIView):
serializer_class = ListaUbigeoProvinciaSerializer
pagination_class = LargeResultsSetPagination
def get_queryset(self):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_inei_continente=self.kwargs.get('cod_continente', ''))
pais = get_object_or_404(UbigeoPais, cod_ubigeo_inei_pais=self.kwargs.get('cod_pais', ''),
continente=continente)
departamento = get_object_or_404(UbigeoDepartamento,
cod_ubigeo_inei_departamento=self.kwargs.get('cod_departamento', ''),
continente=continente, pais=pais)
return UbigeoProvincia.objects.filter(continente=continente, pais=pais, departamento=departamento).order_by(
'cod_ubigeo_inei_provincia')
def provider_reniec(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente', ''))
pais = get_object_or_404(UbigeoPais, cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais', ''),
continente=continente)
departamento = get_object_or_404(UbigeoDepartamento,
cod_ubigeo_reniec_departamento=self.kwargs.get('cod_departamento', ''),
continente=continente, pais=pais)
return UbigeoProvincia.objects.filter(continente=continente, pais=pais, departamento=departamento).order_by(
'cod_ubigeo_reniec_provincia')
class ListaUbigeoDistritoAPI(ListAPIView):
serializer_class = ListaUbigeoDistritoSerializer
pagination_class = LargeResultsSetPagination
def get_queryset(self):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_inei_continente=self.kwargs.get('cod_continente', ''))
pais = get_object_or_404(UbigeoPais, cod_ubigeo_inei_pais=self.kwargs.get('cod_pais', ''),
continente=continente)
departamento = get_object_or_404(UbigeoDepartamento,
cod_ubigeo_inei_departamento=self.kwargs.get('cod_departamento', ''),
continente=continente, pais=pais)
provincia = get_object_or_404(UbigeoProvincia,
cod_ubigeo_inei_provincia=self.kwargs.get('cod_provincia', ''),
continente=continente, pais=pais, departamento=departamento)
return UbigeoDistrito.objects.filter(continente=continente, pais=pais, departamento=departamento,
provincia=provincia).order_by('cod_ubigeo_inei_distrito')
def provider_reniec(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente', ''))
pais = get_object_or_404(UbigeoPais, cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais', ''),
continente=continente)
departamento = get_object_or_404(UbigeoDepartamento,
cod_ubigeo_reniec_departamento=self.kwargs.get('cod_departamento', ''),
continente=continente, pais=pais)
provincia = get_object_or_404(UbigeoProvincia,
cod_ubigeo_reniec_provincia=self.kwargs.get('cod_provincia', ''),
continente=continente, pais=pais, departamento=departamento)
return UbigeoDistrito.objects.filter(continente=continente, pais=pais, departamento=departamento,
provincia=provincia).order_by('cod_ubigeo_reniec_distrito')
class ListaUbigeoLocalidadAPI(ListAPIView):
serializer_class = ListaUbigeoLocalidadSerializer
pagination_class = LargeResultsSetPagination
def get_queryset(self):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_inei_continente=self.kwargs.get('cod_continente', ''))
pais = get_object_or_404(UbigeoPais, cod_ubigeo_inei_pais=self.kwargs.get('cod_pais', ''),
continente=continente)
departamento = get_object_or_404(UbigeoDepartamento,
cod_ubigeo_inei_departamento=self.kwargs.get('cod_departamento', ''),
continente=continente, pais=pais)
provincia = get_object_or_404(UbigeoProvincia,
cod_ubigeo_inei_provincia=self.kwargs.get('cod_provincia', ''),
continente=continente, pais=pais, departamento=departamento)
distrito = get_object_or_404(UbigeoDistrito,
cod_ubigeo_inei_distrito=self.kwargs.get('cod_distrito', ''),
provincia=provincia, continente=continente, pais=pais, departamento=departamento)
return UbigeoLocalidad.objects.filter(
continente=continente, pais=pais, departamento=departamento, provincia=provincia,
distrito=distrito).order_by('cod_ubigeo_inei_localidad')
def provider_reniec(self):
continente = get_object_or_404(UbigeoContinente,
cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente', ''))
pais = get_object_or_404(UbigeoPais, cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais', ''),
continente=continente)
departamento = get_object_or_404(UbigeoDepartamento,
cod_ubigeo_reniec_departamento=self.kwargs.get('cod_departamento', ''),
continente=continente, pais=pais)
provincia = get_object_or_404(UbigeoProvincia,
cod_ubigeo_reniec_provincia=self.kwargs.get('cod_provincia', ''),
continente=continente, pais=pais, departamento=departamento)
distrito = get_object_or_404(UbigeoDistrito,
cod_ubigeo_reniec_distrito=self.kwargs.get('cod_distrito', ''),
provincia=provincia, continente=continente, pais=pais, departamento=departamento)
return UbigeoLocalidad.objects.filter(
continente=continente, pais=pais, departamento=departamento, provincia=provincia,
distrito=distrito).order_by('cod_ubigeo_reniec_localidad', 'cod_ubigeo_reniec_localidad')
# -- Detalles
class DetalleUbigeoContinenteAPI(APIView):
def get(self, request, format=None, **kwargs):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
obj = UbigeoContinente.objects.get(
cod_ubigeo_inei_continente=self.kwargs.get('cod_continente'))
serializer = DetalleUbigeoContinenteSerializer(obj, many=False)
return Response(serializer.data)
def provider_reniec(self):
obj = UbigeoContinente.objects.get(
cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente'))
serializer = DetalleUbigeoContinenteSerializer(obj, many=False)
return Response(serializer.data)
class DetalleUbigeoPaisAPI(APIView):
def get(self, request, format=None, **kwargs):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
obj = UbigeoPais.objects.get(
continente__cod_ubigeo_inei_continente=self.kwargs.get('cod_continente'),
cod_ubigeo_inei_pais=self.kwargs.get('cod_pais'))
serializer = DetalleUbigeoPaisSerializer(obj, many=False)
return Response(serializer.data)
def provider_reniec(self):
obj = UbigeoPais.objects.get(
continente__cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente'),
cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais'))
serializer = DetalleUbigeoPaisSerializer(obj, many=False)
return Response(serializer.data)
class DetalleUbigeoDepartamentoAPI(APIView):
def get(self, request, format=None, **kwargs):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
departamento = UbigeoDepartamento.objects.get(
continente__cod_ubigeo_inei_continente=self.kwargs.get('cod_continente'),
pais__cod_ubigeo_inei_pais=self.kwargs.get('cod_pais'),
cod_ubigeo_inei_departamento=self.kwargs.get('cod_departamento'))
serializer = DetalleUbigeoDepartamentoSerializer(departamento, many=False)
return Response(serializer.data)
def provider_reniec(self):
departamento = UbigeoDepartamento.objects.get(
continente__cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente'),
pais__cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais'),
cod_ubigeo_reniec_departamento=self.kwargs.get('cod_departamento'))
serializer = DetalleUbigeoDepartamentoSerializer(departamento, many=False)
return Response(serializer.data)
class DetalleUbigeoProvinciaAPI(APIView):
def get(self, request, format=None, **kwargs):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
obj = UbigeoProvincia.objects.get(
continente__cod_ubigeo_inei_continente=self.kwargs.get('cod_continente'),
pais__cod_ubigeo_inei_pais=self.kwargs.get('cod_pais'),
departamento__cod_ubigeo_inei_departamento=self.kwargs.get('cod_departamento'),
cod_ubigeo_inei_provincia=self.kwargs.get('cod_provincia'))
serializer = DetalleUbigeoProvinciaSerializer(obj, many=False)
return Response(serializer.data)
def provider_reniec(self):
obj = UbigeoProvincia.objects.get(
continente__cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente'),
pais__cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais'),
departamento__cod_ubigeo_reniec_departamento=self.kwargs.get('cod_departamento'),
cod_ubigeo_reniec_provincia=self.kwargs.get('cod_provincia'))
serializer = DetalleUbigeoProvinciaSerializer(obj, many=False)
return Response(serializer.data)
class DetalleUbigeoDistritoAPI(APIView):
def get(self, request, format=None, **kwargs):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
obj = UbigeoDistrito.objects.get(
continente__cod_ubigeo_inei_continente=self.kwargs.get('cod_continente'),
pais__cod_ubigeo_inei_pais=self.kwargs.get('cod_pais'),
departamento__cod_ubigeo_inei_departamento=self.kwargs.get('cod_departamento'),
provincia__cod_ubigeo_inei_provincia=self.kwargs.get('cod_provincia'),
cod_ubigeo_inei_distrito=self.kwargs.get('cod_distrito'))
serializer = DetalleUbigeoDistritoSerializer(obj, many=False)
return Response(serializer.data)
def provider_reniec(self):
obj = UbigeoDistrito.objects.get(
continente__cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente'),
pais__cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais'),
departamento__cod_ubigeo_reniec_departamento=self.kwargs.get('cod_departamento'),
provincia__cod_ubigeo_reniec_provincia=self.kwargs.get('cod_provincia'),
cod_ubigeo_reniec_distrito=self.kwargs.get('cod_distrito'))
serializer = DetalleUbigeoDistritoSerializer(obj, many=False)
return Response(serializer.data)
class DetalleUbigeoLocalidadAPI(APIView):
def get(self, request, format=None, **kwargs):
if self.request.GET.get('provider', 'inei').lower() == 'inei':
return self.provider_inei()
else:
return self.provider_reniec()
def provider_inei(self):
obj = UbigeoLocalidad.objects.get(
continente__cod_ubigeo_inei_continente=self.kwargs.get('cod_continente'),
pais__cod_ubigeo_inei_pais=self.kwargs.get('cod_pais'),
departamento__cod_ubigeo_inei_departamento=self.kwargs.get('cod_departamento'),
provincia__cod_ubigeo_inei_provincia=self.kwargs.get('cod_provincia'),
distrito__cod_ubigeo_inei_distrito=self.kwargs.get('cod_distrito'),
cod_ubigeo_inei_localidad=self.kwargs.get('cod_localidad'))
serializer = DetalleUbigeoLocalidadSerializer(obj, many=False)
return Response(serializer.data)
def provider_reniec(self):
obj = UbigeoLocalidad.objects.get(
continente__cod_ubigeo_reniec_continente=self.kwargs.get('cod_continente'),
pais__cod_ubigeo_reniec_pais=self.kwargs.get('cod_pais'),
departamento__cod_ubigeo_reniec_departamento=self.kwargs.get('cod_departamento'),
provincia__cod_ubigeo_reniec_provincia=self.kwargs.get('cod_provincia'),
cod_ubigeo_reniec_distrito=self.kwargs.get('cod_distrito'),
cod_ubigeo_reniec_localidad=self.kwargs.get('cod_localidad'))
serializer = DetalleUbigeoLocalidadSerializer(obj, many=False)
return Response(serializer.data)
| 51.016901 | 118 | 0.666722 | 1,773 | 18,111 | 6.50141 | 0.050197 | 0.063243 | 0.081201 | 0.099939 | 0.869784 | 0.860415 | 0.860415 | 0.85547 | 0.837599 | 0.821983 | 0 | 0.006843 | 0.241511 | 18,111 | 354 | 119 | 51.161017 | 0.832278 | 0.001325 | 0 | 0.812287 | 0 | 0 | 0.075039 | 0.013216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122867 | false | 0 | 0.020478 | 0.006826 | 0.389079 | 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 |
0d6f4cc654eaff409a5aa52b4236fe3959f746bd | 23,795 | py | Python | domains/directors_task/directors_task.py | guilhembn/Multi-Agent-HTN-Planning | 1ef0109f628b5de5540f7df18037226941eeaa7b | [
"Apache-2.0"
] | 1 | 2022-02-26T07:46:39.000Z | 2022-02-26T07:46:39.000Z | domains/directors_task/directors_task.py | guilhembn/HATPEHDA | 9c1bdb9142e08e4cd6a60f93aaf2ee5358d42aee | [
"Apache-2.0"
] | 1 | 2021-04-08T17:14:24.000Z | 2021-04-08T17:14:24.000Z | domains/directors_task/directors_task.py | guilhembn/HATPEHDA | 9c1bdb9142e08e4cd6a60f93aaf2ee5358d42aee | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import hatpehda
from hatpehda.standard_domains import generate_standard_domain
import rospy
from std_msgs.msg import String
from ontologenius import OntologiesManipulator, OntologyManipulator
from typing import Dict
from functools import partial, update_wrapper
from itertools import permutations
from copy import deepcopy
from hatpehda.reg import REGHandler
from hatpehda.ros import RosNode
import time
"""
This example depicts the simple director task.
Result:
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB')] with cost: 16.0
Plan : [('robot_tell_human_to_tidy', 'human', 'cube_BGTB'), ('human_pick_cube', 'cube_BGTB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGTB'), ('robot_tell_human_to_tidy', 'human', 'cube_GGCB'), ('human_pick_cube', 'cube_GGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_BGCB'), ('human_pick_cube', 'cube_BGCB'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_BGCB'), ('robot_tell_human_to_tidy', 'human', 'cube_GBTG'), ('human_pick_cube', 'cube_GBTG'), ('human_drop_cube',), ('robot_wait_for_human_to_tidy', 'human', 'cube_GBTG')] with cost: 16.0
"""
### Helpers
regHandler = None
def get_box_containing_cube(state, cube):
box = None
if cube in state.isIn and state.isIn[cube] != []:
for container in state.isIn[cube]:
if container in state.individuals["Box"]:
box = container
break
return box
def get_agent_role(state, name):
if name in state.individuals["DtDirector"]:
return "DtDirector"
elif name in state.individuals["DtReceiver"]:
return "DtReceiver"
return None
def is_cube_pickable_by(state, name, cube):
box = get_box_containing_cube(state, cube)
if box is None:
# The cube is not in a box, so let's say it is not reachable
return False
role = get_agent_role(state, name)
if role is None:
# The agent is not part of the DT, they cannot pick a cube
return False
if role == "DtDirector":
return box in state.individuals["DirectorReachableDtBox"]
if role == "DtReceiver":
return box in state.individuals["ReceiverReachableDtBox"]
return False
### Core
def retrieve_state_from_ontology(agent_name, state):
ontos = OntologiesManipulator()
ontos.waitInit()
ontos.add(agent_name)
onto = ontos.get(agent_name)
#onto = OntologyManipulator()
onto.close()
for t, rels in state.types.items():
indivs = onto.individuals.getType(t)
if not hasattr(state, "individuals"):
state.individuals = {}
state.individuals[t] = indivs
for rel in rels:
if not hasattr(state, rel):
setattr(state, rel, {})
for indiv in indivs:
related = onto.individuals.getOn(indiv, rel)
getattr(state, rel)[indiv] = related
hatpehda.print_state(state)
return state
### Actions
def robot_tell_human_to_tidy(agents, self_state, self_name, human, cube):
"""
@param agents:
@param self_state:
@param self_name:
@param human:
@param cube:
@return:
@ontology_type human: Human
@ontology_type cube: Cube
"""
if is_cube_pickable_by(self_state, human, cube):
ctx = [("?0", "isOnTopOf", "table_1")]
symbols = {"?0": cube}
reg = regHandler.get_re(self_name, self_state, ctx, symbols, cube)
if not reg.success:
return False
cost = len(reg.sparqlResult)
agents[human].tasks.insert(0, ("tidy", cube))
return agents, cost
return False
def robot_wait_for_human_to_tidy(agents, self_state, self_name, human, cube):
"""
@param agents:
@param self_state:
@param self_name:
@param human:
@param cube:
@return:
@ontology_type human: Human
@ontology_type cube: Cube
"""
# Todo: Check if in goal box
if self_state.isIn[cube] == [] and self_state.isHolding[human] == [] and self_state.isHeldBy[cube] == []:
return agents, 0.
return False
def human_pick_cube(agents, self_state, self_name, cube):
"""
@param agents:
@param self_state:
@param self_name:
@param cube:
@return:
@ontology_type cube: Cube
"""
if is_cube_pickable_by(self_state, self_name, cube) and self_state.isHolding[self_name] == []:
for a in agents.values():
a.state.isIn[cube] = []
a.state.isHolding[self_name] = [cube]
a.state.isHeldBy[cube] = [self_name]
return agents, 1.
return False
def human_drop_cube(agents, self_state, self_name):
if len(self_state.isHolding[self_name]) == 1:
for a in agents.values():
cube = a.state.isHolding[self_name][0]
a.state.isIn[cube] = [] # TODO: Add the goal box
a.state.isHolding[self_name] = []
a.state.isHeldBy[cube] = []
return agents, 1.
return False
hatpehda.declare_operators("robot", robot_tell_human_to_tidy, robot_wait_for_human_to_tidy)
hatpehda.declare_operators("human", human_pick_cube, human_drop_cube)
def robot_tidy_one(angents, self_state, self_name, cube):
"""
@param angents:
@param self_state:
@param self_name:
@param cube:
@return:
@ontology_type cube: Cube
"""
return [("robot_tell_human_to_tidy", "human", cube), ("robot_wait_for_human_to_tidy", "human", cube)]
def robot_tidy(agents, self_state, self_name, order):
"""
@param agents:
@param self_state:
@param self_name:
@param order:
@return:
"""
actions = [("tidy_one", c) for c in order]
return actions
def human_tidy(agents, self_state, self_name, cube):
"""
@param agents:
@param self_state:
@param self_name:
@param cube:
@return:
@ontology_type cube: Cube
"""
return [("human_pick_cube", cube), ("human_drop_cube",)]
def generate_tidy_all_orders(cubes_to_tidy):
fns = []
for order in permutations(cubes_to_tidy):
fn = partial(robot_tidy, order=order)
update_wrapper(fn, robot_tidy)
fns.append(fn)
hatpehda.declare_methods("robot", "tidy", *fns)
hatpehda.declare_methods("robot", "tidy_one", robot_tidy_one)
hatpehda.declare_methods("human", "tidy", human_tidy)
def on_new_plan_req(agents):
for ag, tasks in agents.items():
state = hatpehda.State(ag + "_init")
state.types = {"Agent": ["isHolding"], "Cube": ["isIn", "isHeldBy"], "Box": [], "ReachableDtBox": [],
"ReceiverReachableDtBox": [],
"VisibleDtBox": [], "ReceiverVisibleDtBox": [], "DirectorVisibleDtBox": [],
"DirectorReachableDtBox": [], "DtDirector": [], "DtReceiver": []}
# state_r = retrieve_state_from_ontology("robot", state_r)
state.individuals = {}
state.isHolding = {}
state.individuals["DtReceiver"] = ["human"]
state.isHolding["human"] = []
state_h = deepcopy(state) # TODO: Retrieve it from the ontology
generate_tidy_all_orders(["cube_GBTG", "cube_BBTG", "cube_GBCG", "cube_GBTB"])
hatpehda.set_state(ag, state)
hatpehda.add_tasks(ag, [(t[0], *t[1]) for t in tasks])
hatpehda.print_state(hatpehda.agents["robot"].state)
print(hatpehda.agents["robot"].tasks)
hatpehda.print_methods("robot")
hatpehda.print_methods("human")
sol = []
plans = hatpehda.seek_plan_robot(hatpehda.agents, "robot", sol)
print(len(hatpehda.ma_solutions))
if __name__ == "__main__":
#regHandler = REGHandler()
rosnode = RosNode.start_ros_node("planner", on_new_plan_req)
rosnode.wait_for_request()
start = time.time()
#plans = hatpehda.multi_agent_planning(verbose=0)
end = time.time()
#print(len(hatpehda.ma_solutions))
#for ags in hatpehda.ma_solutions:
# print("Plan :", ags["robot"].global_plan, "with cost:", ags["robot"].global_plan_cost)
#print("Took", end - start, "seconds")
#regHandler.export_log("robot_planning")
#regHandler.cleanup()
| 80.661017 | 679 | 0.696617 | 3,450 | 23,795 | 4.303188 | 0.056232 | 0.08083 | 0.146706 | 0.20908 | 0.790853 | 0.758251 | 0.739324 | 0.73764 | 0.73764 | 0.732318 | 0 | 0.003994 | 0.116243 | 23,795 | 294 | 680 | 80.935374 | 0.701983 | 0.05518 | 0 | 0.118519 | 1 | 0 | 0.093568 | 0.023948 | 0 | 0 | 0 | 0.010204 | 0 | 1 | 0.096296 | false | 0 | 0.088889 | 0 | 0.348148 | 0.044444 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d7de9e2942d0c3b933734696b04382c6ff9c26f | 116 | py | Python | logparser/LogMine/__init__.py | f1amingo/logparser | 65f077a78a974a50e0fff792257fb6fea0a86821 | [
"MIT"
] | null | null | null | logparser/LogMine/__init__.py | f1amingo/logparser | 65f077a78a974a50e0fff792257fb6fea0a86821 | [
"MIT"
] | null | null | null | logparser/LogMine/__init__.py | f1amingo/logparser | 65f077a78a974a50e0fff792257fb6fea0a86821 | [
"MIT"
] | null | null | null | <<<<<<< HEAD
from .LogMine import *
=======
from .LogMine import *
>>>>>>> ef98b6dc1ee508ff3a82c9b14e7856626069661c
| 19.333333 | 48 | 0.672414 | 8 | 116 | 9.75 | 0.625 | 0.282051 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252427 | 0.112069 | 116 | 5 | 49 | 23.2 | 0.504854 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
0d854c6e661d9fb0e0d76e7f13a831f37dd8f35e | 288 | py | Python | pyclesperanto_prototype/_tier5/__init__.py | DrLachie/pyclesperanto_prototype | 56843fac2543265c40f108fd40eac3ecf85c8458 | [
"BSD-3-Clause"
] | null | null | null | pyclesperanto_prototype/_tier5/__init__.py | DrLachie/pyclesperanto_prototype | 56843fac2543265c40f108fd40eac3ecf85c8458 | [
"BSD-3-Clause"
] | null | null | null | pyclesperanto_prototype/_tier5/__init__.py | DrLachie/pyclesperanto_prototype | 56843fac2543265c40f108fd40eac3ecf85c8458 | [
"BSD-3-Clause"
] | null | null | null | from ._closing_labels import closing_labels
from ._connected_components_labeling_diamond import connected_components_labeling_diamond
from ._masked_voronoi_labeling import masked_voronoi_labeling
from ._opening_labels import opening_labels
from ._voronoi_labeling import voronoi_labeling
| 48 | 89 | 0.913194 | 36 | 288 | 6.722222 | 0.305556 | 0.247934 | 0.223141 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 288 | 5 | 90 | 57.6 | 0.902985 | 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 |
0d9e3efdc0ae042ac0b1dc838ec36badf15078d7 | 4,783 | py | Python | src/tt_calendar/tt_calendar/tests/test_logic.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/tt_calendar/tt_calendar/tests/test_logic.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/tt_calendar/tt_calendar/tests/test_logic.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import random
import unittest
import datetime
from .. import date
from .. import time
from .. import logic
from .. import relations
class ActualRealFeastsTests(unittest.TestCase):
def test_no_feasts(self):
now = datetime.datetime(year=34, month=2, day=28, hour=0, minute=0, second=0)
self.assertEqual(list(logic.actual_real_feasts(now)), [])
def test_has_feast(self):
for feast in relations.REAL_FEAST.records:
for interval in feast.intervals:
self.assertEqual(list(logic.actual_real_feasts(interval[0] + (interval[1]-interval[0])/2)), [feast])
class ActualDatesTests(unittest.TestCase):
def test_no_dates(self):
now = date.Date(month=0, day=5)
self.assertEqual(list(logic.actual_dates(now, relations.DATE)), [])
def test_has_dates(self):
for check_date in relations.DATE.records:
for interval in check_date.intervals:
now = date.Date(month=int(interval[0][0] + (interval[1][0]-interval[0][0])/2),
day=int(interval[0][1] + (interval[1][1]-interval[0][1])/2))
self.assertEqual(list(logic.actual_dates(now, relations.DATE)), [check_date])
class IsDayOfTests(unittest.TestCase):
def test_day_off(self):
self.assertTrue(logic.is_day_off(date.Date(day=random.choice((14, 29, 44, 59, 74, 89)))))
def test_new_year(self):
self.assertTrue(logic.is_day_off(date.Date(day=1)))
def test_weekday(self):
self.assertFalse(logic.is_day_off(date.Date(day=2)))
self.assertFalse(logic.is_day_off(date.Date(month=3, day=2)))
class DayTmesTests(unittest.TestCase):
def test_day_times(self):
self.assertEqual(list(logic.day_times(time.Time(hour=0))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=1))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=2))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=3))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=4))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=5))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=6))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=7))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.MORNING, relations.DAY_TIME.DAWN])
self.assertEqual(list(logic.day_times(time.Time(hour=8))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.MORNING])
self.assertEqual(list(logic.day_times(time.Time(hour=9))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.MORNING])
self.assertEqual(list(logic.day_times(time.Time(hour=10))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.DAY])
self.assertEqual(list(logic.day_times(time.Time(hour=11))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.DAY])
self.assertEqual(list(logic.day_times(time.Time(hour=12))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.DAY])
self.assertEqual(list(logic.day_times(time.Time(hour=13))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.DAY])
self.assertEqual(list(logic.day_times(time.Time(hour=14))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.DAY])
self.assertEqual(list(logic.day_times(time.Time(hour=15))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.DAY])
self.assertEqual(list(logic.day_times(time.Time(hour=16))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.EVENING])
self.assertEqual(list(logic.day_times(time.Time(hour=17))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.EVENING])
self.assertEqual(list(logic.day_times(time.Time(hour=18))), [relations.DAY_TIME.LIGHT_TIME, relations.DAY_TIME.EVENING])
self.assertEqual(list(logic.day_times(time.Time(hour=19))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT, relations.DAY_TIME.SUNSET])
self.assertEqual(list(logic.day_times(time.Time(hour=20))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=21))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=22))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
self.assertEqual(list(logic.day_times(time.Time(hour=23))), [relations.DAY_TIME.DARK_TIME, relations.DAY_TIME.NIGHT])
| 61.320513 | 152 | 0.722768 | 703 | 4,783 | 4.731152 | 0.123755 | 0.180397 | 0.240529 | 0.202045 | 0.779014 | 0.748346 | 0.748346 | 0.723391 | 0.701744 | 0.589898 | 0 | 0.019622 | 0.126281 | 4,783 | 77 | 153 | 62.116883 | 0.776262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.542373 | 1 | 0.135593 | false | 0 | 0.118644 | 0 | 0.322034 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
0dc14b0948f6e24db5ce9fd00589ed638060bcd0 | 4,776 | py | Python | eis/test_circuit_fitting.py | simontoyabe2/EIS_newVersion | fb9cff37bef0efca77b1a20cb08c252fb0ebb162 | [
"MIT"
] | 1 | 2022-03-19T18:38:05.000Z | 2022-03-19T18:38:05.000Z | eis/test_circuit_fitting.py | simontoyabe2/EIS_newVersion | fb9cff37bef0efca77b1a20cb08c252fb0ebb162 | [
"MIT"
] | null | null | null | eis/test_circuit_fitting.py | simontoyabe2/EIS_newVersion | fb9cff37bef0efca77b1a20cb08c252fb0ebb162 | [
"MIT"
] | 1 | 2022-03-21T02:28:43.000Z | 2022-03-21T02:28:43.000Z | from .EISDataIO import eis_dataframe_from_csv, ECM_from_raw_strings
class TestCircuitFitting:
eis_data = eis_dataframe_from_csv("train_data.csv")
def test_l_r_rcpe_rcpe_rcpe(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "L-R-RCPE-RCPE-RCPE"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
def test_l_r_rcpe_rcpe(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "L-R-RCPE-RCPE"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
def test_l_r_rcpe(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "L-R-RCPE"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
def test_rc_g_g(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "RC-G-G"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
def test_rc_rc_rcpe_rcpe(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "RC-RC-RCPE-RCPE"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
def test_rcpe_rcpe_rcpe_rcpe(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "RCPE-RCPE-RCPE-RCPE"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
def test_rcpe_rcpe_rcpe(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "RCPE-RCPE-RCPE"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
def test_rcpe_rcpe(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "RCPE-RCPE"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
def test_rs_ws(self):
sample = self.eis_data.loc[self.eis_data.Circuit == "Rs_Ws"].iloc[0]
frequencies = sample.freq
impedances = sample.Z
circuit = ECM_from_raw_strings(sample.Circuit, sample.Parameters)
params_before_fit = circuit.param_values
circuit.fit(frequencies, impedances)
params_after_fit = circuit.param_values
assert params_after_fit != params_before_fit
assert len(params_after_fit) == len(params_before_fit)
| 45.485714 | 90 | 0.702261 | 631 | 4,776 | 4.977813 | 0.064976 | 0.103152 | 0.12894 | 0.120344 | 0.957975 | 0.957975 | 0.95511 | 0.95511 | 0.95511 | 0.95511 | 0 | 0.002387 | 0.210637 | 4,776 | 104 | 91 | 45.923077 | 0.830769 | 0 | 0 | 0.774194 | 0 | 0 | 0.025335 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 1 | 0.096774 | false | 0 | 0.010753 | 0 | 0.129032 | 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 |
0dc2024a48d21b5fd04e7dfe5104b0d0908d7c59 | 29,515 | py | Python | test/nodes/validation_test.py | kenrp8/cacahuate | 58998bf1323a689e28c5eec66b8d94b4a5b5b592 | [
"MIT"
] | null | null | null | test/nodes/validation_test.py | kenrp8/cacahuate | 58998bf1323a689e28c5eec66b8d94b4a5b5b592 | [
"MIT"
] | null | null | null | test/nodes/validation_test.py | kenrp8/cacahuate | 58998bf1323a689e28c5eec66b8d94b4a5b5b592 | [
"MIT"
] | null | null | null | from datetime import datetime
from unittest.mock import MagicMock
import simplejson as json
from cacahuate.handler import Handler
from cacahuate.models import Pointer
from cacahuate.node import Form
from cacahuate.xml import Xml
from ..utils import make_pointer, make_user, assert_near_date
def test_approve(config, mongo):
''' tests that a validation node can go forward on approval '''
# test setup
handler = Handler(config)
user = make_user('juan', 'Juan')
ptr = make_pointer('validation.2018-05-09.xml', 'approval_node')
channel = MagicMock()
mongo[config["POINTER_COLLECTION"]].insert_one({
'id': ptr.id,
'started_at': datetime(2018, 4, 1, 21, 45),
'finished_at': None,
'execution': {
'id': ptr.proxy.execution.get().id,
},
'node': {
'id': 'approval_node',
},
'actors': {
'_type': ':map',
'items': {},
},
'actor_list': [],
})
mongo[config["EXECUTION_COLLECTION"]].insert_one({
'_type': 'execution',
'id': ptr.proxy.execution.get().id,
'state': Xml.load(config, 'validation.2018-05-09').get_state(),
'actors': {
'start_node': 'juan',
},
'values': {
'_execution': [{
'name': '',
'description': '',
}],
},
})
# thing to test
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('approval_node', [
{
'name': 'response',
'value': 'accept',
'value_caption': 'accept',
},
{
'name': 'comment',
'value': 'I like it',
'value_caption': 'I like it',
},
{
'name': 'inputs',
'value': [{
'ref': 'start_node.juan.0.task',
}],
'value_caption': '',
},
])],
}, channel)
# assertions
assert Pointer.get(ptr.id) is None
new_ptr = Pointer.get_all()[0]
assert new_ptr.node_id == 'final_node'
reg = next(mongo[config["POINTER_COLLECTION"]].find())
assert reg['started_at'] == datetime(2018, 4, 1, 21, 45)
assert_near_date(reg['finished_at'])
assert reg['execution']['id'] == ptr.execution
assert reg['node']['id'] == 'approval_node'
assert reg['actor_list'] == [
{
'form': 'approval_node',
'actor': {
'_type': 'user',
'fullname': 'Juan',
'identifier': 'juan',
},
},
]
assert reg['actors'] == {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'state': 'valid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
'forms': [Form.state_json('approval_node', [
{
'name': 'response',
'name': 'response',
'value': 'accept',
'value_caption': 'accept',
},
{
'name': 'comment',
'name': 'comment',
'value': 'I like it',
'value_caption': 'I like it',
},
{
'name': 'inputs',
'name': 'inputs',
'value': [{
'ref': 'start_node.juan.0.task',
}],
'value_caption': '',
},
])],
},
},
}
def test_reject(config, mongo):
''' tests that a rejection moves the pointer to a backward position '''
# test setup
handler = Handler(config)
user = make_user('juan', 'Juan')
ptr = make_pointer('validation.2018-05-09.xml', 'approval_node')
channel = MagicMock()
execution = ptr.proxy.execution.get()
mongo[config["POINTER_COLLECTION"]].insert_one({
'id': ptr.id,
'started_at': datetime(2018, 4, 1, 21, 45),
'finished_at': None,
'execution': {
'id': execution.id,
},
'node': {
'id': 'approval_node',
},
'actors': {
'_type': ':map',
'items': {},
},
'actor_list': [],
})
state = Xml.load(config, 'validation.2018-05-09').get_state()
state['items']['start_node']['state'] = 'valid'
state['items']['start_node']['actors']['items']['juan'] = {
'_type': 'actor',
'state': 'valid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
'forms': [Form.state_json('work', [
{
'name': 'task',
'_type': 'field',
'state': 'valid',
'value': '2',
},
])],
}
mongo[config["EXECUTION_COLLECTION"]].insert_one({
'_type': 'execution',
'id': execution.id,
'state': state,
'values': {
'_execution': [{
'name': '',
'description': '',
}],
},
})
# will teardown the approval node
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('approval_node', [
{
'name': 'response',
'value': 'reject',
'value_caption': 'reject',
},
{
'name': 'comment',
'value': 'I do not like it',
'value_caption': 'I do not like it',
},
{
'name': 'inputs',
'value': [{
'ref': 'start_node.juan.0:work.task',
}],
'value_caption': '',
},
])],
}, channel)
# assertions
assert Pointer.get(ptr.id) is None
new_ptr = Pointer.get_all()[0]
assert new_ptr.node_id == 'start_node'
assert new_ptr in user.proxy.tasks
# data is invalidated
state = next(mongo[config["EXECUTION_COLLECTION"]].find({
'id': execution.id,
}))
del state['_id']
assert state == {
'_type': 'execution',
'id': execution.id,
'name': '',
'description': '',
'state': {
'_type': ':sorted_map',
'items': {
'start_node': {
'_type': 'node',
'type': 'action',
'id': 'start_node',
'state': 'ongoing',
'comment': 'I do not like it',
'actors': {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'forms': [Form.state_json('work', [
{
'name': 'task',
'_type': 'field',
'state': 'invalid',
'value': '2',
},
], state='invalid')],
'state': 'invalid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
},
},
},
'milestone': False,
'name': 'Primer paso',
'description': 'Resolver una tarea',
},
'approval_node': {
'_type': 'node',
'type': 'validation',
'id': 'approval_node',
'state': 'invalid',
'comment': 'I do not like it',
'actors': {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'forms': [Form.state_json('approval_node', [
{
'name': 'response',
'state': 'invalid',
'value': 'reject',
'value_caption': 'reject',
},
{
'name': 'comment',
'value': 'I do not like it',
'value_caption': 'I do not like it',
},
{
'name': 'inputs',
'value': [{
'ref': 'start_node.'
'juan.0:work.task',
}],
'value_caption': '',
},
], state='invalid')],
'state': 'invalid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
},
},
},
'milestone': False,
'name': 'Aprobación gerente reserva',
'description': 'aprobar reserva',
},
'final_node': {
'_type': 'node',
'type': 'action',
'id': 'final_node',
'state': 'unfilled',
'comment': '',
'actors': {
'_type': ':map',
'items': {},
},
'milestone': False,
'name': '',
'description': '',
},
},
'item_order': ['start_node', 'approval_node', 'final_node'],
},
'values': {
'_execution': [{
'name': '',
'description': '',
}],
'approval_node': [{
'comment': 'I do not like it',
'response': 'reject',
'inputs': [{'ref': 'start_node.juan.0:work.task'}],
}],
},
'actors': {
'approval_node': 'juan',
},
'actor_list': [{
'node': 'approval_node',
'actor': {
'_type': 'user',
'fullname': 'Juan',
'identifier': 'juan',
},
}],
}
# mongo has the data
reg = next(mongo[config["POINTER_COLLECTION"]].find())
assert reg['started_at'] == datetime(2018, 4, 1, 21, 45)
assert (reg['finished_at'] - datetime.now()).total_seconds() < 2
assert reg['execution']['id'] == ptr.execution
assert reg['node']['id'] == 'approval_node'
assert reg['actor_list'] == [
{
'form': 'approval_node',
'actor': {
'_type': 'user',
'fullname': 'Juan',
'identifier': 'juan',
},
},
]
assert reg['actors'] == {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'forms': [Form.state_json('approval_node', [
{
'name': 'response',
'value': 'reject',
'value_caption': 'reject',
},
{
'name': 'comment',
'value': 'I do not like it',
'value_caption': 'I do not like it',
},
{
'name': 'inputs',
'value': [{
'ref': 'start_node.juan.0:work.task',
}],
'value_caption': '',
},
])],
'state': 'valid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
},
},
}
def test_reject_with_dependencies(config, mongo):
handler = Handler(config)
user = make_user('juan', 'Juan')
ptr = make_pointer('validation-reloaded.2018-05-17.xml', 'node1')
channel = MagicMock()
execution = ptr.proxy.execution.get()
mongo[config["EXECUTION_COLLECTION"]].insert_one({
'_type': 'execution',
'id': execution.id,
'state': Xml.load(config, 'validation-reloaded').get_state(),
'values': {
'_execution': [{
'name': '',
'description': '',
}],
},
})
# first call to node1
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('form1', [
{
'name': 'task',
'value': '1',
'value_caption': '1',
},
])],
}, channel)
ptr = Pointer.get_all()[0]
assert ptr.node_id == 'node2'
# first call to node2
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('form2', [
{
'name': 'task',
'value': '1',
'value_caption': '1',
},
])],
}, channel)
ptr = Pointer.get_all()[0]
assert ptr.node_id == 'node3'
# first call to node3
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('form3', [
{
'name': 'task',
'value': '1',
'value_caption': '1',
},
])],
}, channel)
ptr = Pointer.get_all()[0]
assert ptr.node_id == 'node4'
# first call to validation
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('node4', [
{
'name': 'response',
'value': 'reject',
'value_caption': 'reject',
},
{
'name': 'comment',
'value': 'I do not like it',
'value_caption': 'I do not like it',
},
{
'name': 'inputs',
'value': [{
'ref': 'node1.juan.0:form1.task',
}],
'value_caption': '',
},
])],
}, channel)
ptr = Pointer.get_all()[0]
assert ptr.node_id == 'node1'
# second call to node1
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('form1', [
{
'name': 'task',
'value': '2',
'value_caption': '2',
},
])],
}, channel)
ptr = Pointer.get_all()[0]
assert ptr.node_id == 'node2'
# second call to node2
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('form2', [
{
'name': 'task',
'value': '2',
'value_caption': '2',
},
])],
}, channel)
ptr = Pointer.get_all()[0]
assert ptr.node_id == 'node4'
# second call to validation
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('node4', [
{
'name': 'response',
'value': 'accept',
'value_caption': 'accept',
},
{
'name': 'comment',
'value': 'I like it',
'value_caption': 'I like it',
},
{
'name': 'inputs',
'value': None,
'value_caption': 'None',
},
])],
}, channel)
ptr = Pointer.get_all()[0]
assert ptr.node_id == 'node5'
# first call to last node
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('form5', [
{
'name': 'task',
'value': '1',
'value_caption': '1',
},
])],
}, channel)
assert Pointer.get_all() == []
# state is coherent
state = next(mongo[config["EXECUTION_COLLECTION"]].find({
'id': execution.id,
}))
del state['_id']
del state['finished_at']
assert state == {
'_type': 'execution',
'id': execution.id,
'name': '',
'description': '',
'state': {
'_type': ':sorted_map',
'items': {
'node1': {
'_type': 'node',
'type': 'action',
'id': 'node1',
'state': 'valid',
'comment': 'I do not like it',
'actors': {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'forms': [Form.state_json('form1', [
{
'name': 'task',
'value': '2',
'value_caption': '2',
},
])],
'state': 'valid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
},
},
},
'milestone': False,
'name': 'Primer paso',
'description': 'información original',
},
'node2': {
'_type': 'node',
'type': 'action',
'id': 'node2',
'state': 'valid',
'comment': 'I do not like it',
'actors': {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'forms': [Form.state_json('form2', [
{
'name': 'task',
'value': '2',
'value_caption': '2',
},
])],
'state': 'valid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
},
},
},
'milestone': False,
'name': 'Segundo paso',
'description': 'depender de la info',
},
'node3': {
'_type': 'node',
'type': 'action',
'id': 'node3',
'state': 'valid',
'comment': '',
'actors': {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'forms': [Form.state_json('form3', [
{
'name': 'task',
'value': '1',
'value_caption': '1',
},
])],
'state': 'valid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
},
},
},
'milestone': False,
'name': 'Tercer paso',
'description': 'no depender de nada',
},
'node4': {
'_type': 'node',
'type': 'validation',
'id': 'node4',
'state': 'valid',
'comment': 'I do not like it',
'actors': {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'forms': [Form.state_json('node4', [
{
'name': 'response',
'value': 'accept',
'value_caption': 'accept',
},
{
'name': 'comment',
'value': 'I like it',
'value_caption': 'I like it',
},
{
'name': 'inputs',
'value': None,
'value_caption': 'None',
},
])],
'state': 'valid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
},
},
},
'milestone': False,
'name': 'Cuarto paso',
'description': 'validar',
},
'node5': {
'_type': 'node',
'type': 'action',
'id': 'node5',
'state': 'valid',
'comment': '',
'actors': {
'_type': ':map',
'items': {
'juan': {
'_type': 'actor',
'forms': [Form.state_json('form5', [
{
'name': 'task',
'value': '1',
'value_caption': '1',
},
])],
'state': 'valid',
'user': {
'_type': 'user',
'identifier': 'juan',
'fullname': 'Juan',
},
},
},
},
'milestone': False,
'name': 'Quinto paso',
'description': 'terminar',
},
},
'item_order': ['node1', 'node2', 'node3', 'node4', 'node5'],
},
'status': 'finished',
'values': {
'_execution': [{
'name': '',
'description': '',
}],
'node4': [{
'comment': 'I like it',
'inputs': None,
'response': 'accept',
}],
'form1': [{'task': '2'}],
'form2': [{'task': '2'}],
'form3': [{'task': '1'}],
'form5': [{'task': '1'}],
},
'actors': {
'node1': 'juan',
'node2': 'juan',
'node3': 'juan',
'node4': 'juan',
'node5': 'juan',
},
'actor_list': [
{
'node': 'node1',
'actor': {
'_type': 'user',
'fullname': 'Juan',
'identifier': 'juan',
},
},
{
'node': 'node2',
'actor': {
'_type': 'user',
'fullname': 'Juan',
'identifier': 'juan',
},
},
{
'node': 'node3',
'actor': {
'_type': 'user',
'fullname': 'Juan',
'identifier': 'juan',
},
},
{
'node': 'node4',
'actor': {
'_type': 'user',
'fullname': 'Juan',
'identifier': 'juan',
},
},
{
'node': 'node5',
'actor': {
'_type': 'user',
'fullname': 'Juan',
'identifier': 'juan',
},
},
],
}
def test_invalidate_all_nodes(config, mongo):
handler = Handler(config)
user = make_user('juan', 'Juan')
ptr = make_pointer('all-nodes-invalidated.2018-05-24.xml', 'start_node')
execution = ptr.proxy.execution.get()
mongo[config["EXECUTION_COLLECTION"]].insert_one({
'_type': 'execution',
'id': execution.id,
'state': Xml.load(config, 'all-nodes-invalidated').get_state(),
})
channel = MagicMock()
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('work', [
{
'name': 'task',
'value': '2',
'value_caption': '2',
},
])],
}, channel)
ptr = execution.proxy.pointers.get()[0]
assert ptr.node_id == 'request_node'
args = channel.basic_publish.call_args[1]
channel = MagicMock()
handler.step(json.loads(args['body']), channel)
ptr = execution.proxy.pointers.get()[0]
assert ptr.node_id == 'call_node'
args = channel.basic_publish.call_args[1]
channel = MagicMock()
handler.step(json.loads(args['body']), channel)
ptr = execution.proxy.pointers.get()[0]
assert ptr.node_id == 'if_node'
args = channel.basic_publish.call_args[1]
channel = MagicMock()
handler.step(json.loads(args['body']), channel)
ptr = execution.proxy.pointers.get()[0]
assert ptr.node_id == 'validation_node'
channel = MagicMock()
handler.step({
'command': 'step',
'pointer_id': ptr.id,
'user_identifier': user.identifier,
'input': [Form.state_json('validation_node', [
{
'name': 'response',
'value': 'reject',
'value_caption': 'reject',
},
{
'name': 'inputs',
'value': [{
'ref': 'start_node.juan.0:work.task',
}],
'value_caption': '',
},
{
'name': 'comment',
'value': '',
'value_caption': '',
},
])],
}, channel)
ptr = execution.proxy.pointers.get()[0]
assert ptr.node_id == 'start_node'
args = channel.basic_publish.call_args[1]
| 32.186478 | 76 | 0.328782 | 1,945 | 29,515 | 4.839075 | 0.094087 | 0.048449 | 0.030387 | 0.014875 | 0.807586 | 0.777943 | 0.769337 | 0.758075 | 0.732682 | 0.699001 | 0 | 0.014426 | 0.527935 | 29,515 | 916 | 77 | 32.221616 | 0.661092 | 0.015111 | 0 | 0.669039 | 0 | 0 | 0.215565 | 0.012328 | 0 | 0 | 0 | 0 | 0.039146 | 1 | 0.004745 | false | 0 | 0.00949 | 0 | 0.014235 | 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 |
0df347a46a373cfbdbc1a87bb8a460ed88d098bc | 200 | py | Python | kedro_glue/runner.py | i25959341/kedro-glue | 6f4fdd662b900ebbcbed561f96a9b5a5b5991d7e | [
"Apache-2.0",
"MIT"
] | null | null | null | kedro_glue/runner.py | i25959341/kedro-glue | 6f4fdd662b900ebbcbed561f96a9b5a5b5991d7e | [
"Apache-2.0",
"MIT"
] | null | null | null | kedro_glue/runner.py | i25959341/kedro-glue | 6f4fdd662b900ebbcbed561f96a9b5a5b5991d7e | [
"Apache-2.0",
"MIT"
] | null | null | null | from typing import Callable
from kedro.io import DataCatalog, MemoryDataSet
from kedro.pipeline import Pipeline
from kedro.pipeline.node import Node
from kedro.runner import AbstractRunner, run_node
| 28.571429 | 49 | 0.85 | 28 | 200 | 6.035714 | 0.464286 | 0.213018 | 0.201183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115 | 200 | 6 | 50 | 33.333333 | 0.954802 | 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 |
21eac7e5509e9791c9d6383ff0e8374d254d1e91 | 25,380 | py | Python | weewx_dbmodel.py | Hofei90/Wetterbot | c57ce8e2ce193904e9d2053fc975f7b95757c932 | [
"MIT"
] | null | null | null | weewx_dbmodel.py | Hofei90/Wetterbot | c57ce8e2ce193904e9d2053fc975f7b95757c932 | [
"MIT"
] | null | null | null | weewx_dbmodel.py | Hofei90/Wetterbot | c57ce8e2ce193904e9d2053fc975f7b95757c932 | [
"MIT"
] | null | null | null | from peewee import *
database = SqliteDatabase('weewx.sdb', **{})
class UnknownField(object):
def __init__(self, *_, **__): pass
class BaseModel(Model):
class Meta:
database = database
class Archive(BaseModel):
et = FloatField(column_name='ET', null=True)
uv = FloatField(column_name='UV', null=True)
altimeter = FloatField(null=True)
barometer = FloatField(null=True)
consbatteryvoltage = FloatField(column_name='consBatteryVoltage', null=True)
datetime = AutoField(column_name='dateTime')
dewpoint = FloatField(null=True)
extrahumid1 = FloatField(column_name='extraHumid1', null=True)
extrahumid2 = FloatField(column_name='extraHumid2', null=True)
extratemp1 = FloatField(column_name='extraTemp1', null=True)
extratemp2 = FloatField(column_name='extraTemp2', null=True)
extratemp3 = FloatField(column_name='extraTemp3', null=True)
hail = FloatField(null=True)
hailrate = FloatField(column_name='hailRate', null=True)
heatindex = FloatField(null=True)
heatingtemp = FloatField(column_name='heatingTemp', null=True)
heatingvoltage = FloatField(column_name='heatingVoltage', null=True)
inhumidity = FloatField(column_name='inHumidity', null=True)
intemp = FloatField(column_name='inTemp', null=True)
intempbatterystatus = FloatField(column_name='inTempBatteryStatus', null=True)
interval = IntegerField()
leaftemp1 = FloatField(column_name='leafTemp1', null=True)
leaftemp2 = FloatField(column_name='leafTemp2', null=True)
leafwet1 = FloatField(column_name='leafWet1', null=True)
leafwet2 = FloatField(column_name='leafWet2', null=True)
outhumidity = FloatField(column_name='outHumidity', null=True)
outtemp = FloatField(column_name='outTemp', null=True)
outtempbatterystatus = FloatField(column_name='outTempBatteryStatus', null=True)
pressure = FloatField(null=True)
radiation = FloatField(null=True)
rain = FloatField(null=True)
rainbatterystatus = FloatField(column_name='rainBatteryStatus', null=True)
rainrate = FloatField(column_name='rainRate', null=True)
referencevoltage = FloatField(column_name='referenceVoltage', null=True)
rxcheckpercent = FloatField(column_name='rxCheckPercent', null=True)
soilmoist1 = FloatField(column_name='soilMoist1', null=True)
soilmoist2 = FloatField(column_name='soilMoist2', null=True)
soilmoist3 = FloatField(column_name='soilMoist3', null=True)
soilmoist4 = FloatField(column_name='soilMoist4', null=True)
soiltemp1 = FloatField(column_name='soilTemp1', null=True)
soiltemp2 = FloatField(column_name='soilTemp2', null=True)
soiltemp3 = FloatField(column_name='soilTemp3', null=True)
soiltemp4 = FloatField(column_name='soilTemp4', null=True)
supplyvoltage = FloatField(column_name='supplyVoltage', null=True)
txbatterystatus = FloatField(column_name='txBatteryStatus', null=True)
usunits = IntegerField(column_name='usUnits')
windbatterystatus = FloatField(column_name='windBatteryStatus', null=True)
winddir = FloatField(column_name='windDir', null=True)
windgust = FloatField(column_name='windGust', null=True)
windgustdir = FloatField(column_name='windGustDir', null=True)
windspeed = FloatField(column_name='windSpeed', null=True)
windchill = FloatField(null=True)
class Meta:
table_name = 'archive'
class ArchiveDayEt(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_ET'
class ArchiveDayUv(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_UV'
class ArchiveDayMetadata(BaseModel):
name = CharField(primary_key=True)
value = TextField(null=True)
class Meta:
table_name = 'archive_day__metadata'
class ArchiveDayAltimeter(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_altimeter'
class ArchiveDayBarometer(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_barometer'
class ArchiveDayConsbatteryvoltage(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_consBatteryVoltage'
class ArchiveDayDewpoint(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_dewpoint'
class ArchiveDayExtrahumid1(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_extraHumid1'
class ArchiveDayExtrahumid2(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_extraHumid2'
class ArchiveDayExtratemp1(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_extraTemp1'
class ArchiveDayExtratemp2(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_extraTemp2'
class ArchiveDayExtratemp3(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_extraTemp3'
class ArchiveDayHail(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_hail'
class ArchiveDayHailrate(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_hailRate'
class ArchiveDayHeatindex(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_heatindex'
class ArchiveDayHeatingtemp(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_heatingTemp'
class ArchiveDayHeatingvoltage(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_heatingVoltage'
class ArchiveDayInhumidity(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_inHumidity'
class ArchiveDayIntemp(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_inTemp'
class ArchiveDayIntempbatterystatus(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_inTempBatteryStatus'
class ArchiveDayLeaftemp1(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_leafTemp1'
class ArchiveDayLeaftemp2(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_leafTemp2'
class ArchiveDayLeafwet1(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_leafWet1'
class ArchiveDayLeafwet2(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_leafWet2'
class ArchiveDayOuthumidity(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_outHumidity'
class ArchiveDayOuttemp(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_outTemp'
class ArchiveDayOuttempbatterystatus(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_outTempBatteryStatus'
class ArchiveDayPressure(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_pressure'
class ArchiveDayRadiation(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_radiation'
class ArchiveDayRain(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_rain'
class ArchiveDayRainbatterystatus(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_rainBatteryStatus'
class ArchiveDayRainrate(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_rainRate'
class ArchiveDayReferencevoltage(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_referenceVoltage'
class ArchiveDayRxcheckpercent(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_rxCheckPercent'
class ArchiveDaySoilmoist1(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_soilMoist1'
class ArchiveDaySoilmoist2(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_soilMoist2'
class ArchiveDaySoilmoist3(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_soilMoist3'
class ArchiveDaySoilmoist4(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_soilMoist4'
class ArchiveDaySoiltemp1(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_soilTemp1'
class ArchiveDaySoiltemp2(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_soilTemp2'
class ArchiveDaySoiltemp3(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_soilTemp3'
class ArchiveDaySoiltemp4(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_soilTemp4'
class ArchiveDaySupplyvoltage(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_supplyVoltage'
class ArchiveDayTxbatterystatus(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_txBatteryStatus'
class ArchiveDayWind(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
dirsumtime = IntegerField(null=True)
max = FloatField(null=True)
max_dir = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
squaresum = FloatField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsquaresum = FloatField(null=True)
wsum = FloatField(null=True)
xsum = FloatField(null=True)
ysum = FloatField(null=True)
class Meta:
table_name = 'archive_day_wind'
class ArchiveDayWindbatterystatus(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_windBatteryStatus'
class ArchiveDayWinddir(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_windDir'
class ArchiveDayWindgust(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_windGust'
class ArchiveDayWindgustdir(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_windGustDir'
class ArchiveDayWindspeed(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_windSpeed'
class ArchiveDayWindchill(BaseModel):
count = IntegerField(null=True)
datetime = AutoField(column_name='dateTime')
max = FloatField(null=True)
maxtime = IntegerField(null=True)
min = FloatField(null=True)
mintime = IntegerField(null=True)
sum = FloatField(null=True)
sumtime = IntegerField(null=True)
wsum = FloatField(null=True)
class Meta:
table_name = 'archive_day_windchill'
| 30.39521 | 84 | 0.704807 | 2,751 | 25,380 | 6.409306 | 0.054889 | 0.206897 | 0.218466 | 0.050136 | 0.75448 | 0.75448 | 0.752779 | 0.75034 | 0.74586 | 0.743251 | 0 | 0.003304 | 0.189007 | 25,380 | 834 | 85 | 30.431655 | 0.853326 | 0 | 0 | 0.748886 | 0 | 0 | 0.077817 | 0.033373 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001486 | false | 0.001486 | 0.001486 | 0 | 0.919762 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
21f4a06273d4478567ed675e2da0a3d0c63e6978 | 106 | py | Python | python/hello/main.py | su3158/SamplesByLanguage | fe119029e6f281c3d81a07f6128955cda80f1ac4 | [
"MIT"
] | null | null | null | python/hello/main.py | su3158/SamplesByLanguage | fe119029e6f281c3d81a07f6128955cda80f1ac4 | [
"MIT"
] | null | null | null | python/hello/main.py | su3158/SamplesByLanguage | fe119029e6f281c3d81a07f6128955cda80f1ac4 | [
"MIT"
] | null | null | null | print('Hello World\n')
print('Hello')
print('World')
print('ネオアームストロングサイクロンジェットアームストロング砲じゃねーか。完成度高けーなオイ')
| 21.2 | 52 | 0.783019 | 11 | 106 | 7.545455 | 0.545455 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 106 | 4 | 53 | 26.5 | 0.821782 | 0 | 0 | 0 | 0 | 0 | 0.622642 | 0.40566 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
0dfb55fe90a860606c47b7aa68046413e619f928 | 43 | py | Python | test_scm/_version.py | xkortex/test_scm | 2252ab3b53b3cda31fdd82ebc90d3c113bd8d987 | [
"MIT"
] | null | null | null | test_scm/_version.py | xkortex/test_scm | 2252ab3b53b3cda31fdd82ebc90d3c113bd8d987 | [
"MIT"
] | null | null | null | test_scm/_version.py | xkortex/test_scm | 2252ab3b53b3cda31fdd82ebc90d3c113bd8d987 | [
"MIT"
] | null | null | null | __version__ = "0.1.dev6+g74784bb.d20201111" | 43 | 43 | 0.790698 | 6 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.390244 | 0.046512 | 43 | 1 | 43 | 43 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0.613636 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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 |
10d3d51ad66ce9d52e9f0d9bdd394bb4467e1999 | 8,584 | py | Python | flask-api/newsscraper.py | roblen001/Crypto-Bot | 978ec95cc1080785bdf913ea15ed9a2b975ac7c6 | [
"MIT"
] | 1 | 2022-01-02T05:07:07.000Z | 2022-01-02T05:07:07.000Z | flask-api/newsscraper.py | roblen001/Crypto-Bot | 978ec95cc1080785bdf913ea15ed9a2b975ac7c6 | [
"MIT"
] | null | null | null | flask-api/newsscraper.py | roblen001/Crypto-Bot | 978ec95cc1080785bdf913ea15ed9a2b975ac7c6 | [
"MIT"
] | 1 | 2022-01-06T21:29:37.000Z | 2022-01-06T21:29:37.000Z | import requests
from csv import writer
import json
# import pandas as pd
import csv
from bs4 import BeautifulSoup
import pandas as pd
from selenium import webdriver
import time
from datetime import datetime
import nltk
# TODO:
# -Add this to a helper function file
# -Clean this page
# -This will run forever if the csv files are empty: wont be to go up to the most recent article
# -Get selenium to not open up a webdriver ui
# -Get selenium to stop when it is done (the terminal keeps running for no reason)
# -Opens up two different webdrivers for some reason
def append_list_as_row(file_name, list_of_elem):
# Open file in append mode
with open(file_name, 'a+', newline='') as write_obj:
# Create a writer object from csv module
csv_writer = writer(write_obj)
# Add contents of list as last row in the csv file
csv_writer.writerow(list_of_elem)
def newsscraper(type):
print('scraper online:', type)
# will scrape the top or latest news and store values in different datasets (top or latest)
# FOR TOP NEWS ====================================================================
if type == 'top':
URL = 'https://cryptonews.net/en/news/top/'
driver = webdriver.Chrome('/usr/bin/chromedriver')
driver.get(URL)
time.sleep(3)
previous_height = driver.execute_script(
'return document.body.scrollHeight')
i = 0
# change the i value to get more data
# TODO: this loop will run till it reaches the point to which it already has in the data base
# with open('../topNews.csv', newline='') as f:
# reader = csv.reader(f)
# first_row = next(reader)
# print(first_row)
df = pd.read_csv('../topNews.csv')
df_firstn = df.tail(1)
# TODO: this loop will run till it reaches the point to which it already has in the data base
uptodate = False
while uptodate == False:
while i < 1:
i += 1
driver.execute_script(
'window.scrollTo(0, document.body.scrollHeight);')
time.sleep(3)
new_height = driver.execute_script(
'return document.body.scrollHeight')
if new_height == previous_height:
break
previous_height = new_height
# WEB SCRAPING
headers = # add header
page = requests.get(URL, headers=headers)
soup = BeautifulSoup(driver.page_source, 'html.parser')
titleList = []
linkList = []
dateList = []
for element in soup.find_all("div", {"class": "row news-item start-xs"}):
titleList.append(element['data-title'])
linkList.append(element['data-link'])
for date in element.find_all("span", {"class": "datetime flex middle-xs"}):
# if date is h then it is the current date
if "h" in date.getText():
timestamp = datetime.today().strftime('%d-%m')
dateList.append(timestamp)
else:
partitioned_date = date.getText().strip().partition('.')
day = partitioned_date[0]
partitioned_monthAndTime = partitioned_date[2].partition(
',')
month = partitioned_monthAndTime[0]
timestamp = day + "-" + month
dateList.append(timestamp)
# Scraping individual articles for the text it contains
# Should I be scraping list elements too
headers = # add header
textList = []
for url in linkList:
page = requests.get(url, headers=headers)
soup = BeautifulSoup(page.content, 'html.parser')
article = ""
for p in soup.find_all("p"):
article += p.getText()
textList.append(article)
# creating the dataframe
df = pd.DataFrame(list(zip(titleList, linkList, dateList, textList)),
columns=['title', 'link', 'date', 'article'])
# check if title has already been scraped if not then continue to scrape
for idx in range(len(df['title'])):
if df['title'][idx] == df_firstn.iloc[0]['title']:
uptodate = True
new_df = df.head(idx)
reversed_df = new_df.iloc[::-1]
reversed_df.to_csv(
'../topNews.csv', mode='a', header=False, index=False)
driver.quit()
# FOR LATEST NEWS ============================================
elif type == 'latest':
URL = 'https://cryptonews.net/en/'
driver = webdriver.Chrome('/usr/bin/chromedriver')
driver.get(URL)
time.sleep(3)
previous_height = driver.execute_script(
'return document.body.scrollHeight')
i = 0
# change the i value to get more data
# TODO: this loop will run till it reaches the point to which it already has in the data base
# with open('../topNews.csv', newline='') as f:
# reader = csv.reader(f)
# first_row = next(reader)
# print(first_row)
df = pd.read_csv('../allNews.csv')
df_firstn = df.tail(1)
# TODO: this loop will run till it reaches the point to which it already has in the data base
uptodate = False
while uptodate == False:
while i < 1:
i += 1
driver.execute_script(
'window.scrollTo(0, document.body.scrollHeight);')
time.sleep(3)
new_height = driver.execute_script(
'return document.body.scrollHeight')
if new_height == previous_height:
break
previous_height = new_height
# WEB SCRAPING
headers = # add header
page = requests.get(URL, headers=headers)
soup = BeautifulSoup(driver.page_source, 'html.parser')
titleList = []
linkList = []
dateList = []
for element in soup.find_all("div", {"class": "row news-item start-xs"}):
titleList.append(element['data-title'])
linkList.append(element['data-link'])
for date in element.find_all("span", {"class": "datetime flex middle-xs"}):
# if date is h then it is the current date
if "h" in date.getText():
timestamp = datetime.today().strftime('%d-%m')
dateList.append(timestamp)
else:
partitioned_date = date.getText().strip().partition('.')
day = partitioned_date[0]
partitioned_monthAndTime = partitioned_date[2].partition(
',')
month = partitioned_monthAndTime[0]
timestamp = day + "-" + month
dateList.append(timestamp)
# Scraping individual articles for the text it contains
# Should I be scraping list elements too
headers = # add header
textList = []
for url in linkList:
page = requests.get(url, headers=headers)
soup = BeautifulSoup(page.content, 'html.parser')
article = ""
for p in soup.find_all("p"):
article += p.getText()
textList.append(article)
# creating the dataframe
df = pd.DataFrame(list(zip(titleList, linkList, dateList, textList)),
columns=['title', 'link', 'date', 'article'])
# check if title has already been scraped if not then continue to scrape
for idx in range(len(df['title'])):
if df['title'][idx] == df_firstn.iloc[0]['title']:
uptodate = True
new_df = df.head(idx)
reversed_df = new_df.iloc[::-1]
reversed_df.to_csv(
'../allNews.csv', mode='a', header=False, index=False)
driver.quit()
return print('scraping up to date')
| 39.557604 | 102 | 0.522717 | 939 | 8,584 | 4.705005 | 0.230032 | 0.008148 | 0.025804 | 0.022635 | 0.803078 | 0.792666 | 0.792666 | 0.792666 | 0.792666 | 0.775011 | 0 | 0.00462 | 0.369641 | 8,584 | 216 | 103 | 39.740741 | 0.811865 | 0.223905 | 0 | 0.822695 | 0 | 0 | 0.11002 | 0.030527 | 0 | 0 | 0 | 0.00463 | 0 | 0 | null | null | 0 | 0.070922 | null | null | 0.014184 | 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 |
10f86610db73b52b88de90a8a8dbef179b687941 | 25,747 | py | Python | sdk/python/pulumi_aws/appautoscaling/policy.py | JakeGinnivan/pulumi-aws | c91ef78932964ac74eda7f5da81f65b0f1798c93 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/appautoscaling/policy.py | JakeGinnivan/pulumi-aws | c91ef78932964ac74eda7f5da81f65b0f1798c93 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/appautoscaling/policy.py | JakeGinnivan/pulumi-aws | c91ef78932964ac74eda7f5da81f65b0f1798c93 | [
"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 json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Policy(pulumi.CustomResource):
arn: pulumi.Output[str]
"""
The ARN assigned by AWS to the scaling policy.
"""
name: pulumi.Output[str]
"""
The name of the policy.
"""
policy_type: pulumi.Output[str]
"""
The policy type. Valid values are `StepScaling` and `TargetTrackingScaling`. Defaults to `StepScaling`. Certain services only support only one policy type. For more information see the [Target Tracking Scaling Policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step Scaling Policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) documentation.
"""
resource_id: pulumi.Output[str]
"""
The resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
"""
scalable_dimension: pulumi.Output[str]
"""
The scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
"""
service_namespace: pulumi.Output[str]
"""
The AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
"""
step_scaling_policy_configuration: pulumi.Output[dict]
"""
Step scaling policy configuration, requires `policy_type = "StepScaling"` (default). See supported fields below.
* `adjustment_type` (`str`) - Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
* `cooldown` (`float`) - The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
* `metric_aggregation_type` (`str`) - The aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
* `min_adjustment_magnitude` (`float`) - The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
* `step_adjustments` (`list`) - A set of adjustments that manage scaling. These have the following structure:
* `metricIntervalLowerBound` (`str`) - The lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity.
* `metricIntervalUpperBound` (`str`) - The upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound.
* `scaling_adjustment` (`float`) - The number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
"""
target_tracking_scaling_policy_configuration: pulumi.Output[dict]
"""
A target tracking policy, requires `policy_type = "TargetTrackingScaling"`. See supported fields below.
* `customizedMetricSpecification` (`dict`) - A custom CloudWatch metric. Documentation can be found at: [AWS Customized Metric Specification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CustomizedMetricSpecification.html). See supported fields below.
* `dimensions` (`list`) - Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.
* `name` (`str`) - The name of the policy.
* `value` (`str`) - Value of the dimension.
* `metric_name` (`str`) - The name of the metric.
* `namespace` (`str`) - The namespace of the metric.
* `statistic` (`str`) - The statistic of the metric. Valid values: `Average`, `Minimum`, `Maximum`, `SampleCount`, and `Sum`.
* `unit` (`str`) - The unit of the metric.
* `disableScaleIn` (`bool`) - Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is `false`.
* `predefinedMetricSpecification` (`dict`) - A predefined metric. See supported fields below.
* `predefinedMetricType` (`str`) - The metric type.
* `resourceLabel` (`str`) - Reserved for future use.
* `scaleInCooldown` (`float`) - The amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
* `scaleOutCooldown` (`float`) - The amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
* `targetValue` (`float`) - The target value for the metric.
"""
def __init__(__self__, resource_name, opts=None, name=None, policy_type=None, resource_id=None, scalable_dimension=None, service_namespace=None, step_scaling_policy_configuration=None, target_tracking_scaling_policy_configuration=None, __props__=None, __name__=None, __opts__=None):
"""
Provides an Application AutoScaling Policy resource.
## Example Usage
### DynamoDB Table Autoscaling
```python
import pulumi
import pulumi_aws as aws
dynamodb_table_read_target = aws.appautoscaling.Target("dynamodbTableReadTarget",
max_capacity=100,
min_capacity=5,
resource_id="table/tableName",
scalable_dimension="dynamodb:table:ReadCapacityUnits",
service_namespace="dynamodb")
dynamodb_table_read_policy = aws.appautoscaling.Policy("dynamodbTableReadPolicy",
policy_type="TargetTrackingScaling",
resource_id=dynamodb_table_read_target.resource_id,
scalable_dimension=dynamodb_table_read_target.scalable_dimension,
service_namespace=dynamodb_table_read_target.service_namespace,
target_tracking_scaling_policy_configuration={
"predefinedMetricSpecification": {
"predefinedMetricType": "DynamoDBReadCapacityUtilization",
},
"targetValue": 70,
})
```
### ECS Service Autoscaling
```python
import pulumi
import pulumi_aws as aws
ecs_target = aws.appautoscaling.Target("ecsTarget",
max_capacity=4,
min_capacity=1,
resource_id="service/clusterName/serviceName",
scalable_dimension="ecs:service:DesiredCount",
service_namespace="ecs")
ecs_policy = aws.appautoscaling.Policy("ecsPolicy",
policy_type="StepScaling",
resource_id=ecs_target.resource_id,
scalable_dimension=ecs_target.scalable_dimension,
service_namespace=ecs_target.service_namespace,
step_scaling_policy_configuration={
"adjustment_type": "ChangeInCapacity",
"cooldown": 60,
"metric_aggregation_type": "Maximum",
"stepAdjustment": [{
"metricIntervalUpperBound": 0,
"scaling_adjustment": -1,
}],
})
```
### Preserve desired count when updating an autoscaled ECS Service
```python
import pulumi
import pulumi_aws as aws
ecs_service = aws.ecs.Service("ecsService",
cluster="clusterName",
desired_count=2,
lifecycle={
"ignoreChanges": ["desiredCount"],
},
task_definition="taskDefinitionFamily:1")
```
### Aurora Read Replica Autoscaling
```python
import pulumi
import pulumi_aws as aws
replicas_target = aws.appautoscaling.Target("replicasTarget",
max_capacity=15,
min_capacity=1,
resource_id=f"cluster:{aws_rds_cluster['example']['id']}",
scalable_dimension="rds:cluster:ReadReplicaCount",
service_namespace="rds")
replicas_policy = aws.appautoscaling.Policy("replicasPolicy",
policy_type="TargetTrackingScaling",
resource_id=replicas_target.resource_id,
scalable_dimension=replicas_target.scalable_dimension,
service_namespace=replicas_target.service_namespace,
target_tracking_scaling_policy_configuration={
"predefinedMetricSpecification": {
"predefinedMetricType": "RDSReaderAverageCPUUtilization",
},
"scaleInCooldown": 300,
"scaleOutCooldown": 300,
"targetValue": 75,
})
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] name: The name of the policy.
:param pulumi.Input[str] policy_type: The policy type. Valid values are `StepScaling` and `TargetTrackingScaling`. Defaults to `StepScaling`. Certain services only support only one policy type. For more information see the [Target Tracking Scaling Policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step Scaling Policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) documentation.
:param pulumi.Input[str] resource_id: The resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
:param pulumi.Input[str] scalable_dimension: The scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
:param pulumi.Input[str] service_namespace: The AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
:param pulumi.Input[dict] step_scaling_policy_configuration: Step scaling policy configuration, requires `policy_type = "StepScaling"` (default). See supported fields below.
:param pulumi.Input[dict] target_tracking_scaling_policy_configuration: A target tracking policy, requires `policy_type = "TargetTrackingScaling"`. See supported fields below.
The **step_scaling_policy_configuration** object supports the following:
* `adjustment_type` (`pulumi.Input[str]`) - Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
* `cooldown` (`pulumi.Input[float]`) - The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
* `metric_aggregation_type` (`pulumi.Input[str]`) - The aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
* `min_adjustment_magnitude` (`pulumi.Input[float]`) - The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
* `step_adjustments` (`pulumi.Input[list]`) - A set of adjustments that manage scaling. These have the following structure:
* `metricIntervalLowerBound` (`pulumi.Input[str]`) - The lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity.
* `metricIntervalUpperBound` (`pulumi.Input[str]`) - The upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound.
* `scaling_adjustment` (`pulumi.Input[float]`) - The number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
The **target_tracking_scaling_policy_configuration** object supports the following:
* `customizedMetricSpecification` (`pulumi.Input[dict]`) - A custom CloudWatch metric. Documentation can be found at: [AWS Customized Metric Specification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CustomizedMetricSpecification.html). See supported fields below.
* `dimensions` (`pulumi.Input[list]`) - Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.
* `name` (`pulumi.Input[str]`) - The name of the policy.
* `value` (`pulumi.Input[str]`) - Value of the dimension.
* `metric_name` (`pulumi.Input[str]`) - The name of the metric.
* `namespace` (`pulumi.Input[str]`) - The namespace of the metric.
* `statistic` (`pulumi.Input[str]`) - The statistic of the metric. Valid values: `Average`, `Minimum`, `Maximum`, `SampleCount`, and `Sum`.
* `unit` (`pulumi.Input[str]`) - The unit of the metric.
* `disableScaleIn` (`pulumi.Input[bool]`) - Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is `false`.
* `predefinedMetricSpecification` (`pulumi.Input[dict]`) - A predefined metric. See supported fields below.
* `predefinedMetricType` (`pulumi.Input[str]`) - The metric type.
* `resourceLabel` (`pulumi.Input[str]`) - Reserved for future use.
* `scaleInCooldown` (`pulumi.Input[float]`) - The amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
* `scaleOutCooldown` (`pulumi.Input[float]`) - The amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
* `targetValue` (`pulumi.Input[float]`) - The target value for the metric.
"""
if __name__ is not None:
warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning)
resource_name = __name__
if __opts__ is not None:
warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning)
opts = __opts__
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__ = dict()
__props__['name'] = name
__props__['policy_type'] = policy_type
if resource_id is None:
raise TypeError("Missing required property 'resource_id'")
__props__['resource_id'] = resource_id
if scalable_dimension is None:
raise TypeError("Missing required property 'scalable_dimension'")
__props__['scalable_dimension'] = scalable_dimension
if service_namespace is None:
raise TypeError("Missing required property 'service_namespace'")
__props__['service_namespace'] = service_namespace
__props__['step_scaling_policy_configuration'] = step_scaling_policy_configuration
__props__['target_tracking_scaling_policy_configuration'] = target_tracking_scaling_policy_configuration
__props__['arn'] = None
super(Policy, __self__).__init__(
'aws:appautoscaling/policy:Policy',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name, id, opts=None, arn=None, name=None, policy_type=None, resource_id=None, scalable_dimension=None, service_namespace=None, step_scaling_policy_configuration=None, target_tracking_scaling_policy_configuration=None):
"""
Get an existing Policy 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 str id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] arn: The ARN assigned by AWS to the scaling policy.
:param pulumi.Input[str] name: The name of the policy.
:param pulumi.Input[str] policy_type: The policy type. Valid values are `StepScaling` and `TargetTrackingScaling`. Defaults to `StepScaling`. Certain services only support only one policy type. For more information see the [Target Tracking Scaling Policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step Scaling Policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) documentation.
:param pulumi.Input[str] resource_id: The resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
:param pulumi.Input[str] scalable_dimension: The scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
:param pulumi.Input[str] service_namespace: The AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
:param pulumi.Input[dict] step_scaling_policy_configuration: Step scaling policy configuration, requires `policy_type = "StepScaling"` (default). See supported fields below.
:param pulumi.Input[dict] target_tracking_scaling_policy_configuration: A target tracking policy, requires `policy_type = "TargetTrackingScaling"`. See supported fields below.
The **step_scaling_policy_configuration** object supports the following:
* `adjustment_type` (`pulumi.Input[str]`) - Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
* `cooldown` (`pulumi.Input[float]`) - The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
* `metric_aggregation_type` (`pulumi.Input[str]`) - The aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
* `min_adjustment_magnitude` (`pulumi.Input[float]`) - The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
* `step_adjustments` (`pulumi.Input[list]`) - A set of adjustments that manage scaling. These have the following structure:
* `metricIntervalLowerBound` (`pulumi.Input[str]`) - The lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity.
* `metricIntervalUpperBound` (`pulumi.Input[str]`) - The upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound.
* `scaling_adjustment` (`pulumi.Input[float]`) - The number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
The **target_tracking_scaling_policy_configuration** object supports the following:
* `customizedMetricSpecification` (`pulumi.Input[dict]`) - A custom CloudWatch metric. Documentation can be found at: [AWS Customized Metric Specification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CustomizedMetricSpecification.html). See supported fields below.
* `dimensions` (`pulumi.Input[list]`) - Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.
* `name` (`pulumi.Input[str]`) - The name of the policy.
* `value` (`pulumi.Input[str]`) - Value of the dimension.
* `metric_name` (`pulumi.Input[str]`) - The name of the metric.
* `namespace` (`pulumi.Input[str]`) - The namespace of the metric.
* `statistic` (`pulumi.Input[str]`) - The statistic of the metric. Valid values: `Average`, `Minimum`, `Maximum`, `SampleCount`, and `Sum`.
* `unit` (`pulumi.Input[str]`) - The unit of the metric.
* `disableScaleIn` (`pulumi.Input[bool]`) - Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is `false`.
* `predefinedMetricSpecification` (`pulumi.Input[dict]`) - A predefined metric. See supported fields below.
* `predefinedMetricType` (`pulumi.Input[str]`) - The metric type.
* `resourceLabel` (`pulumi.Input[str]`) - Reserved for future use.
* `scaleInCooldown` (`pulumi.Input[float]`) - The amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
* `scaleOutCooldown` (`pulumi.Input[float]`) - The amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
* `targetValue` (`pulumi.Input[float]`) - The target value for the metric.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = dict()
__props__["arn"] = arn
__props__["name"] = name
__props__["policy_type"] = policy_type
__props__["resource_id"] = resource_id
__props__["scalable_dimension"] = scalable_dimension
__props__["service_namespace"] = service_namespace
__props__["step_scaling_policy_configuration"] = step_scaling_policy_configuration
__props__["target_tracking_scaling_policy_configuration"] = target_tracking_scaling_policy_configuration
return Policy(resource_name, opts=opts, __props__=__props__)
def translate_output_property(self, prop):
return tables._CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop
def translate_input_property(self, prop):
return tables._SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop
| 79.959627 | 532 | 0.717792 | 3,035 | 25,747 | 5.947611 | 0.108402 | 0.037172 | 0.027145 | 0.015955 | 0.840729 | 0.80616 | 0.795801 | 0.778184 | 0.770207 | 0.751981 | 0 | 0.001402 | 0.196838 | 25,747 | 321 | 533 | 80.208723 | 0.871512 | 0.594089 | 0 | 0.029412 | 1 | 0 | 0.179085 | 0.04779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.014706 | 0.088235 | 0.029412 | 0.323529 | 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 |
33ada5e277108527751e2a2930c0eb8b904f4ca5 | 232 | py | Python | Python/print_sushi.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/print_sushi.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/print_sushi.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | # This script prints sushi
print(' ,;\'@@\';, ,;\'@@\';, ,;\'@@\';,')
print(' |\',_@@_,\'| |\',_@@_,\'| |\',_@@_,\'|')
print(' | | | | | |')
print(' \'.____.\' \'.____.\' \'.____.\'')
| 33.142857 | 52 | 0.25431 | 8 | 232 | 5.125 | 0.625 | 0.731707 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310345 | 232 | 6 | 53 | 38.666667 | 0.25625 | 0.103448 | 0 | 0 | 0 | 0 | 0.461165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
33b852f1ea55d6edf82d5ed26d5b698c335df6c0 | 22,975 | py | Python | tests/test_viewsets.py | ShipChain/python-common | bdce2bf95f0418c782c1bdb6fed2c9cd8776918e | [
"Apache-2.0"
] | 2 | 2019-12-15T13:46:35.000Z | 2021-07-25T14:12:16.000Z | tests/test_viewsets.py | ShipChain/python-common | bdce2bf95f0418c782c1bdb6fed2c9cd8776918e | [
"Apache-2.0"
] | 9 | 2019-10-24T19:49:21.000Z | 2020-10-26T19:38:52.000Z | tests/test_viewsets.py | ShipChain/python-common | bdce2bf95f0418c782c1bdb6fed2c9cd8776918e | [
"Apache-2.0"
] | null | null | null | import django
# We run django.setup() in order to auto populate the base django's app models for testing purposes
import pytest
from rest_framework import status
try:
django.setup()
except Exception as exc:
raise exc
from shipchain_common.mixins import SerializationType, MultiSerializerViewSetMixin, MultiPermissionViewSetMixin
from shipchain_common.viewsets import ActionConfiguration, ConfigurableGenericViewSet
class FakePermission:
name = 'fake1'
def __repr__(self):
return self.name
def __eq__(self, other):
return self.name == other.name
class FakePermission2(FakePermission):
name = 'fake2'
class FakePermission3(FakePermission):
name = 'fake3'
class DefaultSerializer:
def __init__(self, *args, **kwargs):
pass
class ListResponseSerializer(DefaultSerializer):
pass
class CreateRequestSerializer(DefaultSerializer):
pass
class CreateResponseSerializer(DefaultSerializer):
pass
class CustomActionSerializer(DefaultSerializer):
pass
class CustomActionCSVSerializer(DefaultSerializer):
pass
class TestActionConfiguration:
def test_validation_list(self):
action = 'list'
config = ActionConfiguration(request_serializer=ListResponseSerializer)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'request_serializer not valid for action list' in str(attr_err.value)
config = ActionConfiguration(request_validation=True)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'request_validation not valid for action list' in str(attr_err.value)
config = ActionConfiguration(success_status=200)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'success_status not valid for action list' in str(attr_err.value)
def test_validation_retrieve(self):
action = 'retrieve'
config = ActionConfiguration(request_serializer=ListResponseSerializer)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'request_serializer not valid for action retrieve' in str(attr_err.value)
config = ActionConfiguration(request_validation=True)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'request_validation not valid for action retrieve' in str(attr_err.value)
config = ActionConfiguration(success_status=200)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'success_status not valid for action retrieve' in str(attr_err.value)
def test_validation_destroy(self):
action = 'destroy'
config = ActionConfiguration(request_serializer=ListResponseSerializer)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'request_serializer not valid for action destroy' in str(attr_err.value)
config = ActionConfiguration(request_validation=True)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'request_validation not valid for action destroy' in str(attr_err.value)
config = ActionConfiguration(success_status=200)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'success_status not valid for action destroy' in str(attr_err.value)
config = ActionConfiguration(serializer=ListResponseSerializer)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'serializers are not valid for action destroy' in str(attr_err.value)
config = ActionConfiguration(response_serializer=ListResponseSerializer)
with pytest.raises(AttributeError) as attr_err:
config.validate_action(action)
assert 'serializers are not valid for action destroy' in str(attr_err.value)
def test_standardize_serializer(self):
"""
Providing just a serializer should populate both the Request and Response.default references
Re-running standardize_serializer_properties should not change the standardized properties
"""
config = ActionConfiguration(serializer=DefaultSerializer)
assert config.serializer == DefaultSerializer
assert config.request_serializer is None
assert config.response_serializer is None
assert config.re_serialize_response is False
config.standardize_serializer_properties()
assert config.serializer is None
assert config.request_serializer == DefaultSerializer
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == DefaultSerializer
assert config.re_serialize_response is False
config.standardize_serializer_properties()
assert config.serializer is None
assert config.request_serializer == DefaultSerializer
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == DefaultSerializer
assert config.re_serialize_response is False
def test_standardize_request_serializer(self):
"""
Providing just a request_serializer should populate only the Request reference.
Since we don't have a response_serializer set, the get_serializer in the ConfigurableGenericViewSet
will return the class level `serializer_class` and we don't know if it's different than our
request_serializer, so we will set `re_serializer_response` to True.
Re-running standardize_serializer_properties should not change the standardized properties
"""
config = ActionConfiguration(request_serializer=DefaultSerializer)
assert config.serializer is None
assert config.request_serializer == DefaultSerializer
assert config.response_serializer is None
assert config.re_serialize_response is False
config.standardize_serializer_properties()
assert config.serializer is None
assert config.request_serializer == DefaultSerializer
assert config.response_serializer is None
assert config.re_serialize_response is True
config.standardize_serializer_properties()
assert config.serializer is None
assert config.request_serializer == DefaultSerializer
assert config.response_serializer is None
assert config.re_serialize_response is True
def test_standardize_response_serializer(self):
"""
Providing just a response_serializer should populate only the Response.default reference.
Since we don't have a request_serializer set, the get_serializer in the ConfigurableGenericViewSet
will return the class level `serializer_class` and we don't know if it's different than our
response_serializer, so we will set `re_serializer_response` to True.
Re-running standardize_serializer_properties should not change the standardized properties
"""
config = ActionConfiguration(response_serializer=DefaultSerializer)
assert config.serializer is None
assert config.request_serializer is None
assert config.response_serializer == DefaultSerializer
assert config.re_serialize_response is False
config.standardize_serializer_properties()
assert config.serializer is None
assert config.request_serializer is None
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == DefaultSerializer
assert config.re_serialize_response is True
config.standardize_serializer_properties()
assert config.serializer is None
assert config.request_serializer is None
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == DefaultSerializer
assert config.re_serialize_response is True
def test_standardize_both_serializer(self):
"""
Providing both should populate both the Request and the Response.default reference.
Since we are setting both request and response, so we will set `re_serializer_response` to True.
Re-running standardize_serializer_properties should not change the standardized properties
"""
config = ActionConfiguration(
request_serializer=CreateRequestSerializer,
response_serializer=CreateResponseSerializer,
)
assert config.serializer is None
assert config.request_serializer == CreateRequestSerializer
assert config.response_serializer == CreateResponseSerializer
assert config.re_serialize_response is False
config.standardize_serializer_properties()
assert config.serializer is None
assert config.request_serializer == CreateRequestSerializer
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == CreateResponseSerializer
assert config.re_serialize_response is True
config.standardize_serializer_properties()
assert config.serializer is None
assert config.request_serializer == CreateRequestSerializer
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == CreateResponseSerializer
assert config.re_serialize_response is True
def test_standardize_response_dict(self):
"""
Providing response_serializer as a dict should populate the ResponseSerializers instance correctly
"""
config = ActionConfiguration(
response_serializer={
'default': CustomActionSerializer,
}
)
assert isinstance(config.response_serializer, dict)
assert 'default' in config.response_serializer
assert config.response_serializer['default'] == CustomActionSerializer
config.standardize_serializer_properties()
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == CustomActionSerializer
def test_standardize_response_dict_no_default(self):
"""
Providing response_serializer as a dict without a default should raise an AttributeError
"""
config = ActionConfiguration(
response_serializer={
'other': CustomActionSerializer,
}
)
assert isinstance(config.response_serializer, dict)
assert 'other' in config.response_serializer
assert config.response_serializer['other'] == CustomActionSerializer
with pytest.raises(AttributeError) as attr_err:
config.standardize_serializer_properties()
assert 'response_serializer needs a default provided' in str(attr_err.value)
def test_standardize_response_dict_many(self):
"""
Providing response_serializer as a dict with multiple properties
should populate the ResponseSerializers instance correctly
"""
config = ActionConfiguration(
response_serializer={
'default': CustomActionSerializer,
'csv': CustomActionCSVSerializer,
}
)
assert isinstance(config.response_serializer, dict)
assert 'default' in config.response_serializer
assert 'csv' in config.response_serializer
assert config.response_serializer['default'] == CustomActionSerializer
assert config.response_serializer['csv'] == CustomActionCSVSerializer
config.standardize_serializer_properties()
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == CustomActionSerializer
assert config.response_serializer.csv == CustomActionCSVSerializer
def test_standardize_response_class(self):
"""
Providing response_serializer as a dict should populate the ResponseSerializers instance correctly
"""
config = ActionConfiguration(
response_serializer=ActionConfiguration.ResponseSerializers(
default=CustomActionSerializer,
)
)
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == CustomActionSerializer
config.standardize_serializer_properties()
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == CustomActionSerializer
def test_standardize_response_class_no_default(self):
"""
Providing response_serializer as a dict without a default should raise an AttributeError
"""
with pytest.raises(AttributeError) as attr_err:
ActionConfiguration(
response_serializer=ActionConfiguration.ResponseSerializers(
other=CustomActionSerializer,
)
)
assert 'response_serializer needs a default provided' in str(attr_err.value)
def test_standardize_response_class_many(self):
"""
Providing response_serializer as a dict with multiple properties
should populate the ResponseSerializers instance correctly
"""
config = ActionConfiguration(
response_serializer=ActionConfiguration.ResponseSerializers(
default=CustomActionSerializer,
csv=CustomActionCSVSerializer,
)
)
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == CustomActionSerializer
assert config.response_serializer.csv == CustomActionCSVSerializer
config.standardize_serializer_properties()
assert isinstance(config.response_serializer, ActionConfiguration.ResponseSerializers)
assert config.response_serializer.default == CustomActionSerializer
assert config.response_serializer.csv == CustomActionCSVSerializer
class TestConfigurableGenericViewSet:
@pytest.fixture
def viewset(self):
class TestViewSet(ConfigurableGenericViewSet):
kwargs = {}
request = {}
format_kwarg = ''
serializer_class = DefaultSerializer
permission_classes = [FakePermission2]
return TestViewSet()
def test_restricted_serializer_mixin(self):
class TestViewSet(MultiSerializerViewSetMixin, ConfigurableGenericViewSet):
kwargs = {}
serializer_class = DefaultSerializer
permission_classes = [FakePermission2]
with pytest.raises(AttributeError) as attr_err:
TestViewSet()
assert 'Cannot use MultiSerializerViewSetMixin when using ConfigurableGenericViewSet' in str(attr_err.value)
def test_restricted_permission_mixin(self):
class TestViewSet(MultiPermissionViewSetMixin, ConfigurableGenericViewSet):
kwargs = {}
serializer_class = DefaultSerializer
permission_classes = [FakePermission2]
with pytest.raises(AttributeError) as attr_err:
TestViewSet()
assert 'Cannot use MultiPermissionViewSetMixin when using ConfigurableGenericViewSet' in str(attr_err.value)
def test_needs_configuration(self, viewset):
with pytest.raises(AttributeError) as attr_err:
viewset.get_configuration()
assert 'TestViewSet should include a `configuration` attribute.' in str(attr_err.value)
def test_configurable_generic_view_set(self, viewset):
viewset.configuration = {
'list': ActionConfiguration(
response_serializer=ListResponseSerializer,
permission_classes=[FakePermission, FakePermission2],
required_user_permissions=['feature.permission', 'feature.permission2'],
),
'create': ActionConfiguration(
request_serializer=CreateRequestSerializer,
request_validation=False,
response_serializer=CreateResponseSerializer,
permission_classes=[FakePermission],
required_user_permissions=['feature.permission'],
success_status=status.HTTP_202_ACCEPTED,
),
'custom_action': ActionConfiguration(
request_serializer=CustomActionSerializer,
response_serializer={
'default': CustomActionSerializer,
'csv': CustomActionCSVSerializer,
},
permission_classes=[FakePermission, FakePermission3],
required_user_permissions='feature.custom_permission',
),
}
viewset.action = 'list'
assert viewset.get_serializer().__class__ == DefaultSerializer
assert viewset.get_serializer(serialization_type=SerializationType.RESPONSE).__class__ == ListResponseSerializer
assert viewset.get_serializer_class() == DefaultSerializer
assert viewset.get_serializer_class(SerializationType.RESPONSE) == ListResponseSerializer
assert viewset.get_permissions() == [FakePermission, FakePermission2]
assert viewset.configuration['list'].serializer is None
assert viewset.action_user_permissions['list'] == ['feature.permission', 'feature.permission2']
viewset.action = 'create'
assert viewset.get_serializer().__class__ == CreateRequestSerializer
assert viewset.get_serializer(serialization_type=SerializationType.RESPONSE).__class__ == CreateResponseSerializer
assert viewset.get_serializer_class() == CreateRequestSerializer
assert viewset.get_serializer_class(SerializationType.RESPONSE) == CreateResponseSerializer
assert viewset.get_permissions() == [FakePermission]
assert viewset.configuration['create'].raise_validation is False
assert viewset.configuration['create'].serializer is None
assert viewset.action_user_permissions['create'] == ['feature.permission']
viewset.action = 'custom_action'
assert viewset.get_serializer().__class__ == CustomActionSerializer
assert viewset.get_serializer(serialization_type=SerializationType.RESPONSE).__class__ == CustomActionSerializer
assert viewset.get_serializer_class() == CustomActionSerializer
assert viewset.get_serializer_class(SerializationType.RESPONSE) == CustomActionSerializer
assert viewset.get_permissions() == [FakePermission, FakePermission3]
assert viewset.configuration['custom_action'].serializer is None
assert viewset.action_user_permissions['custom_action'] == ['feature.custom_permission']
viewset.kwargs['format'] = 'csv'
assert viewset.get_serializer_class(SerializationType.RESPONSE) == CustomActionCSVSerializer
viewset.kwargs['format'] = 'invalid'
assert viewset.get_serializer_class(SerializationType.RESPONSE) == CustomActionSerializer
viewset.kwargs['format'] = None
viewset.action = 'update'
assert viewset.get_serializer().__class__ == DefaultSerializer
assert viewset.get_serializer(serialization_type=SerializationType.RESPONSE).__class__ == DefaultSerializer
assert viewset.get_serializer_class() == DefaultSerializer
assert viewset.get_serializer_class(SerializationType.RESPONSE) == DefaultSerializer
assert viewset.get_permissions() == [FakePermission2]
assert 'update' not in viewset.configuration
assert 'update' not in viewset.action_user_permissions
def test_configurable_generic_view_set_default_user_perms(self, viewset):
viewset.default_required_user_permissions = ['feature.default_permission']
viewset.configuration = {
'list': ActionConfiguration(
response_serializer=ListResponseSerializer,
permission_classes=[FakePermission, FakePermission2],
required_user_permissions=['feature.permission', 'feature.permission2'],
),
'custom_action': ActionConfiguration(
permission_classes=[FakePermission, FakePermission3],
),
}
viewset.action = 'list'
assert viewset.get_serializer().__class__ == DefaultSerializer
assert viewset.get_serializer(serialization_type=SerializationType.RESPONSE).__class__ == ListResponseSerializer
assert viewset.get_serializer_class() == DefaultSerializer
assert viewset.get_serializer_class(SerializationType.RESPONSE) == ListResponseSerializer
assert viewset.get_permissions() == [FakePermission, FakePermission2]
assert viewset.configuration['list'].serializer is None
assert viewset.action_user_permissions['list'] == ['feature.permission', 'feature.permission2']
viewset.action = 'custom_action'
assert viewset.get_serializer().__class__ == DefaultSerializer
assert viewset.get_serializer(serialization_type=SerializationType.RESPONSE).__class__ == DefaultSerializer
assert viewset.get_serializer_class() == DefaultSerializer
assert viewset.get_serializer_class(SerializationType.RESPONSE) == DefaultSerializer
assert viewset.get_permissions() == [FakePermission, FakePermission3]
assert viewset.configuration['custom_action'].serializer is None
assert 'custom_action' in viewset.action_user_permissions
assert viewset.action_user_permissions['custom_action'] == ['feature.default_permission']
viewset.action = 'update'
assert viewset.get_serializer().__class__ == DefaultSerializer
assert viewset.get_serializer(serialization_type=SerializationType.RESPONSE).__class__ == DefaultSerializer
assert viewset.get_serializer_class() == DefaultSerializer
assert viewset.get_serializer_class(SerializationType.RESPONSE) == DefaultSerializer
assert viewset.get_permissions() == [FakePermission2]
assert 'update' not in viewset.configuration
assert 'update' in viewset.action_user_permissions
assert viewset.action_user_permissions['update'] == ['feature.default_permission']
viewset.action = 'list'
assert viewset.action_user_permissions['list'] == ['feature.permission', 'feature.permission2']
| 44.525194 | 122 | 0.722133 | 2,120 | 22,975 | 7.604245 | 0.081604 | 0.077042 | 0.065505 | 0.048384 | 0.842193 | 0.807208 | 0.785559 | 0.767942 | 0.738726 | 0.727126 | 0 | 0.001942 | 0.215539 | 22,975 | 515 | 123 | 44.61165 | 0.892526 | 0.089314 | 0 | 0.635359 | 0 | 0 | 0.073052 | 0.011366 | 0 | 0 | 0 | 0 | 0.417127 | 1 | 0.060773 | false | 0.016575 | 0.013812 | 0.005525 | 0.129834 | 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 |
33f7ba57cad901dc47d6601fec0806925fa50b77 | 9,959 | py | Python | tests/parsers/filestat.py | berggren/plaso | 2658c80c5076f97a9a27272e73997bde8c39e875 | [
"Apache-2.0"
] | 27 | 2019-04-05T12:01:49.000Z | 2022-02-08T02:26:25.000Z | tests/parsers/filestat.py | berggren/plaso | 2658c80c5076f97a9a27272e73997bde8c39e875 | [
"Apache-2.0"
] | null | null | null | tests/parsers/filestat.py | berggren/plaso | 2658c80c5076f97a9a27272e73997bde8c39e875 | [
"Apache-2.0"
] | 8 | 2019-11-28T08:06:34.000Z | 2020-08-29T13:53:30.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for filestat parser."""
from __future__ import unicode_literals
import os
import unittest
from dfvfs.lib import definitions as dfvfs_definitions
from dfvfs.path import factory as path_spec_factory
from plaso.formatters import file_system # pylint: disable=unused-import
from plaso.lib import definitions
from plaso.parsers import filestat
from tests.parsers import test_lib
class FileStatTest(test_lib.ParserTestCase):
"""Tests for filestat parser."""
def testTSKFile(self):
"""Read a file within an image file and make few tests."""
parser = filestat.FileStatParser()
test_file_path = self._GetTestFilePath(['ímynd.dd'])
self._SkipIfPathNotExists(test_file_path)
os_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)
tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_TSK, inode=15,
location='/passwords.txt', parent=os_path_spec)
storage_writer = self._ParseFileByPathSpec(tsk_path_spec, parser)
self.assertEqual(storage_writer.number_of_warnings, 0)
self.assertEqual(storage_writer.number_of_events, 3)
events = list(storage_writer.GetEvents())
event = events[0]
self.CheckTimestamp(event.timestamp, '2012-05-25 16:00:53.000000')
self.assertEqual(
event.timestamp_desc, definitions.TIME_DESCRIPTION_LAST_ACCESS)
event_data = self._GetEventDataOfEvent(storage_writer, event)
self.assertEqual(event_data.file_size, 116)
self.assertEqual(event_data.inode, 15)
self.assertEqual(event_data.file_system_type, 'EXT2')
expected_message = (
'TSK:/passwords.txt '
'Type: file')
expected_short_message = '/passwords.txt'
self._TestGetMessageStrings(
event_data, expected_message, expected_short_message)
def testZipFile(self):
"""Test a ZIP file."""
parser = filestat.FileStatParser()
test_file_path = self._GetTestFilePath(['syslog.zip'])
self._SkipIfPathNotExists(test_file_path)
os_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)
zip_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_ZIP, location='/syslog',
parent=os_path_spec)
storage_writer = self._ParseFileByPathSpec(zip_path_spec, parser)
self.assertEqual(storage_writer.number_of_warnings, 0)
self.assertEqual(storage_writer.number_of_events, 1)
events = list(storage_writer.GetEvents())
event = events[0]
self.CheckTimestamp(event.timestamp, '2012-07-24 14:45:24.000000')
self.assertEqual(
event.timestamp_desc, definitions.TIME_DESCRIPTION_MODIFICATION)
event_data = self._GetEventDataOfEvent(storage_writer, event)
self.assertEqual(event_data.file_size, 1247)
self.assertIsNone(event_data.inode)
expected_message = (
'ZIP:/syslog '
'Type: file')
expected_short_message = '/syslog'
self._TestGetMessageStrings(
event_data, expected_message, expected_short_message)
def testGzipFile(self):
"""Test a GZIP file."""
parser = filestat.FileStatParser()
test_file_path = self._GetTestFilePath(['syslog.gz'])
self._SkipIfPathNotExists(test_file_path)
os_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)
gzip_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_GZIP, parent=os_path_spec)
storage_writer = self._ParseFileByPathSpec(gzip_path_spec, parser)
self.assertEqual(storage_writer.number_of_warnings, 0)
self.assertEqual(storage_writer.number_of_events, 1)
events = list(storage_writer.GetEvents())
event = events[0]
self.CheckTimestamp(event.timestamp, '2012-07-28 16:44:07.000000')
self.assertEqual(
event.timestamp_desc, definitions.TIME_DESCRIPTION_MODIFICATION)
event_data = self._GetEventDataOfEvent(storage_writer, event)
self.assertEqual(event_data.file_size, 1247)
self.assertIsNone(event_data.inode)
test_path = os.path.join(os.getcwd(), 'test_data', 'syslog.gz')
expected_message = (
'GZIP:{0:s} '
'Type: file').format(test_path)
expected_short_message = self._GetShortMessage(test_path)
self._TestGetMessageStrings(
event_data, expected_message, expected_short_message)
def testTarFile(self):
"""Test a TAR file."""
parser = filestat.FileStatParser()
test_file_path = self._GetTestFilePath(['syslog.tar'])
self._SkipIfPathNotExists(test_file_path)
os_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)
tar_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_TAR, location='/syslog',
parent=os_path_spec)
storage_writer = self._ParseFileByPathSpec(tar_path_spec, parser)
self.assertEqual(storage_writer.number_of_warnings, 0)
self.assertEqual(storage_writer.number_of_events, 1)
events = list(storage_writer.GetEvents())
event = events[0]
self.CheckTimestamp(event.timestamp, '2012-07-24 21:45:24.000000')
self.assertEqual(
event.timestamp_desc, definitions.TIME_DESCRIPTION_MODIFICATION)
event_data = self._GetEventDataOfEvent(storage_writer, event)
self.assertEqual(event_data.file_size, 1247)
self.assertIsNone(event_data.inode)
expected_message = (
'TAR:/syslog '
'Type: file')
expected_short_message = '/syslog'
self._TestGetMessageStrings(
event_data, expected_message, expected_short_message)
def testNestedFile(self):
"""Test a nested file."""
parser = filestat.FileStatParser()
test_file_path = self._GetTestFilePath(['syslog.tgz'])
self._SkipIfPathNotExists(test_file_path)
os_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)
gzip_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_GZIP, parent=os_path_spec)
tar_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_TAR, location='/syslog',
parent=gzip_path_spec)
storage_writer = self._ParseFileByPathSpec(tar_path_spec, parser)
self.assertEqual(storage_writer.number_of_warnings, 0)
self.assertEqual(storage_writer.number_of_events, 1)
events = list(storage_writer.GetEvents())
event = events[0]
self.CheckTimestamp(event.timestamp, '2012-07-24 21:45:24.000000')
self.assertEqual(
event.timestamp_desc, definitions.TIME_DESCRIPTION_MODIFICATION)
event_data = self._GetEventDataOfEvent(storage_writer, event)
self.assertEqual(event_data.file_size, 1247)
self.assertIsNone(event_data.inode)
expected_message = (
'TAR:/syslog '
'Type: file')
expected_short_message = '/syslog'
self._TestGetMessageStrings(
event_data, expected_message, expected_short_message)
test_file_path = self._GetTestFilePath(['syslog.tgz'])
self._SkipIfPathNotExists(test_file_path)
os_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)
gzip_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_GZIP, parent=os_path_spec)
storage_writer = self._ParseFileByPathSpec(gzip_path_spec, parser)
self.assertEqual(storage_writer.number_of_warnings, 0)
self.assertEqual(storage_writer.number_of_events, 1)
events = list(storage_writer.GetEvents())
event = events[0]
self.CheckTimestamp(event.timestamp, '2012-07-28 16:44:43.000000')
self.assertEqual(
event.timestamp_desc, definitions.TIME_DESCRIPTION_MODIFICATION)
event_data = self._GetEventDataOfEvent(storage_writer, event)
self.assertEqual(event_data.file_size, 10240)
self.assertIsNone(event_data.inode)
test_path = os.path.join(os.getcwd(), 'test_data', 'syslog.tgz')
expected_message = (
'GZIP:{0:s} '
'Type: file').format(test_path)
expected_short_message = self._GetShortMessage(test_path)
self._TestGetMessageStrings(
event_data, expected_message, expected_short_message)
def testNestedTSK(self):
"""Test a nested TSK file."""
parser = filestat.FileStatParser()
test_file_path = self._GetTestFilePath(['syslog_image.dd'])
self._SkipIfPathNotExists(test_file_path)
os_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)
tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_TSK, inode=11,
location='/logs/hidden.zip', parent=os_path_spec)
zip_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_ZIP, location='/syslog',
parent=tsk_path_spec)
storage_writer = self._ParseFileByPathSpec(zip_path_spec, parser)
self.assertEqual(storage_writer.number_of_warnings, 0)
self.assertEqual(storage_writer.number_of_events, 1)
events = list(storage_writer.GetEvents())
event = events[0]
self.CheckTimestamp(event.timestamp, '2012-07-20 15:44:14.000000')
self.assertEqual(
event.timestamp_desc, definitions.TIME_DESCRIPTION_MODIFICATION)
event_data = self._GetEventDataOfEvent(storage_writer, event)
self.assertEqual(event_data.file_size, 1247)
self.assertIsNone(event_data.inode)
expected_message = (
'ZIP:/syslog '
'Type: file')
expected_short_message = '/syslog'
self._TestGetMessageStrings(
event_data, expected_message, expected_short_message)
if __name__ == '__main__':
unittest.main()
| 34.700348 | 73 | 0.745356 | 1,199 | 9,959 | 5.844037 | 0.113428 | 0.055944 | 0.035964 | 0.036535 | 0.880833 | 0.872841 | 0.872841 | 0.872841 | 0.857 | 0.847724 | 0 | 0.023864 | 0.15845 | 9,959 | 286 | 74 | 34.821678 | 0.812194 | 0.027714 | 0 | 0.772727 | 0 | 0 | 0.058299 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.030303 | false | 0.015152 | 0.045455 | 0 | 0.080808 | 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 |
d5095dec50b157b4aa9b271705a98e32b32b3092 | 22,312 | py | Python | cl/temp.py | tarod13/DRIM | 110e5514acaf240cd321bb225105e257fca340a7 | [
"MIT"
] | 3 | 2020-07-09T14:27:05.000Z | 2020-09-11T06:34:54.000Z | cl/temp.py | tarod13/DRIM | 110e5514acaf240cd321bb225105e257fca340a7 | [
"MIT"
] | 1 | 2021-01-17T23:42:47.000Z | 2021-01-17T23:42:47.000Z | cl/temp.py | tarod13/DRIM | 110e5514acaf240cd321bb225105e257fca340a7 | [
"MIT"
] | null | null | null | import numpy as np
import torch
import torch.optim as optim
from torch.nn.utils import clip_grad_norm_
class Optimizer:
def __init__(self, lr=3e-4):
pass
def optimize(self, agent, database):
raise NotImplementedError()
class First_Level_SAC_PolicyOptimizer(Optimizer):
def __init__(self, learn_alpha=True, batch_size=32,
discount_factor=0.99, clip_value=1.0,
a_dim=1, lr=3e-4, entropy_update_rate=0.05
):
super().__init__()
self.learn_alpha = learn_alpha
self.batch_size = batch_size
self.discount_factor = discount_factor
self.clip_value = clip_value
self.min_entropy = -a_dim
self.lr = lr
self.entropy_update_rate = entropy_update_rate
self.H_mean = None
def optimize(self, agent, database):
if database.__len__() < self.batch_size:
return None
# Sample batch
states, actions, rewards, dones, next_states = \
database.sample(self.batch_size)
# Alias for actor-critic module
actor_critic = agent.architecture
# Calculate q-values and action likelihoods
q1, next_q1_target, q2, next_q2_target, next_log_pa_s, log_alpha = \
actor_critic(states, actions, next_states)
alpha = log_alpha.exp()
# Estimate entropy of the action distributions
Ha_s = -next_log_pa_s
Ha_s_mean = Ha_s.detach().mean()
# Update mean entropy
if self.H_mean is None:
self.H_mean = Ha_s_mean.item()
else:
self.H_mean = Ha_s_mean.item() * self.entropy_update_rate + self.H_mean * (1.0-self.entropy_update_rate)
# Choose minimum next q-value to avoid overestimation of target
next_q_target = torch.min(next_q1_target, next_q2_target)
# Calculate next v-value, exactly, with the next action distribution
next_v_target = next_q_target - alpha * (next_log_pa_s + 0.0*self.H_mean)
# Estimate q-value by sampling Bellman expectation
q_target = rewards + self.discount_factor * next_v_target * (1.-dones)
# Calculate losses for both critics as the quadratic TD errors
q1_loss = (q1 - q_target.detach()).pow(2).mean()
q2_loss = (q2 - q_target.detach()).pow(2).mean()
# Calculate loss for temperature parameter alpha (if it is learnable)
if self.learn_alpha:
# Calculate temperature loss
alpha_loss = log_alpha * (Ha_s_mean - self.min_entropy).mean().detach()
else:
alpha_loss = 0.0
loss = q1_loss + q2_loss + alpha_loss
# Create optimizer and optimize model, with exception of the actor
optimizer = optim.Adam(agent.parameters(), lr=self.lr)
optimizer.zero_grad()
loss.backward()
clip_grad_norm_(agent.parameters(), self.clip_value)
optimizer.step()
# Calculate q-values and action likelihoods again,
# but passing gradients through actor
q1, q2, log_pa_s, log_alpha = actor_critic.evaluate(states)
alpha = log_alpha.exp()
# Choose minimum q-value to avoid overestimation
q = torch.min(q1, q2)
# Calculate actor losses as the KL divergence between action
# distributions and softmax target distributions
actor_loss = (alpha * (log_pa_s + 0.0*self.H_mean) - q).mean()
# Create optimizer and optimize model
optimizer = optim.Adam(actor_critic.actor.parameters(), lr=self.lr)
optimizer.zero_grad()
actor_loss.backward()
clip_grad_norm_(actor_critic.actor.parameters(), self.clip_value)
optimizer.step()
# Update targets of actor-critic and temperature param.
actor_critic.update()
metrics = {'q1_loss': q1_loss.item(),
'q2_loss': q2_loss.item(),
'actor_loss': actor_loss.item(),
'alpha_loss': alpha_loss.item(),
'alpha': alpha.item(),
'base_entropy': self.H_mean
}
return metrics
class First_Level_SAC_with_baselines_PolicyOptimizer(Optimizer):
def __init__(self, learn_alpha=True, batch_size=32,
discount_factor=0.99, clip_value=1.0,
a_dim=1, lr=3e-4, entropy_update_rate=0.05
):
super().__init__()
self.learn_alpha = learn_alpha
self.batch_size = batch_size
self.discount_factor = discount_factor
self.clip_value = clip_value
self.min_entropy = -a_dim
self.lr = lr
self.entropy_update_rate = entropy_update_rate
self.H_mean = None
def optimize(self, agent, database):
if database.__len__() < self.batch_size:
return None
# Sample batch
states, actions, rewards, dones, next_states = \
database.sample(self.batch_size)
# Alias for actor-critic module
actor_critic = agent.architecture
# Calculate q-values and action likelihoods
q1, q2, next_v, log_alpha = \
actor_critic(states, actions, next_states)
alpha = log_alpha.exp()
# Estimate q-value by sampling Bellman expectation
q_target = rewards + self.discount_factor * next_v * (1.-dones)
# Calculate losses for both critics as the quadratic TD errors
q1_loss = (q1 - q_target.detach()).pow(2).mean()
q2_loss = (q2 - q_target.detach()).pow(2).mean()
critic_loss = q1_loss + q2_loss
# Create optimizer and optimize critics
optimizer = optim.Adam(agent.parameters(), lr=self.lr)
optimizer.zero_grad()
critic_loss.backward()
clip_grad_norm_(agent.parameters(), self.clip_value)
optimizer.step()
# Calculate q-values and action likelihoods again,
# but passing gradients through actor
v, q1, q2, log_pa_s, log_alpha = actor_critic.evaluate(states)
alpha = log_alpha.exp()
# Estimate entropy of the action distributions
Ha_s = -log_pa_s
Ha_s_mean = Ha_s.detach().mean()
# Update mean entropy
if self.H_mean is None:
self.H_mean = Ha_s_mean.item()
else:
self.H_mean = Ha_s_mean.item() * self.entropy_update_rate + self.H_mean * (1.0-self.entropy_update_rate)
# Choose minimum q-value to avoid overestimation
q = torch.min(q1, q2)
# Estimate v value function
v_target = q - alpha.detach() * (log_pa_s + 0.0*self.H_mean)
# Calculate loss for v function
v_loss = (v - v_target.detach()).pow(2).mean()
# Create optimizer and optimize v net
optimizer = optim.Adam(actor_critic.v.parameters(), lr=self.lr)
optimizer.zero_grad()
v_loss.backward()
clip_grad_norm_(actor_critic.v.parameters(), self.clip_value)
optimizer.step()
# Calculate actor losses as the KL divergence between action
# distributions and softmax target distributions
actor_loss = (-v_target).mean()
# Create optimizer and optimize model
optimizer = optim.Adam(actor_critic.actor.parameters(), lr=self.lr)
optimizer.zero_grad()
actor_loss.backward()
clip_grad_norm_(actor_critic.actor.parameters(), self.clip_value)
optimizer.step()
# Calculate loss for temperature parameter alpha (if it is learnable)
if self.learn_alpha:
# Calculate temperature loss
alpha_loss = log_alpha * (Ha_s_mean - self.min_entropy).mean().detach()
else:
alpha_loss = 0.0
# Create optimizer and optimize temperature parameter
optimizer = optim.Adam([log_alpha], lr=self.lr)
optimizer.zero_grad()
alpha_loss.backward()
clip_grad_norm_([log_alpha], self.clip_value)
optimizer.step()
# Update targets of actor-critic and temperature param.
actor_critic.update()
metrics = {'q1_loss': q1_loss.item(),
'q2_loss': q2_loss.item(),
'v_loss': v_loss.item(),
'actor_loss': actor_loss.item(),
'alpha_loss': alpha_loss.item(),
'alpha': alpha.item(),
'base_entropy': self.H_mean
}
return metrics
class Second_Level_SAC_PolicyOptimizer(Optimizer):
def __init__(self, learn_alpha=True, batch_size=32,
discount_factor=0.99, clip_value=1.0,
n_actions=4, init_epsilon=1.0, min_epsilon=0.4,
delta_epsilon=2.5e-7, entropy_factor=0.95,
weight_q_loss = 0.05, lr_alpha=3e-4,
lr=3e-5, entropy_update_rate=0.05
):
super().__init__()
self.learn_alpha = learn_alpha
self.batch_size = batch_size
self.discount_factor = discount_factor
self.clip_value = clip_value
self.min_entropy = np.log(n_actions) * entropy_factor
self.epsilon = init_epsilon
self.delta_epsilon = delta_epsilon
self.min_epsilon = min_epsilon
self.weight_q_loss = weight_q_loss
self.lr = lr
self.lr_alpha = lr_alpha
self.entropy_update_rate = entropy_update_rate
self.H_mean = None
def optimize(self, agents, database, n_step_td=1):
if database.__len__() < self.batch_size:
return None
# Sample batch
inner_states, outer_states, actions, rewards, \
dones, next_inner_states, next_outer_states = \
database.sample(self.batch_size)
n_agents = len(agents)
q_target = 0.0
log_softmax_target = 0.0
HA_s_mean = 0.0
# for i in range(0, n_agents-1):
# q_target_i, log_softmax_target_i, HA_s_mean_i = \
# self.calculate_targets(agents[i], inner_states, outer_states,
# actions, rewards, dones, next_inner_states,
# next_outer_states)
# q_target += (q_target_i - q_target)/(i+1)
# log_softmax_target += (log_softmax_target_i - log_softmax_target)/(i+1)
# HA_s_mean += (HA_s_mean_i - HA_s_mean)/(i+1)
agent = copy.deepcopy(agents[-1])
# agent = agents[-1]
# Alias for actor-critic module
actor_critic = agent.second_level_architecture
# Calculate q-values and action likelihoods
q, _, PA_s, log_PA_s, log_alpha = \
actor_critic(inner_states, outer_states)
_, next_q, next_PA_s, log_next_PA_s, _ = \
actor_critic(next_inner_states, next_outer_states)
alpha = log_alpha.exp().item()
# Calculate entropy of the action distributions
PA = PA_s.mean(0, keepdim=True)
HA_s = -(PA_s * log_PA_s).sum(1, keepdim=True)
HA_s_mean_last = HA_s.detach().mean()
HA_s_mean += (HA_s_mean_last - HA_s_mean)/n_agents
# Update mean entropy
if self.H_mean is None:
self.H_mean = HA_s_mean.item()
else:
self.H_mean = HA_s_mean.item() * self.entropy_update_rate + self.H_mean * (1.0-self.entropy_update_rate)
# Choose minimum next q-value to avoid overestimation of target
if not actor_critic.actor_critic_net._parallel:
next_q_target = torch.min(next_q[0], next_q[1])
else:
next_q_target = next_q.min(1)[0]
# Calculate next v-value, exactly, with the next action distribution
next_v_target = (next_PA_s * (next_q_target - alpha * (log_next_PA_s + self.H_mean))).sum(1, keepdim=True)
# Estimate q-value target by sampling Bellman expectation
q_target_last = rewards + self.discount_factor**n_step_td * next_v_target * (1.-dones)
q_target += (q_target_last - q_target)/n_agents
if not actor_critic.actor_critic_net._parallel:
# Select q-values corresponding to the action taken
q1_A = q[0][np.arange(self.batch_size), actions].view(-1,1)
q2_A = q[1][np.arange(self.batch_size), actions].view(-1,1)
# Calculate losses for both critics as the quadratic TD errors
q1_loss = (q1_A - q_target.detach()).pow(2).mean()
q2_loss = (q2_A - q_target.detach()).pow(2).mean()
q_loss = q1_loss + q2_loss
# Choose mean q-value to avoid overestimation
q_dist = torch.min(q[0], q[1])
else:
# Select q-values corresponding to the action taken
q_A = q[np.arange(self.batch_size),:,actions].view(q.shape[0],q.shape[1],1)
# Calculate losses for both critics as the quadratic TD errors
q_loss = (q_A - q_target.unsqueeze(1).detach()).pow(2).mean()
# Choose mean q-value to avoid overestimation
q_dist = q.min(1)[0]
# Calculate normalizing factors for target softmax distributions
z = torch.logsumexp(q_dist/(alpha+1e-10), 1, keepdim=True)
# Calculate the target log-softmax distribution
log_softmax_target_last = q_dist/(alpha+1e-10) - z
log_softmax_target += (log_softmax_target_last - log_softmax_target)/n_agents
# Calculate actor losses as the KL divergence between action
# distributions and softmax target distributions
difference_ratio = log_PA_s - log_softmax_target.detach()
actor_loss = (PA_s * difference_ratio).sum(1, keepdim=True).mean()
# Calculate total loss
loss = q_loss*self.weight_q_loss + actor_loss
# Create optimizer and optimize model
optimizer = optim.Adam(agent.parameters(), lr=self.lr)
optimizer.zero_grad()
loss.backward()
clip_grad_norm_(agent.parameters(), self.clip_value)
optimizer.step()
# Calculate loss for temperature parameter alpha
scaled_min_entropy = self.min_entropy * self.epsilon
alpha_loss = log_alpha * (HA_s_mean - scaled_min_entropy).mean().detach()
# Optimize temperature (if it is learnable)
if self.learn_alpha:
# Create optimizer and optimize model
optimizer_alpha = optim.Adam([actor_critic.actor_critic_net.log_alpha], lr=self.lr)
optimizer_alpha.zero_grad()
alpha_loss.backward()
clip_grad_norm_([actor_critic.actor_critic_net.log_alpha], self.clip_value)
optimizer_alpha.step()
# Update targets of actor-critic and temperature param.
actor_critic.update()
# Anneal epsilon
self.epsilon = np.max([self.epsilon - self.delta_epsilon, self.min_epsilon])
metrics = {'loss': loss.item(),
'q_loss': q_loss.item(),
'actor_loss': actor_loss.item(),
'alpha_loss': alpha_loss.item(),
'SAC_epsilon': self.epsilon,
'alpha': alpha,
'base_entropy': self.H_mean
}
return metrics
def calculate_targets(self, agent, inner_states, outer_states,
actions, rewards, dones, next_inner_states, next_outer_states):
# Alias for actor-critic module
actor_critic = agent.second_level_architecture
with torch.no_grad():
# Calculate q-values and action likelihoods
q, _, PA_s, log_PA_s, log_alpha = \
actor_critic(inner_states, outer_states)
_, next_q, next_PA_s, log_next_PA_s, _ = \
actor_critic(next_inner_states, next_outer_states)
alpha = log_alpha.exp().item()
# Calculate entropy of the action distributions
PA = PA_s.mean(0, keepdim=True)
HA_s = -(PA_s * log_PA_s).sum(1, keepdim=True)
HA_s_mean = HA_s.detach().mean()
# Choose minimum next q-value to avoid overestimation of target
if not actor_critic.actor_critic_net._parallel:
next_q_target = torch.min(next_q[0], next_q[1])
else:
next_q_target = next_q.min(1)[0]
# Calculate next v-value, exactly, with the next action distribution
next_v_target = (next_PA_s * (next_q_target - alpha * (log_next_PA_s + self.H_mean))).sum(1, keepdim=True)
# Estimate q-value target by sampling Bellman expectation
q_target = rewards + self.discount_factor**n_step_td * next_v_target * (1.-dones)
# Choose mean q-value to avoid overestimation
if not actor_critic.actor_critic_net._parallel:
q_dist = torch.min(q[0], q[1])
else:
q_dist = q.min(1)[0]
# Calculate normalizing factors for target softmax distributions
z = torch.logsumexp(q_dist/(alpha+1e-10), 1, keepdim=True)
# Calculate the target log-softmax distribution
log_softmax_target = q_dist/(alpha+1e-10) - z
targets = (q_target, log_softmax_target, HA_s_mean)
return targets
class Second_Level_SAC_with_baselines_PolicyOptimizer(Optimizer):
def __init__(self, learn_alpha=True, batch_size=32,
discount_factor=0.99, clip_value=1.0,
n_actions=4, init_epsilon=1.0, min_epsilon=0.4,
delta_epsilon=2.5e-7, entropy_factor=0.95,
weight_q_loss = 0.05, weight_alpha_loss=10.0,
lr=3e-5, entropy_update_rate=0.05
):
super().__init__()
self.learn_alpha = learn_alpha
self.batch_size = batch_size
self.discount_factor = discount_factor
self.clip_value = clip_value
self.min_entropy = np.log(n_actions) * entropy_factor
self.epsilon = init_epsilon
self.delta_epsilon = delta_epsilon
self.min_epsilon = min_epsilon
self.weight_q_loss = weight_q_loss
self.weight_alpha_loss = weight_alpha_loss
self.lr = lr
self.entropy_update_rate = entropy_update_rate
self.H_mean = None
def optimize(self, agent, database):
if database.__len__() < self.batch_size:
return None
# Sample batch
inner_states, outer_states, actions, rewards, \
dones, next_inner_states, next_outer_states = \
database.sample(self.batch_size)
# Alias for actor-critic module
actor_critic = agent.second_level_architecture
# Calculate q-values and action likelihoods
q1, q2, v, next_v, PA_s, log_PA_s, log_alpha = \
actor_critic(inner_states, outer_states,
next_inner_states, next_outer_states)
alpha = log_alpha.exp()
# Calculate entropy of the action distributions
PA = PA_s.mean(0, keepdim=True)
HA_s = -(PA_s * log_PA_s).sum(1, keepdim=True)
HA_s_mean = HA_s.detach().mean()
# Update mean entropy
if self.H_mean is None:
self.H_mean = HA_s_mean.item()
else:
self.H_mean = HA_s_mean.item() * self.entropy_update_rate + self.H_mean * (1.0-self.entropy_update_rate)
# Estimate q-value target by sampling Bellman expectation
q_target = rewards + self.discount_factor * next_v * (1.-dones)
# Select q-values corresponding to the action taken
q1_A = q1[np.arange(self.batch_size), actions].view(-1,1)
q2_A = q2[np.arange(self.batch_size), actions].view(-1,1)
# Calculate losses for both critics as the quadratic TD errors
q1_loss = (q1_A - q_target.detach()).pow(2).mean()
q2_loss = (q2_A - q_target.detach()).pow(2).mean()
# Choose minimum q-value to avoid overestimation
q = torch.min(q1, q2).detach()
# Calculate normalizing factors for target softmax distributions
z = torch.logsumexp(q/(alpha+1e-10), 1, keepdim=True)
# Calculate the target log-softmax distribution
log_softmax_target = q/(alpha+1e-10) - z
# Calculate actor losses as the KL divergence between action
# distributions and softmax target distributions
difference_ratio = log_PA_s - log_softmax_target.detach()
actor_loss = (PA_s * difference_ratio).sum(1, keepdim=True).mean()
# Calculate v-value, exactly, with the action distribution
v_target = (PA_s * (q - alpha * (log_PA_s + self.H_mean))).sum(1, keepdim=True)
# Calculate v function loss
v_loss = (v - v_target.detach()).pow(2).mean()
# Calculate loss for temperature parameter alpha (if it is learnable)
if self.learn_alpha:
# Calculate target entropy
scaled_min_entropy = self.min_entropy * self.epsilon
# Calculate temperature loss
alpha_loss = log_alpha * (HA_s_mean - scaled_min_entropy).mean().detach()
else:
alpha_loss = 0.0
# Calculate total loss
loss = (q1_loss + q2_loss)*self.weight_q_loss + v_loss + actor_loss + alpha_loss*self.weight_alpha_loss
# Create optimizer and optimize model
optimizer = optim.Adam(agent.parameters(), lr=self.lr)
optimizer.zero_grad()
loss.backward()
clip_grad_norm_(agent.parameters(), self.clip_value)
optimizer.step()
# Update targets of actor-critic and temperature param.
actor_critic.update()
# Anneal epsilon
self.epsilon = np.max([self.epsilon - self.delta_epsilon, self.min_epsilon])
metrics = {'loss': loss.item(),
'q1_loss': q1_loss.item(),
'q2_loss': q2_loss.item(),
'v_loss': v_loss.item(),
'actor_loss': actor_loss.item(),
'alpha_loss': alpha_loss.item(),
'SAC_epsilon': self.epsilon,
'alpha': alpha.item(),
'base_entropy': self.H_mean
}
return metrics
| 39.28169 | 118 | 0.61012 | 2,895 | 22,312 | 4.41658 | 0.063558 | 0.038714 | 0.021117 | 0.019709 | 0.914125 | 0.889567 | 0.865165 | 0.840998 | 0.811904 | 0.796418 | 0 | 0.016527 | 0.297643 | 22,312 | 567 | 119 | 39.35097 | 0.799375 | 0.210246 | 0 | 0.759531 | 0 | 0 | 0.013588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0.002933 | 0.01173 | 0 | 0.085044 | 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 |
1d1b6b7b9a3398ac7b6321c45c92cd4533de3499 | 52 | py | Python | src/dependencies.py | RonquilloAeon/fastapi-migrations | 524de15635cd92ed129a9a7d9d66cabf211a491c | [
"MIT"
] | null | null | null | src/dependencies.py | RonquilloAeon/fastapi-migrations | 524de15635cd92ed129a9a7d9d66cabf211a491c | [
"MIT"
] | null | null | null | src/dependencies.py | RonquilloAeon/fastapi-migrations | 524de15635cd92ed129a9a7d9d66cabf211a491c | [
"MIT"
] | 1 | 2020-10-03T22:13:54.000Z | 2020-10-03T22:13:54.000Z | from src.db import db
def get_db():
return db
| 8.666667 | 21 | 0.653846 | 10 | 52 | 3.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 52 | 5 | 22 | 10.4 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1d6c00811acee7425a8c4805d367029265b86709 | 9,760 | py | Python | examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/generate_data_upsample.py | herrkun/ogb | 7e4f25bbc013e76c8f04990e1d9d659a67f5f491 | [
"MIT"
] | null | null | null | examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/generate_data_upsample.py | herrkun/ogb | 7e4f25bbc013e76c8f04990e1d9d659a67f5f491 | [
"MIT"
] | null | null | null | examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/generate_data_upsample.py | herrkun/ogb | 7e4f25bbc013e76c8f04990e1d9d659a67f5f491 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import torch as th
import tqdm
import os
def get_head_score_train(reload=False):
saved_path = './dataset/wikikg90m_kddcup2021/processed/trian_head_score_wyk.npy'
if reload and os.path.isfile(saved_path):
return np.load(saved_path)
trip_list = np.load('./dataset/wikikg90m_kddcup2021/processed/train_hrt.npy')
n_sample = trip_list.shape[0]
head_score = np.zeros((87143637, 1))
for i in range(n_sample):
head_score[trip_list[i][0]] += 1
np.save(saved_path, head_score)
return head_score
def get_tail_score_train(reload=False):
saved_path = './dataset/wikikg90m_kddcup2021/processed/trian_tail_score_wyk.npy'
if reload and os.path.isfile(saved_path):
return np.load(saved_path)
trip_list = np.load('./dataset/wikikg90m_kddcup2021/processed/train_hrt.npy')
n_sample = trip_list.shape[0]
tail_score = np.zeros((87143637, 1))
for i in range(n_sample):
tail_score[trip_list[i][2]] += 1
np.save(saved_path, tail_score)
return tail_score
def get_head_score_val(reload=False):
saved_path = './dataset/wikikg90m_kddcup2021/processed/val_head_score_wyk.npy'
if reload and os.path.isfile(saved_path):
return np.load(saved_path)
candidate_list = np.load('./dataset/wikikg90m_kddcup2021/processed/val_hr.npy')
n_sample = candidate_list.shape[0]
head_score = np.zeros((87143637, 1))
for i in tqdm.tqdm(range(n_sample)):
head_score[candidate_list[i][0]] += 1
np.save(saved_path, head_score)
print('head count have saved ')
return head_score
def get_tail_score_val(reload=False):
saved_path = './dataset/wikikg90m_kddcup2021/processed/val_tail_score_wyk.npy'
if reload and os.path.isfile(saved_path):
return np.load(saved_path)
candidate_list = generator_val_hrt()
n_sample = candidate_list.shape[0]
n_candidate = candidate_list.shape[1]
tail_score = np.zeros((87143637, 1))
for i in range(n_sample):
tail_score[candidate_list[i][2]] += 1
np.save(saved_path, tail_score)
return tail_score
def generator_val_hrt():
val_candis = np.load('./dataset/wikikg90m_kddcup2021/processed/val_t_candidate.npy')
val_correct_index = np.load('./dataset/wikikg90m_kddcup2021/processed/val_t_correct_index.npy')
val_hr = np.load('./dataset/wikikg90m_kddcup2021/processed/val_hr.npy')
print('loaded val true candi')
val_t = []
for i in tqdm.tqdm(range(val_candis.shape[0])):
val_t.append(val_candis[i][val_correct_index[i]])
val_t = np.array(val_t).reshape(len(val_t),1)
val_hrt = np.concatenate((val_hr, val_t), axis = 1)
np.save('./dataset/wikikg90m_kddcup2021/processed/val_hrt_wyk.npy', val_hrt)
return val_hrt
def generator_new_train(include_val=True, head_upsample_epochs=2,t_threshold,v_threshold):
train_tail_score = get_tail_score_train()
val_tail_score = get_tail_score_val()
train_trip = np.load('./dataset/wikikg90m_kddcup2021/processed/train_hrt.npy')
val_trip = np.load('./dataset/wikikg90m_kddcup2021/processed/val_hrt_wyk.npy')
new_train_hrt = []
val_candi = np.load('./dataset/wikikg90m_kddcup2021/processed/val_t_candidate.npy')
global_index = 0
filter_topk = 10
counter1, counter2, counter3, counter4 = 0,0,0,0
proc_num = 4
for proc_no in range(proc_num):
ori_res = th.load(f"./ensemble_valid_v2_backup/load_ensemble_valid_rerank_{proc_no}.pkl", map_location=th.device('cpu'))
ori_res_pred_top10 = ori_res['h,r->t']['t_pred_top10'][:,:10].numpy()
print(ori_res['h,r->t']['t_pred_top10'].shape)
res_correct_index = ori_res['h,r->t']['t_correct_index'].numpy()
for index in tqdm.tqdm(range(res_correct_index.shape[0])):
for topk_index in range(filter_topk):
tmp_index = val_candi[global_index][ori_res_pred_top10[index][topk_index]]
if train_tail_score[tmp_index]<=t_threshold+val_tail_score[tmp_index]<=v_threshold:
val_tail_score[tmp_index] = -1
counter1 += 1
global_index += 1
global_index = 0
for i in tqdm.tqdm(range(train_trip.shape[0])):
tmp_train = train_trip[i]
if (train_tail_score[tmp_train[2]]+val_tail_score[tmp_train[2]] <=t_threshold) or val_tail_score[tmp_train[2]]==-1:
new_train_hrt.append(tmp_train)
val_head_score = get_head_score_val()
for epoch in range(head_upsample_epochs):
for i in tqdm.tqdm(range(train_trip.shape[0])):
tmp_train = train_trip[i]
if val_head_score[tmp_train[0]] > 0:
new_train_hrt.append(tmp_train)
np.random.shuffle(new_train_hrt)
try:
print(len(new_train_hrt))
except:
print('errors')
np.save('./dataset/wikikg90m_kddcup2021/processed/trian_val_topk_add_h.npy', new_train_hrt)
return 0
def generator_new_val(include_val=True,head_upsample_epochs=2,t_threshold,v_threshold):
train_tail_score = get_tail_score_train()
val_tail_score = get_tail_score_val()
train_trip = np.load('./dataset/wikikg90m_kddcup2021/processed/train_hrt.npy')
val_trip = np.load('./dataset/wikikg90m_kddcup2021/processed/val_hrt_wyk.npy')
new_train_hrt = []
val_candi = np.load('./dataset/wikikg90m_kddcup2021/processed/val_t_candidate.npy')
global_index = 0
filter_topk = 10
counter1, counter2, counter3, counter4 = 0,0,0,0
proc_num = 4
for proc_no in range(proc_num):
ori_res = th.load(f"./ensemble_valid_v2_backup/load_ensemble_valid_rerank_{proc_no}.pkl", map_location=th.device('cpu'))
ori_res_pred_top10 = ori_res['h,r->t']['t_pred_top10'][:,:10].numpy()
print(ori_res['h,r->t']['t_pred_top10'].shape)
res_correct_index = ori_res['h,r->t']['t_correct_index'].numpy()
for index in tqdm.tqdm(range(res_correct_index.shape[0])):
for topk_index in range(filter_topk):
tmp_index = val_candi[global_index][ori_res_pred_top10[index][topk_index]]
if train_tail_score[tmp_index]<=t_threshold+val_tail_score[tmp_index]<=v_threshold:
val_tail_score[tmp_index] = -1
counter1 += 1
global_index += 1
for epoch in range(head_upsample_epochs):
for i in tqdm.tqdm(range(val_trip.shape[0])):
tmp_val = val_trip[i]
if train_tail_score[tmp_val[2]]+val_tail_score[tmp_val[2]] <=t_threshold or val_tail_score[tmp_val[2]]==-1:
new_train_hrt.append(tmp_val)
np.random.shuffle(new_train_hrt)
try:
print(len(new_train_hrt))
except:
print('errors')
np.save('./dataset/wikikg90m_kddcup2021/processed/upsample_on_val_wyk.npy', new_train_hrt)
return 0
def generator_for_finefune(include_val=True,head_upsample_epochs=1,t_threshold,v_threshold):
train_tail_score = get_tail_score_train()
val_tail_score = get_tail_score_val()
train_trip = np.load('./dataset/wikikg90m_kddcup2021/processed/train_hrt.npy')
val_trip = np.load('./dataset/wikikg90m_kddcup2021/processed/val_hrt_wyk.npy')
new_train_hrt = []
val_candi = np.load('./dataset/wikikg90m_kddcup2021/processed/val_t_candidate.npy')
global_index = 0
filter_topk = 10
proc_num = 4
for proc_no in range(proc_num):
ori_res = th.load(f"./ensemble_valid_v2_backup/load_ensemble_valid_rerank_{proc_no}.pkl", map_location=th.device('cpu'))
ori_res_pred_top10 = ori_res['h,r->t']['t_pred_top10'][:,:10].numpy()
print(ori_res['h,r->t']['t_pred_top10'].shape)
res_correct_index = ori_res['h,r->t']['t_correct_index'].numpy()
for index in tqdm.tqdm(range(res_correct_index.shape[0])):
for topk_index in range(filter_topk):
tmp_index = val_candi[global_index][ori_res_pred_top10[index][topk_index]]
if train_tail_score[tmp_index]<=t_threshold+val_tail_score[tmp_index]<=v_threshold:
val_tail_score[tmp_index] = -1
counter1 += 1
global_index += 1
for i in tqdm.tqdm(range(train_trip.shape[0])):
tmp_train = train_trip[i]
if val_tail_score[tmp_train[2]]==-1:
new_train_hrt.append(tmp_train)
head_apper_count = 0
val_head_score = np.load('./dataset/wikikg90m_kddcup2021/processed/val_head_score_wyk.npy')
for epoch in range(head_upsample_epochs):
for i in tqdm.tqdm(range(train_trip.shape[0])):
tmp_train = train_trip[i]
if val_head_score[tmp_train[0]] > 0:
new_train_hrt.append(tmp_train)
np.random.shuffle(new_train_hrt)
try:
print(len(new_train_hrt))
except:
print('errors')
np.save('./dataset/wikikg90m_kddcup2021/processed/trian_for_finetune.npy', new_train_hrt)
return 0
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='.')
parser.add_argument('--include_val', help='whether include val')
parser.add_argument('--head_upsample_epochs', help='upample rate')
parser.add_argument('--t_threshold', help='train score threshold')
parser.add_argument('--v_threshold', help='val score threshold')
generator_val_hrt()
generator_new_train(args.include_val,args.head_upsample_epochs,args.t_threshold,args.v_threshold)
generator_new_val(args.include_val,args.head_upsample_epochs,args.t_threshold,args.v_threshold)
generator_for_finefune(args.include_val,args.head_upsample_epochs,args.t_threshold,args.v_threshold)
| 42.251082 | 128 | 0.684221 | 1,449 | 9,760 | 4.251898 | 0.088337 | 0.058432 | 0.101282 | 0.136342 | 0.863009 | 0.856841 | 0.833793 | 0.80831 | 0.77601 | 0.751501 | 0 | 0.038099 | 0.195902 | 9,760 | 230 | 129 | 42.434783 | 0.746942 | 0 | 0 | 0.687831 | 0 | 0 | 0.20502 | 0.167418 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.026455 | null | null | 0.058201 | 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 |
d56129cd4957053ade1f75b1d71923df2eaa59b2 | 79 | py | Python | utils.py | rebryk/SPbAU-IR | 15ef67b49617cc6b67d69ecba5e2585ea56a52b7 | [
"MIT"
] | null | null | null | utils.py | rebryk/SPbAU-IR | 15ef67b49617cc6b67d69ecba5e2585ea56a52b7 | [
"MIT"
] | null | null | null | utils.py | rebryk/SPbAU-IR | 15ef67b49617cc6b67d69ecba5e2585ea56a52b7 | [
"MIT"
] | null | null | null | import time
def current_time_ms() -> int:
return int(1000 * time.time())
| 13.166667 | 34 | 0.658228 | 12 | 79 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.202532 | 79 | 5 | 35 | 15.8 | 0.730159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
633895f6be3b4ecc8f55c5aea28b6e6dfaa22dec | 13,549 | py | Python | pyfranca/tests/test_franca_lexer.py | Rosi2143/pyfranca | dd7ff6849b6122bdfc614d0557d19687ec234279 | [
"MIT"
] | 15 | 2016-03-07T05:25:21.000Z | 2022-02-21T14:11:03.000Z | pyfranca/tests/test_franca_lexer.py | Rosi2143/pyfranca | dd7ff6849b6122bdfc614d0557d19687ec234279 | [
"MIT"
] | 26 | 2016-12-01T22:08:06.000Z | 2021-10-05T11:10:36.000Z | pyfranca/tests/test_franca_lexer.py | Rosi2143/pyfranca | dd7ff6849b6122bdfc614d0557d19687ec234279 | [
"MIT"
] | 9 | 2017-02-02T20:57:32.000Z | 2022-03-07T07:28:03.000Z | """
Pyfranca lexer tests.
"""
import unittest
from pyfranca import Lexer
class BaseTestCase(unittest.TestCase):
@staticmethod
def _tokenize(data):
lexer = Lexer()
tokenized_data = lexer.tokenize_data(data)
return tokenized_data
class TestCheckRegularExpressions(BaseTestCase):
"""Test regular expression used by the lexer """
def test_integer_valid_syntax(self):
"""test an integer """
tokenized_data = self._tokenize("1234\n2345\n0x1234\n0X56789\n0xabcdef\n0XABCDEF\n0b10\n0B101")
self.assertEqual(tokenized_data[0].type, "INTEGER_VAL")
self.assertEqual(tokenized_data[0].value, 1234)
self.assertEqual(tokenized_data[1].type, "INTEGER_VAL")
self.assertEqual(tokenized_data[1].value, 2345)
self.assertEqual(tokenized_data[2].type, "HEXADECIMAL_VAL")
self.assertEqual(tokenized_data[2].value, 0x1234)
self.assertEqual(tokenized_data[3].type, "HEXADECIMAL_VAL")
self.assertEqual(tokenized_data[3].value, 0x56789)
self.assertEqual(tokenized_data[4].type, "HEXADECIMAL_VAL")
self.assertEqual(tokenized_data[4].value, 0xabcdef)
self.assertEqual(tokenized_data[5].type, "HEXADECIMAL_VAL")
self.assertEqual(tokenized_data[5].value, 0xabcdef)
self.assertEqual(tokenized_data[6].type, "BINARY_VAL")
self.assertEqual(tokenized_data[6].value, 0b10)
self.assertEqual(tokenized_data[7].type, "BINARY_VAL")
self.assertEqual(tokenized_data[7].value, 0b101)
def test_string_valid_syntax(self):
"""test a string """
tokenized_data = self._tokenize("\"This is a string\"")
self.assertEqual(tokenized_data[0].type, "STRING_VAL")
self.assertEqual(tokenized_data[0].value, "This is a string")
tokenized_data = self._tokenize("\"This is a string \n with an newline\"")
self.assertEqual(tokenized_data[0].type, "STRING_VAL")
self.assertEqual(tokenized_data[0].value, "This is a string \n with an newline")
def test_boolean_valid_syntax(self):
"""test a boolean value """
tokenized_data = self._tokenize("true\nfalse")
self.assertEqual(tokenized_data[0].type, "BOOLEAN_VAL")
self.assertEqual(tokenized_data[0].value, True)
self.assertEqual(tokenized_data[1].type, "BOOLEAN_VAL")
self.assertEqual(tokenized_data[1].value, False)
def test_integerinvalid_syntax(self):
"""test a boolean value """
tokenized_data = self._tokenize("0xgabcdefg")
for t in tokenized_data:
self.assertNotEqual(t.type, "HEXADECIMAL_VAL")
def test_booleaninvalid_syntax(self):
"""test a boolean value """
tokenized_data = self._tokenize("istrue\nisfalse")
for t in tokenized_data:
self.assertNotEqual(t.type, "BOOLEAN_VAL")
def test_float_valid_syntax(self):
"""test a float value """
tokenized_data = self._tokenize("1.1f\n-2.2f\n3.3e3f\n-4.4e4f\n5.5e-5f"
"-6.6e-6f\n0.00001f\n-0.000002f\n1e4f\n-1e4f"
".1f\n-.2f\n.3e3f\n-.4e4f\n.5e-5f"
"-.6e-6f\n.00001f\n-.000002f"
)
cnt = 0
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[0].value, "1.1f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-2.2f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "3.3e3f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-4.4e4f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "5.5e-5f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-6.6e-6f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "0.00001f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-0.000002f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "1e4f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-1e4f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".1f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.2f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".3e3f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.4e4f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".5e-5f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.6e-6f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".00001f")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.000002f")
def test_double_valid_syntax(self):
"""test a double value """
tokenized_data = self._tokenize("1.1d\n-2.2d\n3.3e3d\n-4.4e4d\n5.5e-5d"
"-6.6e-6d\n0.00001d\n-0.000002d\n1e4d\n-1e4d"
".1d\n-.2d\n.3e3d\n-.4e4d\n.5e-5d"
"-.6e-6d\n.00001d\n-.000002d"
)
cnt = 0
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[0].value, "1.1d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-2.2d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "3.3e3d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-4.4e4d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "5.5e-5d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-6.6e-6d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "0.00001d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-0.000002d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "1e4d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-1e4d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".1d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.2d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".3e3d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.4e4d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".5e-5d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.6e-6d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".00001d")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.000002d")
def test_real_valid_syntax(self):
"""test a real value """
tokenized_data = self._tokenize("1.1\n-2.2\n3.3e3\n-4.4e4\n5.5e-5"
"-6.6e-6\n0.00001\n-0.000002\n1e4\n-1e4"
".1\n-.2\n.3e3\n-.4e4\n.5e-5"
"-.6e-6\n.00001\n-.000002"
)
cnt = 0
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[0].value, "1.1")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-2.2")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "3.3e3")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-4.4e4")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "5.5e-5")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-6.6e-6")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "0.00001")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-0.000002")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "1e4")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-1e4")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".1")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.2")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".3e3")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.4e4")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".5e-5")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.6e-6")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, ".00001")
cnt += 1
self.assertEqual(tokenized_data[cnt].type, "REAL_VAL")
self.assertEqual(tokenized_data[cnt].value, "-.000002")
def test_doublefloat_invalid_syntax(self):
"""test a text containing .f """
tokenized_data = self._tokenize("""
package org.franca.examples
0ef .ef -1ef ef ed .ed
}
""")
for t in tokenized_data:
self.assertNotEqual(t.type, "REAL_VAL")
def test_type_valid_syntax(self):
"""test an integer """
tokenized_data = self._tokenize("const Boolean b1 = true")
self.assertEqual(tokenized_data[0].type, "CONST")
self.assertEqual(tokenized_data[0].value, 'const')
self.assertEqual(tokenized_data[1].type, "BOOLEAN")
self.assertEqual(tokenized_data[1].value, 'Boolean')
self.assertEqual(tokenized_data[2].type, "ID")
self.assertEqual(tokenized_data[2].value, 'b1')
self.assertEqual(tokenized_data[3].type, "=")
self.assertEqual(tokenized_data[3].value, '=')
self.assertEqual(tokenized_data[4].type, "BOOLEAN_VAL")
self.assertEqual(tokenized_data[4].value, True)
def test_type_invalid_syntax(self):
"""test an integer """
tokenized_data = self._tokenize("const boolean b1 = true")
self.assertEqual(tokenized_data[0].type, "CONST")
self.assertEqual(tokenized_data[0].value, 'const')
self.assertEqual(tokenized_data[1].type, "ID")
self.assertEqual(tokenized_data[1].value, 'boolean')
self.assertEqual(tokenized_data[2].type, "ID")
self.assertEqual(tokenized_data[2].value, 'b1')
self.assertEqual(tokenized_data[3].type, "=")
self.assertEqual(tokenized_data[3].value, '=')
self.assertEqual(tokenized_data[4].type, "BOOLEAN_VAL")
self.assertEqual(tokenized_data[4].value, True)
| 44.569079 | 103 | 0.618791 | 1,669 | 13,549 | 4.852606 | 0.074895 | 0.271268 | 0.450426 | 0.525497 | 0.87554 | 0.860477 | 0.816274 | 0.754538 | 0.75108 | 0.735523 | 0 | 0.047246 | 0.237656 | 13,549 | 303 | 104 | 44.716172 | 0.736857 | 0.020887 | 0 | 0.496154 | 0 | 0.023077 | 0.129717 | 0.034778 | 0 | 0 | 0.002197 | 0 | 0.596154 | 1 | 0.046154 | false | 0 | 0.007692 | 0 | 0.065385 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.